1sf/bird-sql-train-with-schema huggingface dataset:
Database: soccer_2016
Tables: Batting_Style, Bowling_Style, City, Country, Extra_Type, Extra_Runs, Out_Type, Outcome, Player, Rolee, Season, Team, Toss_Decision, Umpire, Venue, Win_By, Match, Ball_by_Ball, Batsman_Scored, Player_Match, Wicket_Taken
Columns (table index, column name): -1, *, 0, Batting_Id, 0, Batting_hand, 1, Bowling_Id, 1, Bowling_skill, 2, City_Id, 2, City_Name, 2, Country_id, 3, Country_Id, 3, Country_Name, 4, Extra_Id, 4, Extra_Name, 5, Match_Id, 5, Over_Id, 5, Ball_Id, 5, Extra_Type_Id, 5, Extra_Runs, 5, Innings_No, 6, Out_Id, 6, Out_Name, 7, Outcome_Id, 7, Outcome_Type, 8, Player_Id, 8, Player_Name, 8, DOB, 8, Batting_hand, 8, Bowling_skill, 8, Country_Name, 9, Role_Id, 9, Role_Desc, 10, Season_Id, 10, Man_of_the_Series, 10, Orange_Cap, 10, Purple_Cap, 10, Season_Year, 11, Team_Id, 11, Team_Name, 12, Toss_Id, 12, Toss_Name, 13, Umpire_Id, 13, Umpire_Name, 13, Umpire_Country, 14, Venue_Id, 14, Venue_Name, 14, City_Id, 15, Win_Id, 15, Win_Type, 16, Match_Id, 16, Team_1, 16, Team_2, 16, Match_Date, 16, Season_Id, 16, Venue_Id, 16, Toss_Winner, 16, Toss_Decide, 16, Win_Type, 16, Win_Margin, 16, Outcome_type, 16, Match_Winner, 16, Man_of_the_Match, 17, Match_Id, 17, Over_Id, 17, Ball_Id, 17, Innings_No, 17, Team_Batting, 17, Team_Bowling, 17, Striker_Batting_Position, 17, Striker, 17, Non_Striker, 17, Bowler, 18, Match_Id, 18, Over_Id, 18, Ball_Id, 18, Runs_Scored, 18, Innings_No, 19, Match_Id, 19, Player_Id, 19, Role_Id, 19, Team_Id, 20, Match_Id, 20, Over_Id, 20, Ball_Id, 20, Player_Out, 20, Kind_Out, 20, Fielders, 20, Innings_No
Question: List down all of the winning teams' IDs that played in St George's Park.
Evidence: winning teams' refers to Match_Winner; played in St George's Park refers to Venue_Name like 'St George%'
SQL: SELECT T2.Match_Winner FROM Venue AS T1 INNER JOIN Match AS T2 ON T1.Venue_Id = T2.Venue_Id WHERE T1.Venue_Name LIKE 'St George%'
Database: soccer_2016
Tables: Batting_Style, Bowling_Style, City, Country, Extra_Type, Extra_Runs, Out_Type, Outcome, Player, Rolee, Season, Team, Toss_Decision, Umpire, Venue, Win_By, Match, Ball_by_Ball, Batsman_Scored, Player_Match, Wicket_Taken
Columns (table index, column name): -1, *, 0, Batting_Id, 0, Batting_hand, 1, Bowling_Id, 1, Bowling_skill, 2, City_Id, 2, City_Name, 2, Country_id, 3, Country_Id, 3, Country_Name, 4, Extra_Id, 4, Extra_Name, 5, Match_Id, 5, Over_Id, 5, Ball_Id, 5, Extra_Type_Id, 5, Extra_Runs, 5, Innings_No, 6, Out_Id, 6, Out_Name, 7, Outcome_Id, 7, Outcome_Type, 8, Player_Id, 8, Player_Name, 8, DOB, 8, Batting_hand, 8, Bowling_skill, 8, Country_Name, 9, Role_Id, 9, Role_Desc, 10, Season_Id, 10, Man_of_the_Series, 10, Orange_Cap, 10, Purple_Cap, 10, Season_Year, 11, Team_Id, 11, Team_Name, 12, Toss_Id, 12, Toss_Name, 13, Umpire_Id, 13, Umpire_Name, 13, Umpire_Country, 14, Venue_Id, 14, Venue_Name, 14, City_Id, 15, Win_Id, 15, Win_Type, 16, Match_Id, 16, Team_1, 16, Team_2, 16, Match_Date, 16, Season_Id, 16, Venue_Id, 16, Toss_Winner, 16, Toss_Decide, 16, Win_Type, 16, Win_Margin, 16, Outcome_type, 16, Match_Winner, 16, Man_of_the_Match, 17, Match_Id, 17, Over_Id, 17, Ball_Id, 17, Innings_No, 17, Team_Batting, 17, Team_Bowling, 17, Striker_Batting_Position, 17, Striker, 17, Non_Striker, 17, Bowler, 18, Match_Id, 18, Over_Id, 18, Ball_Id, 18, Runs_Scored, 18, Innings_No, 19, Match_Id, 19, Player_Id, 19, Role_Id, 19, Team_Id, 20, Match_Id, 20, Over_Id, 20, Ball_Id, 20, Player_Out, 20, Kind_Out, 20, Fielders, 20, Innings_No
Question: Is SuperSport Park located at Centurion?
Evidence: SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion'
SQL: SELECT T2.City_Name FROM Venue AS T1 INNER JOIN City AS T2 ON T1.City_Id = T2.City_Id WHERE T1.Venue_Name LIKE 'St George%'
Database: soccer_2016
Tables: Batting_Style, Bowling_Style, City, Country, Extra_Type, Extra_Runs, Out_Type, Outcome, Player, Rolee, Season, Team, Toss_Decision, Umpire, Venue, Win_By, Match, Ball_by_Ball, Batsman_Scored, Player_Match, Wicket_Taken
Columns (table index, column name): -1, *, 0, Batting_Id, 0, Batting_hand, 1, Bowling_Id, 1, Bowling_skill, 2, City_Id, 2, City_Name, 2, Country_id, 3, Country_Id, 3, Country_Name, 4, Extra_Id, 4, Extra_Name, 5, Match_Id, 5, Over_Id, 5, Ball_Id, 5, Extra_Type_Id, 5, Extra_Runs, 5, Innings_No, 6, Out_Id, 6, Out_Name, 7, Outcome_Id, 7, Outcome_Type, 8, Player_Id, 8, Player_Name, 8, DOB, 8, Batting_hand, 8, Bowling_skill, 8, Country_Name, 9, Role_Id, 9, Role_Desc, 10, Season_Id, 10, Man_of_the_Series, 10, Orange_Cap, 10, Purple_Cap, 10, Season_Year, 11, Team_Id, 11, Team_Name, 12, Toss_Id, 12, Toss_Name, 13, Umpire_Id, 13, Umpire_Name, 13, Umpire_Country, 14, Venue_Id, 14, Venue_Name, 14, City_Id, 15, Win_Id, 15, Win_Type, 16, Match_Id, 16, Team_1, 16, Team_2, 16, Match_Date, 16, Season_Id, 16, Venue_Id, 16, Toss_Winner, 16, Toss_Decide, 16, Win_Type, 16, Win_Margin, 16, Outcome_type, 16, Match_Winner, 16, Man_of_the_Match, 17, Match_Id, 17, Over_Id, 17, Ball_Id, 17, Innings_No, 17, Team_Batting, 17, Team_Bowling, 17, Striker_Batting_Position, 17, Striker, 17, Non_Striker, 17, Bowler, 18, Match_Id, 18, Over_Id, 18, Ball_Id, 18, Runs_Scored, 18, Innings_No, 19, Match_Id, 19, Player_Id, 19, Role_Id, 19, Team_Id, 20, Match_Id, 20, Over_Id, 20, Ball_Id, 20, Player_Out, 20, Kind_Out, 20, Fielders, 20, Innings_No
Question: Calculate the total winning match for Deccan Chargers.
Evidence: winning refers to Match_Winner; Deccan Chargers refers to Team_Name = 'Deccan Chargers'
SQL: SELECT SUM(T2.Match_Winner) FROM Team AS T1 INNER JOIN Match AS T2 ON T1.Team_Id = T2.Match_Winner WHERE T1.Team_Name = 'Deccan Chargers'
Database: soccer_2016
Tables: Batting_Style, Bowling_Style, City, Country, Extra_Type, Extra_Runs, Out_Type, Outcome, Player, Rolee, Season, Team, Toss_Decision, Umpire, Venue, Win_By, Match, Ball_by_Ball, Batsman_Scored, Player_Match, Wicket_Taken
Columns (table index, column name): -1, *, 0, Batting_Id, 0, Batting_hand, 1, Bowling_Id, 1, Bowling_skill, 2, City_Id, 2, City_Name, 2, Country_id, 3, Country_Id, 3, Country_Name, 4, Extra_Id, 4, Extra_Name, 5, Match_Id, 5, Over_Id, 5, Ball_Id, 5, Extra_Type_Id, 5, Extra_Runs, 5, Innings_No, 6, Out_Id, 6, Out_Name, 7, Outcome_Id, 7, Outcome_Type, 8, Player_Id, 8, Player_Name, 8, DOB, 8, Batting_hand, 8, Bowling_skill, 8, Country_Name, 9, Role_Id, 9, Role_Desc, 10, Season_Id, 10, Man_of_the_Series, 10, Orange_Cap, 10, Purple_Cap, 10, Season_Year, 11, Team_Id, 11, Team_Name, 12, Toss_Id, 12, Toss_Name, 13, Umpire_Id, 13, Umpire_Name, 13, Umpire_Country, 14, Venue_Id, 14, Venue_Name, 14, City_Id, 15, Win_Id, 15, Win_Type, 16, Match_Id, 16, Team_1, 16, Team_2, 16, Match_Date, 16, Season_Id, 16, Venue_Id, 16, Toss_Winner, 16, Toss_Decide, 16, Win_Type, 16, Win_Margin, 16, Outcome_type, 16, Match_Winner, 16, Man_of_the_Match, 17, Match_Id, 17, Over_Id, 17, Ball_Id, 17, Innings_No, 17, Team_Batting, 17, Team_Bowling, 17, Striker_Batting_Position, 17, Striker, 17, Non_Striker, 17, Bowler, 18, Match_Id, 18, Over_Id, 18, Ball_Id, 18, Runs_Scored, 18, Innings_No, 19, Match_Id, 19, Player_Id, 19, Role_Id, 19, Team_Id, 20, Match_Id, 20, Over_Id, 20, Ball_Id, 20, Player_Out, 20, Kind_Out, 20, Fielders, 20, Innings_No
Question: Count the total venues located in Pune City.
Evidence: Pune City refers to City_Name = 'Pune'
SQL: SELECT SUM(T1.Venue_Name) FROM Venue AS T1 INNER JOIN City AS T2 ON T1.City_Id = T2.City_Id WHERE T2.City_Name = 'Pune'
Database: soccer_2016
Tables: Batting_Style, Bowling_Style, City, Country, Extra_Type, Extra_Runs, Out_Type, Outcome, Player, Rolee, Season, Team, Toss_Decision, Umpire, Venue, Win_By, Match, Ball_by_Ball, Batsman_Scored, Player_Match, Wicket_Taken
Columns (table index, column name): -1, *, 0, Batting_Id, 0, Batting_hand, 1, Bowling_Id, 1, Bowling_skill, 2, City_Id, 2, City_Name, 2, Country_id, 3, Country_Id, 3, Country_Name, 4, Extra_Id, 4, Extra_Name, 5, Match_Id, 5, Over_Id, 5, Ball_Id, 5, Extra_Type_Id, 5, Extra_Runs, 5, Innings_No, 6, Out_Id, 6, Out_Name, 7, Outcome_Id, 7, Outcome_Type, 8, Player_Id, 8, Player_Name, 8, DOB, 8, Batting_hand, 8, Bowling_skill, 8, Country_Name, 9, Role_Id, 9, Role_Desc, 10, Season_Id, 10, Man_of_the_Series, 10, Orange_Cap, 10, Purple_Cap, 10, Season_Year, 11, Team_Id, 11, Team_Name, 12, Toss_Id, 12, Toss_Name, 13, Umpire_Id, 13, Umpire_Name, 13, Umpire_Country, 14, Venue_Id, 14, Venue_Name, 14, City_Id, 15, Win_Id, 15, Win_Type, 16, Match_Id, 16, Team_1, 16, Team_2, 16, Match_Date, 16, Season_Id, 16, Venue_Id, 16, Toss_Winner, 16, Toss_Decide, 16, Win_Type, 16, Win_Margin, 16, Outcome_type, 16, Match_Winner, 16, Man_of_the_Match, 17, Match_Id, 17, Over_Id, 17, Ball_Id, 17, Innings_No, 17, Team_Batting, 17, Team_Bowling, 17, Striker_Batting_Position, 17, Striker, 17, Non_Striker, 17, Bowler, 18, Match_Id, 18, Over_Id, 18, Ball_Id, 18, Runs_Scored, 18, Innings_No, 19, Match_Id, 19, Player_Id, 19, Role_Id, 19, Team_Id, 20, Match_Id, 20, Over_Id, 20, Ball_Id, 20, Player_Out, 20, Kind_Out, 20, Fielders, 20, Innings_No
Question: Give the player id of the player who was at the non-striker end for the most number of balls in the match 501219.
Evidence: 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
SQL: SELECT Ball_Id FROM Ball_by_Ball WHERE Non_Striker = Ball_Id ORDER BY Ball_Id DESC LIMIT 1
Database: soccer_2016
Tables: Batting_Style, Bowling_Style, City, Country, Extra_Type, Extra_Runs, Out_Type, Outcome, Player, Rolee, Season, Team, Toss_Decision, Umpire, Venue, Win_By, Match, Ball_by_Ball, Batsman_Scored, Player_Match, Wicket_Taken
Columns (table index, column name): -1, *, 0, Batting_Id, 0, Batting_hand, 1, Bowling_Id, 1, Bowling_skill, 2, City_Id, 2, City_Name, 2, Country_id, 3, Country_Id, 3, Country_Name, 4, Extra_Id, 4, Extra_Name, 5, Match_Id, 5, Over_Id, 5, Ball_Id, 5, Extra_Type_Id, 5, Extra_Runs, 5, Innings_No, 6, Out_Id, 6, Out_Name, 7, Outcome_Id, 7, Outcome_Type, 8, Player_Id, 8, Player_Name, 8, DOB, 8, Batting_hand, 8, Bowling_skill, 8, Country_Name, 9, Role_Id, 9, Role_Desc, 10, Season_Id, 10, Man_of_the_Series, 10, Orange_Cap, 10, Purple_Cap, 10, Season_Year, 11, Team_Id, 11, Team_Name, 12, Toss_Id, 12, Toss_Name, 13, Umpire_Id, 13, Umpire_Name, 13, Umpire_Country, 14, Venue_Id, 14, Venue_Name, 14, City_Id, 15, Win_Id, 15, Win_Type, 16, Match_Id, 16, Team_1, 16, Team_2, 16, Match_Date, 16, Season_Id, 16, Venue_Id, 16, Toss_Winner, 16, Toss_Decide, 16, Win_Type, 16, Win_Margin, 16, Outcome_type, 16, Match_Winner, 16, Man_of_the_Match, 17, Match_Id, 17, Over_Id, 17, Ball_Id, 17, Innings_No, 17, Team_Batting, 17, Team_Bowling, 17, Striker_Batting_Position, 17, Striker, 17, Non_Striker, 17, Bowler, 18, Match_Id, 18, Over_Id, 18, Ball_Id, 18, Runs_Scored, 18, Innings_No, 19, Match_Id, 19, Player_Id, 19, Role_Id, 19, Team_Id, 20, Match_Id, 20, Over_Id, 20, Ball_Id, 20, Player_Out, 20, Kind_Out, 20, Fielders, 20, Innings_No
Question: Calculate the average runs scored during the first half of all first innings.
Evidence: 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
SQL: SELECT CAST(SUM(CASE WHEN 1 < Over_Id AND Over_Id < 25 THEN 1 ELSE 0 END) AS REAL) * 100 / SUM(Runs_Scored) FROM Batsman_Scored WHERE Innings_No = 1
Database: soccer_2016
Tables: Batting_Style, Bowling_Style, City, Country, Extra_Type, Extra_Runs, Out_Type, Outcome, Player, Rolee, Season, Team, Toss_Decision, Umpire, Venue, Win_By, Match, Ball_by_Ball, Batsman_Scored, Player_Match, Wicket_Taken
Columns (table index, column name): -1, *, 0, Batting_Id, 0, Batting_hand, 1, Bowling_Id, 1, Bowling_skill, 2, City_Id, 2, City_Name, 2, Country_id, 3, Country_Id, 3, Country_Name, 4, Extra_Id, 4, Extra_Name, 5, Match_Id, 5, Over_Id, 5, Ball_Id, 5, Extra_Type_Id, 5, Extra_Runs, 5, Innings_No, 6, Out_Id, 6, Out_Name, 7, Outcome_Id, 7, Outcome_Type, 8, Player_Id, 8, Player_Name, 8, DOB, 8, Batting_hand, 8, Bowling_skill, 8, Country_Name, 9, Role_Id, 9, Role_Desc, 10, Season_Id, 10, Man_of_the_Series, 10, Orange_Cap, 10, Purple_Cap, 10, Season_Year, 11, Team_Id, 11, Team_Name, 12, Toss_Id, 12, Toss_Name, 13, Umpire_Id, 13, Umpire_Name, 13, Umpire_Country, 14, Venue_Id, 14, Venue_Name, 14, City_Id, 15, Win_Id, 15, Win_Type, 16, Match_Id, 16, Team_1, 16, Team_2, 16, Match_Date, 16, Season_Id, 16, Venue_Id, 16, Toss_Winner, 16, Toss_Decide, 16, Win_Type, 16, Win_Margin, 16, Outcome_type, 16, Match_Winner, 16, Man_of_the_Match, 17, Match_Id, 17, Over_Id, 17, Ball_Id, 17, Innings_No, 17, Team_Batting, 17, Team_Bowling, 17, Striker_Batting_Position, 17, Striker, 17, Non_Striker, 17, Bowler, 18, Match_Id, 18, Over_Id, 18, Ball_Id, 18, Runs_Scored, 18, Innings_No, 19, Match_Id, 19, Player_Id, 19, Role_Id, 19, Team_Id, 20, Match_Id, 20, Over_Id, 20, Ball_Id, 20, Player_Out, 20, Kind_Out, 20, Fielders, 20, Innings_No
Question: What are the average extra runs given in the second innings of every match?
Evidence: second innings refers to Innings_No = 2; average extra runs = divide(sum(Extra_Runs), count(Innings_No)) when Innings_No = 2
SQL: SELECT AVG(Innings_No) FROM Extra_Runs WHERE Innings_No = 2
Database: soccer_2016
Tables: Batting_Style, Bowling_Style, City, Country, Extra_Type, Extra_Runs, Out_Type, Outcome, Player, Rolee, Season, Team, Toss_Decision, Umpire, Venue, Win_By, Match, Ball_by_Ball, Batsman_Scored, Player_Match, Wicket_Taken
Columns (table index, column name): -1, *, 0, Batting_Id, 0, Batting_hand, 1, Bowling_Id, 1, Bowling_skill, 2, City_Id, 2, City_Name, 2, Country_id, 3, Country_Id, 3, Country_Name, 4, Extra_Id, 4, Extra_Name, 5, Match_Id, 5, Over_Id, 5, Ball_Id, 5, Extra_Type_Id, 5, Extra_Runs, 5, Innings_No, 6, Out_Id, 6, Out_Name, 7, Outcome_Id, 7, Outcome_Type, 8, Player_Id, 8, Player_Name, 8, DOB, 8, Batting_hand, 8, Bowling_skill, 8, Country_Name, 9, Role_Id, 9, Role_Desc, 10, Season_Id, 10, Man_of_the_Series, 10, Orange_Cap, 10, Purple_Cap, 10, Season_Year, 11, Team_Id, 11, Team_Name, 12, Toss_Id, 12, Toss_Name, 13, Umpire_Id, 13, Umpire_Name, 13, Umpire_Country, 14, Venue_Id, 14, Venue_Name, 14, City_Id, 15, Win_Id, 15, Win_Type, 16, Match_Id, 16, Team_1, 16, Team_2, 16, Match_Date, 16, Season_Id, 16, Venue_Id, 16, Toss_Winner, 16, Toss_Decide, 16, Win_Type, 16, Win_Margin, 16, Outcome_type, 16, Match_Winner, 16, Man_of_the_Match, 17, Match_Id, 17, Over_Id, 17, Ball_Id, 17, Innings_No, 17, Team_Batting, 17, Team_Bowling, 17, Striker_Batting_Position, 17, Striker, 17, Non_Striker, 17, Bowler, 18, Match_Id, 18, Over_Id, 18, Ball_Id, 18, Runs_Scored, 18, Innings_No, 19, Match_Id, 19, Player_Id, 19, Role_Id, 19, Team_Id, 20, Match_Id, 20, Over_Id, 20, Ball_Id, 20, Player_Out, 20, Kind_Out, 20, Fielders, 20, Innings_No
Question: Among the matches, what percentage have a winning margin above 100?
Evidence: winning margin above 100 refers to Win_Margin > 100; percentage = divide(count(Match_Id) when Win_Margin > 100, count(Match_Id)) as percentage
SQL: SELECT CAST(COUNT(CASE WHEN Win_Margin > 100 THEN 1 ELSE 0 END) AS REAL) * 100 / TOTAL(Match_Id) FROM `Match`
Database: soccer_2016
Tables: Batting_Style, Bowling_Style, City, Country, Extra_Type, Extra_Runs, Out_Type, Outcome, Player, Rolee, Season, Team, Toss_Decision, Umpire, Venue, Win_By, Match, Ball_by_Ball, Batsman_Scored, Player_Match, Wicket_Taken
Columns (table index, column name): -1, *, 0, Batting_Id, 0, Batting_hand, 1, Bowling_Id, 1, Bowling_skill, 2, City_Id, 2, City_Name, 2, Country_id, 3, Country_Id, 3, Country_Name, 4, Extra_Id, 4, Extra_Name, 5, Match_Id, 5, Over_Id, 5, Ball_Id, 5, Extra_Type_Id, 5, Extra_Runs, 5, Innings_No, 6, Out_Id, 6, Out_Name, 7, Outcome_Id, 7, Outcome_Type, 8, Player_Id, 8, Player_Name, 8, DOB, 8, Batting_hand, 8, Bowling_skill, 8, Country_Name, 9, Role_Id, 9, Role_Desc, 10, Season_Id, 10, Man_of_the_Series, 10, Orange_Cap, 10, Purple_Cap, 10, Season_Year, 11, Team_Id, 11, Team_Name, 12, Toss_Id, 12, Toss_Name, 13, Umpire_Id, 13, Umpire_Name, 13, Umpire_Country, 14, Venue_Id, 14, Venue_Name, 14, City_Id, 15, Win_Id, 15, Win_Type, 16, Match_Id, 16, Team_1, 16, Team_2, 16, Match_Date, 16, Season_Id, 16, Venue_Id, 16, Toss_Winner, 16, Toss_Decide, 16, Win_Type, 16, Win_Margin, 16, Outcome_type, 16, Match_Winner, 16, Man_of_the_Match, 17, Match_Id, 17, Over_Id, 17, Ball_Id, 17, Innings_No, 17, Team_Batting, 17, Team_Bowling, 17, Striker_Batting_Position, 17, Striker, 17, Non_Striker, 17, Bowler, 18, Match_Id, 18, Over_Id, 18, Ball_Id, 18, Runs_Scored, 18, Innings_No, 19, Match_Id, 19, Player_Id, 19, Role_Id, 19, Team_Id, 20, Match_Id, 20, Over_Id, 20, Ball_Id, 20, Player_Out, 20, Kind_Out, 20, Fielders, 20, Innings_No
Question: List the name of the players born between 1970 and 1990 in descending order of age.
Evidence: name of the players refers to Player_Name; born between 1970 and 1990 refers to DOB between '1970-01-01' and '1990-12-31'
SQL: SELECT Player_Name FROM Player WHERE DOB BETWEEN '1970-01-01' AND '1990-12-31' ORDER BY DOB DESC
Database: soccer_2016
Tables: Batting_Style, Bowling_Style, City, Country, Extra_Type, Extra_Runs, Out_Type, Outcome, Player, Rolee, Season, Team, Toss_Decision, Umpire, Venue, Win_By, Match, Ball_by_Ball, Batsman_Scored, Player_Match, Wicket_Taken
Columns (table index, column name): -1, *, 0, Batting_Id, 0, Batting_hand, 1, Bowling_Id, 1, Bowling_skill, 2, City_Id, 2, City_Name, 2, Country_id, 3, Country_Id, 3, Country_Name, 4, Extra_Id, 4, Extra_Name, 5, Match_Id, 5, Over_Id, 5, Ball_Id, 5, Extra_Type_Id, 5, Extra_Runs, 5, Innings_No, 6, Out_Id, 6, Out_Name, 7, Outcome_Id, 7, Outcome_Type, 8, Player_Id, 8, Player_Name, 8, DOB, 8, Batting_hand, 8, Bowling_skill, 8, Country_Name, 9, Role_Id, 9, Role_Desc, 10, Season_Id, 10, Man_of_the_Series, 10, Orange_Cap, 10, Purple_Cap, 10, Season_Year, 11, Team_Id, 11, Team_Name, 12, Toss_Id, 12, Toss_Name, 13, Umpire_Id, 13, Umpire_Name, 13, Umpire_Country, 14, Venue_Id, 14, Venue_Name, 14, City_Id, 15, Win_Id, 15, Win_Type, 16, Match_Id, 16, Team_1, 16, Team_2, 16, Match_Date, 16, Season_Id, 16, Venue_Id, 16, Toss_Winner, 16, Toss_Decide, 16, Win_Type, 16, Win_Margin, 16, Outcome_type, 16, Match_Winner, 16, Man_of_the_Match, 17, Match_Id, 17, Over_Id, 17, Ball_Id, 17, Innings_No, 17, Team_Batting, 17, Team_Bowling, 17, Striker_Batting_Position, 17, Striker, 17, Non_Striker, 17, Bowler, 18, Match_Id, 18, Over_Id, 18, Ball_Id, 18, Runs_Scored, 18, Innings_No, 19, Match_Id, 19, Player_Id, 19, Role_Id, 19, Team_Id, 20, Match_Id, 20, Over_Id, 20, Ball_Id, 20, Player_Out, 20, Kind_Out, 20, Fielders, 20, Innings_No
Question: Of the wickets taken in the third overs, how many are without the involvement of fielders?
Evidence: third overs refers to Over_Id = 3; without the involvement of fielders refers to Fielders = ''
SQL: SELECT SUM(CASE WHEN Fielders = '' THEN 1 ELSE 0 END) FROM Wicket_Taken WHERE Over_Id = 3
Database: soccer_2016
Tables: Batting_Style, Bowling_Style, City, Country, Extra_Type, Extra_Runs, Out_Type, Outcome, Player, Rolee, Season, Team, Toss_Decision, Umpire, Venue, Win_By, Match, Ball_by_Ball, Batsman_Scored, Player_Match, Wicket_Taken
Columns (table index, column name): -1, *, 0, Batting_Id, 0, Batting_hand, 1, Bowling_Id, 1, Bowling_skill, 2, City_Id, 2, City_Name, 2, Country_id, 3, Country_Id, 3, Country_Name, 4, Extra_Id, 4, Extra_Name, 5, Match_Id, 5, Over_Id, 5, Ball_Id, 5, Extra_Type_Id, 5, Extra_Runs, 5, Innings_No, 6, Out_Id, 6, Out_Name, 7, Outcome_Id, 7, Outcome_Type, 8, Player_Id, 8, Player_Name, 8, DOB, 8, Batting_hand, 8, Bowling_skill, 8, Country_Name, 9, Role_Id, 9, Role_Desc, 10, Season_Id, 10, Man_of_the_Series, 10, Orange_Cap, 10, Purple_Cap, 10, Season_Year, 11, Team_Id, 11, Team_Name, 12, Toss_Id, 12, Toss_Name, 13, Umpire_Id, 13, Umpire_Name, 13, Umpire_Country, 14, Venue_Id, 14, Venue_Name, 14, City_Id, 15, Win_Id, 15, Win_Type, 16, Match_Id, 16, Team_1, 16, Team_2, 16, Match_Date, 16, Season_Id, 16, Venue_Id, 16, Toss_Winner, 16, Toss_Decide, 16, Win_Type, 16, Win_Margin, 16, Outcome_type, 16, Match_Winner, 16, Man_of_the_Match, 17, Match_Id, 17, Over_Id, 17, Ball_Id, 17, Innings_No, 17, Team_Batting, 17, Team_Bowling, 17, Striker_Batting_Position, 17, Striker, 17, Non_Striker, 17, Bowler, 18, Match_Id, 18, Over_Id, 18, Ball_Id, 18, Runs_Scored, 18, Innings_No, 19, Match_Id, 19, Player_Id, 19, Role_Id, 19, Team_Id, 20, Match_Id, 20, Over_Id, 20, Ball_Id, 20, Player_Out, 20, Kind_Out, 20, Fielders, 20, Innings_No
Question: From which country does the most umpires are from? How many of them are from the mentioned country?

