Consider following tables:
PLAYER(NAME,COUNTRY,AGE)
P_DATA(NAME,M_DATE,RUNS,WICKETS,CATCHES,AGAINST)
SQL Queries
1)List players who have played against all countries
2)For each country, name the player(s) who have scored maximum runs,taken maximum wickets in a match
Please provide SQL codes to solve above mentioned queries.
Loading


Iftikar HussainRank #423 · 5.9K reputationPosted Aug 11, 2013, 9:04 AM EDT
for 1:
Regards,
Iftikar
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 11, 2013, 8:17 AM EDT
For the first query I think to have one Country table, otherwise how you will find that player has been played against all country.
Regards,
Iftikar
Nilesh Sanyal191 reputationPosted Aug 17, 2013, 1:46 AM EDT
Rasadul Alam Rashed46 reputationPosted Sep 9, 2013, 10:00 PM EDT