Which of the following holds TRUE about relations in a relational database management system?
(A) Ordering of rows is immaterial.
(B) No two rows are identical.
(C) Ordering of columns is immaterial.
(D) No two columns are identical.
Which of the following holds TRUE about relations in a relational database management system?
(A) Ordering of rows is immaterial.
(B) No two rows are identical.
(C) Ordering of columns is immaterial.
(D) No two columns are identical.
Solution
A relation is a set of tuples over a set of attributes, so all four statements hold.
(A) A set has no order, so the order of rows (tuples) does not matter.
(B) A set has no duplicate elements, so no two rows (tuples) are identical.
(C) Columns are identified by attribute name, not by position, so their order does not matter.
(D) Each attribute in a relation has a distinct name, so no two columns are identical.
Statement (D) is the one students often doubt. SQL query results can repeat rows or column names, but that is not allowed in the formal relational model.
Related questions:
2026: 26 May Shift 1
2025: 20 May Shift 1
2025: 30 May Shift 2
2026: 24 May Shift 1