GATEverse Practice, past papers & mock tests
GATE 2024 · session-1
Database Management and WarehousingSQLmediumNAT1 mark
Consider the following two tables named Raider and Team in a relational database maintained by a Kabaddi league. The attribute ID in table Team references the primary key of the Raider table, ID. Raider table:
IDNameRaidsRaidPoints
1Arjun190250
2Ankush190219
3Sunil150200
4Reza150190
5Pratham175220
6Gopal193215
Team table:
CityIDBidPoints
Jaipur2200
Patna3195
Hyderabad5175
Jaipur2250
Patna4200
Jaipur6200
The SQL query described below is executed on this database: SELECT * FROM Raider, Team WHERE Raider.ID = Team.ID AND City = "Jaipur" AND RaidPoints > 200; The number of rows returned by this query is:
Save your progress

Related Database Management and Warehousing PYQs