What is the difference between
Code:
Select * from tablea a join tableb b on a.id=b.id
where id=100
and
Code:
Select * from tablea a join tableb b on a.id=b.id and a.id=100
Is the second sintax faster? in first case the script will realise the join after all rows from tablea and after the join is complete will filter after the id=100 and is second case the join will be realised only after the row where id=100? (if yes then second case i think is much faster)
any opinions?