問題:
What is the difference between the EXISTS
and IN
clause in SQL? SQL 中的EXISTS
和IN
子句有什麼區別?
When should we use EXISTS
, and when should we use IN
?我們什麼時候應該使用EXISTS
,什麼時候應該使用IN
?
解決方案:
參考一: https://stackoom.com/question/6U5參考二: Difference between EXISTS and IN in SQL?