question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
When the score was 71-71-70-70=282 what was the To par recorded? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "to_par" FROM "final_round" WHERE "score"='71-71-70-70=282'; | 2-17162179-6 |
What was the score for Tom Lehman? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "score" FROM "final_round" WHERE "player"='tom lehman'; | 2-17162179-6 |
What is the sum of November, when Game is greater than 23? | CREATE TABLE "schedule_and_results" (
"game" real,
"november" real,
"opponent" text,
"score" text,
"record" text
); | SELECT SUM("november") FROM "schedule_and_results" WHERE "game">23; | 2-17310913-3 |
What is the sum of November, when Game is "17"? | CREATE TABLE "schedule_and_results" (
"game" real,
"november" real,
"opponent" text,
"score" text,
"record" text
); | SELECT SUM("november") FROM "schedule_and_results" WHERE "game"=17; | 2-17310913-3 |
What is the highest Game, when Opponent is "Chicago Black Hawks", and when November is less than 16? | CREATE TABLE "schedule_and_results" (
"game" real,
"november" real,
"opponent" text,
"score" text,
"record" text
); | SELECT MAX("game") FROM "schedule_and_results" WHERE "opponent"='chicago black hawks' AND "november"<16; | 2-17310913-3 |
What player has a total of 297? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "player" FROM "made_the_cut" WHERE "total"=297; | 2-16490473-1 |
Which country has a total less than 289 and finished t2? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "country" FROM "made_the_cut" WHERE "total"<289 AND "finish"='t2'; | 2-16490473-1 |
Which player finished t35? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "player" FROM "made_the_cut" WHERE "finish"='t35'; | 2-16490473-1 |
What finish has a total of more than 289 and won in 1979? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "finish" FROM "made_the_cut" WHERE "total">289 AND "year_s_won"='1979'; | 2-16490473-1 |
What is Name, when Moving To is "NEC Nijmegen"? | CREATE TABLE "loan_out" (
"date_from" text,
"date_to" text,
"pos" text,
"name" text,
"moving_to" text
); | SELECT "name" FROM "loan_out" WHERE "moving_to"='nec nijmegen'; | 2-17373843-10 |
What is Date From, when Moving To is "Birmingham City"? | CREATE TABLE "loan_out" (
"date_from" text,
"date_to" text,
"pos" text,
"name" text,
"moving_to" text
); | SELECT "date_from" FROM "loan_out" WHERE "moving_to"='birmingham city'; | 2-17373843-10 |
What is Pos., when Date To is "30 June 2009", and when Name is "Eddie Johnson"? | CREATE TABLE "loan_out" (
"date_from" text,
"date_to" text,
"pos" text,
"name" text,
"moving_to" text
); | SELECT "pos" FROM "loan_out" WHERE "date_to"='30 june 2009' AND "name"='eddie johnson'; | 2-17373843-10 |
What is Pos., when Date From is "28 August 2008"? | CREATE TABLE "loan_out" (
"date_from" text,
"date_to" text,
"pos" text,
"name" text,
"moving_to" text
); | SELECT "pos" FROM "loan_out" WHERE "date_from"='28 august 2008'; | 2-17373843-10 |
What is Moving To, when Name is "Leon Andreasen"? | CREATE TABLE "loan_out" (
"date_from" text,
"date_to" text,
"pos" text,
"name" text,
"moving_to" text
); | SELECT "moving_to" FROM "loan_out" WHERE "name"='leon andreasen'; | 2-17373843-10 |
What is Date To, when Name is "Lee Cook"? | CREATE TABLE "loan_out" (
"date_from" text,
"date_to" text,
"pos" text,
"name" text,
"moving_to" text
); | SELECT "date_to" FROM "loan_out" WHERE "name"='lee cook'; | 2-17373843-10 |
When was the oakachoy covered bridge listed? | CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
); | SELECT "listed" FROM "references" WHERE "name"='oakachoy covered bridge'; | 2-17237920-1 |
In which county is the swann covered bridge located? | CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
); | SELECT "county" FROM "references" WHERE "name"='swann covered bridge'; | 2-17237920-1 |
Which bridge is located in Nectar, in Blount County? | CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
); | SELECT "name" FROM "references" WHERE "county"='blount' AND "location"='nectar'; | 2-17237920-1 |
Which county built a bridge in 1934? | CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
); | SELECT "county" FROM "references" WHERE "built"='1934'; | 2-17237920-1 |
In which year did Blount County build a bridge in Cleveland that was listed on 1981-08-20? | CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
); | SELECT "built" FROM "references" WHERE "county"='blount' AND "listed"='1981-08-20' AND "location"='cleveland'; | 2-17237920-1 |
What is the score with a time at 18:00 and a score for set 3 of 13–25? | CREATE TABLE "pool_b" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text
); | SELECT "score" FROM "pool_b" WHERE "time"='18:00' AND "set_3"='13–25'; | 2-16593943-5 |
What is the score for set 2 when the score of set 1 is 19–25? | CREATE TABLE "pool_b" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text
); | SELECT "set_2" FROM "pool_b" WHERE "set_1"='19–25'; | 2-16593943-5 |
How much is the total with a time at 16:00 and score for set 3 of 18–25? | CREATE TABLE "pool_b" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text
); | SELECT "total" FROM "pool_b" WHERE "time"='16:00' AND "set_3"='18–25'; | 2-16593943-5 |
What is the score for set 2 when the time is 18:00 and the score of set 1 is 18–25? | CREATE TABLE "pool_b" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text
); | SELECT "set_2" FROM "pool_b" WHERE "time"='18:00' AND "set_1"='18–25'; | 2-16593943-5 |
What was the total with a score in set 3 of 13–25? | CREATE TABLE "pool_b" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text
); | SELECT "total" FROM "pool_b" WHERE "set_3"='13–25'; | 2-16593943-5 |
What was the Champion of the Tournament with a Score of 79–75 OT? | CREATE TABLE "tournament_champions" (
"year" text,
"champion_seed" text,
"score" text,
"runner_up_seed" text,
"most_valuable_player" text
); | SELECT "champion_seed" FROM "tournament_champions" WHERE "score"='79–75 ot'; | 2-16339330-1 |
What was the Champion of the Game with a Score of 65–56? | CREATE TABLE "tournament_champions" (
"year" text,
"champion_seed" text,
"score" text,
"runner_up_seed" text,
"most_valuable_player" text
); | SELECT "champion_seed" FROM "tournament_champions" WHERE "score"='65–56'; | 2-16339330-1 |
Which Manufacturer has a Laps of 21, a Grid larger than 16, and a Rider of akira ryō? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "manufacturer" FROM "moto_gp_classification" WHERE "laps"=21 AND "grid">16 AND "rider"='akira ryō'; | 2-17051191-1 |
Which Time/Retired has a Rider of daijiro kato? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "moto_gp_classification" WHERE "rider"='daijiro kato'; | 2-17051191-1 |
Which Manufacturer has a Rider of daijiro kato? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "manufacturer" FROM "moto_gp_classification" WHERE "rider"='daijiro kato'; | 2-17051191-1 |
Which Time/Retired has a Manufacturer of yamaha, and a Rider of garry mccoy? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "moto_gp_classification" WHERE "manufacturer"='yamaha' AND "rider"='garry mccoy'; | 2-17051191-1 |
What is the name of the team with round less than 2, and the nationality is the United States? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "round"<2 AND "nationality"='united states'; | 2-17360868-20 |
What position does John Carlson play? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "position" FROM "draft_picks" WHERE "player"='john carlson'; | 2-17360868-20 |
Who had the highest rebounds on game 5? | 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 "high_rebounds" FROM "game_log" WHERE "game"=5; | 2-17355408-11 |
How many Overall went in a round larger than 7 with a pick less than 7? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT COUNT("overall") FROM "washington_redskins_draft_history" WHERE "round">7 AND "pick"<7; | 2-17100961-18 |
What is the largest event number for player from Norway with prize money less than $2,241,847? | CREATE TABLE "2013_money_leaders" (
"rank" real,
"player" text,
"country" text,
"events" real,
"prize_money" real
); | SELECT MAX("events") FROM "2013_money_leaders" WHERE "country"='norway' AND "prize_money"<'2,241,847'; | 2-173345-2 |
What is the rank for the player with events greater than 23 and prize money in excess of $823,783? | CREATE TABLE "2013_money_leaders" (
"rank" real,
"player" text,
"country" text,
"events" real,
"prize_money" real
); | SELECT COUNT("rank") FROM "2013_money_leaders" WHERE "events">23 AND "prize_money">'823,783'; | 2-173345-2 |
What is the prize money for the player ranked 1? | CREATE TABLE "2013_money_leaders" (
"rank" real,
"player" text,
"country" text,
"events" real,
"prize_money" real
); | SELECT MAX("prize_money") FROM "2013_money_leaders" WHERE "rank"=1; | 2-173345-2 |
What was the lowest round for the KOTC 25: Flaming Fury event? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real
); | SELECT MIN("round") FROM "mixed_martial_arts_record" WHERE "event"='kotc 25: flaming fury'; | 2-17430504-2 |
Who was the opponent for the KOTC 25: Flaming Fury event? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real
); | SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "event"='kotc 25: flaming fury'; | 2-17430504-2 |
Who was the opponent in the WMMA 1: McCorkle vs. Heden event that went more than 1 round? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real
); | SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "round">1 AND "event"='wmma 1: mccorkle vs. heden'; | 2-17430504-2 |
What was the result when his record was 25-15? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real
); | SELECT "res" FROM "mixed_martial_arts_record" WHERE "record"='25-15'; | 2-17430504-2 |
What is Position, when Round is less than 6, and when Nationality is "Denmark"? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "position" FROM "draft_picks" WHERE "round"<6 AND "nationality"='denmark'; | 2-17361114-13 |
What is Position, when Nationality is "Canada", and when Round is greater than 3? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "position" FROM "draft_picks" WHERE "nationality"='canada' AND "round">3; | 2-17361114-13 |
What is the total number of Round, when College/Junior/Club Team (League) is "Kelowna Rockets ( WHL )"? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT COUNT("round") FROM "draft_picks" WHERE "college_junior_club_team_league"='kelowna rockets ( whl )'; | 2-17361114-13 |
What round did the fight last when Mikhail Ilyukhin's record was 15-5? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" text,
"location" text
); | SELECT "round" FROM "mixed_martial_arts_record" WHERE "record"='15-5'; | 2-17430165-2 |
What method did Mikhail Ilyukhin win the fight in round 1 when his record was 13-5? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" text,
"location" text
); | SELECT "method" FROM "mixed_martial_arts_record" WHERE "round"='1' AND "res"='win' AND "record"='13-5'; | 2-17430165-2 |
What was the method of resolution when Mikhail Ilyukhin's record was 4-0? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" text,
"location" text
); | SELECT "method" FROM "mixed_martial_arts_record" WHERE "record"='4-0'; | 2-17430165-2 |
When was the score 123-112? | CREATE TABLE "december" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "date" FROM "december" WHERE "score"='123-112'; | 2-16275352-6 |
Who did they play when the score was 95-118? | CREATE TABLE "december" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "opponent" FROM "december" WHERE "score"='95-118'; | 2-16275352-6 |
Who did they play when the score was 95-114? | CREATE TABLE "december" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "opponent" FROM "december" WHERE "score"='95-114'; | 2-16275352-6 |
When was the score 92-134? | CREATE TABLE "december" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "date" FROM "december" WHERE "score"='92-134'; | 2-16275352-6 |
When they were 2-32 what did they score? | CREATE TABLE "december" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
); | SELECT "score" FROM "december" WHERE "record"='2-32'; | 2-16275352-6 |
When the total was smaller than 290, what was the highest To par? | CREATE TABLE "past_champions_in_the_field" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real,
"finish" text
); | SELECT MAX("to_par") FROM "past_champions_in_the_field" WHERE "total"<290; | 2-17245554-1 |
What is the total number of To par for Lee Trevino? | CREATE TABLE "past_champions_in_the_field" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real,
"finish" text
); | SELECT COUNT("to_par") FROM "past_champions_in_the_field" WHERE "player"='lee trevino'; | 2-17245554-1 |
What is the sum of To par when the Finish is t11? | CREATE TABLE "past_champions_in_the_field" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real,
"finish" text
); | SELECT SUM("to_par") FROM "past_champions_in_the_field" WHERE "finish"='t11'; | 2-17245554-1 |
What was Donald Bradman's average runs? | CREATE TABLE "best_batting_averages" (
"player" text,
"team" text,
"matches" real,
"innings" real,
"runs" real,
"average" real,
"highest_score" text,
"100s" real
); | SELECT AVG("runs") FROM "best_batting_averages" WHERE "player"='donald bradman'; | 2-16570286-2 |
What was the highest amount of runs for more than 5 matches? | CREATE TABLE "best_batting_averages" (
"player" text,
"team" text,
"matches" real,
"innings" real,
"runs" real,
"average" real,
"highest_score" text,
"100s" real
); | SELECT MAX("runs") FROM "best_batting_averages" WHERE "matches">5; | 2-16570286-2 |
What is the lowest Shot Pct., when Blank Ends is greater than 6? | CREATE TABLE "standings" (
"province" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
); | SELECT MIN("shot_pct") FROM "standings" WHERE "blank_ends">6; | 2-17012578-37 |
What is Shot Pct., when Stolen Ends is 2? | CREATE TABLE "standings" (
"province" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
); | SELECT "shot_pct" FROM "standings" WHERE "stolen_ends"=2; | 2-17012578-37 |
What is the total number of Ends Won, when Province is "Saskatchewan", and when Stolen Ends is less than 6? | CREATE TABLE "standings" (
"province" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
); | SELECT COUNT("ends_won") FROM "standings" WHERE "province"='saskatchewan' AND "stolen_ends"<6; | 2-17012578-37 |
On what date were Perth Wildcats the away team? | CREATE TABLE "round_10" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
); | SELECT "date" FROM "round_10" WHERE "away_team"='perth wildcats'; | 2-16653153-17 |
On what date was the score 121-113? | CREATE TABLE "round_10" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
); | SELECT "date" FROM "round_10" WHERE "score"='121-113'; | 2-16653153-17 |
On what date was Adelaide 36ers the home team? | CREATE TABLE "round_10" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
); | SELECT "date" FROM "round_10" WHERE "home_team"='adelaide 36ers'; | 2-16653153-17 |
Which report is for Townsville Entertainment Centre? | CREATE TABLE "round_10" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
); | SELECT "report" FROM "round_10" WHERE "venue"='townsville entertainment centre'; | 2-16653153-17 |
Which home team had a score of 85-101? | CREATE TABLE "round_10" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
); | SELECT "home_team" FROM "round_10" WHERE "score"='85-101'; | 2-16653153-17 |
What was the box core for the Melbourne Tigers? | CREATE TABLE "round_10" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
); | SELECT "box_score" FROM "round_10" WHERE "home_team"='melbourne tigers'; | 2-16653153-17 |
who is the author when featuring is leela, the master, kraals? | CREATE TABLE "series_1" (
"series_sorted" text,
"title" text,
"author" text,
"featuring" text,
"released" text
); | SELECT "author" FROM "series_1" WHERE "featuring"='leela, the master, kraals'; | 2-1620397-7 |
who is the author when the title is destination: nerva? | CREATE TABLE "series_1" (
"series_sorted" text,
"title" text,
"author" text,
"featuring" text,
"released" text
); | SELECT "author" FROM "series_1" WHERE "title"='destination: nerva'; | 2-1620397-7 |
who is featuring when the title is energy of the daleks? | CREATE TABLE "series_1" (
"series_sorted" text,
"title" text,
"author" text,
"featuring" text,
"released" text
); | SELECT "featuring" FROM "series_1" WHERE "title"='energy of the daleks'; | 2-1620397-7 |
what is the title when the featuring is leela and series sorted is 4s/b? | CREATE TABLE "series_1" (
"series_sorted" text,
"title" text,
"author" text,
"featuring" text,
"released" text
); | SELECT "title" FROM "series_1" WHERE "featuring"='leela' AND "series_sorted"='4s/b'; | 2-1620397-7 |
Can you tell me the Opponent that has the December of 2? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "opponent" FROM "schedule_and_results" WHERE "december"=2; | 2-17311408-4 |
Can you tell me the average December rhat has the Opponent of @ toronto maple leafs? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
); | SELECT AVG("december") FROM "schedule_and_results" WHERE "opponent"='@ toronto maple leafs'; | 2-17311408-4 |
Can you tell me the Score that has the December of 10? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "score" FROM "schedule_and_results" WHERE "december"=10; | 2-17311408-4 |
What was the score when the Tie no was 6? | CREATE TABLE "fifth_round_proper" (
"tie_no" real,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "score" FROM "fifth_round_proper" WHERE "tie_no"=6; | 2-17455843-6 |
What was the score when the Tie no less than 2? | CREATE TABLE "fifth_round_proper" (
"tie_no" real,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "score" FROM "fifth_round_proper" WHERE "tie_no"<2; | 2-17455843-6 |
Who was the away team when the home team was Sunderland? | CREATE TABLE "fifth_round_proper" (
"tie_no" real,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "away_team" FROM "fifth_round_proper" WHERE "home_team"='sunderland'; | 2-17455843-6 |
Which Winning Team has the Fastest Lap of brendon hartley, and a Pole Position of oliver turvey, and a Circuit of spa-francorchamps, and the Winning Driver of brendon hartley? | CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "winning_team" FROM "calendar" WHERE "fastest_lap"='brendon hartley' AND "pole_position"='oliver turvey' AND "circuit"='spa-francorchamps' AND "winning_driver"='brendon hartley'; | 2-16508558-3 |
Which Circuit has the Winning Team of carlin motorsport, and the Winning Driver of oliver turvey, and a Date of 24 march? | CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "circuit" FROM "calendar" WHERE "winning_team"='carlin motorsport' AND "winning_driver"='oliver turvey' AND "date"='24 march'; | 2-16508558-3 |
Which Round has the Winning Driver of brendon hartley, and a Date of 27 april? | CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT MIN("round") FROM "calendar" WHERE "winning_driver"='brendon hartley' AND "date"='27 april'; | 2-16508558-3 |
Which Date has a Pole Position of michael devaney? | CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "date" FROM "calendar" WHERE "pole_position"='michael devaney'; | 2-16508558-3 |
Which Report has a Winning driver of emerson fittipaldi? | CREATE TABLE "races" (
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "report" FROM "races" WHERE "winning_driver"='emerson fittipaldi'; | 2-16732659-2 |
Which Circuit has a Pole position of andré ribeiro? | CREATE TABLE "races" (
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "circuit" FROM "races" WHERE "pole_position"='andré ribeiro'; | 2-16732659-2 |
Which Circuit has a Winning driver of scott pruett? | CREATE TABLE "races" (
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "circuit" FROM "races" WHERE "winning_driver"='scott pruett'; | 2-16732659-2 |
Who's the Winning driver with a Pole position of bryan herta? | CREATE TABLE "races" (
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "winning_driver" FROM "races" WHERE "pole_position"='bryan herta'; | 2-16732659-2 |
Which Date had a City/Location of vancouver, british columbia? | CREATE TABLE "races" (
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "date" FROM "races" WHERE "city_location"='vancouver, british columbia'; | 2-16732659-2 |
Who's the Winning team with a Pole position of robby gordon, and a Date of june 11? | CREATE TABLE "races" (
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "winning_team" FROM "races" WHERE "pole_position"='robby gordon' AND "date"='june 11'; | 2-16732659-2 |
What subject has a plural of am(ô)ra (we)? | CREATE TABLE "personal_pronouns_nominative_case" (
"subject" real,
"proximity" text,
"honor" text,
"singular" text,
"plural" text
); | SELECT AVG("subject") FROM "personal_pronouns_nominative_case" WHERE "plural"='am(ô)ra (we)'; | 2-1625862-1 |
What round was the player drafted from mississippi valley state? | CREATE TABLE "nfl_draft" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"college" text
); | SELECT "round" FROM "nfl_draft" WHERE "college"='mississippi valley state'; | 2-17386101-1 |
What college was the draft pick from who plays center position? | CREATE TABLE "nfl_draft" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "nfl_draft" WHERE "position"='center'; | 2-17386101-1 |
What is the record of the game with the toronto huskies as the opponent? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "opponent"='toronto huskies'; | 2-17371427-2 |
Who is the opponent on November 14? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "date"='november 14'; | 2-17371427-2 |
What is the record of the game with a game number greater than 7 at boston garden with the providence steam rollers as the opponent? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "game">7 AND "location"='boston garden' AND "opponent"='providence steam rollers'; | 2-17371427-2 |
What pick in round 5 did the 49ers pick Jim Pilot? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT SUM("pick") FROM "nfl_draft" WHERE "player"='jim pilot' AND "round">5; | 2-17406982-1 |
What pick in a round earlier than 4 did UCLA choose their pick? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "pick" FROM "nfl_draft" WHERE "round"<4 AND "school_club_team"='ucla'; | 2-17406982-1 |
What position did pick 36 play? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "position" FROM "nfl_draft" WHERE "pick"=36; | 2-17406982-1 |
Who is the owner of Miss Terrible? | CREATE TABLE "winners_of_the_distaff_turf_mile_stakes_" (
"year" real,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text
); | SELECT "owner" FROM "winners_of_the_distaff_turf_mile_stakes_" WHERE "winner"='miss terrible'; | 2-16458383-1 |
What is the most recent year that had a time of 1:36.69? | CREATE TABLE "winners_of_the_distaff_turf_mile_stakes_" (
"year" real,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text
); | SELECT MAX("year") FROM "winners_of_the_distaff_turf_mile_stakes_" WHERE "time"='1:36.69'; | 2-16458383-1 |
What time does the trainer, Todd Pletcher have? | CREATE TABLE "winners_of_the_distaff_turf_mile_stakes_" (
"year" real,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text
); | SELECT "time" FROM "winners_of_the_distaff_turf_mile_stakes_" WHERE "trainer"='todd pletcher'; | 2-16458383-1 |
What is the most recent year that Iftiraas was the winner? | CREATE TABLE "winners_of_the_distaff_turf_mile_stakes_" (
"year" real,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text
); | SELECT MAX("year") FROM "winners_of_the_distaff_turf_mile_stakes_" WHERE "winner"='iftiraas'; | 2-16458383-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.