GATE DA 2025, Q.17: Meaning of a select-join-project query
The question
Car(model, year, serial, color), Make(maker, model), Own(owner, serial), key of Own is (owner, serial). What does π_owner(Own ⋈ (σ_color="red"(Car ⋈ σ_maker="ABC"(Make)))) return?
- (A) All owners of a red car, a car made by ABC, or a red car made by ABC
- (B) All owners of more than one car, where at least one car is red and made by ABC
- (C) All owners of a red car made by ABC
- (D) All red cars made by ABC
Checking your access…
The answer and full solution are in the GATE DA past-paper pack. All 195 questions from 2024, 2025 and 2026, each solved step by step and checked against the official key. ₹499, lifetime access.
What's in the pack · 60 questions are free to try.
Unlock this solution and every other question. ₹499, one payment, lifetime access.
Could not load the solution. Refresh the page, or email hello@gradientlab.dev.
Source: official GATE DA 2025 question paper and answer key (IIT Roorkee). The question is lightly reworded; every number and option is kept.