question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which Incumbent has a Republican of dan mansell?
CREATE TABLE "summary" ( "district" real, "incumbent" text, "2008_status" text, "democratic" text, "republican" text );
SELECT "incumbent" FROM "summary" WHERE "republican"='dan mansell';
2-14393234-1
Which Democratic has a District smaller than 7, and a Republican of dan mansell?
CREATE TABLE "summary" ( "district" real, "incumbent" text, "2008_status" text, "democratic" text, "republican" text );
SELECT "democratic" FROM "summary" WHERE "district"<7 AND "republican"='dan mansell';
2-14393234-1
Which record has a score of 135–134?
CREATE TABLE "playoffs" ( "date" text, "opponent" text, "result" text, "score" text, "record" text, "streak" text );
SELECT "record" FROM "playoffs" WHERE "score"='135–134';
2-13797388-10
Name the position for the player born 2 november 1987
CREATE TABLE "2008_six_nations_championship_squads" ( "player" text, "position" text, "date_of_birth_age" text, "caps" real, "club_province" text );
SELECT "position" FROM "2008_six_nations_championship_squads" WHERE "date_of_birth_age"='2 november 1987';
2-15149189-1
Name the club/province for steve borthwick
CREATE TABLE "2008_six_nations_championship_squads" ( "player" text, "position" text, "date_of_birth_age" text, "caps" real, "club_province" text );
SELECT "club_province" FROM "2008_six_nations_championship_squads" WHERE "player"='steve borthwick';
2-15149189-1
What is the largest ration with an ordinary value of 84 zolotnik?
CREATE TABLE "apothecaries_system" ( "unit" text, "russian" text, "translation" text, "ratio" real, "metric_value" text, "avoirdupois_value" text, "ordinary_value" text );
SELECT MAX("ratio") FROM "apothecaries_system" WHERE "ordinary_value"='84 zolotnik';
2-1375378-5
What unit has an Avoirdupois value of 57.602 gr.?
CREATE TABLE "apothecaries_system" ( "unit" text, "russian" text, "translation" text, "ratio" real, "metric_value" text, "avoirdupois_value" text, "ordinary_value" text );
SELECT "unit" FROM "apothecaries_system" WHERE "avoirdupois_value"='57.602 gr.';
2-1375378-5
Which translation had a unit of Uncia?
CREATE TABLE "apothecaries_system" ( "unit" text, "russian" text, "translation" text, "ratio" real, "metric_value" text, "avoirdupois_value" text, "ordinary_value" text );
SELECT "translation" FROM "apothecaries_system" WHERE "unit"='uncia';
2-1375378-5
What ordinary value has a metric value of 29.861 g?
CREATE TABLE "apothecaries_system" ( "unit" text, "russian" text, "translation" text, "ratio" real, "metric_value" text, "avoirdupois_value" text, "ordinary_value" text );
SELECT "ordinary_value" FROM "apothecaries_system" WHERE "metric_value"='29.861 g';
2-1375378-5
Which ordinary value has a Russian value of унция?
CREATE TABLE "apothecaries_system" ( "unit" text, "russian" text, "translation" text, "ratio" real, "metric_value" text, "avoirdupois_value" text, "ordinary_value" text );
SELECT "ordinary_value" FROM "apothecaries_system" WHERE "russian"='унция';
2-1375378-5
Which Avoirdupois value is translated to grain?
CREATE TABLE "apothecaries_system" ( "unit" text, "russian" text, "translation" text, "ratio" real, "metric_value" text, "avoirdupois_value" text, "ordinary_value" text );
SELECT "avoirdupois_value" FROM "apothecaries_system" WHERE "translation"='grain';
2-1375378-5
What is the number of turns for the City of san antonio?
CREATE TABLE "list_of_auto_racing_tracks_in_the_united" ( "track" text, "city" text, "state" text, "opened" text, "major_series" text, "turns" text );
SELECT "turns" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "city"='san antonio';
2-14688681-6
What is the State with the imsa gt as the Major Series and a track in new orleans?
CREATE TABLE "list_of_auto_racing_tracks_in_the_united" ( "track" text, "city" text, "state" text, "opened" text, "major_series" text, "turns" text );
SELECT "state" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "major_series"='imsa gt' AND "track"='new orleans';
2-14688681-6
Where is the track located with 18 turns?
CREATE TABLE "list_of_auto_racing_tracks_in_the_united" ( "track" text, "city" text, "state" text, "opened" text, "major_series" text, "turns" text );
SELECT "track" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "turns"='18';
2-14688681-6
What is the State with the trans-am Major Series in Grand Rapids?
CREATE TABLE "list_of_auto_racing_tracks_in_the_united" ( "track" text, "city" text, "state" text, "opened" text, "major_series" text, "turns" text );
SELECT "state" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "major_series"='trans-am' AND "city"='grand rapids';
2-14688681-6
Where is the track located that opened in 1992?
CREATE TABLE "list_of_auto_racing_tracks_in_the_united" ( "track" text, "city" text, "state" text, "opened" text, "major_series" text, "turns" text );
SELECT "track" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "opened"='1992';
2-14688681-6
What shows for opened for the Nascar Major Series?
CREATE TABLE "list_of_auto_racing_tracks_in_the_united" ( "track" text, "city" text, "state" text, "opened" text, "major_series" text, "turns" text );
SELECT "opened" FROM "list_of_auto_racing_tracks_in_the_united" WHERE "major_series"='nascar';
2-14688681-6
What is the lowest number of FA cups associated with 0 malaysia cups?
CREATE TABLE "scorers" ( "player" text, "league" real, "malaysia_cup" real, "fa_cup" real, "total" real );
SELECT MIN("fa_cup") FROM "scorers" WHERE "malaysia_cup"<0;
2-15192848-6
How many league cups for m patrick maria with 0 total?
CREATE TABLE "scorers" ( "player" text, "league" real, "malaysia_cup" real, "fa_cup" real, "total" real );
SELECT SUM("league") FROM "scorers" WHERE "player"='m patrick maria' AND "total"<0;
2-15192848-6
What is the highest number of Malaysia Cups for a player with over 0 leagues and under 0 FA cups?
CREATE TABLE "scorers" ( "player" text, "league" real, "malaysia_cup" real, "fa_cup" real, "total" real );
SELECT MAX("malaysia_cup") FROM "scorers" WHERE "league">0 AND "fa_cup"<0;
2-15192848-6
What is the tournament on July 29 hosted by SK Brann?
CREATE TABLE "results" ( "date" text, "host" text, "agg" text, "visitor" text, "ground" text, "attendance" real, "tournament" text );
SELECT "tournament" FROM "results" WHERE "host"='sk brann' AND "date"='july 29';
2-15280588-1
Who is the visitor of the match on July 29?
CREATE TABLE "results" ( "date" text, "host" text, "agg" text, "visitor" text, "ground" text, "attendance" real, "tournament" text );
SELECT "visitor" FROM "results" WHERE "date"='july 29';
2-15280588-1
What is the game that has the phoenix suns as the opponent played against?
CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "result" text, "score" text, "record" text, "streak" text );
SELECT "result" FROM "season_schedule" WHERE "opponent"='phoenix suns';
2-13671343-5
What is the attendance of the game on 2007-04-07 with the Warriors as the visitor team?
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "attendance" FROM "april" WHERE "visitor"='warriors' AND "date"='2007-04-07';
2-14677944-8
What day is their record 13-15?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "date" FROM "game_log" WHERE "record"='13-15';
2-14050964-3
Who did they play when dickey (0-1) recorded the loss?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "opponent" FROM "game_log" WHERE "loss"='dickey (0-1)';
2-14050964-3
What is the result of the game of heinz field with a record of 2-5?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "time_et" text, "game_site" text, "result" text, "record" text );
SELECT "result" FROM "schedule" WHERE "game_site"='heinz field' AND "record"='2-5';
2-14926370-1
What opponent has a record of 6-9?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "time_et" text, "game_site" text, "result" text, "record" text );
SELECT "opponent" FROM "schedule" WHERE "record"='6-9';
2-14926370-1
What is the week with a record of 2-1?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "time_et" text, "game_site" text, "result" text, "record" text );
SELECT COUNT("week") FROM "schedule" WHERE "record"='2-1';
2-14926370-1
What City of license has a Frequency MHz smaller than 95.9 with w223au as the call sign?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT "city_of_license" FROM "translators" WHERE "frequency_m_hz"<95.9 AND "call_sign"='w223au';
2-14123212-1
What is the Call sign for the ERP W 19?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT "call_sign" FROM "translators" WHERE "erp_w"=19;
2-14123212-1
What FCC info is listed for the ERP W of 2?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT "fcc_info" FROM "translators" WHERE "erp_w"=2;
2-14123212-1
What Call sign shows an ERP W of 80?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT "call_sign" FROM "translators" WHERE "erp_w"=80;
2-14123212-1
What is the Class for the ERP W of more than 2 and the call sign of w223au?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT "class" FROM "translators" WHERE "erp_w">2 AND "call_sign"='w223au';
2-14123212-1
what team lost on july 30
CREATE TABLE "game_log" ( "date" text, "time" text, "opponent" text, "score" text, "loss" text, "record" text );
SELECT "loss" FROM "game_log" WHERE "date"='july 30';
2-14013236-7
What sport was played on February 25, 2011?
CREATE TABLE "2010_2011" ( "date" text, "site" text, "sport" text, "winning_team" text, "series" text );
SELECT "sport" FROM "2010_2011" WHERE "date"='february 25, 2011';
2-14175075-8
Where was the sport played on September 10, 2010?
CREATE TABLE "2010_2011" ( "date" text, "site" text, "sport" text, "winning_team" text, "series" text );
SELECT "site" FROM "2010_2011" WHERE "date"='september 10, 2010';
2-14175075-8
What type of surface was played on when julie halard-decugis was the partner on October 8, 2000?
CREATE TABLE "doubles_wins_38" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponent_in_the_final" text, "score" text );
SELECT "surface" FROM "doubles_wins_38" WHERE "partner"='julie halard-decugis' AND "date"='october 8, 2000';
2-1514559-8
How many Played has a % Win of 50.00%, and Losses of 1, and Wins smaller than 1?
CREATE TABLE "summary_of_results_by_season" ( "year" text, "played" real, "wins" real, "losses" real, "no_result" real, "pct_win" text );
SELECT COUNT("played") FROM "summary_of_results_by_season" WHERE "pct_win"='50.00%' AND "losses"=1 AND "wins"<1;
2-14891198-2
WHAT kind of No Result has Wins smaller than 2, and Losses larger than 1?
CREATE TABLE "summary_of_results_by_season" ( "year" text, "played" real, "wins" real, "losses" real, "no_result" real, "pct_win" text );
SELECT "no_result" FROM "summary_of_results_by_season" WHERE "wins"<2 AND "losses">1;
2-14891198-2
How many Played that has Losses of 6, and Wins larger than 33?
CREATE TABLE "summary_of_results_by_season" ( "year" text, "played" real, "wins" real, "losses" real, "no_result" real, "pct_win" text );
SELECT AVG("played") FROM "summary_of_results_by_season" WHERE "losses"=6 AND "wins">33;
2-14891198-2
What kind of No Result has a % Win of 100.00% and a Played larger than 4 in 2012?
CREATE TABLE "summary_of_results_by_season" ( "year" text, "played" real, "wins" real, "losses" real, "no_result" real, "pct_win" text );
SELECT MIN("no_result") FROM "summary_of_results_by_season" WHERE "pct_win"='100.00%' AND "played">4 AND "year"='2012';
2-14891198-2
What is the Loss has an Attendance more than 43,095 and a Record of 31–29?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "loss" FROM "game_log" WHERE "attendance">'43,095' AND "record"='31–29';
2-13978258-6
Which Loss has a Score of 6–5?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "loss" FROM "game_log" WHERE "score"='6–5';
2-13978258-6
Date of wed. nov. 13 had how many number of games?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );
SELECT COUNT("game") FROM "game_log" WHERE "date"='wed. nov. 13';
2-13821848-4
Record of 6–1 had what score?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );
SELECT "score" FROM "game_log" WHERE "record"='6–1';
2-13821848-4
Score of 118–114, and a Record of 8–1 is what lowest game?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );
SELECT MIN("game") FROM "game_log" WHERE "score"='118–114' AND "record"='8–1';
2-13821848-4
Which circuit was in Great Britain with Ireland as the winner?
CREATE TABLE "season_calendar" ( "date" text, "country" text, "circuit" text, "sprint_winner" text, "feature_winner" text, "report" text );
SELECT "circuit" FROM "season_calendar" WHERE "feature_winner"='ireland' AND "country"='great britain';
2-15040971-2
How many were in attendance when the league position was 16th and the score was F–A of 0–3?
CREATE TABLE "match_details" ( "date" text, "league_position" text, "opponents" text, "venue" text, "result" text, "score_f_a" text, "attendance" real );
SELECT COUNT("attendance") FROM "match_details" WHERE "league_position"='16th' AND "score_f_a"='0–3';
2-15120038-2
How many were in attendance for a result of D, at H venue, and Arsenal as an opponent?
CREATE TABLE "match_details" ( "date" text, "league_position" text, "opponents" text, "venue" text, "result" text, "score_f_a" text, "attendance" real );
SELECT "attendance" FROM "match_details" WHERE "result"='d' AND "venue"='h' AND "opponents"='arsenal';
2-15120038-2
What is the largest number in attendance at H venue opposing Liverpool with a result of D?
CREATE TABLE "match_details" ( "date" text, "league_position" text, "opponents" text, "venue" text, "result" text, "score_f_a" text, "attendance" real );
SELECT MAX("attendance") FROM "match_details" WHERE "venue"='h' AND "result"='d' AND "opponents"='liverpool';
2-15120038-2
What is the number of Justin Jeffries?
CREATE TABLE "norfolk_state" ( "position" text, "number" real, "name" text, "height" text, "weight" real, "class" text, "hometown" text, "games" real );
SELECT COUNT("number") FROM "norfolk_state" WHERE "name"='justin jeffries';
2-14624447-23
How many games has number 61 played in?
CREATE TABLE "norfolk_state" ( "position" text, "number" real, "name" text, "height" text, "weight" real, "class" text, "hometown" text, "games" real );
SELECT MIN("games") FROM "norfolk_state" WHERE "number"=61;
2-14624447-23
What is the name of the player who is a wr and has a weight of 197?
CREATE TABLE "norfolk_state" ( "position" text, "number" real, "name" text, "height" text, "weight" real, "class" text, "hometown" text, "games" real );
SELECT "name" FROM "norfolk_state" WHERE "position"='wr' AND "weight"=197;
2-14624447-23
What is the hometown of number 40?
CREATE TABLE "norfolk_state" ( "position" text, "number" real, "name" text, "height" text, "weight" real, "class" text, "hometown" text, "games" real );
SELECT "hometown" FROM "norfolk_state" WHERE "number"=40;
2-14624447-23
What date is the visitor Ottawa?
CREATE TABLE "october" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "date" FROM "october" WHERE "visitor"='ottawa';
2-14163678-2
what is the sum of the year in rhode island
CREATE TABLE "expulsion_proceedings_not_resulting_in_e" ( "year" real, "senator" text, "party" text, "state" text, "result" text );
SELECT SUM("year") FROM "expulsion_proceedings_not_resulting_in_e" WHERE "state"='rhode island';
2-1436309-2
what is the senator in kentucky
CREATE TABLE "expulsion_proceedings_not_resulting_in_e" ( "year" real, "senator" text, "party" text, "state" text, "result" text );
SELECT "senator" FROM "expulsion_proceedings_not_resulting_in_e" WHERE "state"='kentucky';
2-1436309-2
What is the destination of the rail with Dhanbad as the origin?
CREATE TABLE "rail" ( "train_number" text, "train_name" text, "origin" text, "destination" text, "frequency_inbound_outbound" text );
SELECT "destination" FROM "rail" WHERE "origin"='dhanbad';
2-14510314-1
What is the destination of the Garib nwaz exp train?
CREATE TABLE "rail" ( "train_number" text, "train_name" text, "origin" text, "destination" text, "frequency_inbound_outbound" text );
SELECT "destination" FROM "rail" WHERE "train_name"='garib nwaz exp';
2-14510314-1
What is the train name of the rail with a daily frequency and a destination of Rajgir?
CREATE TABLE "rail" ( "train_number" text, "train_name" text, "origin" text, "destination" text, "frequency_inbound_outbound" text );
SELECT "train_name" FROM "rail" WHERE "frequency_inbound_outbound"='daily' AND "destination"='rajgir';
2-14510314-1
What is the train name of the rail with a daily frequency and Jammutawi as the destination?
CREATE TABLE "rail" ( "train_number" text, "train_name" text, "origin" text, "destination" text, "frequency_inbound_outbound" text );
SELECT "train_name" FROM "rail" WHERE "frequency_inbound_outbound"='daily' AND "destination"='jammutawi';
2-14510314-1
What is the frequency of the rail with an origin of Ranchi?
CREATE TABLE "rail" ( "train_number" text, "train_name" text, "origin" text, "destination" text, "frequency_inbound_outbound" text );
SELECT "frequency_inbound_outbound" FROM "rail" WHERE "origin"='ranchi';
2-14510314-1
What is the frequency of the train named Garib nwaz exp?
CREATE TABLE "rail" ( "train_number" text, "train_name" text, "origin" text, "destination" text, "frequency_inbound_outbound" text );
SELECT "frequency_inbound_outbound" FROM "rail" WHERE "train_name"='garib nwaz exp';
2-14510314-1
Name the segment c with episode less than 179 and segment b of s sticker
CREATE TABLE "season_14_2009_2010" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_c" FROM "season_14_2009_2010" WHERE "episode"<179 AND "segment_b"='s sticker';
2-15187735-14
Name the segment c for ski goggles
CREATE TABLE "season_14_2009_2010" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text );
SELECT "segment_c" FROM "season_14_2009_2010" WHERE "segment_a"='ski goggles';
2-15187735-14
In which position did Steve play first?
CREATE TABLE "player_roster" ( "surname" text, "first" text, "d_o_b" text, "bats" text, "throws" text, "position" text );
SELECT "position" FROM "player_roster" WHERE "first"='steve';
2-15273269-1
Which bats did mitchell play first?
CREATE TABLE "player_roster" ( "surname" text, "first" text, "d_o_b" text, "bats" text, "throws" text, "position" text );
SELECT "bats" FROM "player_roster" WHERE "first"='mitchell';
2-15273269-1
When is mr. ryan's DOB?
CREATE TABLE "player_roster" ( "surname" text, "first" text, "d_o_b" text, "bats" text, "throws" text, "position" text );
SELECT "d_o_b" FROM "player_roster" WHERE "surname"='ryan';
2-15273269-1
Which Throws have a Position of 3b/rhp?
CREATE TABLE "player_roster" ( "surname" text, "first" text, "d_o_b" text, "bats" text, "throws" text, "position" text );
SELECT "throws" FROM "player_roster" WHERE "position"='3b/rhp';
2-15273269-1
When is Collins' DOB?
CREATE TABLE "player_roster" ( "surname" text, "first" text, "d_o_b" text, "bats" text, "throws" text, "position" text );
SELECT "d_o_b" FROM "player_roster" WHERE "surname"='collins';
2-15273269-1
Which Position has a D.O.B. of 3 june 1989?
CREATE TABLE "player_roster" ( "surname" text, "first" text, "d_o_b" text, "bats" text, "throws" text, "position" text );
SELECT "position" FROM "player_roster" WHERE "d_o_b"='3 june 1989';
2-15273269-1
What type of architecture does the Saturn Vue have?
CREATE TABLE "past_competitions" ( "years" text, "competition" text, "vehicle_name" text, "original_vehicle" text, "architecture" text );
SELECT "architecture" FROM "past_competitions" WHERE "vehicle_name"='saturn vue';
2-14441688-1
What architecture type does the Ford Escort Wagon have?
CREATE TABLE "past_competitions" ( "years" text, "competition" text, "vehicle_name" text, "original_vehicle" text, "architecture" text );
SELECT "architecture" FROM "past_competitions" WHERE "original_vehicle"='ford escort wagon';
2-14441688-1
What original vehicle has uwhvt homepage architecture?
CREATE TABLE "past_competitions" ( "years" text, "competition" text, "vehicle_name" text, "original_vehicle" text, "architecture" text );
SELECT "original_vehicle" FROM "past_competitions" WHERE "architecture"='uwhvt homepage';
2-14441688-1
Which Winner has a Last 16 of £400?
CREATE TABLE "prize_money" ( "year" text, "winner" text, "runner_up" text, "semi_finalists" text, "quarter_finalists" text, "last_16" text, "last_32" text, "last_64" text, "total" text );
SELECT "winner" FROM "prize_money" WHERE "last_16"='£400';
2-15293513-1
Which Runner-Up has a Total of £31,200?
CREATE TABLE "prize_money" ( "year" text, "winner" text, "runner_up" text, "semi_finalists" text, "quarter_finalists" text, "last_16" text, "last_32" text, "last_64" text, "total" text );
SELECT "runner_up" FROM "prize_money" WHERE "total"='£31,200';
2-15293513-1
Which Runner-Up has a Last 16 of £300?
CREATE TABLE "prize_money" ( "year" text, "winner" text, "runner_up" text, "semi_finalists" text, "quarter_finalists" text, "last_16" text, "last_32" text, "last_64" text, "total" text );
SELECT "runner_up" FROM "prize_money" WHERE "last_16"='£300';
2-15293513-1
Which Last 64 has a Total of £34,600?
CREATE TABLE "prize_money" ( "year" text, "winner" text, "runner_up" text, "semi_finalists" text, "quarter_finalists" text, "last_16" text, "last_32" text, "last_64" text, "total" text );
SELECT "last_64" FROM "prize_money" WHERE "total"='£34,600';
2-15293513-1
Which Winner has Semi-Finalists of £2,000?
CREATE TABLE "prize_money" ( "year" text, "winner" text, "runner_up" text, "semi_finalists" text, "quarter_finalists" text, "last_16" text, "last_32" text, "last_64" text, "total" text );
SELECT "winner" FROM "prize_money" WHERE "semi_finalists"='£2,000';
2-15293513-1
Which Year has a Quarter-Finalists of £1,000, and Semi-Finalists of £1,500?
CREATE TABLE "prize_money" ( "year" text, "winner" text, "runner_up" text, "semi_finalists" text, "quarter_finalists" text, "last_16" text, "last_32" text, "last_64" text, "total" text );
SELECT "year" FROM "prize_money" WHERE "quarter_finalists"='£1,000' AND "semi_finalists"='£1,500';
2-15293513-1
How tall is Dylan Postl?
CREATE TABLE "athletes" ( "nationality" text, "height" text, "name" text, "sport" text, "lifespan" text );
SELECT "height" FROM "athletes" WHERE "name"='dylan postl';
2-14229697-6
What is the largest amount of goals when the points are less than 0?
CREATE TABLE "2008_squad" ( "squad_no" real, "player" text, "position" text, "tries" real, "goals" real, "points" real );
SELECT MAX("goals") FROM "2008_squad" WHERE "points"<0;
2-14360941-2
Which player has more than 0 goals and less than 12 tries?
CREATE TABLE "2008_squad" ( "squad_no" real, "player" text, "position" text, "tries" real, "goals" real, "points" real );
SELECT "player" FROM "2008_squad" WHERE "goals">0 AND "tries"<12;
2-14360941-2
What is the smallest number of tries when Matt Diskin is the player and there are more than 16 points?
CREATE TABLE "2008_squad" ( "squad_no" real, "player" text, "position" text, "tries" real, "goals" real, "points" real );
SELECT MIN("tries") FROM "2008_squad" WHERE "player"='matt diskin' AND "points">16;
2-14360941-2
Which position has more than 4 points, less than 12 tries, a squad number of more than 1, and where Ali Lauitiiti is a player?
CREATE TABLE "2008_squad" ( "squad_no" real, "player" text, "position" text, "tries" real, "goals" real, "points" real );
SELECT "position" FROM "2008_squad" WHERE "points">4 AND "tries"<12 AND "squad_no">1 AND "player"='ali lauitiiti';
2-14360941-2
What is the total number of squad no when there are more than 8 points, Danny Mcguire is a player, and there are more than 0 goals?
CREATE TABLE "2008_squad" ( "squad_no" real, "player" text, "position" text, "tries" real, "goals" real, "points" real );
SELECT SUM("squad_no") FROM "2008_squad" WHERE "points">8 AND "player"='danny mcguire' AND "goals">0;
2-14360941-2
What is the lowest lost from drawn of 1 or greater?
CREATE TABLE "world_championship_group_b_yugoslavia" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT MIN("lost") FROM "world_championship_group_b_yugoslavia" WHERE "drawn">1;
2-14077513-4
What is the highest games from a game with points less than 4, drawn of 1 and a lost less than 6?
CREATE TABLE "world_championship_group_b_yugoslavia" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT MAX("games") FROM "world_championship_group_b_yugoslavia" WHERE "points"<4 AND "drawn"=1 AND "lost"<6;
2-14077513-4
What is the score of the game on January 18?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "regular_season" WHERE "date"='january 18';
2-13822874-2
What is the score of the game on January 10?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "regular_season" WHERE "date"='january 10';
2-13822874-2
What is the score of the game on November 12 with the Chicago Black Hawks as the visitor team?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "regular_season" WHERE "visitor"='chicago black hawks' AND "date"='november 12';
2-13822874-2
What is the series score of the game on May 6?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text );
SELECT "series" FROM "game_log" WHERE "date"='may 6';
2-13619027-11
The Zeehond was built by whom?
CREATE TABLE "the_boats" ( "ship" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text );
SELECT "builder" FROM "the_boats" WHERE "ship"='zeehond';
2-15149920-1
What college, junior, or club team did Victor Ignatjev play for?
CREATE TABLE "nhl_entry_draft" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team" text );
SELECT "college_junior_club_team" FROM "nhl_entry_draft" WHERE "player"='victor ignatjev';
2-14209081-6
Which player is from Sweden?
CREATE TABLE "nhl_entry_draft" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team" text );
SELECT "player" FROM "nhl_entry_draft" WHERE "nationality"='sweden';
2-14209081-6
What was the score on April 22?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "attendance" real, "record" text );
SELECT "score" FROM "game_log" WHERE "date"='april 22';
2-13711033-2
What opponent has a score of 1-3?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "attendance" real, "record" text );
SELECT "opponent" FROM "game_log" WHERE "score"='1-3';
2-13711033-2
What is the record for April 21?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "attendance" real, "record" text );
SELECT "record" FROM "game_log" WHERE "date"='april 21';
2-13711033-2
Which Player has a Round larger than 5, and a School/Club Team of bethune-cookman?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT "player" FROM "nfl_draft" WHERE "round">5 AND "school_club_team"='bethune-cookman';
2-14656090-1