I am new in sql so i just dont know the difference between them. Does it affect compile time or something else? Can you explain it?
select a.name, b.salary from account a, bank b
where a.id = b.id;
or
select a.name, b.salary from account a
join bank b on a.id = b.id;
JOIN
syntax. Easier to write (without errors), easier to read and maintain, and easier to convert to outer join if needed