← 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?
- A.They must have the same primary key
- B.They must have the same number of rows
- C.They must be joined first
- 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 →