Hi I want to know which kind of queries are good with multiple tables.
For eg:
select table1.id, table1.name from table1,table2,table3
where table1.id=table2.id and table2.id=table3.id
or
select table1.id, table1.name
from table1
inner join table2 on table1.id=table2.id
inner join table3 on table2.id=table3.id
where 1
or
select table1.id, table1.name
from table1
join table2 on table1.id=table2.id
join table3 on table2.id=table3.id
where 1
Which kind of query is best for performance?