question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Who was the producer for the film directed by 1997? | CREATE TABLE "1990s" (
"title" text,
"director" text,
"producer" text,
"production_cost" text,
"singapore_gross" text
); | SELECT "producer" FROM "1990s" WHERE "director"='1997'; | 2-1601229-1 |
For the directed by 1991, what was the gross in Singapore? | CREATE TABLE "1990s" (
"title" text,
"director" text,
"producer" text,
"production_cost" text,
"singapore_gross" text
); | SELECT "singapore_gross" FROM "1990s" WHERE "director"='1991'; | 2-1601229-1 |
What is the most points scored for teams with under 25 goals scored, 3 draws, and more than 21 games played? | CREATE TABLE "2_lyga_zone_north" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT MAX("points") FROM "2_lyga_zone_north" WHERE "goals_scored"<25 AND "draws"=3 AND "games_played">21; | 2-16034882-5 |
What day was there a set 1 of 25-18? | CREATE TABLE "pool_a" (
"game" real,
"date" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"result_sets" text,
"result_pts" text
); | SELECT "date" FROM "pool_a" WHERE "set_1"='25-18'; | 2-15924759-3 |
What is the Week when the kick off was at 4:05 pm, and the result was w 31–14? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"kickoff_et" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"nfl_com_recap" text
); | SELECT "week" FROM "schedule" WHERE "kickoff_et"='4:05 pm' AND "result"='w 31–14'; | 2-15597028-3 |
What time was the kickoff when the miami dolphins were the opponent? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"kickoff_et" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"nfl_com_recap" text
); | SELECT "kickoff_et" FROM "schedule" WHERE "opponent"='miami dolphins'; | 2-15597028-3 |
What is Round 2 when Round 4 is Double and Round 3 is Single? | CREATE TABLE "scoring_format" (
"from" real,
"goal" text,
"round_1" text,
"round_2" text,
"round_3" text,
"round_4" text,
"round_5" text,
"round_6" text
); | SELECT "round_2" FROM "scoring_format" WHERE "round_4"='double' AND "round_3"='single'; | 2-153689-2 |
What is Round 5 when Round 4 is Triple, Round 3 is Double and Round 6+ is Triple? | CREATE TABLE "scoring_format" (
"from" real,
"goal" text,
"round_1" text,
"round_2" text,
"round_3" text,
"round_4" text,
"round_5" text,
"round_6" text
); | SELECT "round_5" FROM "scoring_format" WHERE "round_4"='triple' AND "round_3"='double' AND "round_6"='triple'; | 2-153689-2 |
What is Round 1 from 1977 where Round 3 is Double and Round 4 is Double? | CREATE TABLE "scoring_format" (
"from" real,
"goal" text,
"round_1" text,
"round_2" text,
"round_3" text,
"round_4" text,
"round_5" text,
"round_6" text
); | SELECT "round_1" FROM "scoring_format" WHERE "round_4"='double' AND "from"=1977 AND "round_3"='double'; | 2-153689-2 |
What is Round 2 from 1999? | CREATE TABLE "scoring_format" (
"from" real,
"goal" text,
"round_1" text,
"round_2" text,
"round_3" text,
"round_4" text,
"round_5" text,
"round_6" text
); | SELECT "round_2" FROM "scoring_format" WHERE "from"=1999; | 2-153689-2 |
What is Round 4 when Round 6+ is triple, Round 5 is triple and Round 3 is single? | CREATE TABLE "scoring_format" (
"from" real,
"goal" text,
"round_1" text,
"round_2" text,
"round_3" text,
"round_4" text,
"round_5" text,
"round_6" text
); | SELECT "round_4" FROM "scoring_format" WHERE "round_6"='triple' AND "round_5"='triple' AND "round_3"='single'; | 2-153689-2 |
What is round 3 where From is earlier than 1990 and the Goal is 400? | CREATE TABLE "scoring_format" (
"from" real,
"goal" text,
"round_1" text,
"round_2" text,
"round_3" text,
"round_4" text,
"round_5" text,
"round_6" text
); | SELECT "round_3" FROM "scoring_format" WHERE "from"<1990 AND "goal"='400'; | 2-153689-2 |
What points has united kingdom as the country, and 10 as the place? | CREATE TABLE "1972_isle_of_man_junior_tt_350cc_final_s" (
"place" real,
"rider" text,
"country" text,
"machine" text,
"speed" text,
"time" text,
"points" real
); | SELECT "points" FROM "1972_isle_of_man_junior_tt_350cc_final_s" WHERE "country"='united kingdom' AND "place"=10; | 2-15753390-1 |
What machine has tony rutter as the rider? | CREATE TABLE "1972_isle_of_man_junior_tt_350cc_final_s" (
"place" real,
"rider" text,
"country" text,
"machine" text,
"speed" text,
"time" text,
"points" real
); | SELECT "machine" FROM "1972_isle_of_man_junior_tt_350cc_final_s" WHERE "rider"='tony rutter'; | 2-15753390-1 |
What machine has 5 as the place? | CREATE TABLE "1972_isle_of_man_junior_tt_350cc_final_s" (
"place" real,
"rider" text,
"country" text,
"machine" text,
"speed" text,
"time" text,
"points" real
); | SELECT "machine" FROM "1972_isle_of_man_junior_tt_350cc_final_s" WHERE "place"=5; | 2-15753390-1 |
How many places have yamaha as the machine, and 89.85mph as the speed? | CREATE TABLE "1972_isle_of_man_junior_tt_350cc_final_s" (
"place" real,
"rider" text,
"country" text,
"machine" text,
"speed" text,
"time" text,
"points" real
); | SELECT SUM("place") FROM "1972_isle_of_man_junior_tt_350cc_final_s" WHERE "machine"='yamaha' AND "speed"='89.85mph'; | 2-15753390-1 |
How many places did the artist Big Hit have with less than 2934 votes? | CREATE TABLE "festival_da_can_o_2008_9_march_2008" (
"draw" real,
"artist" text,
"song" text,
"producer" text,
"votes" real,
"place" real
); | SELECT COUNT("place") FROM "festival_da_can_o_2008_9_march_2008" WHERE "artist"='big hit' AND "votes"<2934; | 2-15739554-1 |
How many average votes did producer carlos coelho have in a higher place than 6 and with a draw larger than 5? | CREATE TABLE "festival_da_can_o_2008_9_march_2008" (
"draw" real,
"artist" text,
"song" text,
"producer" text,
"votes" real,
"place" real
); | SELECT AVG("votes") FROM "festival_da_can_o_2008_9_march_2008" WHERE "place"<6 AND "producer"='carlos coelho' AND "draw">5; | 2-15739554-1 |
What is the name of the MySpace Band with an Original Airdate of 19 february 2008? | CREATE TABLE "series_1" (
"pilot" text,
"original_airdate" text,
"musical_guest_song_performed" text,
"you_tube_hero" text,
"my_space_band" text
); | SELECT "my_space_band" FROM "series_1" WHERE "original_airdate"='19 february 2008'; | 2-15711661-1 |
What is the Musical Guest/Song with a pilot of 3? | CREATE TABLE "series_1" (
"pilot" text,
"original_airdate" text,
"musical_guest_song_performed" text,
"you_tube_hero" text,
"my_space_band" text
); | SELECT "musical_guest_song_performed" FROM "series_1" WHERE "pilot"='3'; | 2-15711661-1 |
What is the Original Airdate for the YouTube Hero greg pattillo? | CREATE TABLE "series_1" (
"pilot" text,
"original_airdate" text,
"musical_guest_song_performed" text,
"you_tube_hero" text,
"my_space_band" text
); | SELECT "original_airdate" FROM "series_1" WHERE "you_tube_hero"='greg pattillo'; | 2-15711661-1 |
What is the Musical Guest/Song with an original airdate of january 2008? | CREATE TABLE "series_1" (
"pilot" text,
"original_airdate" text,
"musical_guest_song_performed" text,
"you_tube_hero" text,
"my_space_band" text
); | SELECT "musical_guest_song_performed" FROM "series_1" WHERE "original_airdate"='january 2008'; | 2-15711661-1 |
What is the Pilot number for the YouTube Hero greg pattillo? | CREATE TABLE "series_1" (
"pilot" text,
"original_airdate" text,
"musical_guest_song_performed" text,
"you_tube_hero" text,
"my_space_band" text
); | SELECT "pilot" FROM "series_1" WHERE "you_tube_hero"='greg pattillo'; | 2-15711661-1 |
What is the name of the MySpace Band with an Original Airdate of 25 march 2008? | CREATE TABLE "series_1" (
"pilot" text,
"original_airdate" text,
"musical_guest_song_performed" text,
"you_tube_hero" text,
"my_space_band" text
); | SELECT "my_space_band" FROM "series_1" WHERE "original_airdate"='25 march 2008'; | 2-15711661-1 |
What is the total number of top-25s for tournaments that had 0 wins, 1 cut made, and more than 5 events? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT COUNT("top_25") FROM "summary" WHERE "wins"=0 AND "cuts_made"=1 AND "events">5; | 2-1551537-3 |
What is the fewest number of top-5s for events with more than 1 win? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MIN("top_5") FROM "summary" WHERE "wins">1; | 2-1551537-3 |
What is the highest number of top-25s for events with 0 wins? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MAX("top_25") FROM "summary" WHERE "wins"<0; | 2-1551537-3 |
What is the home leg who are opponents of rotor volgograd | CREATE TABLE "european_record" (
"season" text,
"round" text,
"opponents" text,
"home_leg" text,
"away_leg" text,
"aggregate" text
); | SELECT "home_leg" FROM "european_record" WHERE "opponents"='rotor volgograd'; | 2-1560621-1 |
What is the round with ajax opponents | CREATE TABLE "european_record" (
"season" text,
"round" text,
"opponents" text,
"home_leg" text,
"away_leg" text,
"aggregate" text
); | SELECT "round" FROM "european_record" WHERE "opponents"='ajax'; | 2-1560621-1 |
Which acquisition via has a position of forward and is on the state school or club? | CREATE TABLE "g" (
"name" text,
"position" text,
"number" real,
"school_club_team" text,
"season" text,
"acquisition_via" text
); | SELECT "acquisition_via" FROM "g" WHERE "position"='forward' AND "school_club_team"='state'; | 2-15463188-7 |
Which is the acquisition via that has a school or club team of state? | CREATE TABLE "g" (
"name" text,
"position" text,
"number" real,
"school_club_team" text,
"season" text,
"acquisition_via" text
); | SELECT "acquisition_via" FROM "g" WHERE "school_club_team"='state'; | 2-15463188-7 |
What is the position of Allen Gamboa? | CREATE TABLE "g" (
"name" text,
"position" text,
"number" real,
"school_club_team" text,
"season" text,
"acquisition_via" text
); | SELECT "position" FROM "g" WHERE "name"='allen gamboa'; | 2-15463188-7 |
Which position is number 16? | CREATE TABLE "g" (
"name" text,
"position" text,
"number" real,
"school_club_team" text,
"season" text,
"acquisition_via" text
); | SELECT "position" FROM "g" WHERE "number"=16; | 2-15463188-7 |
What year had a date of TBA where the Oakland raiders were the home team? | CREATE TABLE "game_history" (
"year" real,
"date" text,
"television" text,
"designated_visitors" text,
"designated_home" text,
"stadium" text,
"city" text
); | SELECT AVG("year") FROM "game_history" WHERE "date"='tba' AND "designated_home"='oakland raiders'; | 2-15558076-1 |
Who was the home team on October 28 when the new england patriots were the visitors? | CREATE TABLE "game_history" (
"year" real,
"date" text,
"television" text,
"designated_visitors" text,
"designated_home" text,
"stadium" text,
"city" text
); | SELECT "designated_home" FROM "game_history" WHERE "date"='october 28' AND "designated_visitors"='new england patriots'; | 2-15558076-1 |
Who were the visitors when the Atlanta Falcons were the home team? | CREATE TABLE "game_history" (
"year" real,
"date" text,
"television" text,
"designated_visitors" text,
"designated_home" text,
"stadium" text,
"city" text
); | SELECT "designated_visitors" FROM "game_history" WHERE "designated_home"='atlanta falcons'; | 2-15558076-1 |
Who were the home team during the game that aired on Fox after 2007 on October 23? | CREATE TABLE "game_history" (
"year" real,
"date" text,
"television" text,
"designated_visitors" text,
"designated_home" text,
"stadium" text,
"city" text
); | SELECT "designated_home" FROM "game_history" WHERE "television"='fox' AND "year">2007 AND "date"='october 23'; | 2-15558076-1 |
What was the birthplace of the player who weighs 98 KG and was born on May 1, 1984? | CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_num" real,
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"2007_2008_team" text
); | SELECT "birthplace" FROM "list_of_united_states_national_ice_hocke" WHERE "weight_kg"=98 AND "birthdate"='may 1, 1984'; | 2-15715109-32 |
What was the average Jersey number of the player for the Calgary Flames, whose Weight (kg) was greater than 84? | CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_number" real,
"name_v_t_e" text,
"height_cm" real,
"weight_kg" real,
"birthplace" text,
"1995_96_team" text
); | SELECT AVG("jersey_number") FROM "list_of_united_states_national_ice_hocke" WHERE "1995_96_team"='calgary flames' AND "weight_kg">84; | 2-15715109-36 |
What was the average Height (cm), for a player who had the Position, C, and whose 1995-96 team was the Buffalo Sabres, and whose Weight (kg) was less than 82? | CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_number" real,
"name_v_t_e" text,
"height_cm" real,
"weight_kg" real,
"birthplace" text,
"1995_96_team" text
); | SELECT AVG("height_cm") FROM "list_of_united_states_national_ice_hocke" WHERE "position"='c' AND "1995_96_team"='buffalo sabres' AND "weight_kg"<82; | 2-15715109-36 |
What was the Name v t e, of the player whose Weight (kg) was 84, whose Position was D, and whose Jersey number was 2? | CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_number" real,
"name_v_t_e" text,
"height_cm" real,
"weight_kg" real,
"birthplace" text,
"1995_96_team" text
); | SELECT "name_v_t_e" FROM "list_of_united_states_national_ice_hocke" WHERE "weight_kg"=84 AND "position"='d' AND "jersey_number"=2; | 2-15715109-36 |
What is the lowest win percentage for when Perth Scorchers is the opposition? | CREATE TABLE "result_summary_in_champions_league" (
"opposition" text,
"span" text,
"lost" real,
"tied" real,
"win_pct" real
); | SELECT MIN("win_pct") FROM "result_summary_in_champions_league" WHERE "opposition"='perth scorchers'; | 2-15860092-15 |
On which date was the game played on Week 13? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "week"=13; | 2-15386100-2 |
What is the total number of Std SAPs with 0-11 Opt SAPS? | CREATE TABLE "enterprise_class" (
"model" text,
"books_p_us" text,
"if_ls_u_if_ls" text,
"z_aa_ps_z_ii_ps" text,
"ic_fs" text,
"opt_sa_ps" text,
"std_sa_ps" real,
"std_spares" real,
"standard_memory_gb" text,
"flexible_memory_gb" text
); | SELECT COUNT("std_sa_ps") FROM "enterprise_class" WHERE "opt_sa_ps"='0-11'; | 2-15909912-2 |
For Model e64 what is the zAAPs/zIIPs? | CREATE TABLE "enterprise_class" (
"model" text,
"books_p_us" text,
"if_ls_u_if_ls" text,
"z_aa_ps_z_ii_ps" text,
"ic_fs" text,
"opt_sa_ps" text,
"std_sa_ps" real,
"std_spares" real,
"standard_memory_gb" text,
"flexible_memory_gb" text
); | SELECT "z_aa_ps_z_ii_ps" FROM "enterprise_class" WHERE "model"='e64'; | 2-15909912-2 |
For Model e12 what is the IFLs/uIFLs? | CREATE TABLE "enterprise_class" (
"model" text,
"books_p_us" text,
"if_ls_u_if_ls" text,
"z_aa_ps_z_ii_ps" text,
"ic_fs" text,
"opt_sa_ps" text,
"std_sa_ps" real,
"std_spares" real,
"standard_memory_gb" text,
"flexible_memory_gb" text
); | SELECT "if_ls_u_if_ls" FROM "enterprise_class" WHERE "model"='e12'; | 2-15909912-2 |
What is the average Natural Change (Per 1000), when Crude Death Rate (Per 1000) is greater than 13.2, when Deaths is 4,142, and when Natural Change is less than 752? | CREATE TABLE "vital_statistics" (
"average_population_x_1000" real,
"live_births" real,
"deaths" real,
"natural_change" real,
"crude_birth_rate_per_1000" real,
"crude_death_rate_per_1000" real,
"natural_change_per_1000" real
); | SELECT AVG("natural_change_per_1000") FROM "vital_statistics" WHERE "crude_death_rate_per_1000">13.2 AND "deaths"='4,142' AND "natural_change"<752; | 2-1616030-1 |
What is the highest Crude Death Rate (per 1000), when Natural Change (Per 1000) is greater than 16.1, when Natural Change is 5,049, and when Crude Birth Rate (Per 1000) is less than 27.1? | CREATE TABLE "vital_statistics" (
"average_population_x_1000" real,
"live_births" real,
"deaths" real,
"natural_change" real,
"crude_birth_rate_per_1000" real,
"crude_death_rate_per_1000" real,
"natural_change_per_1000" real
); | SELECT MAX("crude_death_rate_per_1000") FROM "vital_statistics" WHERE "natural_change_per_1000">16.1 AND "natural_change"='5,049' AND "crude_birth_rate_per_1000"<27.1; | 2-1616030-1 |
What is the sum of Natural Change, when Natural Change (Per 1000) is greater than 5.4, when Crude Death Rate (Per 1000) is less than 14.3, when Live Births is less than 6,950, and when Crude Birth Rate (Per 1000) is less than 28.2? | CREATE TABLE "vital_statistics" (
"average_population_x_1000" real,
"live_births" real,
"deaths" real,
"natural_change" real,
"crude_birth_rate_per_1000" real,
"crude_death_rate_per_1000" real,
"natural_change_per_1000" real
); | SELECT SUM("natural_change") FROM "vital_statistics" WHERE "natural_change_per_1000">5.4 AND "crude_death_rate_per_1000"<14.3 AND "live_births"<'6,950' AND "crude_birth_rate_per_1000"<28.2; | 2-1616030-1 |
What is the highest Crude Death Rate (Per 1000), when Natural Change (Per 1000) is less than 5.2, when Average Population (x 1000) is 305, when Crude Birth Rate (Per 1000) is 16.1, and when Natural Change is greater than 954? | CREATE TABLE "vital_statistics" (
"average_population_x_1000" real,
"live_births" real,
"deaths" real,
"natural_change" real,
"crude_birth_rate_per_1000" real,
"crude_death_rate_per_1000" real,
"natural_change_per_1000" real
); | SELECT MAX("crude_death_rate_per_1000") FROM "vital_statistics" WHERE "natural_change_per_1000"<5.2 AND "average_population_x_1000"=305 AND "crude_birth_rate_per_1000"=16.1 AND "natural_change">954; | 2-1616030-1 |
What is the lowest Natural Change, when Natural Change (Per 1000) is 19.1, and when Crude Birth Rate (Per 1000) is less than 28.3? | CREATE TABLE "vital_statistics" (
"average_population_x_1000" real,
"live_births" real,
"deaths" real,
"natural_change" real,
"crude_birth_rate_per_1000" real,
"crude_death_rate_per_1000" real,
"natural_change_per_1000" real
); | SELECT MIN("natural_change") FROM "vital_statistics" WHERE "natural_change_per_1000"=19.1 AND "crude_birth_rate_per_1000"<28.3; | 2-1616030-1 |
Which Player has a School/Club Team of Illinois? | CREATE TABLE "c" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
); | SELECT "player" FROM "c" WHERE "school_club_team"='illinois'; | 2-15621965-3 |
Which Player plays Guard-Forward Position for School/Club Team Pepperdine? | CREATE TABLE "c" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
); | SELECT "player" FROM "c" WHERE "position"='guard-forward' AND "school_club_team"='pepperdine'; | 2-15621965-3 |
What Position does the Player Vince Carter hold? | CREATE TABLE "c" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
); | SELECT "position" FROM "c" WHERE "player"='vince carter'; | 2-15621965-3 |
Which School/Club Team does Vince Carter Play for? | CREATE TABLE "c" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
); | SELECT "school_club_team" FROM "c" WHERE "player"='vince carter'; | 2-15621965-3 |
Who is the Player for School/Club Team Illinois? | CREATE TABLE "c" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
); | SELECT "player" FROM "c" WHERE "school_club_team"='illinois'; | 2-15621965-3 |
What score has 7-0 as the result? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "result"='7-0'; | 2-1580245-1 |
What competition has 17-1 as the result? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "international_goals" WHERE "result"='17-1'; | 2-1580245-1 |
What competition has 17-1 as the result? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "international_goals" WHERE "result"='17-1'; | 2-1580245-1 |
What is the set 2 with a 25-23 set 1 and a 17-19 set 5? | CREATE TABLE "results_pool_b" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "set_2" FROM "results_pool_b" WHERE "set_1"='25-23' AND "set_5"='17-19'; | 2-15945725-5 |
What is the set 5 with a 25-23 set 3? | CREATE TABLE "results_pool_b" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "set_5" FROM "results_pool_b" WHERE "set_3"='25-23'; | 2-15945725-5 |
Who had the high pick of the round of 10 for Fairmont State college? | CREATE TABLE "1970_new_york_giants_season" (
"round" real,
"pick" real,
"player" text,
"position" text,
"college" text
); | SELECT MAX("pick") FROM "1970_new_york_giants_season" WHERE "college"='fairmont state' AND "round">10; | 2-15451468-1 |
What was the name of the player for pick 402? | CREATE TABLE "1970_new_york_giants_season" (
"round" real,
"pick" real,
"player" text,
"position" text,
"college" text
); | SELECT "player" FROM "1970_new_york_giants_season" WHERE "pick"=402; | 2-15451468-1 |
What is the date of the week 4 game? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "season_schedule" WHERE "week"=4; | 2-16008156-2 |
What is the result of the game on October 17, 1965? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "season_schedule" WHERE "date"='october 17, 1965'; | 2-16008156-2 |
What is the Rank for Viktors Dobrecovs with less than 325 Matches? | CREATE TABLE "list_of_top_association_football_goal_sc" (
"rank" real,
"name" text,
"years" text,
"matches" real,
"goals" real
); | SELECT AVG("rank") FROM "list_of_top_association_football_goal_sc" WHERE "name"='viktors dobrecovs' AND "matches"<325; | 2-1590321-44 |
What is the number of Matches for Vits Rimkus with a Rank of less than 3? | CREATE TABLE "list_of_top_association_football_goal_sc" (
"rank" real,
"name" text,
"years" text,
"matches" real,
"goals" real
); | SELECT AVG("matches") FROM "list_of_top_association_football_goal_sc" WHERE "name"='vits rimkus' AND "rank"<3; | 2-1590321-44 |
What is the Date for the game at michie stadium • west point, ny? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"location" text,
"result" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "location"='michie stadium • west point, ny'; | 2-15531181-19 |
What is the Opponent when the location was groves stadium • winston-salem, nc, with a result of t 17-17? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"location" text,
"result" text,
"attendance" real
); | SELECT "opponent" FROM "schedule" WHERE "location"='groves stadium • winston-salem, nc' AND "result"='t 17-17'; | 2-15531181-19 |
In 1879-81 with number built 4, what is the LMS nos? | CREATE TABLE "hugh_smellie_1878_1890" (
"class" real,
"date" text,
"builder" text,
"no_built" real,
"1919_nos" text,
"lms_class" text,
"lms_nos" text
); | SELECT "lms_nos" FROM "hugh_smellie_1878_1890" WHERE "date"='1879-81' AND "no_built"=4; | 2-15412381-3 |
On which date was the class 157? | CREATE TABLE "hugh_smellie_1878_1890" (
"class" real,
"date" text,
"builder" text,
"no_built" real,
"1919_nos" text,
"lms_class" text,
"lms_nos" text
); | SELECT "date" FROM "hugh_smellie_1878_1890" WHERE "class"=157; | 2-15412381-3 |
Can you tell me the lowest Ends Lost that has the Locale of norway, and the Blank Ends larger than 17? | CREATE TABLE "standings" (
"locale" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" text
); | SELECT MIN("ends_lost") FROM "standings" WHERE "locale"='norway' AND "blank_ends">17; | 2-1543845-63 |
What was the Margin of Victory of winning score 68-67-69-65=269? | CREATE TABLE "european_tour_wins_19" (
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text
); | SELECT "margin_of_victory" FROM "european_tour_wins_19" WHERE "winning_score"='68-67-69-65=269'; | 2-1569625-1 |
What is the To Par of winning score 71-66-70-67=274? | CREATE TABLE "european_tour_wins_19" (
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text
); | SELECT "to_par" FROM "european_tour_wins_19" WHERE "winning_score"='71-66-70-67=274'; | 2-1569625-1 |
Which tournament had a winning score of 67-61-68-67=263? | CREATE TABLE "european_tour_wins_19" (
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text
); | SELECT "tournament" FROM "european_tour_wins_19" WHERE "winning_score"='67-61-68-67=263'; | 2-1569625-1 |
How many tries for are associated with 5 points and 2 tries against? | CREATE TABLE "league_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "tries_for" FROM "league_table" WHERE "points"='5' AND "tries_against"='2'; | 2-15467476-1 |
What is the losing bonus associated with 0 tries for? | CREATE TABLE "league_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "losing_bonus" FROM "league_table" WHERE "tries_for"='0'; | 2-15467476-1 |
What's the highest against score that drew more than 5, and had more than 18 points? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MAX("against") FROM "campeonato_paulista" WHERE "drawn">5 AND "points">18; | 2-15388428-1 |
What's the number of losses where played was less than 17? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT COUNT("lost") FROM "campeonato_paulista" WHERE "played"<17; | 2-15388428-1 |
What is team ypiranga-sp's average position when they lost by less than 7? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("position") FROM "campeonato_paulista" WHERE "team"='ypiranga-sp' AND "lost"<7; | 2-15388428-1 |
What was the attendance for the game at groves stadium • winston-salem, nc with a result of L 0-14? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"location" text,
"result" text,
"attendance" real
); | SELECT COUNT("attendance") FROM "schedule" WHERE "location"='groves stadium • winston-salem, nc' AND "result"='l 0-14'; | 2-15531181-15 |
Who was the opponent when the result was L 0-14? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"location" text,
"result" text,
"attendance" real
); | SELECT "opponent" FROM "schedule" WHERE "result"='l 0-14'; | 2-15531181-15 |
What is the name of the position of the person whose hometown is Queens, NY? | CREATE TABLE "roster" (
"name" text,
"number" real,
"position" text,
"year" text,
"hometown" text
); | SELECT "position" FROM "roster" WHERE "hometown"='queens, ny'; | 2-16082306-2 |
What is Tim Andree's greatest number? | CREATE TABLE "roster" (
"name" text,
"number" real,
"position" text,
"year" text,
"hometown" text
); | SELECT MAX("number") FROM "roster" WHERE "name"='tim andree'; | 2-16082306-2 |
What is the lowest number of the player with a hometown of Bellwood, IL? | CREATE TABLE "roster" (
"name" text,
"number" real,
"position" text,
"year" text,
"hometown" text
); | SELECT MIN("number") FROM "roster" WHERE "hometown"='bellwood, il'; | 2-16082306-2 |
What is Score, when Attendance is 2,444? | CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text,
"attendance" text
); | SELECT "score" FROM "first_round_proper" WHERE "attendance"='2,444'; | 2-16176509-2 |
What is Home Team, when Tie No is Replay, and when Attendance is 2,048? | CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text,
"attendance" text
); | SELECT "home_team" FROM "first_round_proper" WHERE "tie_no"='replay' AND "attendance"='2,048'; | 2-16176509-2 |
What is Score, when Tie No is 17? | CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text,
"attendance" text
); | SELECT "score" FROM "first_round_proper" WHERE "tie_no"='17'; | 2-16176509-2 |
What is Away Team, when Tie No is 4? | CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text,
"attendance" text
); | SELECT "away_team" FROM "first_round_proper" WHERE "tie_no"='4'; | 2-16176509-2 |
What is Score, when Attendance is 3,416? | CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text,
"attendance" text
); | SELECT "score" FROM "first_round_proper" WHERE "attendance"='3,416'; | 2-16176509-2 |
What is the highest No Result when there were less than 7 losses, and more than 3 away wins, with a success Rate of 50.00%? | CREATE TABLE "overall_results_in_the_ipl" (
"year" text,
"matches" real,
"wins" real,
"losses" real,
"no_result" real,
"success_rate" text,
"away_wins" real,
"away_losses" real
); | SELECT MAX("no_result") FROM "overall_results_in_the_ipl" WHERE "losses">7 AND "away_wins">3 AND "success_rate"='50.00%'; | 2-15861688-4 |
What is the sum of Away Losses with a No Result of more than 0, losses of more than 6, and matches of more than 91? | CREATE TABLE "overall_results_in_the_ipl" (
"year" text,
"matches" real,
"wins" real,
"losses" real,
"no_result" real,
"success_rate" text,
"away_wins" real,
"away_losses" real
); | SELECT SUM("away_losses") FROM "overall_results_in_the_ipl" WHERE "no_result">0 AND "losses">6 AND "matches">91; | 2-15861688-4 |
What is the sum of Wins with a result of 0, and the away wins of 1, and the losses are less than 5? | CREATE TABLE "overall_results_in_the_ipl" (
"year" text,
"matches" real,
"wins" real,
"losses" real,
"no_result" real,
"success_rate" text,
"away_wins" real,
"away_losses" real
); | SELECT SUM("wins") FROM "overall_results_in_the_ipl" WHERE "no_result"=0 AND "away_wins"=1 AND "losses"<5; | 2-15861688-4 |
What stadium was the December 29, 2008 game played at? | CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"city" text,
"television" text,
"conference_matchups" text,
"payout_us" text
); | SELECT "stadium" FROM "bowl_games" WHERE "date"='december 29, 2008'; | 2-16046689-29 |
Which bowl game had a conference matchup of Ohio State vs. Texas? | CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"city" text,
"television" text,
"conference_matchups" text,
"payout_us" text
); | SELECT "bowl_game" FROM "bowl_games" WHERE "conference_matchups"='ohio state vs. texas'; | 2-16046689-29 |
What stadium was the Fiesta Bowl played at? | CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"city" text,
"television" text,
"conference_matchups" text,
"payout_us" text
); | SELECT "stadium" FROM "bowl_games" WHERE "bowl_game"='fiesta bowl'; | 2-16046689-29 |
What was the payout in US dollars at the Insight Bowl? | CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"city" text,
"television" text,
"conference_matchups" text,
"payout_us" text
); | SELECT "payout_us" FROM "bowl_games" WHERE "bowl_game"='insight bowl'; | 2-16046689-29 |
What was the conference matchup in the bowl game with a $3 million payout? | CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"city" text,
"television" text,
"conference_matchups" text,
"payout_us" text
); | SELECT "conference_matchups" FROM "bowl_games" WHERE "payout_us"='$3 million'; | 2-16046689-29 |
What was the conference matchup for the bowl game played in Glendale, Arizona? | CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"city" text,
"television" text,
"conference_matchups" text,
"payout_us" text
); | SELECT "conference_matchups" FROM "bowl_games" WHERE "city"='glendale, arizona'; | 2-16046689-29 |
Which Team has Tries for smaller than 10? | CREATE TABLE "pool_3" (
"team" text,
"tries_for" real,
"tries_against" real,
"try_diff" text,
"points_for" real,
"points_against" real,
"points_diff" text
); | SELECT "team" FROM "pool_3" WHERE "tries_for"<10; | 2-15533691-3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.