Database

What's the difference between comma separated joins and join on syntax in MySQL?

by OBG posted Jun 09, 2022
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄

What would the difference between these two queries be? They yield the same results.

SELECT * 
FROM Person 
JOIN Worker 
  ON Person.id = Worker.id;

and

SELECT * 
FROM Person, 
     Worker 
WHERE Person.id = Worker.id;

 

There is no difference at all.

 

https://stackoverflow.com/questions/20138355/whats-the-difference-between-comma-separated-joins-and-join-on-syntax-in-mysql


Articles

1 2 3 4 5 6 7 8 9 10