how to create a sql query that should not select something code example
Example: exclude rows sql server
SELECT Name, BirthDate FROM Employee
EXCEPT
SELECT Name, BirthDate FROM Customer
SELECT Name, BirthDate FROM Employee
EXCEPT
SELECT Name, BirthDate FROM Customer