NOT] EXISTS (select语句) 若子查询结果为空表则返回false

    1. select 姓名
    2. -> from xs
    3. -> where exists # ->该条件内容为空表
    4. -> (
    5. -> select * from score
    6. -> where 学号=xs.学号 and 课程号='3'
    7. -> );
    8. Empty set (0.00 sec)