question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What was the race for the world championship formula 1 at a venue of hungaroring? | CREATE TABLE "races" (
"race" text,
"date" text,
"venue" text,
"winner" text,
"notes" text
); | SELECT "race" FROM "races" WHERE "notes"='world championship formula 1' AND "venue"='hungaroring'; | 2-17016119-1 |
Who is the winner for the match on October 7? | CREATE TABLE "races" (
"race" text,
"date" text,
"venue" text,
"winner" text,
"notes" text
); | SELECT "winner" FROM "races" WHERE "date"='october 7'; | 2-17016119-1 |
What is the date of the race for the new zealand grand prix? | CREATE TABLE "races" (
"race" text,
"date" text,
"venue" text,
"winner" text,
"notes" text
); | SELECT "date" FROM "races" WHERE "race"='new zealand grand prix'; | 2-17016119-1 |
Who was the winner for the world championship formula 1 at the venue, circuit de monaco? | CREATE TABLE "races" (
"race" text,
"date" text,
"venue" text,
"winner" text,
"notes" text
); | SELECT "winner" FROM "races" WHERE "notes"='world championship formula 1' AND "venue"='circuit de monaco'; | 2-17016119-1 |
What is Result, when Opponent is New England Patriots? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"tv_time" text,
"record" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "opponent"='new england patriots'; | 2-16353260-1 |
What competition took place on 28/04/1906? | CREATE TABLE "cup_finals_at_dalymount" (
"date" text,
"competition" text,
"winners" text,
"score" text,
"runners_up" text
); | SELECT "competition" FROM "cup_finals_at_dalymount" WHERE "date"='28/04/1906'; | 2-1711684-2 |
Who were the runners-up in the game that was won by Cork City F.C. on 10/05/1998? | CREATE TABLE "cup_finals_at_dalymount" (
"date" text,
"competition" text,
"winners" text,
"score" text,
"runners_up" text
); | SELECT "runners_up" FROM "cup_finals_at_dalymount" WHERE "winners"='cork city f.c.' AND "date"='10/05/1998'; | 2-1711684-2 |
What was the score in the game that was won by Sligo Rovers F.C.? | CREATE TABLE "cup_finals_at_dalymount" (
"date" text,
"competition" text,
"winners" text,
"score" text,
"runners_up" text
); | SELECT "score" FROM "cup_finals_at_dalymount" WHERE "winners"='sligo rovers f.c.'; | 2-1711684-2 |
What date did the Fai Cup with Derry City F.C. as runners-up take place? | CREATE TABLE "cup_finals_at_dalymount" (
"date" text,
"competition" text,
"winners" text,
"score" text,
"runners_up" text
); | SELECT "date" FROM "cup_finals_at_dalymount" WHERE "competition"='fai cup' AND "runners_up"='derry city f.c.'; | 2-1711684-2 |
What is the Runner-up on April 11? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner" text,
"runner_up" text,
"semifinalists" text
); | SELECT "runner_up" FROM "singles" WHERE "week"='april 11'; | 2-16772737-1 |
What was the Tournament on May 2? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner" text,
"runner_up" text,
"semifinalists" text
); | SELECT "tournament" FROM "singles" WHERE "week"='may 2'; | 2-16772737-1 |
What is Left Office, when Took Office is "11 June 2001", and when Minister is "Mirko Tremaglia"? | CREATE TABLE "ministers_without_portfolio" (
"portfolio" text,
"minister" text,
"took_office" text,
"left_office" text,
"party" text
); | SELECT "left_office" FROM "ministers_without_portfolio" WHERE "took_office"='11 june 2001' AND "minister"='mirko tremaglia'; | 2-16824962-2 |
What is Minister, when Party is "AN"? | CREATE TABLE "ministers_without_portfolio" (
"portfolio" text,
"minister" text,
"took_office" text,
"left_office" text,
"party" text
); | SELECT "minister" FROM "ministers_without_portfolio" WHERE "party"='an'; | 2-16824962-2 |
What is Left Office, when Party is "UDC", and when Took Office is "11 June 2001"? | CREATE TABLE "ministers_without_portfolio" (
"portfolio" text,
"minister" text,
"took_office" text,
"left_office" text,
"party" text
); | SELECT "left_office" FROM "ministers_without_portfolio" WHERE "party"='udc' AND "took_office"='11 june 2001'; | 2-16824962-2 |
What is Party, when Left Office is "23 April 2005", when Portfolio is "Minister of Reforms and Devolutions"? | CREATE TABLE "ministers_without_portfolio" (
"portfolio" text,
"minister" text,
"took_office" text,
"left_office" text,
"party" text
); | SELECT "party" FROM "ministers_without_portfolio" WHERE "left_office"='23 april 2005' AND "portfolio"='minister of reforms and devolutions'; | 2-16824962-2 |
What is Minister, when Portfolio is "Minister of Pubblic Administration", and when Took Office is "14 November 2002"? | CREATE TABLE "ministers_without_portfolio" (
"portfolio" text,
"minister" text,
"took_office" text,
"left_office" text,
"party" text
); | SELECT "minister" FROM "ministers_without_portfolio" WHERE "portfolio"='minister of pubblic administration' AND "took_office"='14 november 2002'; | 2-16824962-2 |
What is Party, when Minister is "Franco Frattini"? | CREATE TABLE "ministers_without_portfolio" (
"portfolio" text,
"minister" text,
"took_office" text,
"left_office" text,
"party" text
); | SELECT "party" FROM "ministers_without_portfolio" WHERE "minister"='franco frattini'; | 2-16824962-2 |
What event had the opponent Ryan Bow? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "event" FROM "mixed_martial_arts_record" WHERE "opponent"='ryan bow'; | 2-17445820-2 |
What location had the opponent Hiroyuki Abe? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "location" FROM "mixed_martial_arts_record" WHERE "opponent"='hiroyuki abe'; | 2-17445820-2 |
What was the 2nd leg for 2004? | CREATE TABLE "winners" (
"year" real,
"winner" text,
"runners_up" text,
"aggregate" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "2nd_leg" FROM "winners" WHERE "year"=2004; | 2-17344918-1 |
What is the 2nd leg when San Pedro was the winner? | CREATE TABLE "winners" (
"year" real,
"winner" text,
"runners_up" text,
"aggregate" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "2nd_leg" FROM "winners" WHERE "winner"='san pedro'; | 2-17344918-1 |
What was the rate when there were more than 22 goals? | CREATE TABLE "2005_present" (
"season" real,
"player" text,
"club" text,
"goals" real,
"games" real,
"rate" real
); | SELECT "rate" FROM "2005_present" WHERE "goals">22; | 2-1674618-2 |
What largest against has the opposing team of fiji? | CREATE TABLE "matches" (
"opposing_team" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT MAX("against") FROM "matches" WHERE "opposing_team"='fiji'; | 2-17058417-1 |
Which Position has a Competition of european race walking cup? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT "position" FROM "achievements" WHERE "competition"='european race walking cup'; | 2-17358229-1 |
Which Venue has a Competition of european championships, and a Position of 7th? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT "venue" FROM "achievements" WHERE "competition"='european championships' AND "position"='7th'; | 2-17358229-1 |
Where was the world race walking cup held before 2001? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT "venue" FROM "achievements" WHERE "year"<2001 AND "competition"='world race walking cup'; | 2-17358229-1 |
WHAT COMPETITION HAS MARIAN SANDU? | CREATE TABLE "notable_final_matches" (
"opponent" text,
"res" text,
"class" text,
"score" text,
"date" text,
"competition" text,
"notes" text
); | SELECT "competition" FROM "notable_final_matches" WHERE "res"='marian sandu'; | 2-16680101-1 |
WHAT SCORE WAS ON 1999-05-31? | CREATE TABLE "notable_final_matches" (
"opponent" text,
"res" text,
"class" text,
"score" text,
"date" text,
"competition" text,
"notes" text
); | SELECT "score" FROM "notable_final_matches" WHERE "date"='1999-05-31'; | 2-16680101-1 |
WHAT OPPONENT HAD A SCORE OF 5:5? | CREATE TABLE "notable_final_matches" (
"opponent" text,
"res" text,
"class" text,
"score" text,
"date" text,
"competition" text,
"notes" text
); | SELECT "opponent" FROM "notable_final_matches" WHERE "score"='5:5'; | 2-16680101-1 |
What Competition on August 3, 2005 had a Score of 5-0? | CREATE TABLE "goals_for_senior_national_team" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "goals_for_senior_national_team" WHERE "score"='5-0' AND "date"='august 3, 2005'; | 2-16350742-1 |
What was the Venue of the 2009 Gulf Cup of Nations? | CREATE TABLE "goals_for_senior_national_team" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "goals_for_senior_national_team" WHERE "competition"='2009 gulf cup of nations'; | 2-16350742-1 |
What Venue on October 27, 2005 had a Score of 5-0? | CREATE TABLE "goals_for_senior_national_team" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "goals_for_senior_national_team" WHERE "score"='5-0' AND "date"='october 27, 2005'; | 2-16350742-1 |
What is the Result of the Friendly Competition on October 27, 2005 with a Score of 5-0? | CREATE TABLE "goals_for_senior_national_team" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "goals_for_senior_national_team" WHERE "competition"='friendly' AND "score"='5-0' AND "date"='october 27, 2005'; | 2-16350742-1 |
Can you tell me the total number of React that has the Lane of 5? | CREATE TABLE "final" (
"lane" real,
"name" text,
"country" text,
"mark" text,
"react" real
); | SELECT COUNT("react") FROM "final" WHERE "lane"=5; | 2-16196238-4 |
Can you tell me the lowest React that has the Lane of 5? | CREATE TABLE "final" (
"lane" real,
"name" text,
"country" text,
"mark" text,
"react" real
); | SELECT MIN("react") FROM "final" WHERE "lane"=5; | 2-16196238-4 |
What is the winning score of the match with a margin of 3 strokes? | CREATE TABLE "wins_5" (
"year" real,
"championship" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "wins_5" WHERE "margin"='3 strokes'; | 2-1629086-4 |
How many years was there a peter jackson classic? | CREATE TABLE "wins_5" (
"year" real,
"championship" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
); | SELECT COUNT("year") FROM "wins_5" WHERE "championship"='peter jackson classic'; | 2-1629086-4 |
Which year was the peter jackson classic? | CREATE TABLE "wins_5" (
"year" real,
"championship" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
); | SELECT "year" FROM "wins_5" WHERE "championship"='peter jackson classic'; | 2-1629086-4 |
What is Date, when Visitor is Toronto? | CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "date" FROM "regular_season" WHERE "visitor"='toronto'; | 2-16785772-2 |
What is Record, when Date is November 23? | CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "record" FROM "regular_season" WHERE "date"='november 23'; | 2-16785772-2 |
What is Visitor, when Home is Philadelphia, and when Date is November 18? | CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "visitor" FROM "regular_season" WHERE "home"='philadelphia' AND "date"='november 18'; | 2-16785772-2 |
What is the average Attendance, when Visitor is Toronto? | CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text,
"points" real
); | SELECT AVG("attendance") FROM "regular_season" WHERE "visitor"='toronto'; | 2-16785772-2 |
What's the average year with a rank less than 3? | CREATE TABLE "accolades" (
"year" real,
"publication" text,
"country" text,
"accolade" text,
"rank" real
); | SELECT AVG("year") FROM "accolades" WHERE "rank"<3; | 2-1715849-2 |
What country got accolades in 2002? | CREATE TABLE "accolades" (
"year" real,
"publication" text,
"country" text,
"accolade" text,
"rank" real
); | SELECT "country" FROM "accolades" WHERE "year"=2002; | 2-1715849-2 |
What's the accolade for the rank of 497? | CREATE TABLE "accolades" (
"year" real,
"publication" text,
"country" text,
"accolade" text,
"rank" real
); | SELECT "accolade" FROM "accolades" WHERE "rank"=497; | 2-1715849-2 |
What's the average year for the accolade 100 greatest singles of all time? | CREATE TABLE "accolades" (
"year" real,
"publication" text,
"country" text,
"accolade" text,
"rank" real
); | SELECT AVG("year") FROM "accolades" WHERE "accolade"='100 greatest singles of all time'; | 2-1715849-2 |
What was the attendance during the game against Philadelphia? | 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 "team"='philadelphia'; | 2-17355408-5 |
Which NFL team has a player that came from a college in Washington? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "nfl_team" FROM "nfl_draft" WHERE "college"='washington'; | 2-16729063-1 |
What position does Bobby Micho, who was picked later than 186 others, play on the Broncos team? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "nfl_draft" WHERE "pick_num">186 AND "player"='bobby micho'; | 2-16729063-1 |
What is Since, when Transfer Fee is "£ 12m"? | CREATE TABLE "squad_information" (
"nat" text,
"name" text,
"since" text,
"goals" real,
"ends" text,
"transfer_fee" text
); | SELECT "since" FROM "squad_information" WHERE "transfer_fee"='£ 12m'; | 2-17335496-1 |
What is Name, when Goals is greater than 14, and when Transfer Fee is "Youth System"? | CREATE TABLE "squad_information" (
"nat" text,
"name" text,
"since" text,
"goals" real,
"ends" text,
"transfer_fee" text
); | SELECT "name" FROM "squad_information" WHERE "goals">14 AND "transfer_fee"='youth system'; | 2-17335496-1 |
What is Nat., when Name is "Fàbregas ( Captain )"? | CREATE TABLE "squad_information" (
"nat" text,
"name" text,
"since" text,
"goals" real,
"ends" text,
"transfer_fee" text
); | SELECT "nat" FROM "squad_information" WHERE "name"='fàbregas ( captain )'; | 2-17335496-1 |
What is Time, when Method is "submission (knees)"? | 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 "method"='submission (knees)'; | 2-169662-2 |
What is Record, when Event is "UFC 40"? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "record" FROM "mixed_martial_arts_record" WHERE "event"='ufc 40'; | 2-169662-2 |
What is the name of the track that hosted the Swedish Grand Prix in 1979? | CREATE TABLE "winners_of_the_swedish_motorcycle_grand_" (
"year" text,
"track" text,
"125_cc" text,
"250_cc" text,
"report" text
); | SELECT "track" FROM "winners_of_the_swedish_motorcycle_grand_" WHERE "year"='1979'; | 2-17231558-1 |
What year did Barry Sheene win the 125 cc? | CREATE TABLE "winners_of_the_swedish_motorcycle_grand_" (
"year" text,
"track" text,
"125_cc" text,
"250_cc" text,
"report" text
); | SELECT "year" FROM "winners_of_the_swedish_motorcycle_grand_" WHERE "125_cc"='barry sheene'; | 2-17231558-1 |
Who won the 250 cc in 1987? | CREATE TABLE "winners_of_the_swedish_motorcycle_grand_" (
"year" text,
"track" text,
"125_cc" text,
"250_cc" text,
"report" text
); | SELECT "250_cc" FROM "winners_of_the_swedish_motorcycle_grand_" WHERE "year"='1987'; | 2-17231558-1 |
At what track resulted in Fausto Gresini winning the 125 cc and Carlos Lavado winning the 250 cc? | CREATE TABLE "winners_of_the_swedish_motorcycle_grand_" (
"year" text,
"track" text,
"125_cc" text,
"250_cc" text,
"report" text
); | SELECT "track" FROM "winners_of_the_swedish_motorcycle_grand_" WHERE "125_cc"='fausto gresini' AND "250_cc"='carlos lavado'; | 2-17231558-1 |
Who won the 250 cc in 1985? | CREATE TABLE "winners_of_the_swedish_motorcycle_grand_" (
"year" text,
"track" text,
"125_cc" text,
"250_cc" text,
"report" text
); | SELECT "250_cc" FROM "winners_of_the_swedish_motorcycle_grand_" WHERE "year"='1985'; | 2-17231558-1 |
Which opponent has 1-1 as the record? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" text
); | SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "record"='1-1'; | 2-17430274-2 |
What record has magomedkhan gamzatkhanov as the opponent, and submission as the method? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" text
); | SELECT "record" FROM "mixed_martial_arts_record" WHERE "opponent"='magomedkhan gamzatkhanov' AND "method"='submission'; | 2-17430274-2 |
What round has 3-4 as the record? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" text
); | SELECT "round" FROM "mixed_martial_arts_record" WHERE "record"='3-4'; | 2-17430274-2 |
What record has loss as the res., 1 for the round, and akira maeda as the opponent? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" text
); | SELECT "record" FROM "mixed_martial_arts_record" WHERE "res"='loss' AND "round"='1' AND "opponent"='akira maeda'; | 2-17430274-2 |
What record has decision (majority) as the method? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" text
); | SELECT "record" FROM "mixed_martial_arts_record" WHERE "method"='decision (majority)'; | 2-17430274-2 |
What is Agg., when Team 1 is CD Elá Nguema? | CREATE TABLE "preliminary_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "agg" FROM "preliminary_round" WHERE "team_1"='cd elá nguema'; | 2-16218498-1 |
What is 1st Leg, when 2nd Leg is 1-3? | CREATE TABLE "preliminary_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "preliminary_round" WHERE "2nd_leg"='1-3'; | 2-16218498-1 |
What is 1st Leg, when 2nd Leg is 0-1? | CREATE TABLE "preliminary_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "preliminary_round" WHERE "2nd_leg"='0-1'; | 2-16218498-1 |
What is Team 2, when 2nd Leg is 1-0? | CREATE TABLE "preliminary_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_2" FROM "preliminary_round" WHERE "2nd_leg"='1-0'; | 2-16218498-1 |
What is Team 2, when 2nd Leg is 2-1? | CREATE TABLE "preliminary_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_2" FROM "preliminary_round" WHERE "2nd_leg"='2-1'; | 2-16218498-1 |
What is Team 2, when 2nd Leg is 0-3 1? | CREATE TABLE "preliminary_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_2" FROM "preliminary_round" WHERE "2nd_leg"='0-3 1'; | 2-16218498-1 |
What was Jim Colbert's score? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "third_round" WHERE "player"='jim colbert'; | 2-17245565-6 |
What country scored 69-69-73=211? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "third_round" WHERE "score"='69-69-73=211'; | 2-17245565-6 |
What country does Bobby Nichols play for? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "third_round" WHERE "player"='bobby nichols'; | 2-17245565-6 |
WHAT IS THE TIME/ RETIRED WITH A HONDA MANUFACTURER, GRID 8? | CREATE TABLE "125cc_classification" (
"rider" text,
"manufacturer" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "time_retired" FROM "125cc_classification" WHERE "manufacturer"='honda' AND "grid"='8'; | 2-17063289-3 |
WHAT IS THE MANUFACTURER WITH 24 LAPS, AND +1.965 TIME/RETIRED? | CREATE TABLE "125cc_classification" (
"rider" text,
"manufacturer" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "manufacturer" FROM "125cc_classification" WHERE "laps"='24' AND "time_retired"='+1.965'; | 2-17063289-3 |
WHAT IS THE GRID OF HONDA, WITH 24 LAPS AND Time/Retired of +13.997? | CREATE TABLE "125cc_classification" (
"rider" text,
"manufacturer" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "grid" FROM "125cc_classification" WHERE "manufacturer"='honda' AND "laps"='24' AND "time_retired"='+13.997'; | 2-17063289-3 |
WHAT IS THE LAPS WITH A GRID OF 26? | CREATE TABLE "125cc_classification" (
"rider" text,
"manufacturer" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "laps" FROM "125cc_classification" WHERE "grid"='26'; | 2-17063289-3 |
WHAT IS THE RIDER WITH A 21 GRID? | CREATE TABLE "125cc_classification" (
"rider" text,
"manufacturer" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "rider" FROM "125cc_classification" WHERE "grid"='21'; | 2-17063289-3 |
WHAT IS THE MANUFACTURER WITH 24 LAPS AND GRID 27? | CREATE TABLE "125cc_classification" (
"rider" text,
"manufacturer" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "manufacturer" FROM "125cc_classification" WHERE "laps"='24' AND "grid"='27'; | 2-17063289-3 |
What is the most recent year georgia tech chose a linebacker? | CREATE TABLE "players_selected" (
"year_a" real,
"pick" text,
"player" text,
"position" text,
"college" text
); | SELECT MAX("year_a") FROM "players_selected" WHERE "position"='linebacker' AND "college"='georgia tech'; | 2-16357775-2 |
Who is the player from Spain that has a +2 to par? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "player" FROM "second_round" WHERE "to_par"='+2' AND "country"='spain'; | 2-17231267-4 |
Name the country with a score of 69-71=140. | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "second_round" WHERE "score"='69-71=140'; | 2-17231267-4 |
What's the to par for Hale Irwin of the United States? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "country"='united states' AND "player"='hale irwin'; | 2-17231267-4 |
What's the to par for Jim Thorpe in T5 Place? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "place"='t5' AND "player"='jim thorpe'; | 2-17231267-4 |
What was Jack Nicklaus's score after round 1? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT MIN("score") FROM "first_round" WHERE "player"='jack nicklaus'; | 2-16458346-1 |
Which Laps have a Time of +39.476, and a Grid larger than 11? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT AVG("laps") FROM "moto_gp_classification" WHERE "time"='+39.476' AND "grid">11; | 2-16193402-1 |
Which Time has Laps smaller than 28, and a Rider of nicky hayden? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "time" FROM "moto_gp_classification" WHERE "laps"<28 AND "rider"='nicky hayden'; | 2-16193402-1 |
Which Rider has a Grid larger than 6, and has Laps of 28, and a Time of +39.476? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "rider" FROM "moto_gp_classification" WHERE "grid">6 AND "laps"=28 AND "time"='+39.476'; | 2-16193402-1 |
Which Bronze has a Total of 4, and a Gold smaller than 1? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("bronze") FROM "medal_table" WHERE "total"=4 AND "gold"<1; | 2-16853051-1 |
Which Bronze has a Silver larger than 1, a Total larger than 3, a Nation of turkey, and a Gold smaller than 2? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("bronze") FROM "medal_table" WHERE "silver">1 AND "total">3 AND "nation"='turkey' AND "gold"<2; | 2-16853051-1 |
Which Gold has a Bronze of 1, and a Total smaller than 3? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("gold") FROM "medal_table" WHERE "bronze"=1 AND "total"<3; | 2-16853051-1 |
In what Week is the Opponent the New Orleans Saints? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT AVG("week") FROM "schedule" WHERE "opponent"='new orleans saints'; | 2-16714792-1 |
In what Weeks is the game against the Tampa Bay Buccaneers with less than 44,506 in Attendance? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT SUM("week") FROM "schedule" WHERE "opponent"='tampa bay buccaneers' AND "attendance"<'44,506'; | 2-16714792-1 |
What is the Opponent in the game in Week 6 with more than 42,910 in Attendance? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "opponent" FROM "schedule" WHERE "attendance">'42,910' AND "week"=6; | 2-16714792-1 |
What team was home, when the record was 24–16–6? | CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "home" FROM "regular_season" WHERE "record"='24–16–6'; | 2-17442575-2 |
What date was the visitor the Boston Bruins, and the record was 4–0–1? | CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "date" FROM "regular_season" WHERE "visitor"='boston bruins' AND "record"='4–0–1'; | 2-17442575-2 |
Who had the most points in game 81? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"high_points" text,
"high_rebounds" text,
"location_attendance" text,
"record" text
); | SELECT "high_points" FROM "game_log" WHERE "game"=81; | 2-17288825-10 |
Which flight had an aircraft of vickers viscount type 794? | CREATE TABLE "turkish_airlines_reported_incidents_and_" (
"date" text,
"flight" text,
"aircraft" text,
"registration" text,
"location" text,
"fatalities" real
); | SELECT "flight" FROM "turkish_airlines_reported_incidents_and_" WHERE "aircraft"='vickers viscount type 794'; | 2-167925-2 |
Which flight had the aircraft avro rj-100? | CREATE TABLE "turkish_airlines_reported_incidents_and_" (
"date" text,
"flight" text,
"aircraft" text,
"registration" text,
"location" text,
"fatalities" real
); | SELECT "flight" FROM "turkish_airlines_reported_incidents_and_" WHERE "aircraft"='avro rj-100'; | 2-167925-2 |
When was the registration of tc-jes? | CREATE TABLE "turkish_airlines_reported_incidents_and_" (
"date" text,
"flight" text,
"aircraft" text,
"registration" text,
"location" text,
"fatalities" real
); | SELECT "date" FROM "turkish_airlines_reported_incidents_and_" WHERE "registration"='tc-jes'; | 2-167925-2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.