In Exists ()
1分42秒 5秒
Exists() 返回布尔值
如果子查询结果行>0,则返回 TRUE。
反之返回FALSE
exists(select * from tbl)
等同于
( select count(*) from tbl )>0