question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What is the away team's score at punt road oval? | CREATE TABLE "round_14" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_14" WHERE "venue"='punt road oval'; | 2-10809351-14 |
Who was the home team at the Nuggets game that had a score of 116–105? | CREATE TABLE "december" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" real,
"record" text
); | SELECT "home" FROM "december" WHERE "score"='116–105'; | 2-11963735-4 |
Tell me the lowest Laps with a time/retired of +2 Laps and Grid of 20 | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MIN("laps") FROM "race" WHERE "time_retired"='+2 laps' AND "grid"=20; | 2-1123237-2 |
I want the time/retired for eddie irvine | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "race" WHERE "driver"='eddie irvine'; | 2-1123237-2 |
What date was Rodger Ward the winning driver? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "date" FROM "season_review" WHERE "winning_driver"='rodger ward'; | 2-1140108-1 |
What was the constructor when Jack Brabham was the driver at the Monaco Grand Prix? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "constructor" FROM "season_review" WHERE "winning_driver"='jack brabham' AND "race"='monaco grand prix'; | 2-1140108-1 |
What driver was the winner when Joakim Bonnier was in the Pole Position? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "winning_driver" FROM "season_review" WHERE "pole_position"='joakim bonnier'; | 2-1140108-1 |
What date was the Tyre d and Bruce Mclaren won? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "date" FROM "season_review" WHERE "tyre"='d' AND "winning_driver"='bruce mclaren'; | 2-1140108-1 |
What date was Joakim Bonnier in the pole position? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "date" FROM "season_review" WHERE "pole_position"='joakim bonnier'; | 2-1140108-1 |
What is the time for the racer on grid 19? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "classification" WHERE "grid"=19; | 2-1122080-1 |
Who made the car that Alberto Ascari went more than 35 laps on a grid less than 7? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "constructor" FROM "classification" WHERE "grid"<7 AND "laps">35 AND "driver"='alberto ascari'; | 2-1122080-1 |
What driver raced for more than 9 laps on grid 7? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "driver" FROM "classification" WHERE "laps">9 AND "grid"=7; | 2-1122080-1 |
What is the Riding of the candidate Patricia Cordner who gained 7,190 votes? | CREATE TABLE "14_seats" (
"riding" text,
"candidate" text,
"gender" text,
"residence" text,
"occupation" text,
"votes" real,
"rank" text
); | SELECT "riding" FROM "14_seats" WHERE "votes">'7,190' AND "candidate"='patricia cordner'; | 2-10953705-9 |
Which License has an Actual Vaersion of 9.0? | CREATE TABLE "list_of_computer_system_emulators" (
"name" text,
"actual_version" text,
"system" text,
"platform" text,
"license" text
); | SELECT "license" FROM "list_of_computer_system_emulators" WHERE "actual_version"='9.0'; | 2-11561331-17 |
Which System has an Actual Version 9.0? | CREATE TABLE "list_of_computer_system_emulators" (
"name" text,
"actual_version" text,
"system" text,
"platform" text,
"license" text
); | SELECT "system" FROM "list_of_computer_system_emulators" WHERE "actual_version"='9.0'; | 2-11561331-17 |
Which System's Name is Gemulator? | CREATE TABLE "list_of_computer_system_emulators" (
"name" text,
"actual_version" text,
"system" text,
"platform" text,
"license" text
); | SELECT "system" FROM "list_of_computer_system_emulators" WHERE "name"='gemulator'; | 2-11561331-17 |
Which System's Name is Steem, and has a Freeware License? | CREATE TABLE "list_of_computer_system_emulators" (
"name" text,
"actual_version" text,
"system" text,
"platform" text,
"license" text
); | SELECT "system" FROM "list_of_computer_system_emulators" WHERE "license"='freeware' AND "name"='steem'; | 2-11561331-17 |
What was the Lightning's record at their home game against Carolina with an attendance over 16,526 and a decision of Holmqvist? | CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "november" WHERE "decision"='holmqvist' AND "attendance">'16,526' AND "visitor"='carolina'; | 2-11766617-4 |
What was the date of the game when the Lightning had a record of 10–13–2? | CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "november" WHERE "record"='10–13–2'; | 2-11766617-4 |
What was the date of the game when the Lightning had a record of 9–8–1? | CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "november" WHERE "record"='9–8–1'; | 2-11766617-4 |
What was the decision of the game when the Lightning had a record of 6–8–1? | CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "decision" FROM "november" WHERE "record"='6–8–1'; | 2-11766617-4 |
What pick was Dominic Uy? | CREATE TABLE "round_4" (
"pick" real,
"player" text,
"country_of_origin" text,
"pba_team" text,
"college" text
); | SELECT AVG("pick") FROM "round_4" WHERE "player"='dominic uy'; | 2-10791466-5 |
What college did pick 33 attend? | CREATE TABLE "round_4" (
"pick" real,
"player" text,
"country_of_origin" text,
"pba_team" text,
"college" text
); | SELECT "college" FROM "round_4" WHERE "pick"=33; | 2-10791466-5 |
What is the elevation of the city with a number of 91,385 Housing dwellings in 2007? | CREATE TABLE "population_by_district" (
"city_district" text,
"area_km" text,
"population_2007_census_hab" text,
"housing_2007" text,
"density_hab_km" text,
"elevation_msl" text
); | SELECT "elevation_msl" FROM "population_by_district" WHERE "housing_2007"='91,385'; | 2-10877159-1 |
What is the density of San Sebastián? | CREATE TABLE "population_by_district" (
"city_district" text,
"area_km" text,
"population_2007_census_hab" text,
"housing_2007" text,
"density_hab_km" text,
"elevation_msl" text
); | SELECT "density_hab_km" FROM "population_by_district" WHERE "city_district"='san sebastián'; | 2-10877159-1 |
What is the density of the city with an elevation of 3,400 msl? | CREATE TABLE "population_by_district" (
"city_district" text,
"area_km" text,
"population_2007_census_hab" text,
"housing_2007" text,
"density_hab_km" text,
"elevation_msl" text
); | SELECT "density_hab_km" FROM "population_by_district" WHERE "elevation_msl"='3,400 msl'; | 2-10877159-1 |
What is the area of the city with a density of 8,546.1? | CREATE TABLE "population_by_district" (
"city_district" text,
"area_km" text,
"population_2007_census_hab" text,
"housing_2007" text,
"density_hab_km" text,
"elevation_msl" text
); | SELECT "area_km" FROM "population_by_district" WHERE "density_hab_km"='8,546.1'; | 2-10877159-1 |
What is the area of the city with a density of 955.6? | CREATE TABLE "population_by_district" (
"city_district" text,
"area_km" text,
"population_2007_census_hab" text,
"housing_2007" text,
"density_hab_km" text,
"elevation_msl" text
); | SELECT "area_km" FROM "population_by_district" WHERE "density_hab_km"='955.6'; | 2-10877159-1 |
What is the density of San Sebastián? | CREATE TABLE "population_by_district" (
"city_district" text,
"area_km" text,
"population_2007_census_hab" text,
"housing_2007" text,
"density_hab_km" text,
"elevation_msl" text
); | SELECT "density_hab_km" FROM "population_by_district" WHERE "city_district"='san sebastián'; | 2-10877159-1 |
Which Result has a Category of best book of a musical? | CREATE TABLE "original_broadway_production" (
"year" real,
"award_ceremony" text,
"category" text,
"nominee" text,
"result" text
); | SELECT "result" FROM "original_broadway_production" WHERE "category"='best book of a musical'; | 2-11380393-2 |
Which Nominee has a Category of outstanding musical? | CREATE TABLE "original_broadway_production" (
"year" real,
"award_ceremony" text,
"category" text,
"nominee" text,
"result" text
); | SELECT "nominee" FROM "original_broadway_production" WHERE "category"='outstanding musical'; | 2-11380393-2 |
What is the record time at the Nascar Camping World Truck Series? | CREATE TABLE "track_records" (
"record" text,
"date" text,
"driver" text,
"time" text,
"speed_avg_speed" text
); | SELECT "time" FROM "track_records" WHERE "record"='nascar camping world truck series'; | 2-1184821-1 |
What date was the nascar nationwide series held? | CREATE TABLE "track_records" (
"record" text,
"date" text,
"driver" text,
"time" text,
"speed_avg_speed" text
); | SELECT "record" FROM "track_records" WHERE "date"='nascar nationwide series'; | 2-1184821-1 |
Who holds the record time of 24.521 and where was it made? | CREATE TABLE "track_records" (
"record" text,
"date" text,
"driver" text,
"time" text,
"speed_avg_speed" text
); | SELECT "record" FROM "track_records" WHERE "time"='24.521'; | 2-1184821-1 |
Which time/retired has a grid of 9? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "time_retired" FROM "race" WHERE "grid"='9'; | 2-1122075-2 |
Which driver's grid is 6? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "driver" FROM "race" WHERE "grid"='6'; | 2-1122075-2 |
For which constructor does Juan Manuel Fangio drive? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "constructor" FROM "race" WHERE "driver"='juan manuel fangio'; | 2-1122075-2 |
Which laps has a grid of 8? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "laps" FROM "race" WHERE "grid"='8'; | 2-1122075-2 |
Which grid is constructed by Maserati and driven by Oscar Alfredo Gálvez? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "grid" FROM "race" WHERE "constructor"='maserati' AND "driver"='oscar alfredo gálvez'; | 2-1122075-2 |
what was the engine when ken downing drove an entrant from connaught engineering? | CREATE TABLE "teams_and_drivers" (
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text,
"driver" text,
"rounds" text
); | SELECT "engine" FROM "teams_and_drivers" WHERE "driver"='ken downing' AND "entrant"='connaught engineering'; | 2-1140116-2 |
who built the car driven by eric brandon? | CREATE TABLE "teams_and_drivers" (
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text,
"driver" text,
"rounds" text
); | SELECT "constructor" FROM "teams_and_drivers" WHERE "driver"='eric brandon'; | 2-1140116-2 |
what was the chassis built by simca-gordini and driven by max de terra? | CREATE TABLE "teams_and_drivers" (
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text,
"driver" text,
"rounds" text
); | SELECT "chassis" FROM "teams_and_drivers" WHERE "constructor"='simca-gordini' AND "driver"='max de terra'; | 2-1140116-2 |
kenneth mcalpine drove from which entrant? | CREATE TABLE "teams_and_drivers" (
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text,
"driver" text,
"rounds" text
); | SELECT "entrant" FROM "teams_and_drivers" WHERE "driver"='kenneth mcalpine'; | 2-1140116-2 |
with 6 rounds, and a 52 51/52 chassis, who is the driver? | CREATE TABLE "teams_and_drivers" (
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text,
"driver" text,
"rounds" text
); | SELECT "driver" FROM "teams_and_drivers" WHERE "rounds"='6' AND "chassis"='52 51/52'; | 2-1140116-2 |
What was the attendance when the Braves were the opponent and the record was 56-53? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT AVG("attendance") FROM "game_log" WHERE "opponent"='braves' AND "record"='56-53'; | 2-11867642-6 |
Who was the opponent when the record was 61-57? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "record"='61-57'; | 2-11867642-6 |
How many laps for jochen rindt? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT COUNT("laps") FROM "classification" WHERE "driver"='jochen rindt'; | 2-1122405-1 |
What is the grid total for jean-pierre beltoise? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT COUNT("grid") FROM "classification" WHERE "driver"='jean-pierre beltoise'; | 2-1122405-1 |
What was the time for the event in which Tony Mendoza was the opponent? | 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"='tony mendoza'; | 2-11196878-2 |
What is the average lap time for retired time of +23.707 and a Grid greater than 21? | CREATE TABLE "125cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT AVG("laps") FROM "125cc_classification" WHERE "time_retired"='+23.707' AND "grid">21; | 2-11842413-3 |
When the away team scored 9.8 (62) what was the crowd turnout? | CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "crowd" FROM "round_8" WHERE "away_team_score"='9.8 (62)'; | 2-10887379-8 |
Which home team plays at victoria park? | CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "round_8" WHERE "venue"='victoria park'; | 2-10887379-8 |
Tell me the lowest avg for 6 yards and rec more than 1 | CREATE TABLE "wide_receivers" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT MIN("avg") FROM "wide_receivers" WHERE "yards"=6 AND "rec">1; | 2-11710574-5 |
Name the sum of long for avg more than 9.8 with rec less than 5 and yards less than 20 | CREATE TABLE "wide_receivers" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT SUM("long") FROM "wide_receivers" WHERE "avg">9.8 AND "rec"<5 AND "yards"<20; | 2-11710574-5 |
Name the sum of long for avg less than 6 and rec less than 2 | CREATE TABLE "wide_receivers" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT SUM("long") FROM "wide_receivers" WHERE "avg"<6 AND "rec"<2; | 2-11710574-5 |
Name the average TD's for andy mccullough with yards less than 434 | CREATE TABLE "wide_receivers" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT AVG("td_s") FROM "wide_receivers" WHERE "player"='andy mccullough' AND "yards"<434; | 2-11710574-5 |
Name the lelast decile for roll of 428 | CREATE TABLE "waitemata_local_board" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT MIN("decile") FROM "waitemata_local_board" WHERE "roll"=428; | 2-12017602-11 |
Name the most decile for roll of 428 | CREATE TABLE "waitemata_local_board" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT MAX("decile") FROM "waitemata_local_board" WHERE "roll"=428; | 2-12017602-11 |
What's the highest year than hawthorn won with a season result of preliminary finalist and a crowd smaller than 27,407? | CREATE TABLE "night_series_winners_1977_1987" (
"year" real,
"winners" text,
"grand_finalist" text,
"scores" text,
"venue" text,
"crowd" real,
"margin" real,
"season_result" text
); | SELECT MAX("year") FROM "night_series_winners_1977_1987" WHERE "winners"='hawthorn' AND "season_result"='preliminary finalist' AND "crowd"<'27,407'; | 2-1139835-3 |
What scores did grand finalist hawthorn have? | CREATE TABLE "night_series_winners_1977_1987" (
"year" real,
"winners" text,
"grand_finalist" text,
"scores" text,
"venue" text,
"crowd" real,
"margin" real,
"season_result" text
); | SELECT "scores" FROM "night_series_winners_1977_1987" WHERE "grand_finalist"='hawthorn'; | 2-1139835-3 |
What grand finalist had a year after 1979, a margin smaller than 30, and winners of essendon? | CREATE TABLE "night_series_winners_1977_1987" (
"year" real,
"winners" text,
"grand_finalist" text,
"scores" text,
"venue" text,
"crowd" real,
"margin" real,
"season_result" text
); | SELECT "grand_finalist" FROM "night_series_winners_1977_1987" WHERE "year">1979 AND "margin"<30 AND "winners"='essendon'; | 2-1139835-3 |
Tell me the sum of number of jamaicans given british citizenship for 2004 and registration of a minor child more than 640 | CREATE TABLE "population_and_distribution" (
"year" real,
"numer_of_jamaicans_granted_british_citizenship" real,
"naturalisation_by_residence" real,
"naturalisation_by_marriage" real,
"registration_of_a_minor_child" real,
"registration_by_other_means" real
); | SELECT SUM("numer_of_jamaicans_granted_british_citizenship") FROM "population_and_distribution" WHERE "year"=2004 AND "registration_of_a_minor_child">640; | 2-11214212-1 |
What team played under 52 Reg GP, and picked 130? | CREATE TABLE "list_of_vancouver_canucks_draft_picks" (
"rd_num" real,
"pick_num" real,
"player" text,
"team_league" text,
"reg_gp" real,
"pl_gp" real
); | SELECT "team_league" FROM "list_of_vancouver_canucks_draft_picks" WHERE "reg_gp"<52 AND "pick_num"=130; | 2-11636955-6 |
What is the highest PL GP for a round greater than 9? | CREATE TABLE "list_of_vancouver_canucks_draft_picks" (
"rd_num" real,
"pick_num" real,
"player" text,
"team_league" text,
"reg_gp" real,
"pl_gp" real
); | SELECT MAX("pl_gp") FROM "list_of_vancouver_canucks_draft_picks" WHERE "rd_num">9; | 2-11636955-6 |
Which title has a length of 4:22? | CREATE TABLE "track_listing" (
"title" text,
"composer_s" text,
"guest_performer" text,
"producer_s" text,
"time" text
); | SELECT "title" FROM "track_listing" WHERE "time"='4:22'; | 2-11322899-2 |
Which composer has a track length of 2:50? | CREATE TABLE "track_listing" (
"title" text,
"composer_s" text,
"guest_performer" text,
"producer_s" text,
"time" text
); | SELECT "composer_s" FROM "track_listing" WHERE "time"='2:50'; | 2-11322899-2 |
Which title has a Black Ice for a guest performer and a length of 5:49? | CREATE TABLE "track_listing" (
"title" text,
"composer_s" text,
"guest_performer" text,
"producer_s" text,
"time" text
); | SELECT "title" FROM "track_listing" WHERE "guest_performer"='black ice' AND "time"='5:49'; | 2-11322899-2 |
Which guest performer has a track length of 5:49? | CREATE TABLE "track_listing" (
"title" text,
"composer_s" text,
"guest_performer" text,
"producer_s" text,
"time" text
); | SELECT "guest_performer" FROM "track_listing" WHERE "time"='5:49'; | 2-11322899-2 |
What was the score when philadelphia visited? | CREATE TABLE "january" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "january" WHERE "visitor"='philadelphia'; | 2-11902366-6 |
How many attended the game with weekes recording the decision? | CREATE TABLE "january" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "attendance" FROM "january" WHERE "decision"='weekes'; | 2-11902366-6 |
What digital channel does Three Angels Broadcasting Network own? | CREATE TABLE "tv_stations" (
"channel" real,
"digital_channel" text,
"call_sign" text,
"affiliation" text,
"owner" text
); | SELECT "digital_channel" FROM "tv_stations" WHERE "owner"='three angels broadcasting network'; | 2-119428-2 |
What Championship has Scores of 6–3, 2–6, 3–6, 6–3, 3–6? | CREATE TABLE "runner_ups_5" (
"year" real,
"championship" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "championship" FROM "runner_ups_5" WHERE "score"='6–3, 2–6, 3–6, 6–3, 3–6'; | 2-10815587-3 |
What is the date of the game where Geelong was the away team? | CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "date" FROM "round_15" WHERE "away_team"='geelong'; | 2-1204658-15 |
What is the home team of the game where Geelong was the away team? | CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "home_team" FROM "round_15" WHERE "away_team"='geelong'; | 2-1204658-15 |
What is the venue of the game where Geelong was the away team? | CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "venue" FROM "round_15" WHERE "away_team"='geelong'; | 2-1204658-15 |
What is the date of the game where St Kilda is the home team? | CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "date" FROM "round_15" WHERE "home_team"='st kilda'; | 2-1204658-15 |
What was the home team's score of the game where South Melbourne is the away team? | CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "home_team_score" FROM "round_15" WHERE "away_team"='south melbourne'; | 2-1204658-15 |
What is the away team's score of the game where the away team is Geelong? | CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "away_team_score" FROM "round_15" WHERE "away_team"='geelong'; | 2-1204658-15 |
Which venue hosted the 2004 AFC Asian Cup qualification on November 18, 2003? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "competition"='2004 afc asian cup qualification' AND "date"='november 18, 2003'; | 2-10935209-1 |
On what date did a friendly competition, hosted in Dubai, result in a draw? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "date" FROM "international_goals" WHERE "result"='draw' AND "competition"='friendly' AND "venue"='dubai'; | 2-10935209-1 |
What venue hosted a match with a 3-0 score on December 7, 2002? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "score"='3-0' AND "date"='december 7, 2002'; | 2-10935209-1 |
What competition resulted in 2-0 score, hosted in Amman? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "international_goals" WHERE "score"='2-0' AND "venue"='amman'; | 2-10935209-1 |
On what date was Kuwait City a venue? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "date" FROM "international_goals" WHERE "venue"='kuwait city'; | 2-10935209-1 |
Who did the Mariners play when their record was 26–32? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "record"='26–32'; | 2-11485080-4 |
What Away team had a score of 12.11 (83)? | CREATE TABLE "round_11" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_11" WHERE "away_team_score"='12.11 (83)'; | 2-10809142-11 |
What was the Vanwall time/retired with 49 laps? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "classification" WHERE "laps"=49 AND "constructor"='vanwall'; | 2-1122161-1 |
How many laps did the grid 1 engine have? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT SUM("laps") FROM "classification" WHERE "time_retired"='engine' AND "grid"=1; | 2-1122161-1 |
What was the highest lap for Luigi Piotti with more than 13 grid and a time/retired engine? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MAX("laps") FROM "classification" WHERE "grid">13 AND "time_retired"='engine' AND "driver"='luigi piotti'; | 2-1122161-1 |
What Cornerback has the lowest Pick # and Round of less than 1? | CREATE TABLE "nfl_draft" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"college" text
); | SELECT MIN("pick_num") FROM "nfl_draft" WHERE "position"='cornerback' AND "round"<1; | 2-11157122-1 |
What is the Position of Pick #77? | CREATE TABLE "nfl_draft" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "nfl_draft" WHERE "pick_num"=77; | 2-11157122-1 |
How many attended the game on August 12? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT COUNT("attendance") FROM "game_log" WHERE "date"='august 12'; | 2-12076689-6 |
What is the largest crowd with Home team of hawthorn? | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT MAX("crowd") FROM "round_6" WHERE "home_team"='hawthorn'; | 2-10807253-6 |
What away team score also has a Home team score of 12.15 (87)? | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_6" WHERE "home_team_score"='12.15 (87)'; | 2-10807253-6 |
What is the home team score with Fitzroy as away team? | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_6" WHERE "away_team"='fitzroy'; | 2-10807253-6 |
What is glenferrie oval's home team? | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "round_6" WHERE "venue"='glenferrie oval'; | 2-10807253-6 |
What is the Super G value for the season that has an Overall score of 16? | CREATE TABLE "season_standings" (
"season" real,
"overall" text,
"slalom" text,
"super_g" text,
"downhill" text,
"combined" text
); | SELECT "super_g" FROM "season_standings" WHERE "overall"='16'; | 2-11896452-1 |
What is the oldest season that had a listed Super G score of 33? | CREATE TABLE "season_standings" (
"season" real,
"overall" text,
"slalom" text,
"super_g" text,
"downhill" text,
"combined" text
); | SELECT MIN("season") FROM "season_standings" WHERE "super_g"='33'; | 2-11896452-1 |
What year's Season had an Overall of 77? | CREATE TABLE "season_standings" (
"season" real,
"overall" text,
"slalom" text,
"super_g" text,
"downhill" text,
"combined" text
); | SELECT "season" FROM "season_standings" WHERE "overall"='77'; | 2-11896452-1 |
What is the high rank for players earning over $533,929? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"events" real,
"wins" real
); | SELECT MAX("rank") FROM "leaders" WHERE "earnings">'533,929'; | 2-11622562-3 |
What player has 3 wins and ranks above 3rd? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"events" real,
"wins" real
); | SELECT "player" FROM "leaders" WHERE "wins"=3 AND "rank">3; | 2-11622562-3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.