• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests
July 08, 2022 |23.7K Views
Minus Operator in SQL
  Share   Like
Description
Discussion

The Minus Operator in SQL is used with two SELECT statements. The MINUS operator is used to subtract the result set obtained by first SELECT query from the result set obtained by second SELECT query. 

In simple words, we can say that MINUS operator will return only those rows which are unique in only first SELECT query and not those rows which are common to both first and second SELECT queries.


Minus in SQL : https://www.geeksforgeeks.org/sql-minus-operator/

Read More