What does the EXISTS operator do in a subquery?

SQL Data Analyst Medium

SQL Data Analyst — Medium

What does the EXISTS operator do in a subquery?

Key points

  • EXISTS operator stops evaluation once a single row is found
  • Does not return all rows like option B
  • Does not check for specific values like option C
  • Not related to validating table existence like option D

Ready to go further?

Related questions