• +91 9723535972
  • info@interviewmaterial.com

MS SQL Interview Questions and Answers

Question - Which operator do you use to return all of the rows from one query except rows are returned in a second query?

Answer -

You use the EXCEPT operator to return all rows from one query except where duplicate rows are found in a second query. The UNION operator returns all rows from both queries minus duplicates. The UNION ALL operator returns all rows from both queries including duplicates. The INTERSECT operator returns only those rows that exist in both queries. 

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners