If I want to perform joins on 3 or more tables, what is 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 that look right? The things I'm not sure about are 1) do I need to seperate the joins with a comma 2) am I right to make all my joins first and then put my conditions after that? 3) would I be better to use sub-queries and if so what is the corect syntax
Thanks for any advice!