I can see people doing joins in different ways
select a.acc, b.acc, c.acc from a, b,c
where a.acc=b.acc and c.acc = a.acc;
and
select a.acc, b.acc, c.acc JOIN on
a.acc=b.acc JOIN on c.acc = a.acc;
Is there any difference? I suppose not.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In terms of performance there is no difference.
I prefer the second approach for maintainability. It is more explicit which conditions are used to join which tables and it is easier to see whether or not you have missed out a join condition.