glenelkins Posted July 16, 2008 Share Posted July 16, 2008 Hi Im having a little trouble grasping joins. I can do the basic joins such as: SELECT t1.`field`, t2.`field` FROM `table1` t1, `table2` t2 WHERE t1.`id` = t2.`id` But what i need to do is the following: select 3 items from table 1 and 3 fields from table 2 and 1 field from table 1. They need to be selected by matchin an id from table 1 and 2, and a field from table 2 with table 1 does this make sense? Quote Link to comment Share on other sites More sharing options...
revraz Posted July 16, 2008 Share Posted July 16, 2008 Provide your table structures for all 3. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.