GATE CS 2025 Set 1 | Question 55
Databases › SQL Queries · NAT · 2 marks · Answer: 26
- Question 55Databasesnat2 marksConsider the database tables (instances shown) and the SQL query. The value returned by the query is ______. (Answer in integer)
player coach team members pid pname age cid cname tid tname city cid pid tid 1 Jasprit 31 101 Ricky 10 MI Mumbai 102 1 10 2 Atharva 24 102 Mark 20 DC Delhi 101 2 30 3 Ishan 26 103 Trevor 30 PK Mohali 103 3 10 4 Axar 30 4 20SELECT MIN(P.age) FROM player P WHERE P.pid IN ( SELECT M.pid FROM team T, coach C, members M WHERE C.cname = 'Mark' AND T.cid = C.cid AND M.tid = T.tid )Answer: 26
Solution
Answer: 26 - Coach 'Mark' has . - Team with is MI (). - Members of team : (Jasprit) and (Ishan). - Their ages: Jasprit , Ishan .
More GATE PYQ on SQL Queries
All GATE CS Databases PYQ →Attempt GATE CS 2025 Set 1 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →