Quiz on PostgreSQL EXISTS Operator



1. What is the primary use of the EXISTS operator in PostgreSQL?
2. Which type of subquery is often used with the EXISTS operator?
3. How does the EXISTS operator improve performance in SQL queries?
4. What will be the result of an EXISTS query if the subquery returns no rows?
5. Can the EXISTS operator be used with SELECT statements?

Advertisements