If I want to do joins on 3 or more tables, what's the best syntax? This is my attempt:
Select *
from table1
inner join table2 using id1, table2
inner join table3 using id2, table3
inner join table4 using id4
where table2.column1="something"
and table3.column4="something_else";
does it look right? What I'm not sure about is 1) I need to separate the compounds with a comma 2) Can I make all my entry fees first and then set my conditions after that? 3) it would be better to use subqueries, and if so, what is the corect syntax
Thanks for any advice!
musoNic80
source
share