MySQL Forums
Forum List  »  Newbie

Re: SELECTS
Posted by: Christian Hamel
Date: July 22, 2005 07:23AM

Hmmm, it's not clear what you want to do.

Theses tables have a corresponding field? I mean, like an SalesOrders table can be joined to a Customers table using the CustomerID. If your tables have such a key you can do:

Select data1, data2
From table1
inner join table2 using (CorrespondingKey);

Options: ReplyQuote


Subject
Written By
Posted
July 22, 2005 07:20AM
Re: SELECTS
July 22, 2005 07:23AM
July 22, 2005 07:30AM
July 22, 2005 07:45AM
July 22, 2005 08:11AM
July 22, 2005 08:27AM
July 22, 2005 08:36AM
July 22, 2005 08:38AM
July 22, 2005 08:46AM
July 22, 2005 08:52AM
July 22, 2005 08:55AM
July 22, 2005 08:59AM
July 22, 2005 09:12AM
July 22, 2005 09:20AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.