본문 바로가기

Spring boot

[spring boot] 각 join 특징 (+ on, where 차이)

on과 where 차이

ON : join하기 전 필터링 

WHERE : join한 후 필터링 

 

 

각 join 특징

 

 

 

 

inner join은 on이 아닌 where을 사용하자   (on과 where의 결과는 같으나 where이 더 친숙하기 때문)