query
stringlengths
24
325
positive
stringlengths
1
580
negative_1
stringlengths
6
580
negative_2
stringlengths
1
576
negative_3
stringlengths
1
576
negative_4
stringlengths
1
580
negative_5
stringlengths
1
580
negative_6
stringlengths
1
580
negative_7
stringlengths
5
576
negative_8
stringlengths
1
576
negative_9
stringlengths
1
580
negative_10
stringlengths
1
580
Tally the player IDs of "Man of the Series" awardees for the seasons from 2011 to 2015.
seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015
East London refers to City_Name = 'East London'
right-handed batting refers to Batting_hand = 'Right-hand bat'; percentage = divide(count(Player_Id where Batting_hand = 'Right-hand bat'), count(Player_Id)) * 100%
Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage
resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015
player no.41 won the "man of the match" refers to Man_of_the_Match = 41
country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))
fewest number of matches refers to min(count(Match_Id))
from Sri Lanka refers to Country_Name = 'Sri Lanka';
date of the match refers to Match_Date; highest wager refers to max(Win_Margin)
SC Ganguly refers to Player_Name = 'SC Ganguly'
Provide the complete name of the venue, city and country where the last match was held.
name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)
from Sri Lanka refers to Country_Name = 'Sri Lanka';
name of venues refers to Venue_Name; season 2 refers to Season_Id = 2
season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'
got out by being stumped refers to Out_Name = 'stumped'; the second innings refers to Innings_No = 2
born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3
SC Ganguly refers to Player_Name = 'SC Ganguly'
name of player refers to Player_Name; the youngest refers to max(DOB)
MA Chidambaram Stadium refers to Venue_Name = 'MA Chidambaram Stadium' ; from 5/9/2009 to 8/8/2011 refers to Match_Date between '2009-05-09' and '2011-08-08'
which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))
name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date)
List the player's name of Mumbai Indians in the match ID 335990.
Mumbai Indians refers to Team_Name = 'Mumbai Indians'; match ID 335990 refers to Match_Id = 335990
role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992
have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';
date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL
venue refers to Venue_Name; winning team refers to match_winner
decide to bowl first refers to Toss_Name = 'field'; from 2010 to 2016 refers to Match_Date BETWEEN '2010-01-01' AND '2016-12-31'; percent = divide(count(Toss_Id where Toss_Name = 'field'), count(Toss_Id)) * 100% where Match_Date BETWEEN '2010-01-01' AND '2016-12-31'
season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'
4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field')
innings numbers refers to Innings_No
When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)
CH Gayle refers to Player_Name = 'CH Gayle'
How many players have the bowling skill greater than 2?
bowling skill greater than 2 refers to Bowling_skill > 2
Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))
which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))
name of the player refers to Player_Name; the first ever refers to min(match_date); "man of the match" award refers to Player_Id in 'Man_of_the_Match'
name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID))
were played in March 2010 refers to Match_Date = '2010-03%'
English umpires refers to Country_Name = 'England'
born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'
Australia refers to Country_Name = 'Australia'
had players out by hit wickets refers to Out_Name = 'hit wicket'
if a player has multiple roles in a match, it means this player is versatile; name refers to Player_Name; most versatile player refers to MAX(COUNT(Role_id)); Delhi Daredevils refers to Team_Name = 'Delhi Daredevils'
How many players were born in the 90s?
born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'
venue refers to Venue_Name; winning team refers to match_winner
When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)
name of venues refers to Venue_Name; season 2 refers to Season_Id = 2
Zimbabwean refers to Country_Name = 'Zimbabwea'; players refers to Player_Name
match date refers to Match_Date; Chennai Super Kings refers to Team_Name = 'Chennai Super Kings'; first match refers to min(Match_Date)
the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'
seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015
name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)
bowling skill used by most players refers to max(count(Bowling_Skill))
What is the venue for the match ID 829768?
venue refers to Venue_Name
have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';
the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'
born in 1977 refers to DOB LIKE '1977%'; a role as a captain refers to Role_Desc = 'Captain'; percentage = divide(count(Role_Id where Role_Desc = 'Captain'), count(Role_Id)) * 100% where DOB LIKE '1977%'
held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)
had players out by hit wickets refers to Out_Name = 'hit wicket'
born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;
right-handed batting refers to Batting_hand = 'Right-hand bat'; percentage = divide(count(Player_Id where Batting_hand = 'Right-hand bat'), count(Player_Id)) * 100%
type of match won refers to Win_Type
Mumbai Indians refers to Team_Name = 'Mumbai Indians'; match ID 335990 refers to Match_Id = 335990
venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1
In which country do the majority of the players are from?
country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))
players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'
have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';
name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date)
right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985
player's ID refers to Player_Id
are Indians refers to Country_Name = 'India'
name refers to Player_Name; captain keeper refers to Role_Desc = 'CaptainKeeper'; match no.419117 refers to Match_Id = '419117'
fewest number of matches refers to min(count(Match_Id))
country refers to Country_Name; the oldest refers to min(DOB)
born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'
Is SuperSport Park located at Centurion?
SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'
number of runs refers to Runs_Scored; 2nd inning refers to Innings_No = 2
got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID "548335" refers to Match_Id = 548335
not won by runs refers to Win_Type ! = 'runs'
which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))
in team 1 refers to Team_Id = 1; name of player refers to Player_Name;
right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985
U.A.E refers to Country_Name = 'U.A.E'
bowling skill greater than 2 refers to Bowling_skill > 2
Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage
seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015
Which year do the majority of the players were born?
year refers to DOB; majority of the players refers to max(count(Player_Id))
batting team was the Delhi Daredevils refers to Team_Name = 'Delhi Daredevils' and Team_1 = Team_Id where Team_Batting = 1 or Team_2 = Team_Id where Team_Batting = 2; no runs scored refers to Runs_Scored = 0
first half refers to 1 < Over_Id and Over_Id < 25; average = divide(sum(Over_Id) when 1 < Over_Id and Over_Id < 25, sum(Runs_Scored)) as percentage; first innings refers to Innings_No = 1
born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;
role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992
won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage
SC Ganguly refers to Player_Name = 'SC Ganguly'; in season year 2008 refers to Season_Year = 2008
second innings refers to Innings_No = 2; average extra runs = divide(sum(Extra_Runs), count(Innings_No)) when Innings_No = 2
out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)
name of the team refers to Team_Name; the most number of matches refers to max(count(Match_Winner)); season 1 refers to season_Id = 1
in May 2008 refers to SUBSTR(Match_Date, 1, 4) = '2008' AND SUBSTR(Match_Date, 7, 1) = '5'
Indicate the name of the most versatile players of the Delhi Daredevils.
if a player has multiple roles in a match, it means this player is versatile; name refers to Player_Name; most versatile player refers to MAX(COUNT(Role_id)); Delhi Daredevils refers to Team_Name = 'Delhi Daredevils'
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)
got out by being stumped refers to Out_Name = 'stumped'; the second innings refers to Innings_No = 2
winning margin of 6 points refers to Win_Margin = 6; held on April 26, 2009 refers to Match_Date = '2009-04-26'
Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'
on 2008/5/12 refers to Match_Date = '2008-05-12'; name refers to Player_Name;
Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))
role refers to of Role_Id; SC Ganguly refers to Player_Name = 'SC Ganguly'; on 2008/4/18 refers to Match_Date = '2008-04-18'
country refers to Country_Name; the oldest refers to min(DOB)
bat with their right hand refers to Batting_hand = 'Right-hand bat'; average = divide(count(Player_Id) when Batting_hand = 'Right-hand bat', count(Country_Name))
the venue named "Newlands" refers to Venue_Name = 'Newlands'
For how many times has SC Ganguly played as team captain in a match?
SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'
in 2008 refers to Match_Date like '2008%'
type of match won refers to Win_Type
SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'
in team 1 refers to Team_Id = 1; name of player refers to Player_Name;
name of the team refers to Team_Name; the most number of matches refers to max(count(Match_Winner)); season 1 refers to season_Id = 1
born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;
Zimbabwean refers to Country_Name = 'Zimbabwea'; players refers to Player_Name
man of the match more than 5 times refers to COUNT(Man_of_the_Match) > 5; in season year 2008 refers to Season_Year = 2008; name of player refers to Player_Name;
held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014
won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage
Name the teams played in a match which resulted in a tie in 2015.
resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015
player's ID refers to Player_Id
who refers to Team_Name
batting team was the Delhi Daredevils refers to Team_Name = 'Delhi Daredevils' and Team_1 = Team_Id where Team_Batting = 1 or Team_2 = Team_Id where Team_Batting = 2; no runs scored refers to Runs_Scored = 0
name of player refers to Player_Name; the youngest refers to max(DOB)
Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)
the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'
in team 1 refers to Team_Id = 1; name of player refers to Player_Name;
won by wickets refers to Win_type = 'wickets';
name of players refers to Player_Name
city named "Rajkot" refers to city_name = 'Rajkot';
Write down the player names and IDs of the English umpires.
English umpires refers to Country_Name = 'England'
won by wickets refers to Win_type = 'wickets';
bowling skill used by most players refers to max(count(Bowling_Skill))
end of 16 overs refers to count(Toss_Name = 'field' ) = 16; run rate = divide(count(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id)when Toss_Name = 'field'); name refers to Player_Name
name of player refers to Player_Name; the youngest refers to max(DOB)
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)
bowling skill greater than 2 refers to Bowling_skill > 2
East London refers to City_Name = 'East London'
name of venues refers to Venue_Name; season 2 refers to Season_Id = 2
won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage
U.A.E refers to Country_Name = 'U.A.E'
How many times did Yuvraj Singh receive the Man of the Match award?
Yuvraj Singh refers to Player_Name = 'Yuvraj Singh'; receive the Man of the Match award refers to Player_Id = Man_of_the_Match
SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc
Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage
from Sri Lanka refers to Country_Name = 'Sri Lanka';
end of 16 overs refers to count(Toss_Name = 'field' ) = 16; run rate = divide(count(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id)when Toss_Name = 'field'); name refers to Player_Name
player's ID refers to Player_Id
'slow left-arm chinaman' bowling style refers to Bowling_skill = 'Slow left-arm chinaman'; most players  refers to max(count(Country_Id))
in May 2008 refers to SUBSTR(Match_Date, 1, 4) = '2008' AND SUBSTR(Match_Date, 7, 1) = '5'
Pune Warriors refers to Team_Name = 'Pune Warriors'
Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))
in team 1 refers to Team_Id = 1; name of player refers to Player_Name;
What is the batting hand of MK Pandey?
MK Pandey refers to Player_Name = 'MK Pandey'
are Indians refers to Country_Name = 'India'
SC Ganguly refers to Player_Name = 'SC Ganguly'; in season year 2008 refers to Season_Year = 2008
team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin)
name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)
who refers to Team_Name
the venue named "Newlands" refers to Venue_Name = 'Newlands'
English umpires refers to Country_Name = 'England'
from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';
out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)
role refers to of Role_Id; SC Ganguly refers to Player_Name = 'SC Ganguly'; on 2008/4/18 refers to Match_Date = '2008-04-18'
State the name of captain keeper of the match no.419117.
name refers to Player_Name; captain keeper refers to Role_Desc = 'CaptainKeeper'; match no.419117 refers to Match_Id = '419117'
won by wickets refers to Win_type = 'wickets';
Zimbabwean refers to Country_Name = 'Zimbabwea'; players refers to Player_Name
born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'
Between match no. 335989 and 337000 refers to 335989 < Match_Id < 337000; batsman score more than 3 runs during over no. 1, ball no. 1, and inning no. 1 of the matches refers to Runs_Scored > 3 and  Over_Id = 1 and Ball_Id = 1 and Innings_No = 1
Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%';
name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)
played in 2009 Match_Date like '2009%'; Mumbai Indians" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id))
on 2008/5/12 refers to Match_Date = '2008-05-12'; name refers to Player_Name;
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)
player's ID refers to Player_Id
Provide the players' names in both teams of the match that was held in June 2014.
held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014
the venue named "Newlands" refers to Venue_Name = 'Newlands'
Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))
players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'
MK Pandey refers to Player_Name = 'MK Pandey'
are Superover refers to win_type = 'wickets';
Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez';
the oldest refers to min(DOB); date of birth refers to DOB
born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;
number of runs refers to Runs_Scored; 2nd inning refers to Innings_No = 2
were played in March 2010 refers to Match_Date = '2010-03%'
Which player became the man of the series in the year 2012? Give the name and country of this player.
year 2012 refers to Season_Year = 2012; name of player refers to Player_Name.; country of this player refers to Country_Name
in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;
name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID))
date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'
SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'
bowling skill greater than 2 refers to Bowling_skill > 2
won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100
match date refers to Match_Date; Chennai Super Kings refers to Team_Name = 'Chennai Super Kings'; first match refers to min(Match_Date)
4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field')
born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;
Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)
How many times does M Chinnaswamy Stadium host games than Maharashtra Cricket Association Stadium?
M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'; Maharashtra Cricket Association Stadium refers to Venue_Name = 'Maharashtra Cricket Association Stadium'; how many times = divide(count(Match_Id where Venue_Name = 'M Chinnaswamy Stadium'), count(Match_Id where Venue_Name = 'Maharashtra Cricket Association Stadium'))
Who refers to Player_Name;
the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'
type of match won refers to Win_Type
venue refers to Venue_Name; winning team refers to match_winner
left hand batting style players refers to Batting_hand = 'Left-hand bat'; percentage refers to DIVIDE(COUNT(Batting_hand = 'Left-hand bat'), COUNT(Player_Id)) * 100.0
SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc
name of the team refers to Team_Name; the highest number of losses refers to max(add(count(Team_1 where Team_Id = Team_1 and Team_1 <> Match_Winner), count(Team_2 where Team_Id = Team_2 and Team_2 <> Match_Winner)))
if a player has multiple roles in a match, it means this player is versatile; name refers to Player_Name; most versatile player refers to MAX(COUNT(Role_id)); Delhi Daredevils refers to Team_Name = 'Delhi Daredevils'
losing team's name refers to Team_Id NOT in "match_winner" column
player no.41 won the "man of the match" refers to Man_of_the_Match = 41
How many matches were held at the venue named "Newlands"?
the venue named "Newlands" refers to Venue_Name = 'Newlands'
Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage
players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'
have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';
are Indians refers to Country_Name = 'India'
SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'
captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)
SC Ganguly refers to Player_Name = 'SC Ganguly'; in season year 2008 refers to Season_Year = 2008
East London refers to City_Name = 'East London'
Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'
How many times did SC Ganguly be the man of the match?
SC Ganguly refers to Player_Name = 'SC Ganguly'
play by the left hand refers to Batting_hand =   'Left-hand bat'
second innings refers to Innings_No = 2; average extra runs = divide(sum(Extra_Runs), count(Innings_No)) when Innings_No = 2
Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage
city refers to City_Name; M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'
seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015
player's ID refers to Player_Id
name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))
played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;
fewest number of matches refers to min(count(Match_Id))
Australia refers to Country_Name = 'Australia'
Write the name of the player who was the man of the series more than one time.
name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1
date of the match refers to Match_Date; highest wager refers to max(Win_Margin)
SC Ganguly refers to Player_Name = 'SC Ganguly'
id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)
play by the left hand refers to Batting_hand =   'Left-hand bat'
name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07'
name of venues refers to Venue_Name; season 2 refers to Season_Id = 2
date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'
name refers to Player_Name; youngest player refers to max(DOB)
have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';
How many players were born before 10/16/1975, and have a bowling skill of less than 3?
born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3
born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;
out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)
players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'
average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'
innings numbers refers to Innings_No
old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)
4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field')
name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)
first teams refers to Team_1; chose to bat after winning the toss refers to Toss_Winner and Toss_Decide = 2
What is the second team's name in the match with the lowest winning margin?
lowest winning margin refers to MIN(win_margin); team name refers to team_name; second team refers to team_2
Yuvraj Singh refers to Player_Name = 'Yuvraj Singh'; receive the Man of the Match award refers to Player_Id = Man_of_the_Match
point of winning margin of 38 refers to win_margin = 38; on April 30, 2009 refers to match_date = '2009-04-30'; team refers to Team_Name;
name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID))
SB Joshi refers to Player_Name = 'SB Joshi'; where the player come from refers to Country_Name
Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez';
name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))
resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015
venue refers to Venue_Name
most number of balls refers to max(Ball_Id); match 501219 refers to Match_Id = 501219; player id also refers to non_striker or ball_id
old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';
Among the players, what percentage are both captain and keeper?
captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage
name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date)
played in 2009 Match_Date like '2009%'; Mumbai Indians" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id))
won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100
SC Ganguly refers to Player_Name = 'SC Ganguly'
SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc
name refers to Player_Name; captain keeper refers to Role_Desc = 'CaptainKeeper'; match no.419117 refers to Match_Id = '419117'
Between match no. 335989 and 337000 refers to 335989 < Match_Id < 337000; batsman score more than 3 runs during over no. 1, ball no. 1, and inning no. 1 of the matches refers to Runs_Scored > 3 and  Over_Id = 1 and Ball_Id = 1 and Innings_No = 1
bat with their right hand refers to Batting_hand = 'Right-hand bat'; average = divide(count(Player_Id) when Batting_hand = 'Right-hand bat', count(Country_Name))
which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)
Among the" Mumbai Indians" team that played in 2009, how many percent of the matches did they win?
played in 2009 Match_Date like '2009%'; Mumbai Indians" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id))
name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))
scored less than 3 refers to Runs_Scored < 3; name of player refers to Player_name;
won by wickets refers to Win_type = 'wickets';
noballs refers to Extra_Name = 'noballs' ; average number = divide(sum(Extra_Runs), count(Extra_Runs))
losing team's name refers to Team_Id NOT in "match_winner" column
out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)
names of the venues refers to Venue_Name; Abu Dhabi refers to City_Name = 'Abu Dhabi'
were played in March 2010 refers to Match_Date = '2010-03%'
name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1
batting team was the Delhi Daredevils refers to Team_Name = 'Delhi Daredevils' and Team_1 = Team_Id where Team_Batting = 1 or Team_2 = Team_Id where Team_Batting = 2; no runs scored refers to Runs_Scored = 0
Among the players who were born in 1977, provide names and birthdates of the players from England.
born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'
from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';
venue refers to Venue_Name; winning team refers to match_winner
not won by runs refers to Win_Type ! = 'runs'
Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';
season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'
SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc
date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL
name of players refers to Player_Name
captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage
country refers to Country_Name; the oldest refers to min(DOB)
Where did SB Joshi come from?
SB Joshi refers to Player_Name = 'SB Joshi'; where the player come from refers to Country_Name
name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2
born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'
date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL
SC Ganguly refers to Player_Name = 'SC Ganguly'
date of the match refers to Match_Date; highest wager refers to max(Win_Margin)
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)
SC Ganguly refers to Player_Name = 'SC Ganguly'; in season year 2008 refers to Season_Year = 2008
name of the player refers to Player_Name; the first ever refers to min(match_date); "man of the match" award refers to Player_Id in 'Man_of_the_Match'
SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc
names of teams refers to Team_Name; second team refers to Team_2; Pune Warriors refers to Team_Name = 'Pune Warriors'
What percentage of players have Legbreak skill?
Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage
wins the toss refers to Toss_Winner; whether they decided to bat or field refers to Toss_Name
name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)
SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'
not won by runs refers to Win_Type ! = 'runs'
MK Pandey refers to Player_Name = 'MK Pandey'
MA Chidambaram Stadium refers to Venue_Name = 'MA Chidambaram Stadium' ; from 5/9/2009 to 8/8/2011 refers to Match_Date between '2009-05-09' and '2011-08-08'
names of the venues refers to Venue_Name; Abu Dhabi refers to City_Name = 'Abu Dhabi'
bat with their right hand refers to Batting_hand = 'Right-hand bat'; average = divide(count(Player_Id) when Batting_hand = 'Right-hand bat', count(Country_Name))
born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'
Pune Warriors refers to Team_Name = 'Pune Warriors'
In which country do most players have the 'slow left-arm chinaman' bowling style?
'slow left-arm chinaman' bowling style refers to Bowling_skill = 'Slow left-arm chinaman'; most players  refers to max(count(Country_Id))
name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1
born in 1977 refers to DOB LIKE '1977%'; a role as a captain refers to Role_Desc = 'Captain'; percentage = divide(count(Role_Id where Role_Desc = 'Captain'), count(Role_Id)) * 100% where DOB LIKE '1977%'
held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)
name of players refers to Player_Name
in team 1 refers to Team_Id = 1; name of player refers to Player_Name;
seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015
on 18th April 2015 refers to DATE(Match_Date) = '2015-04-18'
bat with their right hand refers to Batting_hand = 'Right-hand bat'; average = divide(count(Player_Id) when Batting_hand = 'Right-hand bat', count(Country_Name))
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)
played in 2009 Match_Date like '2009%'; Mumbai Indians" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id))
Who is the winning team in a match held on April 26, 2009 with a winning margin of 6 points?
winning margin of 6 points refers to Win_Margin = 6; held on April 26, 2009 refers to Match_Date = '2009-04-26'
Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%';
bat with their right hand refers to Batting_hand = 'Right-hand bat'; average = divide(count(Player_Id) when Batting_hand = 'Right-hand bat', count(Country_Name))
venue refers to Venue_Name; winning team refers to match_winner
role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992
season year 2008 refers to Season_Year = 2008
Yuvraj Singh refers to Player_Name = 'Yuvraj Singh'; receive the Man of the Match award refers to Player_Id = Man_of_the_Match
Australia refers to Country_Name = 'Australia'
U.A.E refers to Country_Name = 'U.A.E'
SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'
When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)
Please list the bowling skills of all the players from Australia.
Australia refers to Country_Name = 'Australia'
name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))
name of player refers to Player_Name; the youngest refers to max(DOB)
average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'
Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)
CH Gayle refers to Player_Name = 'CH Gayle'
Who refers to Player_Name;
name of teams refers to Team_Name; won the toss refers to Toss_Winner; matches with ID from 336010 to 336020  refers to Match_Id BETWEEN 336010 AND 336020
eldest player refers to MIN(DOB); where he/she come from refers to Country_Name
U.A.E refers to Country_Name = 'U.A.E'
Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez';
On average, how many players from each country bat with their right hand?
bat with their right hand refers to Batting_hand = 'Right-hand bat'; average = divide(count(Player_Id) when Batting_hand = 'Right-hand bat', count(Country_Name))
second innings refers to Innings_No = 2; average extra runs = divide(sum(Extra_Runs), count(Innings_No)) when Innings_No = 2
city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult'))
lowest winning margin refers to MIN(win_margin); team name refers to team_name; second team refers to team_2
name of players refers to Player_Name
SC Ganguly refers to Player_Name = 'SC Ganguly'
SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'
name of the player refers to Player_Name; the first ever refers to min(match_date); "man of the match" award refers to Player_Id in 'Man_of_the_Match'
man of the match more than 5 times refers to COUNT(Man_of_the_Match) > 5; in season year 2008 refers to Season_Year = 2008; name of player refers to Player_Name;
out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)
How many players got out in the first inning of match ID "548335"?
got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID "548335" refers to Match_Id = 548335
wins the toss refers to Toss_Winner; whether they decided to bat or field refers to Toss_Name
the venue named "Newlands" refers to Venue_Name = 'Newlands'
season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'
Mumbai Indians refers to Team_Name = 'Mumbai Indians'; match ID 335990 refers to Match_Id = 335990
were played in March 2010 refers to Match_Date = '2010-03%'
decide to bowl first refers to Toss_Name = 'field'; from 2010 to 2016 refers to Match_Date BETWEEN '2010-01-01' AND '2016-12-31'; percent = divide(count(Toss_Id where Toss_Name = 'field'), count(Toss_Id)) * 100% where Match_Date BETWEEN '2010-01-01' AND '2016-12-31'
id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1
country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))
most number of balls refers to max(Ball_Id); match 501219 refers to Match_Id = 501219; player id also refers to non_striker or ball_id
born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'
What is the role of K Goel in the match ID 335992?
role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992
team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin)
city refers to City_Name; M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'
name refers to Player_Name; captain keeper refers to Role_Desc = 'CaptainKeeper'; match no.419117 refers to Match_Id = '419117'
are Indians refers to Country_Name = 'India'
MK Pandey refers to Player_Name = 'MK Pandey'
year refers to DOB; majority of the players refers to max(count(Player_Id))
on 2008/5/12 refers to Match_Date = '2008-05-12'; name refers to Player_Name;
M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'; Maharashtra Cricket Association Stadium refers to Venue_Name = 'Maharashtra Cricket Association Stadium'; how many times = divide(count(Match_Id where Venue_Name = 'M Chinnaswamy Stadium'), count(Match_Id where Venue_Name = 'Maharashtra Cricket Association Stadium'))
end of 16 overs refers to count(Toss_Name = 'field' ) = 16; run rate = divide(count(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id)when Toss_Name = 'field'); name refers to Player_Name
name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2
What is the average number of extra runs made as noballs?
noballs refers to Extra_Name = 'noballs' ; average number = divide(sum(Extra_Runs), count(Extra_Runs))
full name refers to Player_Name; in 2013 refers to Season_Year = 2013
are Indians refers to Country_Name = 'India'
got out by being stumped refers to Out_Name = 'stumped'; the second innings refers to Innings_No = 2
from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';
won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage
lowest winning margin refers to MIN(win_margin); team name refers to team_name; second team refers to team_2
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)
born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'
U.A.E refers to Country_Name = 'U.A.E'
name of the player refers to Player_Name; the first ever refers to min(match_date); "man of the match" award refers to Player_Id in 'Man_of_the_Match'
Where did BR Doctrove come from?
the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'
Mumbai Indians refers to Team_Name = 'Mumbai Indians'; match ID 335990 refers to Match_Id = 335990
were played in March 2010 refers to Match_Date = '2010-03%'
from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';
East London refers to City_Name = 'East London'
name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1
have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';
held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014
Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))
most number of balls refers to max(Ball_Id); match 501219 refers to Match_Id = 501219; player id also refers to non_striker or ball_id
season year 2008 refers to Season_Year = 2008
When did the Sunrisers Hyderabad win their first match?
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)
fewest number of matches refers to min(count(Match_Id))
man of the match more than 5 times refers to COUNT(Man_of_the_Match) > 5; in season year 2008 refers to Season_Year = 2008; name of player refers to Player_Name;
SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'
bat with their right hand refers to Batting_hand = 'Right-hand bat'; average = divide(count(Player_Id) when Batting_hand = 'Right-hand bat', count(Country_Name))
Zimbabwean refers to Country_Name = 'Zimbabwea'; players refers to Player_Name
country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))
role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992
MA Chidambaram Stadium refers to Venue_Name = 'MA Chidambaram Stadium' ; from 5/9/2009 to 8/8/2011 refers to Match_Date between '2009-05-09' and '2011-08-08'
season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'
born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'
How many games were played in March 2010?
were played in March 2010 refers to Match_Date = '2010-03%'
in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;
name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2
names of the venues refers to Venue_Name; Abu Dhabi refers to City_Name = 'Abu Dhabi'
venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1
won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100
had players out by hit wickets refers to Out_Name = 'hit wicket'
in May 2008 refers to SUBSTR(Match_Date, 1, 4) = '2008' AND SUBSTR(Match_Date, 7, 1) = '5'
city refers to City_Name; M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'
Mumbai Indians refers to Team_Name = 'Mumbai Indians'; match ID 335990 refers to Match_Id = 335990
not won by runs refers to Win_Type ! = 'runs'
List the name and country of the players who got more than average catches in ascending order of the number of catches.
name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID))
in team 1 refers to Team_Id = 1; name of player refers to Player_Name;
seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015
city refers to City_Name; U.A.E refers to Country_Name = 'U.A.E'
venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1
held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)
role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992
the oldest refers to min(DOB); date of birth refers to DOB
name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2
man of the match more than 5 times refers to COUNT(Man_of_the_Match) > 5; in season year 2008 refers to Season_Year = 2008; name of player refers to Player_Name;
held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014
What is the name of the team that won the most number of matches in season 1?
name of the team refers to Team_Name; the most number of matches refers to max(count(Match_Winner)); season 1 refers to season_Id = 1
right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985
bowling skill used by most players refers to max(count(Bowling_Skill))
Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)
captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper'
Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';
the team named "Pune Warriors" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner)
When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)
born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;
name of the venue refers to Venue_Name; most number of matches refers to max(count(Venue_Id))
captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage
Count the matches that were won by wickets in all season.
won by wickets refers to Win_type = 'wickets';
played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;
have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';
name of player refers to Player_Name; the youngest refers to max(DOB)
When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)
first teams refers to Team_1; chose to bat after winning the toss refers to Toss_Winner and Toss_Decide = 2
SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'
role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992
season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'
old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';
country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))
What is the percentage of all right-handed batting players among all the other players?
right-handed batting refers to Batting_hand = 'Right-hand bat'; percentage = divide(count(Player_Id where Batting_hand = 'Right-hand bat'), count(Player_Id)) * 100%
name of venues refers to Venue_Name; season 2 refers to Season_Id = 2
bowling skill greater than 2 refers to Bowling_skill > 2
in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;
names of teams refers to Team_Name; second team refers to Team_2; Pune Warriors refers to Team_Name = 'Pune Warriors'
innings numbers refers to Innings_No
bowling skill used by most players refers to max(count(Bowling_Skill))
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)
play by the left hand refers to Batting_hand =   'Left-hand bat'
U.A.E refers to Country_Name = 'U.A.E'
name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID))
How many of the players are from Sri Lanka?
from Sri Lanka refers to Country_Name = 'Sri Lanka';
seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015
in 2008 refers to Match_Date like '2008%'
won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage
resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015
When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)
are Superover refers to win_type = 'wickets';
the team named "Pune Warriors" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner)
team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin)
SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc
English umpires refers to Country_Name = 'England'
How many seasons did Pune Warriors participate in?
Pune Warriors refers to Team_Name = 'Pune Warriors'
from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';
played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;
SC Ganguly refers to Player_Name = 'SC Ganguly'
Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage
old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';
Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'
city named "Rajkot" refers to city_name = 'Rajkot';
the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'
Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage
captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage
Among the players whose bowling skill is "Legbreak", when was the oldest one of them born?
the oldest refers to min(DOB); date of birth refers to DOB
old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';
wins the toss refers to Toss_Winner; whether they decided to bat or field refers to Toss_Name
in May 2008 refers to SUBSTR(Match_Date, 1, 4) = '2008' AND SUBSTR(Match_Date, 7, 1) = '5'
right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985
type of match won refers to Win_Type
left hand batting style players refers to Batting_hand = 'Left-hand bat'; percentage refers to DIVIDE(COUNT(Batting_hand = 'Left-hand bat'), COUNT(Player_Id)) * 100.0
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)
team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin)
Who refers to Player_Name;
SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'
Who is the youngest player to have won the Purple Cap?
Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))
name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07'
born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3
name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1
4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field')
id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1
Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)
name refers to Player_Name; captain keeper refers to Role_Desc = 'CaptainKeeper'; match no.419117 refers to Match_Id = '419117'
second innings refers to Innings_No = 2; average extra runs = divide(sum(Extra_Runs), count(Innings_No)) when Innings_No = 2
English umpires refers to Country_Name = 'England'
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)
Provide the match IDs which were held on 18th April 2015.
on 18th April 2015 refers to DATE(Match_Date) = '2015-04-18'
U.A.E refers to Country_Name = 'U.A.E'
season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'
old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';
name of venues refers to Venue_Name; season 2 refers to Season_Id = 2
name of the team refers to Team_Name; the highest number of losses refers to max(add(count(Team_1 where Team_Id = Team_1 and Team_1 <> Match_Winner), count(Team_2 where Team_Id = Team_2 and Team_2 <> Match_Winner)))
4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field')
name of the player refers to Player_Name; the first ever refers to min(match_date); "man of the match" award refers to Player_Id in 'Man_of_the_Match'
city named "Rajkot" refers to city_name = 'Rajkot';
captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage
in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;
What type did match ID 336000 win?
type of match won refers to Win_Type
Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez';
East London refers to City_Name = 'East London'
venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)
name of the team refers to Team_Name; the highest number of losses refers to max(add(count(Team_1 where Team_Id = Team_1 and Team_1 <> Match_Winner), count(Team_2 where Team_Id = Team_2 and Team_2 <> Match_Winner)))
name of player refers to Player_Name; the youngest refers to max(DOB)
name of the player refers to Player_Name; the first ever refers to min(match_date); "man of the match" award refers to Player_Id in 'Man_of_the_Match'
player's ID refers to Player_Id
captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage
players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'
How many cities are in U.A.E?
U.A.E refers to Country_Name = 'U.A.E'
innings numbers refers to Innings_No
Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez';
MK Pandey refers to Player_Name = 'MK Pandey'
name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07'
left hand batting style players refers to Batting_hand = 'Left-hand bat'; percentage refers to DIVIDE(COUNT(Batting_hand = 'Left-hand bat'), COUNT(Player_Id)) * 100.0
bowling skill greater than 2 refers to Bowling_skill > 2
name of the team refers to Team_Name; the most number of matches refers to max(count(Match_Winner)); season 1 refers to season_Id = 1
held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)
the oldest refers to min(DOB); date of birth refers to DOB
Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)
What is the city of M Chinnaswamy Stadium?
city refers to City_Name; M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'
held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014
player's ID refers to Player_Id
full name refers to Player_Name; in 2013 refers to Season_Year = 2013
Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))
won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage
role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992
name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2
bowling skill used by most players refers to max(count(Bowling_Skill))
won by wickets refers to Win_type = 'wickets';
city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult'))
Give the name of the striker in the match no. 419169, over no.3, ball no.2, inning no.2.
name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2
U.A.E refers to Country_Name = 'U.A.E'
captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage
born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'
average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'
role refers to of Role_Id; SC Ganguly refers to Player_Name = 'SC Ganguly'; on 2008/4/18 refers to Match_Date = '2008-04-18'
CH Gayle refers to Player_Name = 'CH Gayle'
noballs refers to Extra_Name = 'noballs' ; average number = divide(sum(Extra_Runs), count(Extra_Runs))
first half refers to 1 < Over_Id and Over_Id < 25; average = divide(sum(Over_Id) when 1 < Over_Id and Over_Id < 25, sum(Runs_Scored)) as percentage; first innings refers to Innings_No = 1
bowling skill greater than 2 refers to Bowling_skill > 2
city named "Rajkot" refers to city_name = 'Rajkot';
What are the names of the venues in Abu Dhabi?
names of the venues refers to Venue_Name; Abu Dhabi refers to City_Name = 'Abu Dhabi'
eldest player refers to MIN(DOB); where he/she come from refers to Country_Name
city refers to City_Name; U.A.E refers to Country_Name = 'U.A.E'
CH Gayle refers to Player_Name = 'CH Gayle'
names of teams refers to Team_Name; second team refers to Team_2; Pune Warriors refers to Team_Name = 'Pune Warriors'
name of the team refers to Team_Name; the most number of matches refers to max(count(Match_Winner)); season 1 refers to season_Id = 1
in 2008 refers to Match_Date like '2008%'
Who refers to Player_Name;
were played in March 2010 refers to Match_Date = '2010-03%'
match date refers to Match_Date; Chennai Super Kings refers to Team_Name = 'Chennai Super Kings'; first match refers to min(Match_Date)
name of player refers to Player_Name; the youngest refers to max(DOB)
List the match IDs which had players out by hit wickets.
had players out by hit wickets refers to Out_Name = 'hit wicket'
bowling skill greater than 2 refers to Bowling_skill > 2
right-handed batting refers to Batting_hand = 'Right-hand bat'; percentage = divide(count(Player_Id where Batting_hand = 'Right-hand bat'), count(Player_Id)) * 100%
winning margin of 6 points refers to Win_Margin = 6; held on April 26, 2009 refers to Match_Date = '2009-04-26'
born in 1977 refers to DOB LIKE '1977%'; a role as a captain refers to Role_Desc = 'Captain'; percentage = divide(count(Role_Id where Role_Desc = 'Captain'), count(Role_Id)) * 100% where DOB LIKE '1977%'
city named "Rajkot" refers to city_name = 'Rajkot';
CH Gayle refers to Player_Name = 'CH Gayle'
old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';
Pune Warriors refers to Team_Name = 'Pune Warriors'
who refers to Team_Name
4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field')
What are the names of players in team 1?
in team 1 refers to Team_Id = 1; name of player refers to Player_Name;
name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))
city refers to City_Name; U.A.E refers to Country_Name = 'U.A.E'
player no.41 won the "man of the match" refers to Man_of_the_Match = 41
on 18th April 2015 refers to DATE(Match_Date) = '2015-04-18'
the venue named "Newlands" refers to Venue_Name = 'Newlands'
captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage
Who refers to Player_Name;
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)
held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014
CH Gayle refers to Player_Name = 'CH Gayle'
Calculate the percentage of left hand batting style players among all players.
left hand batting style players refers to Batting_hand = 'Left-hand bat'; percentage refers to DIVIDE(COUNT(Batting_hand = 'Left-hand bat'), COUNT(Player_Id)) * 100.0
Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage
SC Ganguly refers to Player_Name = 'SC Ganguly'; in season year 2008 refers to Season_Year = 2008
name of the team refers to Team_Name; the most number of matches refers to max(count(Match_Winner)); season 1 refers to season_Id = 1
When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)
who refers to Team_Name
first teams refers to Team_1; chose to bat after winning the toss refers to Toss_Winner and Toss_Decide = 2
average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'
Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))
old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';
the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'
Who is the eldest player and where did he/she come from?
eldest player refers to MIN(DOB); where he/she come from refers to Country_Name
date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'
name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))
CH Gayle refers to Player_Name = 'CH Gayle'
name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2
in team 1 refers to Team_Id = 1; name of player refers to Player_Name;
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)
SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc
MK Pandey refers to Player_Name = 'MK Pandey'
winning margin of 6 points refers to Win_Margin = 6; held on April 26, 2009 refers to Match_Date = '2009-04-26'
name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID))
When did Chennai Super Kings play its first match?
match date refers to Match_Date; Chennai Super Kings refers to Team_Name = 'Chennai Super Kings'; first match refers to min(Match_Date)
the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'
name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID))
average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'
Who refers to Player_Name;
won by wickets refers to Win_type = 'wickets';
held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014
Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)
born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'
second innings refers to Innings_No = 2; average extra runs = divide(sum(Extra_Runs), count(Innings_No)) when Innings_No = 2
date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'
Which country is the oldest player from?
country refers to Country_Name; the oldest refers to min(DOB)
were played in March 2010 refers to Match_Date = '2010-03%'
date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'
wins the toss refers to Toss_Winner; whether they decided to bat or field refers to Toss_Name
name of the team refers to Team_Name; the highest number of losses refers to max(add(count(Team_1 where Team_Id = Team_1 and Team_1 <> Match_Winner), count(Team_2 where Team_Id = Team_2 and Team_2 <> Match_Winner)))
MK Pandey refers to Player_Name = 'MK Pandey'
eldest player refers to MIN(DOB); where he/she come from refers to Country_Name
year refers to DOB; majority of the players refers to max(count(Player_Id))
name of teams refers to Team_Name; won the toss refers to Toss_Winner; matches with ID from 336010 to 336020  refers to Match_Id BETWEEN 336010 AND 336020
name of player refers to Player_Name; the youngest refers to max(DOB)
Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)
What is the name of the team that won the first ever match?
name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date)
on 2008/5/12 refers to Match_Date = '2008-05-12'; name refers to Player_Name;
R Dravid refers to Player_Name = 'R Dravid'; year born refers to DOB; role refers to Role_Desc
seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015
in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;
decide to bowl first refers to Toss_Name = 'field'; from 2010 to 2016 refers to Match_Date BETWEEN '2010-01-01' AND '2016-12-31'; percent = divide(count(Toss_Id where Toss_Name = 'field'), count(Toss_Id)) * 100% where Match_Date BETWEEN '2010-01-01' AND '2016-12-31'
held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)
man of the match more than 5 times refers to COUNT(Man_of_the_Match) > 5; in season year 2008 refers to Season_Year = 2008; name of player refers to Player_Name;
captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage
4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field')
born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'
How many times did the matches were held in MA Chidambaram Stadium from 5/9/2009 to 8/8/2011?
MA Chidambaram Stadium refers to Venue_Name = 'MA Chidambaram Stadium' ; from 5/9/2009 to 8/8/2011 refers to Match_Date between '2009-05-09' and '2011-08-08'
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)
are Indians refers to Country_Name = 'India'
date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'
in 2008 refers to Match_Date like '2008%'
out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)
id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1
date of the match refers to Match_Date; highest wager refers to max(Win_Margin)
venue refers to Venue_Name
season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'
played in 2009 Match_Date like '2009%'; Mumbai Indians" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id))
Which city hosted the least number of no-result matches?
city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult'))
in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;
born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'
losing team's name refers to Team_Id NOT in "match_winner" column
Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage
name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1
seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015
the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'
date of the match refers to Match_Date; highest wager refers to max(Win_Margin)
name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))
Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)
Which season played the highest number of matches at M Chinnaswamy Stadium?
season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'
name of venues refers to Venue_Name; season 2 refers to Season_Id = 2
first half refers to 1 < Over_Id and Over_Id < 25; average = divide(sum(Over_Id) when 1 < Over_Id and Over_Id < 25, sum(Runs_Scored)) as percentage; first innings refers to Innings_No = 1
Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';
average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'
country refers to Country_Name; the oldest refers to min(DOB)
the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'
'slow left-arm chinaman' bowling style refers to Bowling_skill = 'Slow left-arm chinaman'; most players  refers to max(count(Country_Id))
name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2
name of the player refers to Player_Name; the first ever refers to min(match_date); "man of the match" award refers to Player_Id in 'Man_of_the_Match'
East London refers to City_Name = 'East London'
What is the total number of runs scored by the batsmen during the 2nd inning of the match ID 335988?
number of runs refers to Runs_Scored; 2nd inning refers to Innings_No = 2
name of player refers to Player_Name; the youngest refers to max(DOB)
date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'
losing team's name refers to Team_Id NOT in "match_winner" column
Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage
name of the team refers to Team_Name; the most number of matches refers to max(count(Match_Winner)); season 1 refers to season_Id = 1
in 2008 refers to Match_Date like '2008%'
born in 1977 refers to DOB LIKE '1977%'; a role as a captain refers to Role_Desc = 'Captain'; percentage = divide(count(Role_Id where Role_Desc = 'Captain'), count(Role_Id)) * 100% where DOB LIKE '1977%'
M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'; Maharashtra Cricket Association Stadium refers to Venue_Name = 'Maharashtra Cricket Association Stadium'; how many times = divide(count(Match_Id where Venue_Name = 'M Chinnaswamy Stadium'), count(Match_Id where Venue_Name = 'Maharashtra Cricket Association Stadium'))
When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)
out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)
Who is the player who won the first ever "man of the match" award?
name of the player refers to Player_Name; the first ever refers to min(match_date); "man of the match" award refers to Player_Id in 'Man_of_the_Match'
in May 2008 refers to SUBSTR(Match_Date, 1, 4) = '2008' AND SUBSTR(Match_Date, 7, 1) = '5'
out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)
city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult'))
year 2012 refers to Season_Year = 2012; name of player refers to Player_Name.; country of this player refers to Country_Name
player's ID refers to Player_Id
team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin)
type of match won refers to Win_Type
in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;
venue refers to Venue_Name; winning team refers to match_winner
MA Chidambaram Stadium refers to Venue_Name = 'MA Chidambaram Stadium' ; from 5/9/2009 to 8/8/2011 refers to Match_Date between '2009-05-09' and '2011-08-08'
Which team has the highest number of losses of all time?
name of the team refers to Team_Name; the highest number of losses refers to max(add(count(Team_1 where Team_Id = Team_1 and Team_1 <> Match_Winner), count(Team_2 where Team_Id = Team_2 and Team_2 <> Match_Winner)))
got out by being stumped refers to Out_Name = 'stumped'; the second innings refers to Innings_No = 2
U.A.E refers to Country_Name = 'U.A.E'
have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';
the team named "Pune Warriors" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner)
Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage
CH Gayle refers to Player_Name = 'CH Gayle'
SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'
R Dravid refers to Player_Name = 'R Dravid'; year born refers to DOB; role refers to Role_Desc
venue refers to Venue_Name; winning team refers to match_winner
date of the match refers to Match_Date; highest wager refers to max(Win_Margin)
How many of the matches are Superover?
are Superover refers to win_type = 'wickets';
name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)
Indian refers to Country_Name = 'India'
year refers to DOB; majority of the players refers to max(count(Player_Id))
venue refers to Venue_Name; winning team refers to match_winner
match date refers to Match_Date; Chennai Super Kings refers to Team_Name = 'Chennai Super Kings'; first match refers to min(Match_Date)
M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'; Maharashtra Cricket Association Stadium refers to Venue_Name = 'Maharashtra Cricket Association Stadium'; how many times = divide(count(Match_Id where Venue_Name = 'M Chinnaswamy Stadium'), count(Match_Id where Venue_Name = 'Maharashtra Cricket Association Stadium'))
name of venues refers to Venue_Name; season 2 refers to Season_Id = 2
name of player refers to Player_Name; the youngest refers to max(DOB)
name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2
the team named "Pune Warriors" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner)
How many matches did Team 10 play in 2012?
Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'
MK Pandey refers to Player_Name = 'MK Pandey'
captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage
the venue named "Newlands" refers to Venue_Name = 'Newlands'
SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc
East London refers to City_Name = 'East London'
first half refers to 1 < Over_Id and Over_Id < 25; average = divide(sum(Over_Id) when 1 < Over_Id and Over_Id < 25, sum(Runs_Scored)) as percentage; first innings refers to Innings_No = 1
end of 16 overs refers to count(Toss_Name = 'field' ) = 16; run rate = divide(count(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id)when Toss_Name = 'field'); name refers to Player_Name
name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)
fewest number of matches refers to min(count(Match_Id))
player's ID refers to Player_Id
List the id of the player who won the Orange Cap for 2 consecutive seasons.
id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1
played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;
venue refers to Venue_Name; winning team refers to match_winner
role refers to of Role_Id; SC Ganguly refers to Player_Name = 'SC Ganguly'; on 2008/4/18 refers to Match_Date = '2008-04-18'
Indian refers to Country_Name = 'India'
SC Ganguly refers to Player_Name = 'SC Ganguly'
bowling skill greater than 2 refers to Bowling_skill > 2
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)
resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015
name of the team refers to Team_Name; the highest number of losses refers to max(add(count(Team_1 where Team_Id = Team_1 and Team_1 <> Match_Winner), count(Team_2 where Team_Id = Team_2 and Team_2 <> Match_Winner)))
number of runs refers to Runs_Scored; 2nd inning refers to Innings_No = 2
What is the role of SC Ganguly in the match on 2008/4/18?
role refers to of Role_Id; SC Ganguly refers to Player_Name = 'SC Ganguly'; on 2008/4/18 refers to Match_Date = '2008-04-18'
'slow left-arm chinaman' bowling style refers to Bowling_skill = 'Slow left-arm chinaman'; most players  refers to max(count(Country_Id))
in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;
name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07'
are Indians refers to Country_Name = 'India'
on 18th April 2015 refers to DATE(Match_Date) = '2015-04-18'
When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)
bowling skill greater than 2 refers to Bowling_skill > 2
had players out by hit wickets refers to Out_Name = 'hit wicket'
venue refers to Venue_Name; winning team refers to match_winner
played in 2009 Match_Date like '2009%'; Mumbai Indians" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id))
Give the name of the venue where the most number of matches are held.
name of the venue refers to Venue_Name; most number of matches refers to max(count(Venue_Id))
Australia refers to Country_Name = 'Australia'
season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'
name of players refers to Player_Name
batting team was the Delhi Daredevils refers to Team_Name = 'Delhi Daredevils' and Team_1 = Team_Id where Team_Batting = 1 or Team_2 = Team_Id where Team_Batting = 2; no runs scored refers to Runs_Scored = 0
full name refers to Player_Name; in 2013 refers to Season_Year = 2013
played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;
in 2008 refers to Match_Date like '2008%'
noballs refers to Extra_Name = 'noballs' ; average number = divide(sum(Extra_Runs), count(Extra_Runs))
innings numbers refers to Innings_No
Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez';
Who among the players won both "Man of the Series" and "Orange Cap" in the same season?
Who refers to Player_Name;
name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1
who refers to Team_Name
right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985
name refers to Player_Name; youngest player refers to max(DOB)
type of match won refers to Win_Type
the oldest refers to min(DOB); date of birth refers to DOB
captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage
resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)
Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';
How many players were born in the 80s and have bowling skill of 2?
born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;
second innings refers to Innings_No = 2; average extra runs = divide(sum(Extra_Runs), count(Innings_No)) when Innings_No = 2
if a player has multiple roles in a match, it means this player is versatile; name refers to Player_Name; most versatile player refers to MAX(COUNT(Role_id)); Delhi Daredevils refers to Team_Name = 'Delhi Daredevils'
end of 16 overs refers to count(Toss_Name = 'field' ) = 16; run rate = divide(count(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id)when Toss_Name = 'field'); name refers to Player_Name
year refers to DOB; majority of the players refers to max(count(Player_Id))
have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';
played in 2009 Match_Date like '2009%'; Mumbai Indians" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id))
held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)
name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)
had players out by hit wickets refers to Out_Name = 'hit wicket'
name refers to Player_Name; captain keeper refers to Role_Desc = 'CaptainKeeper'; match no.419117 refers to Match_Id = '419117'
Provide the country ID of East London.
East London refers to City_Name = 'East London'
MA Chidambaram Stadium refers to Venue_Name = 'MA Chidambaram Stadium' ; from 5/9/2009 to 8/8/2011 refers to Match_Date between '2009-05-09' and '2011-08-08'
born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;
team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin)
average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'
resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015
in 2008 refers to Match_Date like '2008%'
got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID "548335" refers to Match_Id = 548335
got out by being stumped refers to Out_Name = 'stumped'; the second innings refers to Innings_No = 2
on 18th April 2015 refers to DATE(Match_Date) = '2015-04-18'
noballs refers to Extra_Name = 'noballs' ; average number = divide(sum(Extra_Runs), count(Extra_Runs))
How many victory matches were there in 2008?
in 2008 refers to Match_Date like '2008%'
average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'
When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)
name of player refers to Player_Name; the youngest refers to max(DOB)
seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015
won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100
role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992
country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))
lowest winning margin refers to MIN(win_margin); team name refers to team_name; second team refers to team_2
number of runs refers to Runs_Scored; 2nd inning refers to Innings_No = 2
venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1
How many Indian cities are there in the database?
Indian refers to Country_Name = 'India'
in 2008 refers to Match_Date like '2008%'
country refers to Country_Name; the oldest refers to min(DOB)
MK Pandey refers to Player_Name = 'MK Pandey'
captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper'
SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'
year 2012 refers to Season_Year = 2012; name of player refers to Player_Name.; country of this player refers to Country_Name
date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL
scored less than 3 refers to Runs_Scored < 3; name of player refers to Player_name;
Zimbabwean refers to Country_Name = 'Zimbabwea'; players refers to Player_Name
Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'
How many matches in 2009 had win margins of less than 10?
in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10;
out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)
born in 1977 refers to DOB LIKE '1977%'; a role as a captain refers to Role_Desc = 'Captain'; percentage = divide(count(Role_Id where Role_Desc = 'Captain'), count(Role_Id)) * 100% where DOB LIKE '1977%'
date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL
Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage
Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'
played in 2009 Match_Date like '2009%'; Mumbai Indians" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id))
old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';
left hand batting style players refers to Batting_hand = 'Left-hand bat'; percentage refers to DIVIDE(COUNT(Batting_hand = 'Left-hand bat'), COUNT(Player_Id)) * 100.0
role refers to of Role_Id; SC Ganguly refers to Player_Name = 'SC Ganguly'; on 2008/4/18 refers to Match_Date = '2008-04-18'
name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)
Among the matches played by Royal Challengers Bangalore, what is the match ID of the match with the highest winning margin?
Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin)
born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'
full name refers to Player_Name; in 2013 refers to Season_Year = 2013
end of 16 overs refers to count(Toss_Name = 'field' ) = 16; run rate = divide(count(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id)when Toss_Name = 'field'); name refers to Player_Name
held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014
have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';
Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2009 refers to Match_Date = '2009%'; won by wickets refers to Win_Type = 'wickets'; percentage refers to DIVIDE(COUNT(Win_Type = 'wickets'), COUNT(Win_Type))
had players out by hit wickets refers to Out_Name = 'hit wicket'
are Superover refers to win_type = 'wickets';
Australia refers to Country_Name = 'Australia'
which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))
How many games were not won by runs?
not won by runs refers to Win_Type ! = 'runs'
name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))
born in 1977 refers to DOB LIKE '1977%'; a role as a captain refers to Role_Desc = 'Captain'; percentage = divide(count(Role_Id where Role_Desc = 'Captain'), count(Role_Id)) * 100% where DOB LIKE '1977%'
bowling skill used by most players refers to max(count(Bowling_Skill))
SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'
role refers to of Role_Id; SC Ganguly refers to Player_Name = 'SC Ganguly'; on 2008/4/18 refers to Match_Date = '2008-04-18'
role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992
city refers to City_Name; U.A.E refers to Country_Name = 'U.A.E'
first teams refers to Team_1; chose to bat after winning the toss refers to Toss_Winner and Toss_Decide = 2
got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID "548335" refers to Match_Id = 548335
from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';
What is the name of the youngest player?
name refers to Player_Name; youngest player refers to max(DOB)
born in 1977 refers to DOB LIKE '1977%'; a role as a captain refers to Role_Desc = 'Captain'; percentage = divide(count(Role_Id where Role_Desc = 'Captain'), count(Role_Id)) * 100% where DOB LIKE '1977%'
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)
names of the venues refers to Venue_Name; Abu Dhabi refers to City_Name = 'Abu Dhabi'
players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'
type of match won refers to Win_Type
the team named "Pune Warriors" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner)
had players out by hit wickets refers to Out_Name = 'hit wicket'
name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2
are Superover refers to win_type = 'wickets';
born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;
Calculate the average runs scored during the first half of all first innings.
first half refers to 1 < Over_Id and Over_Id < 25; average = divide(sum(Over_Id) when 1 < Over_Id and Over_Id < 25, sum(Runs_Scored)) as percentage; first innings refers to Innings_No = 1
left hand batting style players refers to Batting_hand = 'Left-hand bat'; percentage refers to DIVIDE(COUNT(Batting_hand = 'Left-hand bat'), COUNT(Player_Id)) * 100.0
MK Pandey refers to Player_Name = 'MK Pandey'
year 2012 refers to Season_Year = 2012; name of player refers to Player_Name.; country of this player refers to Country_Name
bowling skill used by most players refers to max(count(Bowling_Skill))
name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID))
in 2008 refers to Match_Date like '2008%'
Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012'
got out by being stumped refers to Out_Name = 'stumped'; the second innings refers to Innings_No = 2
4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field')
have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';
Which teams did SC Ganguly join in season year 2008?
SC Ganguly refers to Player_Name = 'SC Ganguly'; in season year 2008 refers to Season_Year = 2008
Australia refers to Country_Name = 'Australia'
not won by runs refers to Win_Type ! = 'runs'
name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID))
seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015
man of the match more than 5 times refers to COUNT(Man_of_the_Match) > 5; in season year 2008 refers to Season_Year = 2008; name of player refers to Player_Name;
have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';
MA Chidambaram Stadium refers to Venue_Name = 'MA Chidambaram Stadium' ; from 5/9/2009 to 8/8/2011 refers to Match_Date between '2009-05-09' and '2011-08-08'
name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date)
born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'
SC Ganguly refers to Player_Name = 'SC Ganguly'
What is the average winning margin of the matches held in Newlands?
average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'
point of winning margin of 38 refers to win_margin = 38; on April 30, 2009 refers to match_date = '2009-04-30'; team refers to Team_Name;
date of the match refers to Match_Date; highest wager refers to max(Win_Margin)
SC Ganguly refers to Player_Name = 'SC Ganguly'; in season year 2008 refers to Season_Year = 2008
are Superover refers to win_type = 'wickets';
born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2;
When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)
Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage
name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2
East London refers to City_Name = 'East London'
players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%'
What are the teams that played in a match with the point of winning margin of 38 on April 30, 2009?
point of winning margin of 38 refers to win_margin = 38; on April 30, 2009 refers to match_date = '2009-04-30'; team refers to Team_Name;
played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;
When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)
won by wickets refers to Win_type = 'wickets';
SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'
played in 2009 Match_Date like '2009%'; Mumbai Indians" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id))
held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014
from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';
Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage
Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%';
name of the team refers to Team_Name; the most number of matches refers to max(count(Match_Winner)); season 1 refers to season_Id = 1
Which venue did Kolkata Knight Riders play most of their matches as a Team 1?
venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1
play by the left hand refers to Batting_hand =   'Left-hand bat'
first half refers to 1 < Over_Id and Over_Id < 25; average = divide(sum(Over_Id) when 1 < Over_Id and Over_Id < 25, sum(Runs_Scored)) as percentage; first innings refers to Innings_No = 1
name of players refers to Player_Name
Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))
bowling skill greater than 2 refers to Bowling_skill > 2
MK Pandey refers to Player_Name = 'MK Pandey'
bowling skill used by most players refers to max(count(Bowling_Skill))
captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper'
Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';
wins the toss refers to Toss_Winner; whether they decided to bat or field refers to Toss_Name
Who was the captain-keeper of Rising Pune Supergiants?
captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper'
Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2009 refers to Match_Date = '2009%'; won by wickets refers to Win_Type = 'wickets'; percentage refers to DIVIDE(COUNT(Win_Type = 'wickets'), COUNT(Win_Type))
CH Gayle refers to Player_Name = 'CH Gayle'
name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)
got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID "548335" refers to Match_Id = 548335
average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'
the team named "Pune Warriors" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner)
name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07'
id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1
eldest player refers to MIN(DOB); where he/she come from refers to Country_Name
How many players got out by being stumped in the second innings of all matches?
got out by being stumped refers to Out_Name = 'stumped'; the second innings refers to Innings_No = 2
born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'
number of runs refers to Runs_Scored; 2nd inning refers to Innings_No = 2
captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper'
born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31'
role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992
Indian refers to Country_Name = 'India'
id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1
When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date)
were played in March 2010 refers to Match_Date = '2010-03%'
seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015
What is the name of the player with the highest number of outstanding player awards in a particular match?
name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match))
who refers to Team_Name
name of the venue refers to Venue_Name; most number of matches refers to max(count(Venue_Id))
are Superover refers to win_type = 'wickets';
had players out by hit wickets refers to Out_Name = 'hit wicket'
born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3
names of teams refers to Team_Name; second team refers to Team_2; Pune Warriors refers to Team_Name = 'Pune Warriors'
Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage
eldest player refers to MIN(DOB); where he/she come from refers to Country_Name
captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage
date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead'
Give the match's venue and winning team for the match ID 392194.
venue refers to Venue_Name; winning team refers to match_winner
year 2012 refers to Season_Year = 2012; name of player refers to Player_Name.; country of this player refers to Country_Name
name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date)
SC Ganguly refers to Player_Name = 'SC Ganguly'
CH Gayle refers to Player_Name = 'CH Gayle'
average winning margin refers to avg(win_margin); held in Newlands refers to venue_name = 'Newlands'
in 2008 refers to Match_Date like '2008%'
had players out by hit wickets refers to Out_Name = 'hit wicket'
team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin)
were played in March 2010 refers to Match_Date = '2010-03%'
full name refers to Player_Name; in 2013 refers to Season_Year = 2013
In what percentage of games played at the Dr DY Patil Sports Academy venue did the winning team win by a margin of less than 10?
Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage
id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1
born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England'
play by the left hand refers to Batting_hand =   'Left-hand bat'
in 2008 refers to Match_Date like '2008%'
venue refers to Venue_Name
SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc
eldest player refers to MIN(DOB); where he/she come from refers to Country_Name
date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL
first teams refers to Team_1; chose to bat after winning the toss refers to Toss_Winner and Toss_Decide = 2
the team named "Pune Warriors" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner)
How old is Ishan Kishan in 2022?
old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';
won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100
on 18th April 2015 refers to DATE(Match_Date) = '2015-04-18'
city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult'))
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner)
city refers to City_Name; M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'
in 2008 refers to Match_Date like '2008%'
player's ID refers to Player_Id
date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL
name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date)
lowest winning margin refers to MIN(win_margin); team name refers to team_name; second team refers to team_2
Who was the man of the series in 2013? Give the full name.
full name refers to Player_Name; in 2013 refers to Season_Year = 2013
the oldest refers to min(DOB); date of birth refers to DOB
which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))
city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult'))
Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))
SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'
who refers to Team_Name
captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage
played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name;
resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015
name of the player refers to Player_Name; the first ever refers to min(match_date); "man of the match" award refers to Player_Id in 'Man_of_the_Match'
List down the name of venues in season 2.
name of venues refers to Venue_Name; season 2 refers to Season_Id = 2
decide to bowl first refers to Toss_Name = 'field'; from 2010 to 2016 refers to Match_Date BETWEEN '2010-01-01' AND '2016-12-31'; percent = divide(count(Toss_Id where Toss_Name = 'field'), count(Toss_Id)) * 100% where Match_Date BETWEEN '2010-01-01' AND '2016-12-31'
Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2009 refers to Match_Date = '2009%'; won by wickets refers to Win_Type = 'wickets'; percentage refers to DIVIDE(COUNT(Win_Type = 'wickets'), COUNT(Win_Type))
Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%';
name refers to Player_Name; youngest player refers to max(DOB)
most number of balls refers to max(Ball_Id); match 501219 refers to Match_Id = 501219; player id also refers to non_striker or ball_id
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)
Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB))
point of winning margin of 38 refers to win_margin = 38; on April 30, 2009 refers to match_date = '2009-04-30'; team refers to Team_Name;
SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain'
SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc
For how many times has player no.41 won the "man of the match" award?
player no.41 won the "man of the match" refers to Man_of_the_Match = 41
the team named "Pune Warriors" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner)
held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin)
decide to bowl first refers to Toss_Name = 'field'; from 2010 to 2016 refers to Match_Date BETWEEN '2010-01-01' AND '2016-12-31'; percent = divide(count(Toss_Id where Toss_Name = 'field'), count(Toss_Id)) * 100% where Match_Date BETWEEN '2010-01-01' AND '2016-12-31'
venue refers to Venue_Name; winning team refers to match_winner
are Superover refers to win_type = 'wickets';
country refers to Country_Name; the majority of the players  refers to max(count(Country_Name))
date of the match refers to Match_Date; highest wager refers to max(Win_Margin)
name of the team refers to Team_Name; the highest number of losses refers to max(add(count(Team_1 where Team_Id = Team_1 and Team_1 <> Match_Winner), count(Team_2 where Team_Id = Team_2 and Team_2 <> Match_Winner)))
not won by runs refers to Win_Type ! = 'runs'
M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'; Maharashtra Cricket Association Stadium refers to Venue_Name = 'Maharashtra Cricket Association Stadium'; how many times = divide(count(Match_Id where Venue_Name = 'M Chinnaswamy Stadium'), count(Match_Id where Venue_Name = 'Maharashtra Cricket Association Stadium'))
Among the matches of Delhi Daredevils in 2014, how many won matches are there?
Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';
won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage
have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';
Zimbabwean refers to Country_Name = 'Zimbabwea'; players refers to Player_Name
name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date)
name of venues refers to Venue_Name; season 2 refers to Season_Id = 2
team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin)
the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove'
from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';
M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'; Maharashtra Cricket Association Stadium refers to Venue_Name = 'Maharashtra Cricket Association Stadium'; how many times = divide(count(Match_Id where Venue_Name = 'M Chinnaswamy Stadium'), count(Match_Id where Venue_Name = 'Maharashtra Cricket Association Stadium'))
Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date)
What is the total number of won matches of the team named "Pune Warriors"?
the team named "Pune Warriors" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner)
Pune Warriors refers to Team_Name = 'Pune Warriors'
point of winning margin of 38 refers to win_margin = 38; on April 30, 2009 refers to match_date = '2009-04-30'; team refers to Team_Name;
if a player has multiple roles in a match, it means this player is versatile; name refers to Player_Name; most versatile player refers to MAX(COUNT(Role_id)); Delhi Daredevils refers to Team_Name = 'Delhi Daredevils'
name of venues refers to Venue_Name; season 2 refers to Season_Id = 2
in 2008 refers to Match_Date like '2008%'
captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage
name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07'
venue refers to Venue_Name
born in 1977 refers to DOB LIKE '1977%'; a role as a captain refers to Role_Desc = 'Captain'; percentage = divide(count(Role_Id where Role_Desc = 'Captain'), count(Role_Id)) * 100% where DOB LIKE '1977%'
names of the venues refers to Venue_Name; Abu Dhabi refers to City_Name = 'Abu Dhabi'
For the game on 2008/5/12, who was the man of the match?
on 2008/5/12 refers to Match_Date = '2008-05-12'; name refers to Player_Name;
in May 2008 refers to SUBSTR(Match_Date, 1, 4) = '2008' AND SUBSTR(Match_Date, 7, 1) = '5'
Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage
Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014';
Zimbabwean refers to Country_Name = 'Zimbabwea'; players refers to Player_Name
on 18th April 2015 refers to DATE(Match_Date) = '2015-04-18'
name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1
city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult'))
season year 2008 refers to Season_Year = 2008
in 2008 refers to Match_Date like '2008%'
venue refers to Venue_Name
How many players have left arm fast in bowling skill?
have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast';
scored less than 3 refers to Runs_Scored < 3; name of player refers to Player_name;
name of the venue refers to Venue_Name; most number of matches refers to max(count(Venue_Id))
number of runs refers to Runs_Scored; 2nd inning refers to Innings_No = 2
'slow left-arm chinaman' bowling style refers to Bowling_skill = 'Slow left-arm chinaman'; most players  refers to max(count(Country_Id))
won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100
old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';
noballs refers to Extra_Name = 'noballs' ; average number = divide(sum(Extra_Runs), count(Extra_Runs))
role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992
SB Joshi refers to Player_Name = 'SB Joshi'; where the player come from refers to Country_Name
captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper'
What are the names of players that have run scored less than 3?
scored less than 3 refers to Runs_Scored < 3; name of player refers to Player_name;
SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc
M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'; Maharashtra Cricket Association Stadium refers to Venue_Name = 'Maharashtra Cricket Association Stadium'; how many times = divide(count(Match_Id where Venue_Name = 'M Chinnaswamy Stadium'), count(Match_Id where Venue_Name = 'Maharashtra Cricket Association Stadium'))
seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015
bowling skill used by most players refers to max(count(Bowling_Skill))
are Indians refers to Country_Name = 'India'
first teams refers to Team_1; chose to bat after winning the toss refers to Toss_Winner and Toss_Decide = 2
R Dravid refers to Player_Name = 'R Dravid'; year born refers to DOB; role refers to Role_Desc
left hand batting style players refers to Batting_hand = 'Left-hand bat'; percentage refers to DIVIDE(COUNT(Batting_hand = 'Left-hand bat'), COUNT(Player_Id)) * 100.0
SB Joshi refers to Player_Name = 'SB Joshi'; where the player come from refers to Country_Name
from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%';
Among the players born in 1977, what is the percentage of the players with a role as a captain?
born in 1977 refers to DOB LIKE '1977%'; a role as a captain refers to Role_Desc = 'Captain'; percentage = divide(count(Role_Id where Role_Desc = 'Captain'), count(Role_Id)) * 100% where DOB LIKE '1977%'
country refers to Country_Name; the oldest refers to min(DOB)
type of match won refers to Win_Type
R Dravid refers to Player_Name = 'R Dravid'; year born refers to DOB; role refers to Role_Desc
scored less than 3 refers to Runs_Scored < 3; name of player refers to Player_name;
name of the venue refers to Venue_Name; most number of matches refers to max(count(Venue_Id))
Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez';
venue refers to Venue_Name
old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan';
Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%';
out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to  avg(Player_Out when Out_Id = 4); average out by runout refers to  avg(Player_Out when Out_Id = 3)