Sql Exists
# SQL EXISTS Operator
* * *
## SQL EXISTS Operator
The EXISTS operator is used to determine whether the query subquery has any records. It returns True if one or more records exist, otherwise returns False.
### SQL EXISTS Syntax
SELECT column_name(s) FROM table_name WHERE EXISTS (SELECT column_name FROM table_name WHERE condition);
* * *
## Demo Database
In this tutorial, we will use the TUTORIAL sample database.
The following is the data selected from the "Websites" table:
+----+--------------+----------
YouTip