Evidence: which country refers to Country_Id; most umpires refers to max(count(Umpire_Id))
SQL: SELECT T2.Country_Id, COUNT(T1.Umpire_Id) FROM Umpire AS T1 INNER JOIN Country AS T2 ON T2.Country_Id = T1.Umpire_Country GROUP BY T2.Country_Id ORDER BY COUNT(T1.Umpire_Id) DESC LIMIT 1
Database: soccer_2016
Tables: Batting_Style, Bowling_Style, City, Country, Extra_Type, Extra_Runs, Out_Type, Outcome, Player, Rolee, Season, Team, Toss_Decision, Umpire, Venue, Win_By, Match, Ball_by_Ball, Batsman_Scored, Player_Match, Wicket_Taken
Columns (table index, column name): -1, *, 0, Batting_Id, 0, Batting_hand, 1, Bowling_Id, 1, Bowling_skill, 2, City_Id, 2, City_Name, 2, Country_id, 3, Country_Id, 3, Country_Name, 4, Extra_Id, 4, Extra_Name, 5, Match_Id, 5, Over_Id, 5, Ball_Id, 5, Extra_Type_Id, 5, Extra_Runs, 5, Innings_No, 6, Out_Id, 6, Out_Name, 7, Outcome_Id, 7, Outcome_Type, 8, Player_Id, 8, Player_Name, 8, DOB, 8, Batting_hand, 8, Bowling_skill, 8, Country_Name, 9, Role_Id, 9, Role_Desc, 10, Season_Id, 10, Man_of_the_Series, 10, Orange_Cap, 10, Purple_Cap, 10, Season_Year, 11, Team_Id, 11, Team_Name, 12, Toss_Id, 12, Toss_Name, 13, Umpire_Id, 13, Umpire_Name, 13, Umpire_Country, 14, Venue_Id, 14, Venue_Name, 14, City_Id, 15, Win_Id, 15, Win_Type, 16, Match_Id, 16, Team_1, 16, Team_2, 16, Match_Date, 16, Season_Id, 16, Venue_Id, 16, Toss_Winner, 16, Toss_Decide, 16, Win_Type, 16, Win_Margin, 16, Outcome_type, 16, Match_Winner, 16, Man_of_the_Match, 17, Match_Id, 17, Over_Id, 17, Ball_Id, 17, Innings_No, 17, Team_Batting, 17, Team_Bowling, 17, Striker_Batting_Position, 17, Striker, 17, Non_Striker, 17, Bowler, 18, Match_Id, 18, Over_Id, 18, Ball_Id, 18, Runs_Scored, 18, Innings_No, 19, Match_Id, 19, Player_Id, 19, Role_Id, 19, Team_Id, 20, Match_Id, 20, Over_Id, 20, Ball_Id, 20, Player_Out, 20, Kind_Out, 20, Fielders, 20, Innings_No
Question: Among the players, what percentage are both captain and keeper?
Evidence: captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage
SQL: SELECT CAST(SUM(CASE WHEN T2.Role_Desc = 'CaptainKeeper' THEN 1 ELSE 0 END) AS REAL) * 100 / TOTAL(T1.Player_Id) FROM Player_Match AS T1 INNER JOIN Rolee AS T2 ON T1.Role_Id = T2.Role_Id