GATE DA 2025 Q17: Relational algebra on Car, Make and Own
- Database Management and Warehousing
- 1 mark
- MCQ
- −1/3 if wrong
Question
Consider the following three relations:
A tuple in Car represents a specific car of a given model, made in a given year, with a serial number and a color. A tuple in Make specifies that a maker company makes cars of a certain model. A tuple in Own specifies that an owner owns the car with a given serial number. Keys are underlined; (owner, serial) together form key for Own. ( denotes natural join)
Which one of the following options describes what the above expression computes?
Try it: multiple choice: exactly one correct option
Show answer and explanation
Answer: C (official GATE 2025 final answer key)
Concept used: Reading selection, natural join and projection from the inside out.
First step: Start with the innermost part: keeps only ABC's models, and joining with Car keeps only cars of those models.
Full step-by-step solution
Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.
Share this question
Source: official GATE 2025 DA question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key
More Database Management and Warehousing PYQs
- 2025 · Q16Non-dependency-preserving decomposition: which operator runs more?
- 2025 · Q33SQL: loans larger than every SR Nagar loan
- 2025 · Q46OLAP: rows returned by GROUP BY CUBE(D1, D2)
- 2025 · Q56Keys and NULLs in Person and Customer tables
- 2025 · Q57Candidate keys and BCNF for R(ABCDEFG)
- 2025 · Q62Relational division: customers with loans at every branch