Change Password

How does the EXISTS operator work in SQL, and in what scenarios would you use it?
EXISTS is used to check if a column exists in a table
EXISTS is used to check if a subquery returns any rows, and it is often used in correlated subqueries
EXISTS is used for joining tables
EXISTS is used for sorting data in descending order