question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Which Losses has Scored of 9, and Points larger than 8? | CREATE TABLE "torneo_apertura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
); | SELECT AVG("losses") FROM "torneo_apertura" WHERE "scored"=9 AND "points">8; | 2-16788123-1 |
On Race 14 when the FLap is larger than 1, what is the podium number? | CREATE TABLE "by_season" (
"season" text,
"race" real,
"podium" real,
"pole" real,
"f_lap" real
); | SELECT COUNT("podium") FROM "by_season" WHERE "race"=14 AND "f_lap">1; | 2-16546257-1 |
When the Flap is less than 15 and the podium is larger than 11, what is the pole? | CREATE TABLE "by_season" (
"season" text,
"race" real,
"podium" real,
"pole" real,
"f_lap" real
); | SELECT "pole" FROM "by_season" WHERE "f_lap"<15 AND "podium">11; | 2-16546257-1 |
When the pole is larger than 0 and the podium is less than 44, with a race number less than 16, what is the FLap? | CREATE TABLE "by_season" (
"season" text,
"race" real,
"podium" real,
"pole" real,
"f_lap" real
); | SELECT "f_lap" FROM "by_season" WHERE "pole">0 AND "podium"<44 AND "race"<16; | 2-16546257-1 |
What is the average Week, when Opponent is Minnesota Vikings? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT AVG("week") FROM "schedule" WHERE "opponent"='minnesota vikings'; | 2-16409266-1 |
What is Opponent, when Attendance is 58,836? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "attendance"='58,836'; | 2-16409266-1 |
Which engine of Rob Walker Racing Team has 47 points and F tyres? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"tyres" text,
"points" text
); | SELECT "engine" FROM "complete_formula_one_world_championship_" WHERE "points"='47' AND "tyres"='f' AND "entrant"='rob walker racing team'; | 2-164104-4 |
Which entrant has 49 points and a Mclaren M7A chassis? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"tyres" text,
"points" text
); | SELECT "entrant" FROM "complete_formula_one_world_championship_" WHERE "points"='49' AND "chassis"='mclaren m7a'; | 2-164104-4 |
How many points did Bob Gerard Racing have in 1965? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"tyres" text,
"points" text
); | SELECT "points" FROM "complete_formula_one_world_championship_" WHERE "entrant"='bob gerard racing' AND "year"=1965; | 2-164104-4 |
Which entrant had a Brabham BT10 chassis before 1965? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"tyres" text,
"points" text
); | SELECT "entrant" FROM "complete_formula_one_world_championship_" WHERE "year"<1965 AND "chassis"='brabham bt10'; | 2-164104-4 |
What is the Attendance on September 28, 1997? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "date"='september 28, 1997'; | 2-16778260-2 |
What was the Opponent on August 31, 1997? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "date"='august 31, 1997'; | 2-16778260-2 |
What was the Attendance on Week 10? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "week"=10; | 2-16778260-2 |
How many Points have a Home of pittsburgh, and a Score of 1–7? | CREATE TABLE "final_standings" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
); | SELECT SUM("points") FROM "final_standings" WHERE "home"='pittsburgh' AND "score"='1–7'; | 2-17239112-3 |
Which Visitor has an Attendance larger than 10,959, and Points larger than 24? | CREATE TABLE "final_standings" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "visitor" FROM "final_standings" WHERE "attendance">'10,959' AND "points">24; | 2-17239112-3 |
Which Date has a Record of 7–7–1? | CREATE TABLE "final_standings" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "date" FROM "final_standings" WHERE "record"='7–7–1'; | 2-17239112-3 |
Which Date has a Record of 11–10–2? | CREATE TABLE "final_standings" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "date" FROM "final_standings" WHERE "record"='11–10–2'; | 2-17239112-3 |
Which position had 3 podiums and F/laps of 4? | CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" text,
"wins" text,
"poles" text,
"f_laps" text,
"podiums" text,
"points" text,
"position" text
); | SELECT "position" FROM "career_summary" WHERE "podiums"='3' AND "f_laps"='4'; | 2-1623636-1 |
What is the number of races associated with Team ASM and 0 poles? | CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" text,
"wins" text,
"poles" text,
"f_laps" text,
"podiums" text,
"points" text,
"position" text
); | SELECT "races" FROM "career_summary" WHERE "poles"='0' AND "team"='asm'; | 2-1623636-1 |
Which team had 1 race, 1 F/lap and in the series 24 hours of Nurburgring? | CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" text,
"wins" text,
"poles" text,
"f_laps" text,
"podiums" text,
"points" text,
"position" text
); | SELECT "team" FROM "career_summary" WHERE "races"='1' AND "f_laps"='1' AND "series"='24 hours of nurburgring'; | 2-1623636-1 |
What is the number of podiums associated with 4 wins? | CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" text,
"wins" text,
"poles" text,
"f_laps" text,
"podiums" text,
"points" text,
"position" text
); | SELECT "podiums" FROM "career_summary" WHERE "wins"='4'; | 2-1623636-1 |
What is the number of races associated with 7 podiums and a position of 4th? | CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" text,
"wins" text,
"poles" text,
"f_laps" text,
"podiums" text,
"points" text,
"position" text
); | SELECT "races" FROM "career_summary" WHERE "position"='4th' AND "podiums"='7'; | 2-1623636-1 |
What is the F/Laps value associated with a position of 3rd? | CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" text,
"wins" text,
"poles" text,
"f_laps" text,
"podiums" text,
"points" text,
"position" text
); | SELECT "f_laps" FROM "career_summary" WHERE "position"='3rd'; | 2-1623636-1 |
Can you tell me the Opponent that has the Time of 0:20? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "time"='0:20'; | 2-17429389-2 |
Can you tell me the Time that has the Opponent of phil baroni? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "time" FROM "mixed_martial_arts_record" WHERE "opponent"='phil baroni'; | 2-17429389-2 |
Can you tell me the lowest Round that has the Location of indiana, united states, and the Method of submission (guillotine choke)? | 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 "location"='indiana, united states' AND "method"='submission (guillotine choke)'; | 2-17429389-2 |
When was la vista built? | CREATE TABLE "see_also" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
); | SELECT "built" FROM "see_also" WHERE "location"='la vista'; | 2-17278190-1 |
When was the sargent bridge built? | CREATE TABLE "see_also" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
); | SELECT "built" FROM "see_also" WHERE "name"='sargent bridge'; | 2-17278190-1 |
What's the location for the country of platte? | CREATE TABLE "see_also" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
); | SELECT "location" FROM "see_also" WHERE "county"='platte'; | 2-17278190-1 |
what is the listing date for nuckolls county? | CREATE TABLE "see_also" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
); | SELECT "listed" FROM "see_also" WHERE "county"='nuckolls'; | 2-17278190-1 |
what's the listing date for the verdigris creek bridge in royal of antelope county? | CREATE TABLE "see_also" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
); | SELECT "listed" FROM "see_also" WHERE "county"='antelope' AND "location"='royal' AND "name"='verdigris creek bridge'; | 2-17278190-1 |
what's the county name for the republican river bridge listed on 1992-06-29? | CREATE TABLE "see_also" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
); | SELECT "county" FROM "see_also" WHERE "listed"='1992-06-29' AND "name"='republican river bridge'; | 2-17278190-1 |
what is the country when the money ($) is more than 3,600 and player is tom watson? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "country" FROM "final_round" WHERE "money">'3,600' AND "player"='tom watson'; | 2-16456989-5 |
what is the to par when the place is t10 and the score is 72-74-71-69=286? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "to_par" FROM "final_round" WHERE "place"='t10' AND "score"='72-74-71-69=286'; | 2-16456989-5 |
what is the to par when the player is hale irwin? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "to_par" FROM "final_round" WHERE "player"='hale irwin'; | 2-16456989-5 |
what is the to par for Dave hill? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "to_par" FROM "final_round" WHERE "player"='dave hill'; | 2-16456989-5 |
what is the place when the score is 68-67-73-68=276? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "place" FROM "final_round" WHERE "score"='68-67-73-68=276'; | 2-16456989-5 |
Can you tell me the Date that has the Week smaller than 13, and the Opponent of green bay packers? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "week"<13 AND "opponent"='green bay packers'; | 2-16678283-1 |
Can you tell me the average Attendance that has the Opponent of new orleans saints, and the Week larger than 12? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT AVG("attendance") FROM "schedule" WHERE "opponent"='new orleans saints' AND "week">12; | 2-16678283-1 |
Can you tell me the Attendance that has the Opponent of new york giants? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "attendance" FROM "schedule" WHERE "opponent"='new york giants'; | 2-16678283-1 |
What is the density (hab/km²) with a population censo 2007(hab) of 336.293*? | CREATE TABLE "demographics" (
"municipalities_of_the_city" text,
"area_km" text,
"population_censo_2007_hab" text,
"population_under_1_year_old_censo_2007_hab" text,
"households_2007" text,
"density_hab_km" text,
"elevation_msnm" text
); | SELECT "density_hab_km" FROM "demographics" WHERE "population_censo_2007_hab"='336.293*'; | 2-1704094-1 |
What is the under 1 year-old Censo 2007(hab) population with a population censo 2007(hab) of 112.054*? | CREATE TABLE "demographics" (
"municipalities_of_the_city" text,
"area_km" text,
"population_censo_2007_hab" text,
"population_under_1_year_old_censo_2007_hab" text,
"households_2007" text,
"density_hab_km" text,
"elevation_msnm" text
); | SELECT "population_under_1_year_old_censo_2007_hab" FROM "demographics" WHERE "population_censo_2007_hab"='112.054*'; | 2-1704094-1 |
What is the density (hab/km²) with a population under 1 year-old censo 2007(hab) of * data from the census taken by the Inei? | CREATE TABLE "demographics" (
"municipalities_of_the_city" text,
"area_km" text,
"population_censo_2007_hab" text,
"population_under_1_year_old_censo_2007_hab" text,
"households_2007" text,
"density_hab_km" text,
"elevation_msnm" text
); | SELECT "density_hab_km" FROM "demographics" WHERE "population_under_1_year_old_censo_2007_hab"='* data from the census taken by the inei'; | 2-1704094-1 |
What is the elevation msnm for a population censo 2007(hab) of 77.392*? | CREATE TABLE "demographics" (
"municipalities_of_the_city" text,
"area_km" text,
"population_censo_2007_hab" text,
"population_under_1_year_old_censo_2007_hab" text,
"households_2007" text,
"density_hab_km" text,
"elevation_msnm" text
); | SELECT "elevation_msnm" FROM "demographics" WHERE "population_censo_2007_hab"='77.392*'; | 2-1704094-1 |
What's the report about townsville crocodiles as an away team? | CREATE TABLE "round_13" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"crowd" real,
"box_score" text,
"report" text
); | SELECT "report" FROM "round_13" WHERE "away_team"='townsville crocodiles'; | 2-16653153-20 |
What's the record of game 67? | CREATE TABLE "schedule_and_results" (
"game" real,
"march" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "record" FROM "schedule_and_results" WHERE "game"=67; | 2-17323274-7 |
What's the score of the game against the Boston Bruins and after game 68? | CREATE TABLE "schedule_and_results" (
"game" real,
"march" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "score" FROM "schedule_and_results" WHERE "game">68 AND "opponent"='boston bruins'; | 2-17323274-7 |
what is the natural change (per 1000) when the crude death rate (per 1000) is 10? | CREATE TABLE "births_and_deaths" (
"average_population_x_1000" text,
"live_births_1" text,
"deaths_1" text,
"natural_change_1" text,
"crude_birth_rate_per_1000" real,
"crude_death_rate_per_1000" real,
"natural_change_per_1000" real
); | SELECT "natural_change_per_1000" FROM "births_and_deaths" WHERE "crude_death_rate_per_1000"=10; | 2-16645-2 |
what is the crude birth rate (per 1000) when the live births 1 is 356 013? | CREATE TABLE "births_and_deaths" (
"average_population_x_1000" text,
"live_births_1" text,
"deaths_1" text,
"natural_change_1" text,
"crude_birth_rate_per_1000" real,
"crude_death_rate_per_1000" real,
"natural_change_per_1000" real
); | SELECT SUM("crude_birth_rate_per_1000") FROM "births_and_deaths" WHERE "live_births_1"='356 013'; | 2-16645-2 |
what is the natural change (per 1000) when the live births 1 is 278 977? | CREATE TABLE "births_and_deaths" (
"average_population_x_1000" text,
"live_births_1" text,
"deaths_1" text,
"natural_change_1" text,
"crude_birth_rate_per_1000" real,
"crude_death_rate_per_1000" real,
"natural_change_per_1000" real
); | SELECT "natural_change_per_1000" FROM "births_and_deaths" WHERE "live_births_1"='278 977'; | 2-16645-2 |
Which Player has a To par of e, and a Country of united states? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "player" FROM "first_round" WHERE "to_par"='e' AND "country"='united states'; | 2-16514508-1 |
Which Place has a Score smaller than 72, and a To par of −1, and a Country of spain? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "place" FROM "first_round" WHERE "score"<72 AND "to_par"='−1' AND "country"='spain'; | 2-16514508-1 |
What was john huston's score? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "score" FROM "first_round" WHERE "player"='john huston'; | 2-16514508-1 |
What was willie wood's to par? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "to_par" FROM "first_round" WHERE "player"='willie wood'; | 2-16514508-1 |
What is the Prize amount of Winner Dominik Nitsche? | CREATE TABLE "season_2" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
); | SELECT "prize" FROM "season_2" WHERE "winner"='dominik nitsche'; | 2-17282079-2 |
What is the Winner of the Event in Nuevo Vallarta? | CREATE TABLE "season_2" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
); | SELECT "winner" FROM "season_2" WHERE "city"='nuevo vallarta'; | 2-17282079-2 |
What is the Date of the Event in Punta del Este? | CREATE TABLE "season_2" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
); | SELECT "date" FROM "season_2" WHERE "city"='punta del este'; | 2-17282079-2 |
What is the Date of the Event with a Prize of $141,426? | CREATE TABLE "season_2" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
); | SELECT "date" FROM "season_2" WHERE "prize"='$141,426'; | 2-17282079-2 |
What is the title of ahaziah? | CREATE TABLE "list_of_state_leaders_in_840s_bc" (
"type" text,
"name" text,
"title" text,
"royal_house" text,
"from" text
); | SELECT "title" FROM "list_of_state_leaders_in_840s_bc" WHERE "name"='ahaziah'; | 2-17337904-7 |
What is the type of the king title? | CREATE TABLE "list_of_state_leaders_in_840s_bc" (
"type" text,
"name" text,
"title" text,
"royal_house" text,
"from" text
); | SELECT "type" FROM "list_of_state_leaders_in_840s_bc" WHERE "title"='king'; | 2-17337904-7 |
What is the name of the queen regnant? | CREATE TABLE "list_of_state_leaders_in_840s_bc" (
"type" text,
"name" text,
"title" text,
"royal_house" text,
"from" text
); | SELECT "name" FROM "list_of_state_leaders_in_840s_bc" WHERE "title"='queen regnant'; | 2-17337904-7 |
What is the total number of Grid, when Rider is Aleix Espargaro? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT COUNT("grid") FROM "250cc_classification" WHERE "rider"='aleix espargaro'; | 2-16193402-2 |
What is the Rider, when Grid is less than 16, when Manufacturer is Aprilia, and when Time is +28.288? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "rider" FROM "250cc_classification" WHERE "grid"<16 AND "manufacturer"='aprilia' AND "time"='+28.288'; | 2-16193402-2 |
What is the average Laps, when Grid is 15? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT AVG("laps") FROM "250cc_classification" WHERE "grid"=15; | 2-16193402-2 |
What is the Manufacturer, when Laps is 26, and when Rider is Aleix Espargaro? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "manufacturer" FROM "250cc_classification" WHERE "laps"=26 AND "rider"='aleix espargaro'; | 2-16193402-2 |
What is Home Team, when Date is "13 March 1985", and when Tie No is "1"? | CREATE TABLE "sixth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "home_team" FROM "sixth_round_proper" WHERE "date"='13 march 1985' AND "tie_no"='1'; | 2-17438338-6 |
What is Date, when Away Team is "Ipswich Town"? | CREATE TABLE "sixth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "date" FROM "sixth_round_proper" WHERE "away_team"='ipswich town'; | 2-17438338-6 |
What is Tie No, when Away Team is "Millwall"? | CREATE TABLE "sixth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "tie_no" FROM "sixth_round_proper" WHERE "away_team"='millwall'; | 2-17438338-6 |
What is Score, when Date is "13 March 1985", and when Away Team is "Millwall"? | CREATE TABLE "sixth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "score" FROM "sixth_round_proper" WHERE "date"='13 march 1985' AND "away_team"='millwall'; | 2-17438338-6 |
What is Date, when Away Team is "Liverpool"? | CREATE TABLE "sixth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "date" FROM "sixth_round_proper" WHERE "away_team"='liverpool'; | 2-17438338-6 |
What is Score, when Home Team is "Manchester United"? | CREATE TABLE "sixth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "score" FROM "sixth_round_proper" WHERE "home_team"='manchester united'; | 2-17438338-6 |
What is Team, when High Rebounds is "Carl Landry (11)"? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "team" FROM "game_log" WHERE "high_rebounds"='carl landry (11)'; | 2-17288825-6 |
What is Location Attendance, when High Assists is "Rafer Alston (7)", and when High Rebounds is "Yao Ming (13)"? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "game_log" WHERE "high_assists"='rafer alston (7)' AND "high_rebounds"='yao ming (13)'; | 2-17288825-6 |
What is Score, when Team is "@ Memphis"? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "team"='@ memphis'; | 2-17288825-6 |
What is the result of the ajc craven plate (wfa) race? | CREATE TABLE "1929_30_season_as_a_three_year_old" (
"result" text,
"race" text,
"distance" text,
"weight" real,
"winner_or_2nd" text,
"pos_n" text
); | SELECT "result" FROM "1929_30_season_as_a_three_year_old" WHERE "race"='ajc craven plate (wfa)'; | 2-174003-2 |
What is the distance of the race with amounis as the winner or 2nd and a 2nd pos'n? | CREATE TABLE "1929_30_season_as_a_three_year_old" (
"result" text,
"race" text,
"distance" text,
"weight" real,
"winner_or_2nd" text,
"pos_n" text
); | SELECT "distance" FROM "1929_30_season_as_a_three_year_old" WHERE "winner_or_2nd"='amounis' AND "pos_n"='2nd'; | 2-174003-2 |
What is the result of the sajc king's cup race, which has a weight heavier than 8.1? | CREATE TABLE "1929_30_season_as_a_three_year_old" (
"result" text,
"race" text,
"distance" text,
"weight" real,
"winner_or_2nd" text,
"pos_n" text
); | SELECT "result" FROM "1929_30_season_as_a_three_year_old" WHERE "weight">8.1 AND "race"='sajc king''s cup'; | 2-174003-2 |
What is the winner or 2nd of the race with a 2nd pos'n and a weight lighter than 8.1? | CREATE TABLE "1929_30_season_as_a_three_year_old" (
"result" text,
"race" text,
"distance" text,
"weight" real,
"winner_or_2nd" text,
"pos_n" text
); | SELECT "winner_or_2nd" FROM "1929_30_season_as_a_three_year_old" WHERE "pos_n"='2nd' AND "weight"<8.1; | 2-174003-2 |
What is the sum of the weight of the race with a 1st pos'n and a 8f distance? | CREATE TABLE "1929_30_season_as_a_three_year_old" (
"result" text,
"race" text,
"distance" text,
"weight" real,
"winner_or_2nd" text,
"pos_n" text
); | SELECT SUM("weight") FROM "1929_30_season_as_a_three_year_old" WHERE "pos_n"='1st' AND "distance"='8f'; | 2-174003-2 |
What is the race with a 10f distance and mollison as the winner or 2nd? | CREATE TABLE "1929_30_season_as_a_three_year_old" (
"result" text,
"race" text,
"distance" text,
"weight" real,
"winner_or_2nd" text,
"pos_n" text
); | SELECT "race" FROM "1929_30_season_as_a_three_year_old" WHERE "distance"='10f' AND "winner_or_2nd"='mollison'; | 2-174003-2 |
What is the highest number of Bush with a 32.40% Bush % and a total less than 5,126? | CREATE TABLE "by_county" (
"county" text,
"total" real,
"gorenum" real,
"gorepct" text,
"bushnum" real,
"bushpct" text,
"othersnum" real,
"otherspct" text
); | SELECT MAX("bushnum") FROM "by_county" WHERE "bushpct"='32.40%' AND "total"<'5,126'; | 2-17345901-1 |
What is the location and attendance when the score as w 117–109 (ot)? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "game_log" WHERE "score"='w 117–109 (ot)'; | 2-17322817-5 |
What were the last 10 meetings when the opponent's venue was mu, 11-7? | CREATE TABLE "record_vs_other_opponents_at_least_15_ga" (
"missouri_vs" text,
"overall_record" text,
"at_columbia" text,
"at_opponent_s_venue" text,
"at_neutral_site" text,
"last_5_meetings" text,
"last_10_meetings" text,
"current_streak" text
); | SELECT "last_10_meetings" FROM "record_vs_other_opponents_at_least_15_ga" WHERE "at_opponent_s_venue"='mu, 11-7'; | 2-16201038-4 |
What were the last 5 meetings when Columbia was mu, 4-2? | CREATE TABLE "record_vs_other_opponents_at_least_15_ga" (
"missouri_vs" text,
"overall_record" text,
"at_columbia" text,
"at_opponent_s_venue" text,
"at_neutral_site" text,
"last_5_meetings" text,
"last_10_meetings" text,
"current_streak" text
); | SELECT "last_5_meetings" FROM "record_vs_other_opponents_at_least_15_ga" WHERE "at_columbia"='mu, 4-2'; | 2-16201038-4 |
What is the total number of rounds at 5:36? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text
); | SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "time"='5:36'; | 2-17445673-2 |
What is the total number of rounds with a 4-0 record? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text
); | SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "record"='4-0'; | 2-17445673-2 |
Which district is in the province of Piura? | CREATE TABLE "by_population" (
"province" text,
"population" real,
"region" text,
"name_of_city" text,
"districts" real
); | SELECT "districts" FROM "by_population" WHERE "province"='piura'; | 2-1672804-2 |
What is the population of Chimbote? | CREATE TABLE "by_population" (
"province" text,
"population" real,
"region" text,
"name_of_city" text,
"districts" real
); | SELECT SUM("population") FROM "by_population" WHERE "name_of_city"='chimbote'; | 2-1672804-2 |
What is the result of the game that was played at Detroit Lions? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "opponent"='at detroit lions'; | 2-16678369-2 |
What series number was directed by milan cheylov and written by will dixon? | CREATE TABLE "season_1_1996_97" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
); | SELECT AVG("series_num") FROM "season_1_1996_97" WHERE "directed_by"='milan cheylov' AND "written_by"='will dixon'; | 2-16471432-2 |
What series # had an original air date of november 30, 1996? | CREATE TABLE "season_1_1996_97" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
); | SELECT MIN("series_num") FROM "season_1_1996_97" WHERE "original_air_date"='november 30, 1996'; | 2-16471432-2 |
What was part 4 when part 3 was *hleupun? | CREATE TABLE "northwest_germanic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text
); | SELECT "part_4" FROM "northwest_germanic" WHERE "part_3"='*hleupun'; | 2-1745843-4 |
What was the class when part 2 was *hēt? | CREATE TABLE "northwest_germanic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text
); | SELECT "class" FROM "northwest_germanic" WHERE "part_2"='*hēt'; | 2-1745843-4 |
What was the class when part 4 was *rādanaz? | CREATE TABLE "northwest_germanic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text
); | SELECT "class" FROM "northwest_germanic" WHERE "part_4"='*rādanaz'; | 2-1745843-4 |
What was part 2 when part 4 was *blōtanaz? | CREATE TABLE "northwest_germanic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text
); | SELECT "part_2" FROM "northwest_germanic" WHERE "part_4"='*blōtanaz'; | 2-1745843-4 |
What was part 2 when part 4 was *haldanaz? | CREATE TABLE "northwest_germanic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text
); | SELECT "part_2" FROM "northwest_germanic" WHERE "part_4"='*haldanaz'; | 2-1745843-4 |
What was the class when part 3 was *heldun? | CREATE TABLE "northwest_germanic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text
); | SELECT "class" FROM "northwest_germanic" WHERE "part_3"='*heldun'; | 2-1745843-4 |
What is the Round din Ullevaal? | CREATE TABLE "royal_league_2005" (
"date" text,
"venue" text,
"opponents" text,
"score" text,
"round" text
); | SELECT "round" FROM "royal_league_2005" WHERE "venue"='ullevaal'; | 2-16514823-5 |
What Round is in Ullevaal? | CREATE TABLE "royal_league_2005" (
"date" text,
"venue" text,
"opponents" text,
"score" text,
"round" text
); | SELECT "round" FROM "royal_league_2005" WHERE "venue"='ullevaal'; | 2-16514823-5 |
In what Venue was the Score 1-1? | CREATE TABLE "royal_league_2005" (
"date" text,
"venue" text,
"opponents" text,
"score" text,
"round" text
); | SELECT "venue" FROM "royal_league_2005" WHERE "score"='1-1'; | 2-16514823-5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.