GATE CS 2025, set 1 · Question 55 · Databases · Numerical answer (NAT) · 2 marks · no negative marks

Consider the following database tables of a sports league.
player(pid,pname,age) coach(cid,cname) team(tid,tname,city,cid) members(pid,tid)
An instance of the table and an SQL query are given.
player
coach
team
members
SELECT 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 )
The value returned by the given SQL query is ______ . (Answer in integer)

pidpnameage
1Jasprit31
2Atharva24
3Ishan26
4Axar30
cidcname
101Ricky
102Mark
103Trevor
tidtnamecitycid
10MIMumbai102
20DCDelhi101
30PKMohali103
pidtid
110
230
310
420
Answer

Answer 26

Answer from the official GATE CS 2025 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes