What does the SQL INTERSECT operator return?

SQL Fundamentals Medium

SQL Fundamentals — Medium

What does the SQL INTERSECT operator return?

Key points

  • INTERSECT only returns common rows
  • It compares two result sets
  • Useful for finding shared data between tables

Ready to go further?

Related questions