🎙 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 4 of 15

What condition must two relations meet before you can take their union?

What condition must two relations meet before you can take their union?

  1. A.They must have the same primary key
  2. B.They must have the same number of rows
  3. C.They must be joined first
  4. D.They must be union-compatible: same number of columns with matching types
Answer & explanation

Correct answer: They must be union-compatible: same number of columns with matching types

Union, intersection and difference need union-compatible relations.

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 →