Lets say I have two tables student, records with the schema being
Students (id, name)
Records (rid,sid,subject,marks)
and I want to print (name, subject,marks).
So I can write the inner join in two ways
> select a.name,b.subject,b.marks from students a, records b where a.id = b.sid;
or
> select a.name,b.subject,b.marks from students a inner join records b on a.id = b.sid;
Obviously, they both are returning the same results and taking same amount of time. So I am not sure if internally they both are same or if there is any scenario where either of those is preferable over the other?