I rarely create complex sqls and ain't done a join for years.
I can get two tables to join, but not 3.
+rep to any help :)
Printable View
I rarely create complex sqls and ain't done a join for years.
I can get two tables to join, but not 3.
+rep to any help :)
Can you expand on what you want?
Wouldnt you use the distinct? Havent used it personally but I think you need to use that :)
Lew.
So far I have:
But that ain't workingCode:SELECT comments.id FROM comments c INNER JOIN group_comments g ON c.id = g.id JOIN photo_comments p ON g.id = p.id
I prefer to stick to simple sql commands if poss lol. But I think it wud be work checking out the distinct command?
Lew.