the difference between comma and join in sql

Viewed 7136

what is the difference between using comma or join between two different tables.

such as these two codes:

SELECT studentId, tutorId FROM student, tutor;


SELECT studentId, tutorId FROM student JOIN tutor;
2 Answers
Related