GATEverse Practice, past papers & mock tests
GATE 2017 · CS2 - Afternoon
Database ManagementStructured Query Language (SQL)mediumNAT2 marks
Consider table top_scorer(player, country, goals). Query: SELECT ta.player FROM top_scorer AS ta WHERE ta.goals >ALL (SELECT tb.goals FROM top_scorer AS tb WHERE tb.country = 'Spain') AND ta.goals >ANY (SELECT tc.goals FROM top_scorer AS tc WHERE tc.country = 'Germany') The number of tuples returned by the SQL query is _______
Save your progress

Related Database Management PYQs