Franky's Blog

书山有路勤为径,学海无涯苦作舟……

SQL|EXISTS

WHERE EXISTS ( subquery )

  • EXISTS用在相关子查询中
  • The result of EXISTS is a boolean value True or False,EXISTS returns true if the subquery returns one or more records.
  • It can be used in a SELECT, INSERT, UPDATE, or DELETE statement.
Read more →