怎么区别exists与not exists

如何区别exists与not exists?

1、exists:sql返回结果集为真;not exists:sql不返回结果集为真。详解过程如图:

exists

怎么区别exists与not exists

not exists

怎么区别exists与not exists