🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Relational Algebra: all 15 questions

Quiz: Relational Algebra · Question 11 of 15

Which SQL keyword matches the set difference operator (−)?

Which SQL keyword matches the set difference operator (−)?

  1. A.UNION
  2. B.INTERSECT
  3. C.EXCEPT
  4. D.DISTINCT
Answer & explanation

Correct answer: EXCEPT

R − S keeps rows of R that are not in S, which is EXCEPT in SQL (MINUS in Oracle).

Can you get the rest right without peeking?

Take the timed Quiz: Relational Algebra quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →