question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Tell me the least time for apostolos tsagkarakis for lane less than 6
CREATE TABLE "heats" ( "heat_rank" real, "lane" real, "swimmer" text, "country" text, "time" real, "overall_rank" text );
SELECT MIN("time") FROM "heats" WHERE "swimmer"='apostolos tsagkarakis' AND "lane"<6;
2-10289926-17
Tell me the method for pride 33
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "method" FROM "mixed_martial_arts_record" WHERE "event"='pride 33';
2-10310098-2
Tell me the lowest round for total combat 15
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT MIN("round") FROM "mixed_martial_arts_record" WHERE "event"='total combat 15';
2-10310098-2
Tell me the week for pittsburgh steelers opponent
CREATE TABLE "preseason" ( "week" text, "date" text, "opponent" text, "time" text, "game_site" text, "result_score" text, "record" text );
SELECT "week" FROM "preseason" WHERE "opponent"='pittsburgh steelers';
2-10122095-1
Tell me the week for record of 0-1
CREATE TABLE "preseason" ( "week" text, "date" text, "opponent" text, "time" text, "game_site" text, "result_score" text, "record" text );
SELECT "week" FROM "preseason" WHERE "record"='0-1';
2-10122095-1
Tell me the time for buffalo bills
CREATE TABLE "preseason" ( "week" text, "date" text, "opponent" text, "time" text, "game_site" text, "result_score" text, "record" text );
SELECT "time" FROM "preseason" WHERE "opponent"='buffalo bills';
2-10122095-1
Tell me thee record for week of hf
CREATE TABLE "preseason" ( "week" text, "date" text, "opponent" text, "time" text, "game_site" text, "result_score" text, "record" text );
SELECT "record" FROM "preseason" WHERE "week"='hf';
2-10122095-1
Tell me the game site for week of 1
CREATE TABLE "preseason" ( "week" text, "date" text, "opponent" text, "time" text, "game_site" text, "result_score" text, "record" text );
SELECT "game_site" FROM "preseason" WHERE "week"='1';
2-10122095-1
What was the result of the 1990 world cup qualifying competition?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_goals" WHERE "competition"='1990 world cup qualifying';
2-1036039-1
What was the Score of the match in Torrance, California?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "venue"='torrance, california';
2-1036039-1
Tell me the score for international friendly 17 august 2013
CREATE TABLE "results_and_fixtures" ( "date" text, "result" text, "score" text, "type" text, "venue" text );
SELECT "score" FROM "results_and_fixtures" WHERE "type"='international friendly' AND "date"='17 august 2013';
2-1018598-4
What position did the MLS team metrostars pick?
CREATE TABLE "round_four" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text );
SELECT "position" FROM "round_four" WHERE "mls_team"='metrostars';
2-1004125-4
What MLS team is affiliated with yale university?
CREATE TABLE "round_four" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text );
SELECT "mls_team" FROM "round_four" WHERE "affiliation"='yale university';
2-1004125-4
What affiliations have Pick #s under 32?
CREATE TABLE "round_four" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text );
SELECT "affiliation" FROM "round_four" WHERE "pick_num"<32;
2-1004125-4
What players have a position of F?
CREATE TABLE "round_four" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text );
SELECT "player" FROM "round_four" WHERE "position"='f';
2-1004125-4
How many goals were scored when there were 73 caps?
CREATE TABLE "player_statistics" ( "name" text, "national_team_career" text, "goals" text, "caps" text, "average" text );
SELECT "goals" FROM "player_statistics" WHERE "caps"='73';
2-1011001-8
Tell me the build year for total production of 150
CREATE TABLE "imported" ( "model" text, "build_year" text, "top_speed_in_operation_km_h" real, "power_output_k_w" text, "total_production" real );
SELECT "build_year" FROM "imported" WHERE "total_production"=150;
2-10285177-7
Tell me the power output for total production of 100
CREATE TABLE "imported" ( "model" text, "build_year" text, "top_speed_in_operation_km_h" real, "power_output_k_w" text, "total_production" real );
SELECT "power_output_k_w" FROM "imported" WHERE "total_production"=100;
2-10285177-7
Name the total production for model nd5
CREATE TABLE "imported" ( "model" text, "build_year" text, "transmission" text, "top_speed_in_operation_km_h" real, "power_output_k_w" real, "builder_family" text, "total_production" real );
SELECT "total_production" FROM "imported" WHERE "model"='nd5';
2-10285177-5
What is the nationality of the player who played guard in 2006?
CREATE TABLE "list_of_minnesota_timberwolves_players_s" ( "name" text, "nationality" text, "school_club" text, "season_s" text, "position_s" text );
SELECT "nationality" FROM "list_of_minnesota_timberwolves_players_s" WHERE "position_s"='guard' AND "season_s"='2006';
2-10025751-2
Tell me the sum of bp 2nd comp with bp azeo of 57.5
CREATE TABLE "ternary_azeotropes" ( "2nd_component" text, "b_p_2nd_comp_c" real, "3rd_component" text, "b_p_3rd_comp_c" real, "b_p_azeo_c" real );
SELECT SUM("b_p_2nd_comp_c") FROM "ternary_azeotropes" WHERE "b_p_azeo_c"=57.5;
2-10181793-9
Which rider went 18 laps ending +25.165 behind the leader?
CREATE TABLE "superbike_race_1_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real );
SELECT "rider" FROM "superbike_race_1_classification" WHERE "laps"=18 AND "time"='+25.165';
2-10081551-1
Which nationality has a split in the 50m of 29.51?
CREATE TABLE "final" ( "place" real, "lane" real, "name" text, "nationality" text, "50m_split" real, "100m_split" text, "150m_split" text, "time" text );
SELECT "nationality" FROM "final" WHERE "50m_split"=29.51;
2-10331421-1
Which average 50m split had a 150m split of 1:40.00, with a placing of less than 2?
CREATE TABLE "final" ( "place" real, "lane" real, "name" text, "nationality" text, "50m_split" real, "100m_split" text, "150m_split" text, "time" text );
SELECT AVG("50m_split") FROM "final" WHERE "150m_split"='1:40.00' AND "place"<2;
2-10331421-1
What is the result for a year later than 2002?
CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "extra" text );
SELECT "result" FROM "achievements" WHERE "year">2002;
2-10310714-1
What is the result for the year 1999?
CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "extra" text );
SELECT "result" FROM "achievements" WHERE "year"=1999;
2-10310714-1
Tell me the engine for dhg tom's racing
CREATE TABLE "teams_and_drivers" ( "team" text, "driver" text, "chassis" text, "engine" text, "rounds" text );
SELECT "engine" FROM "teams_and_drivers" WHERE "team"='dhg tom''s racing';
2-10264179-1
Name the team for toshihiro kaneishi
CREATE TABLE "teams_and_drivers" ( "team" text, "driver" text, "chassis" text, "engine" text, "rounds" text );
SELECT "team" FROM "teams_and_drivers" WHERE "driver"='toshihiro kaneishi';
2-10264179-1
I want the average year of 敗犬女王
CREATE TABLE "television_series" ( "year" real, "chinese_title" text, "english_title" text, "role" text, "character" text );
SELECT AVG("year") FROM "television_series" WHERE "chinese_title"='敗犬女王';
2-10314814-1
Tell me the role for 2005
CREATE TABLE "television_series" ( "year" real, "chinese_title" text, "english_title" text, "role" text, "character" text );
SELECT "role" FROM "television_series" WHERE "year"=2005;
2-10314814-1
Tell me the average year for my queen
CREATE TABLE "television_series" ( "year" real, "chinese_title" text, "english_title" text, "role" text, "character" text );
SELECT AVG("year") FROM "television_series" WHERE "english_title"='my queen';
2-10314814-1
Tell me singles W-L that has years larger than 1 and highest singles ranking of 1346
CREATE TABLE "all_players" ( "player" text, "highest_singles_ranking" text, "highest_doubles_ranking" text, "first_year_played" real, "years_played" real, "ties_played" real, "total_w_l" text, "singles_w_l" text, "doubles_w_l" text );
SELECT "singles_w_l" FROM "all_players" WHERE "years_played">1 AND "highest_singles_ranking"='1346';
2-10295819-2
When the Top 10s is larger than 0 and the scoring average 73.04, what is the best finish?
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "top_10s" real, "best_finish" text, "earnings" real, "money_list_rank" text, "scoring_average" real, "scoring_rank" text );
SELECT "best_finish" FROM "lpga_tour_career_summary" WHERE "top_10s">0 AND "scoring_average"=73.04;
2-10021158-3
What is the total of scoring averages with an earnings larger than $117,682 and a best finish of T24?
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "top_10s" real, "best_finish" text, "earnings" real, "money_list_rank" text, "scoring_average" real, "scoring_rank" text );
SELECT COUNT("scoring_average") FROM "lpga_tour_career_summary" WHERE "earnings">'117,682' AND "best_finish"='t24';
2-10021158-3
When the earnings are less than $507,292, the money list rank 183, and more than 3 tournaments are played, what is the sum of wins?
CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "top_10s" real, "best_finish" text, "earnings" real, "money_list_rank" text, "scoring_average" real, "scoring_rank" text );
SELECT SUM("wins") FROM "lpga_tour_career_summary" WHERE "earnings"<'507,292' AND "money_list_rank"='183' AND "tournaments_played">3;
2-10021158-3
Tell me the score of praterstadion, vienna, and competition of euro 1980 qualifier
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_goals" WHERE "venue"='praterstadion, vienna' AND "competition"='euro 1980 qualifier';
2-1033625-2
I want the score for 28 march 1979
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "date"='28 march 1979';
2-1033625-2
I want the score for 30 april 1977
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "date"='30 april 1977';
2-1033625-2
What competition was the World Championships before 2011?
CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text );
SELECT "event" FROM "achievements" WHERE "competition"='world championships' AND "year"<2011;
2-10288596-1
What event took place in Erfurt, Germany?
CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text );
SELECT "event" FROM "achievements" WHERE "venue"='erfurt, germany';
2-10288596-1
Name the team nickname for enrollment more than 42,326
CREATE TABLE "current_members" ( "school" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );
SELECT "team_nickname" FROM "current_members" WHERE "enrollment">'42,326';
2-10082596-1
With the lost of 3, how many points?
CREATE TABLE "overall" ( "played_in" text, "matches" text, "lost" text, "drawn" text, "points_for" text, "points_against" text );
SELECT "points_against" FROM "overall" WHERE "lost"='3';
2-10297763-2
How many against points for 16 matches?
CREATE TABLE "overall" ( "played_in" text, "matches" text, "lost" text, "drawn" text, "points_for" text, "points_against" text );
SELECT "points_against" FROM "overall" WHERE "matches"='16';
2-10297763-2
The 51 points against, how many are for?
CREATE TABLE "overall" ( "played_in" text, "matches" text, "lost" text, "drawn" text, "points_for" text, "points_against" text );
SELECT "points_for" FROM "overall" WHERE "points_against"='51';
2-10297763-2
For the played in, what are the total points?
CREATE TABLE "overall" ( "played_in" text, "matches" text, "lost" text, "drawn" text, "points_for" text, "points_against" text );
SELECT "points_for" FROM "overall" WHERE "played_in"='total';
2-10297763-2
What country is the Eurasia Astana team from?
CREATE TABLE "club_career_stats" ( "season" text, "team" text, "country" text, "league" text, "level" real, "apps" real );
SELECT "country" FROM "club_career_stats" WHERE "team"='eurasia astana';
2-10318122-1
Tell me the 2008 for 2012 of 4r and 2009 of a
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2008" FROM "singles_performance_timeline" WHERE "2012"='4r' AND "2009"='a';
2-10218362-7
Tell me the 2008 of 2001 olympic games
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2008" FROM "singles_performance_timeline" WHERE "2011"='olympic games';
2-10218362-7
Tell me the tournament of 2009 of atp masters series
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "tournament" FROM "singles_performance_timeline" WHERE "2009"='atp masters series';
2-10218362-7
Tell me the 2011 tournament of monte carlo masters
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2011" FROM "singles_performance_timeline" WHERE "tournament"='monte carlo masters';
2-10218362-7
Tell me the 2011 with 2012 of 2r
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2011" FROM "singles_performance_timeline" WHERE "2012"='2r' AND "2010"='2r' AND "2009"='2r';
2-10218362-7
What was the latest round with a running back from a California college?
CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text );
SELECT MAX("round") FROM "nfl_draft" WHERE "position"='running back' AND "college"='california';
2-10121778-1
What were the results for november 25, 1973?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" real );
SELECT "result" FROM "schedule" WHERE "date"='november 25, 1973';
2-10361426-2
Which Opponent had a week of 14?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "venue" text, "attendance" real );
SELECT "opponent" FROM "schedule" WHERE "week"=14;
2-10361426-2
Tell me the date for new orleans saints
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "opponent"='new orleans saints';
2-10362172-2
Tell me the result for week of 4
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "week"=4;
2-10362172-2
Tell me the lowest week for w 10-3
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT MIN("week") FROM "schedule" WHERE "result"='w 10-3';
2-10362172-2
Tell me the average heat rank with a lane of 2 and time less than 27.66
CREATE TABLE "heats" ( "heat_rank" real, "lane" real, "swimmer" text, "country" text, "time" real, "overall_rank" real );
SELECT AVG("heat_rank") FROM "heats" WHERE "lane"=2 AND "time"<27.66;
2-10289926-9
Tell me the highest overall rank for lane less than 8 and time less than 27.16
CREATE TABLE "heats" ( "heat_rank" real, "lane" real, "swimmer" text, "country" text, "time" real, "overall_rank" real );
SELECT MAX("overall_rank") FROM "heats" WHERE "lane"<8 AND "time"<27.16;
2-10289926-9
Tell me the total number of time for luke hall overall rank being larger than 105
CREATE TABLE "heats" ( "heat_rank" real, "lane" real, "swimmer" text, "country" text, "time" real, "overall_rank" real );
SELECT COUNT("time") FROM "heats" WHERE "swimmer"='luke hall' AND "overall_rank">105;
2-10289926-9
Tell me the left team for josh vanlandingham
CREATE TABLE "references" ( "name" text, "nationality" text, "pos" text, "college" text, "season_entered" text, "manner_of_entry" text, "left_team" text );
SELECT "left_team" FROM "references" WHERE "name"='josh vanlandingham';
2-10230062-1
Who had less than 7 goals, was ranked under 7, and had more than 8 appearances?
CREATE TABLE "top_goalscorers" ( "rank" real, "name" text, "team" text, "goals" real, "appearances" real );
SELECT "name" FROM "top_goalscorers" WHERE "goals"<7 AND "rank"<7 AND "appearances">8;
2-10124937-17
What was the sum of ranks of those called Fernando Cavenaghi who appeared less than 7.
CREATE TABLE "top_goalscorers" ( "rank" real, "name" text, "team" text, "goals" real, "appearances" real );
SELECT SUM("rank") FROM "top_goalscorers" WHERE "name"='fernando cavenaghi' AND "appearances"<7;
2-10124937-17
How many appearances were made by people that had 5 goals and less than 7 rank?
CREATE TABLE "top_goalscorers" ( "rank" real, "name" text, "team" text, "goals" real, "appearances" real );
SELECT COUNT("appearances") FROM "top_goalscorers" WHERE "goals"=5 AND "rank"<7;
2-10124937-17
What was the surface for the game that had a partner of vania king?
CREATE TABLE "doubles_11_5_titles_6_runners_up" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "surface" FROM "doubles_11_5_titles_6_runners_up" WHERE "partner"='vania king';
2-10200458-5
Who was the partner for the game on October 20, 2013?
CREATE TABLE "doubles_11_5_titles_6_runners_up" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "partner" FROM "doubles_11_5_titles_6_runners_up" WHERE "date"='october 20, 2013';
2-10200458-5
Tell me the name for round of e
CREATE TABLE "first_mc_intyre_final_six_system" ( "round" text, "match" text, "name" text, "team_1" text, "team_2" text );
SELECT "name" FROM "first_mc_intyre_final_six_system" WHERE "round"='e';
2-1022109-3
Name the team one for preliminary final
CREATE TABLE "first_mc_intyre_final_six_system" ( "round" text, "match" text, "name" text, "team_1" text, "team_2" text );
SELECT "team_1" FROM "first_mc_intyre_final_six_system" WHERE "name"='preliminary final';
2-1022109-3
Name the team 1 for round 3
CREATE TABLE "first_mc_intyre_final_six_system" ( "round" text, "match" text, "name" text, "team_1" text, "team_2" text );
SELECT "team_1" FROM "first_mc_intyre_final_six_system" WHERE "round"='3';
2-1022109-3
Name the round for 2nd elimination final
CREATE TABLE "first_mc_intyre_final_six_system" ( "round" text, "match" text, "name" text, "team_1" text, "team_2" text );
SELECT "round" FROM "first_mc_intyre_final_six_system" WHERE "match"='2nd elimination final';
2-1022109-3
In less than 58 laps, what is the highest grid for Alexander Wurz?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT MAX("grid") FROM "race" WHERE "driver"='alexander wurz' AND "laps"<58;
2-10202258-2
What is the total laps for grid 19?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("laps") FROM "race" WHERE "grid"=19;
2-10202258-2
Name the winning driver for mobilecast impul and twin ring motegi
CREATE TABLE "race_calendar_and_results" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text );
SELECT "winning_driver" FROM "race_calendar_and_results" WHERE "winning_team"='mobilecast impul' AND "circuit"='twin ring motegi';
2-10264179-2
Name the winning driver for round 7
CREATE TABLE "race_calendar_and_results" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text );
SELECT "winning_driver" FROM "race_calendar_and_results" WHERE "round"=7;
2-10264179-2
Name the number of total for 3 gold and rank less than 3
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("total") FROM "medal_table" WHERE "gold"=3 AND "rank"<3;
2-10123957-3
Tell me the naame of Investigation of thrombus imaging
CREATE TABLE "indium_111" ( "name" text, "investigation" text, "route_of_administration" text, "in_vitro_in_vivo" text, "imaging_non_imaging" text );
SELECT "name" FROM "indium_111" WHERE "investigation"='thrombus imaging';
2-1035507-12
Tell me the name for Investigation of thrombus imaging and Route of administration of iv
CREATE TABLE "indium_111" ( "name" text, "investigation" text, "route_of_administration" text, "in_vitro_in_vivo" text, "imaging_non_imaging" text );
SELECT "name" FROM "indium_111" WHERE "route_of_administration"='iv' AND "investigation"='thrombus imaging';
2-1035507-12
Tell me the in-vitro for Route of administration of iv and Investigation of somatostatin receptor imaging
CREATE TABLE "indium_111" ( "name" text, "investigation" text, "route_of_administration" text, "in_vitro_in_vivo" text, "imaging_non_imaging" text );
SELECT "in_vitro_in_vivo" FROM "indium_111" WHERE "route_of_administration"='iv' AND "investigation"='somatostatin receptor imaging';
2-1035507-12
The player is Tim Regan and the pick # is position of d, what's the sum?
CREATE TABLE "round_two" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text );
SELECT SUM("pick_num") FROM "round_two" WHERE "position"='d' AND "player"='tim regan';
2-1014145-2
The position that has a pick # of 16 is what?
CREATE TABLE "round_two" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text );
SELECT "position" FROM "round_two" WHERE "pick_num"=16;
2-1014145-2
Damani Ralph is associated with which lowest pick #?
CREATE TABLE "round_two" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text );
SELECT MIN("pick_num") FROM "round_two" WHERE "player"='damani ralph';
2-1014145-2
Chicago fire has a total of a total of how many #s?
CREATE TABLE "round_two" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text );
SELECT COUNT("pick_num") FROM "round_two" WHERE "mls_team"='chicago fire';
2-1014145-2
Tell me the score for score in legs and year less than 2012
CREATE TABLE "pdc_premier_event_finals_5_1_title_4_run" ( "outcome" text, "year" real, "championship" text, "opponent_in_the_final" text, "score_l_score_in_legs_s_score_in_sets" text );
SELECT "score_l_score_in_legs_s_score_in_sets" FROM "pdc_premier_event_finals_5_1_title_4_run" WHERE "year"<2012;
2-10254961-3
Tell me the championship for runner-up outcome of 2010
CREATE TABLE "pdc_premier_event_finals_5_1_title_4_run" ( "outcome" text, "year" real, "championship" text, "opponent_in_the_final" text, "score_l_score_in_legs_s_score_in_sets" text );
SELECT "championship" FROM "pdc_premier_event_finals_5_1_title_4_run" WHERE "outcome"='runner-up' AND "year"=2010;
2-10254961-3
Tell me the outcome for premier league darts
CREATE TABLE "pdc_premier_event_finals_5_1_title_4_run" ( "outcome" text, "year" real, "championship" text, "opponent_in_the_final" text, "score_l_score_in_legs_s_score_in_sets" text );
SELECT "outcome" FROM "pdc_premier_event_finals_5_1_title_4_run" WHERE "championship"='premier league darts';
2-10254961-3
Tell me the sum of Year for outcome of runner-up for world darts championship
CREATE TABLE "pdc_premier_event_finals_5_1_title_4_run" ( "outcome" text, "year" real, "championship" text, "opponent_in_the_final" text, "score_l_score_in_legs_s_score_in_sets" text );
SELECT SUM("year") FROM "pdc_premier_event_finals_5_1_title_4_run" WHERE "outcome"='runner-up' AND "championship"='world darts championship';
2-10254961-3
In 2007, how many points were won when more than 5 matches were played?
CREATE TABLE "solheim_cup_record" ( "year" text, "total_matches" real, "total_w_l_h" text, "singles_w_l_h" text, "points_won" real, "points_pct" real );
SELECT COUNT("points_won") FROM "solheim_cup_record" WHERE "year"='2007' AND "total_matches">5;
2-102100-7
In 2007, what is the average total matches with points % larger than 33.3?
CREATE TABLE "solheim_cup_record" ( "year" text, "total_matches" real, "total_w_l_h" text, "singles_w_l_h" text, "points_won" real, "points_pct" real );
SELECT AVG("total_matches") FROM "solheim_cup_record" WHERE "points_pct">33.3 AND "year"='2007';
2-102100-7
Which player attended school at Georgia Tech?
CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "player" FROM "s" WHERE "school_club_team"='georgia tech';
2-10015132-17
What position does Ed Stokes hold?
CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "position" FROM "s" WHERE "player"='ed stokes';
2-10015132-17
What is Michael Stewart's school or club team?
CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "school_club_team" FROM "s" WHERE "player"='michael stewart';
2-10015132-17
What tournament was played on May 29, 2010?
CREATE TABLE "doubles_8_10" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponent_in_the_final" text, "score" text );
SELECT "tournament" FROM "doubles_8_10" WHERE "date"='may 29, 2010';
2-10299353-5
What was the surface made of in the contest where Paula Ormaechea was the partner?
CREATE TABLE "doubles_8_10" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponent_in_the_final" text, "score" text );
SELECT "surface" FROM "doubles_8_10" WHERE "partner"='paula ormaechea';
2-10299353-5
Tell me the total number of year for class pos of 3rd and laps larger than 353
CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text );
SELECT COUNT("year") FROM "24_hours_of_le_mans_results" WHERE "class_pos"='3rd' AND "laps">353;
2-1029114-1
Tell me the method with a record of 4-2
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "location" text );
SELECT "method" FROM "mixed_martial_arts_record" WHERE "record"='4-2';
2-10363239-3
Tell me the record for yukiya naito
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "location" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "opponent"='yukiya naito';
2-10363239-3
Tell me the record for kazuhiro nakamura
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "location" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "opponent"='kazuhiro nakamura';
2-10363239-3
Tell me the method for stanislav nuschik
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "location" text );
SELECT "method" FROM "mixed_martial_arts_record" WHERE "opponent"='stanislav nuschik';
2-10363239-3
What was the Result of IFL: Los Angeles?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text );
SELECT "res" FROM "mixed_martial_arts_record" WHERE "event"='ifl: los angeles';
2-10220460-2
Which Event resulted in a Win for Opponent, Shane Ott?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text );
SELECT "event" FROM "mixed_martial_arts_record" WHERE "res"='win' AND "opponent"='shane ott';
2-10220460-2