GATE CSE · 2025 · CS
Question 55: Databases
Give it a try, then reveal the answer to check your work.
Question 55
CSNAT2 marksNeeds review
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: (pid, pname, age)
1, Jasprit, 31
2, Atharva, 24
3, Ishan, 26
4, Axar, 30
coach: (cid, cname)
101, Ricky
102, Mark
103, Trevor
team: (tid, tname, city, cid)
10, MI, Mumbai, 102
20, DC, Delhi, 101
30, PK, Mohali, 103
members: (pid, tid)
1, 10
2, 30
3, 10
4, 20
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.tid = C.cid
AND M.tid = T.tid
)
The value returned by the given SQL query is ______. (Answer in integer)
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerEXPLORE & PRACTISE
Paper and topic context
See where this question comes from and choose what to practise next.
2025CS
GATE CSE 2025 · Paper 1
Computer Science and Information Technology · Original paper archive
- Section
- Computer Science and Information Technology
- Question type
- Numerical answer (NAT)
- Marks
- 2 marks
Practise related topics
Explore more previous year questions using this question’s imported topic tags.
computer science
GATE CSE previous year questions
information technology
GATE CSE previous year questions
computing
GATE CSE previous year questions
databases
GATE CSE previous year questions
Comments
Ask a question, share your approach, or help someone understand.
Log in to view the discussion
You’re not logged in. Log in or create an account to see discussions and add comments.