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 tie for the Crystal Palace team? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "tie_no" FROM "fourth_round_proper" WHERE "home_team"='crystal palace'; | 2-16198456-5 |
What is the attendance for No. 15 tie? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "attendance" FROM "fourth_round_proper" WHERE "tie_no"='15'; | 2-16198456-5 |
WHich Open Cup has a Division larger than 4? | CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "open_cup" FROM "year_by_year" WHERE "division">4; | 2-16636344-1 |
Name the League which has a Regular Season of 3rd, atlantic? | CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "league" FROM "year_by_year" WHERE "regular_season"='3rd, atlantic'; | 2-16636344-1 |
WHICH Regular Season has a Division of 4? | CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "regular_season" FROM "year_by_year" WHERE "division"=4; | 2-16636344-1 |
WHICH Regular Season has a League of npsl, and a Year of 2008? | CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "regular_season" FROM "year_by_year" WHERE "league"='npsl' AND "year"='2008'; | 2-16636344-1 |
NAME THE Playoffs that HAVE a League of npsl, and a Open Cup of did not enter, and a Year of 2013? | CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "playoffs" FROM "year_by_year" WHERE "league"='npsl' AND "open_cup"='did not enter' AND "year"='2013'; | 2-16636344-1 |
What is the average February that has 18-26-10 as the record, with a game less than 54? | CREATE TABLE "schedule_and_results" (
"game" real,
"february" real,
"opponent" text,
"score" text,
"record" text
); | SELECT AVG("february") FROM "schedule_and_results" WHERE "record"='18-26-10' AND "game"<54; | 2-17323267-6 |
How many Februarys have montreal canadiens as the opponent, and 18-25-10 as the record, with a game greater than 53? | CREATE TABLE "schedule_and_results" (
"game" real,
"february" real,
"opponent" text,
"score" text,
"record" text
); | SELECT COUNT("february") FROM "schedule_and_results" WHERE "opponent"='montreal canadiens' AND "record"='18-25-10' AND "game">53; | 2-17323267-6 |
what is the surface when the opponent is selma babic? | CREATE TABLE "singles_15" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"result" text
); | SELECT "surface" FROM "singles_15" WHERE "opponent"='selma babic'; | 2-16893837-3 |
what is the surface when the round is gii play-offs and the edition is 2009 fed cup europe/africa group ii? | CREATE TABLE "singles_15" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"result" text
); | SELECT "surface" FROM "singles_15" WHERE "round"='gii play-offs' AND "edition"='2009 fed cup europe/africa group ii'; | 2-16893837-3 |
what is the date when the surface is clay and the result is 6–7 (4–7) , 1–6? | CREATE TABLE "singles_15" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"result" text
); | SELECT "date" FROM "singles_15" WHERE "surface"='clay' AND "result"='6–7 (4–7) , 1–6'; | 2-16893837-3 |
who is the opponent when norway is against? | CREATE TABLE "singles_15" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"result" text
); | SELECT "opponent" FROM "singles_15" WHERE "against"='norway'; | 2-16893837-3 |
What is Postion, when Weight is greater than 220, and when Player is "Travis Knight"? | CREATE TABLE "roster" (
"number" real,
"player" text,
"position" text,
"height" text,
"weight" real,
"years_exp" text,
"college" text
); | SELECT "position" FROM "roster" WHERE "weight">220 AND "player"='travis knight'; | 2-17309791-2 |
What is the lowest Number, when College is "University of Alabama"? | CREATE TABLE "roster" (
"number" real,
"player" text,
"position" text,
"height" text,
"weight" real,
"years_exp" text,
"college" text
); | SELECT MIN("number") FROM "roster" WHERE "college"='university of alabama'; | 2-17309791-2 |
What is the total number of Weight, when Position is "Forward/Center", when Player is "Othella Harrington", and when Number is less than 32? | CREATE TABLE "roster" (
"number" real,
"player" text,
"position" text,
"height" text,
"weight" real,
"years_exp" text,
"college" text
); | SELECT COUNT("weight") FROM "roster" WHERE "position"='forward/center' AND "player"='othella harrington' AND "number"<32; | 2-17309791-2 |
What is Years Exp, when Height is "7-2"? | CREATE TABLE "roster" (
"number" real,
"player" text,
"position" text,
"height" text,
"weight" real,
"years_exp" text,
"college" text
); | SELECT "years_exp" FROM "roster" WHERE "height"='7-2'; | 2-17309791-2 |
What is Position, when Weight is greater than 200, when Number is less than 44, when Years Exp is 9, and when College is "University of New Mexico"? | CREATE TABLE "roster" (
"number" real,
"player" text,
"position" text,
"height" text,
"weight" real,
"years_exp" text,
"college" text
); | SELECT "position" FROM "roster" WHERE "weight">200 AND "number"<44 AND "years_exp"='9' AND "college"='university of new mexico'; | 2-17309791-2 |
What was the release price of the Atom Z510PT processor? | CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"l2_cache" text,
"mult" text,
"voltage" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
); | SELECT "release_price_usd" FROM "45_nm" WHERE "model_number"='atom z510pt'; | 2-16729930-11 |
Which part number was used for the Atom Z500 processor? | CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"l2_cache" text,
"mult" text,
"voltage" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
); | SELECT "part_number_s" FROM "45_nm" WHERE "model_number"='atom z500'; | 2-16729930-11 |
What was the multiplier of the processor with sSpec number of SLGPR(C0) and a release price of N/A? | CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"l2_cache" text,
"mult" text,
"voltage" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
); | SELECT "mult" FROM "45_nm" WHERE "release_price_usd"='n/a' AND "s_spec_number"='slgpr(c0)'; | 2-16729930-11 |
Who is the runner-up at the Chicago challenge? | CREATE TABLE "lpga_tour_11" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "runner_s_up" FROM "lpga_tour_11" WHERE "tournament"='chicago challenge'; | 2-1711017-2 |
Who is the runner-up of Atlantic city classic? | CREATE TABLE "lpga_tour_11" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "runner_s_up" FROM "lpga_tour_11" WHERE "tournament"='atlantic city classic'; | 2-1711017-2 |
What is the date of the U.S. Women's open? | CREATE TABLE "lpga_tour_11" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "lpga_tour_11" WHERE "tournament"='u.s. women''s open'; | 2-1711017-2 |
What is the margin of victory of the gna/glendale federal classic? | CREATE TABLE "lpga_tour_11" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "margin_of_victory" FROM "lpga_tour_11" WHERE "tournament"='gna/glendale federal classic'; | 2-1711017-2 |
Which class has *buranaz as Part 4? | CREATE TABLE "classes_1_to_6" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
); | SELECT "class" FROM "classes_1_to_6" WHERE "part_4"='*buranaz'; | 2-1745843-2 |
What is the verb meaning for *bar as Part 2? | CREATE TABLE "classes_1_to_6" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
); | SELECT "verb_meaning" FROM "classes_1_to_6" WHERE "part_2"='*bar'; | 2-1745843-2 |
Which class has *alanaz as Part 4? | CREATE TABLE "classes_1_to_6" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
); | SELECT "class" FROM "classes_1_to_6" WHERE "part_4"='*alanaz'; | 2-1745843-2 |
Which class has *fraus as Part 2? | CREATE TABLE "classes_1_to_6" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
); | SELECT "class" FROM "classes_1_to_6" WHERE "part_2"='*fraus'; | 2-1745843-2 |
what is the transfer fee for evilasio? | CREATE TABLE "squad_changes" (
"nat" text,
"name" text,
"moving_from" text,
"type" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text,
"source" text
); | SELECT "transfer_fee" FROM "squad_changes" WHERE "name"='evilasio'; | 2-17480138-1 |
What team did James Vanderberg belong to when the Completions had a status of redshirt? | CREATE TABLE "passing_statistics" (
"year" text,
"team" text,
"attempts" text,
"completions" text,
"completion_pct" text,
"yards" text
); | SELECT "team" FROM "passing_statistics" WHERE "completions"='redshirt'; | 2-16326065-2 |
What were the number of completions for James Vanderberg on Iowa when his yards were 45? | CREATE TABLE "passing_statistics" (
"year" text,
"team" text,
"attempts" text,
"completions" text,
"completion_pct" text,
"yards" text
); | SELECT "completions" FROM "passing_statistics" WHERE "team"='iowa' AND "yards"='45'; | 2-16326065-2 |
What was the team Vanderberg belonged to when there was 42 completions? | CREATE TABLE "passing_statistics" (
"year" text,
"team" text,
"attempts" text,
"completions" text,
"completion_pct" text,
"yards" text
); | SELECT "team" FROM "passing_statistics" WHERE "completions"='42'; | 2-16326065-2 |
What number of attempts were recorded when the completions were 223? | CREATE TABLE "passing_statistics" (
"year" text,
"team" text,
"attempts" text,
"completions" text,
"completion_pct" text,
"yards" text
); | SELECT "attempts" FROM "passing_statistics" WHERE "completions"='223'; | 2-16326065-2 |
In what year was the number of attempts 888? | CREATE TABLE "passing_statistics" (
"year" text,
"team" text,
"attempts" text,
"completions" text,
"completion_pct" text,
"yards" text
); | SELECT "year" FROM "passing_statistics" WHERE "attempts"='888'; | 2-16326065-2 |
What was the number of attempts for Vanderberg on Iowa when the recorded yards were 2,249? | CREATE TABLE "passing_statistics" (
"year" text,
"team" text,
"attempts" text,
"completions" text,
"completion_pct" text,
"yards" text
); | SELECT "attempts" FROM "passing_statistics" WHERE "team"='iowa' AND "yards"='2,249'; | 2-16326065-2 |
Which Leading Scorer has an Opponent of @ indiana? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"score" text,
"leading_scorer" text,
"attendance" real,
"record" text
); | SELECT "leading_scorer" FROM "season_schedule" WHERE "opponent"='@ indiana'; | 2-17121661-5 |
Which Leading Scorer has a Record of 3-3? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"score" text,
"leading_scorer" text,
"attendance" real,
"record" text
); | SELECT "leading_scorer" FROM "season_schedule" WHERE "record"='3-3'; | 2-17121661-5 |
Which Attendance has an Opponent of @ phoenix, and a Leading Scorer of sophia young (18)? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"score" text,
"leading_scorer" text,
"attendance" real,
"record" text
); | SELECT MAX("attendance") FROM "season_schedule" WHERE "opponent"='@ phoenix' AND "leading_scorer"='sophia young (18)'; | 2-17121661-5 |
What is the date when tie number is 6? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "date" FROM "fourth_round_proper" WHERE "tie_no"='6'; | 2-17520911-5 |
Who is the home team with tie number 9? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "home_team" FROM "fourth_round_proper" WHERE "tie_no"='9'; | 2-17520911-5 |
Who is the home team when Sheffield United is the away team? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "home_team" FROM "fourth_round_proper" WHERE "away_team"='sheffield united'; | 2-17520911-5 |
What is the date when Aston Villa is the away team? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "date" FROM "fourth_round_proper" WHERE "away_team"='aston villa'; | 2-17520911-5 |
Who is the home team on 31 January 1951 when away team was Sheffield United? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "home_team" FROM "fourth_round_proper" WHERE "date"='31 january 1951' AND "away_team"='sheffield united'; | 2-17520911-5 |
What was the attendance during the match that took place after week 11 against the washington redskins? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT MAX("attendance") FROM "schedule" WHERE "week">11 AND "opponent"='washington redskins'; | 2-16660997-15 |
WHAT IS THE TO PAR FOR GEOFF OGILVY WITH A PLACE OF T3? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "to_par" FROM "first_round" WHERE "place"='t3' AND "player"='geoff ogilvy'; | 2-16881908-4 |
What year has the ride flight deck and a rating of less than 5? | CREATE TABLE "roller_coasters" (
"ride" text,
"year_opened" real,
"ride_manufacturer_and_type" text,
"minimum_height" text,
"rating" real
); | SELECT COUNT("year_opened") FROM "roller_coasters" WHERE "ride"='flight deck' AND "rating"<5; | 2-1680162-1 |
What is the highest rating after 1993 with a minumum height of 36"? | CREATE TABLE "roller_coasters" (
"ride" text,
"year_opened" real,
"ride_manufacturer_and_type" text,
"minimum_height" text,
"rating" real
); | SELECT MAX("rating") FROM "roller_coasters" WHERE "year_opened">1993 AND "minimum_height"='36\"'; | 2-1680162-1 |
What is the ride manufacturer and type with a minimum height of 54", after the year 1991? | CREATE TABLE "roller_coasters" (
"ride" text,
"year_opened" real,
"ride_manufacturer_and_type" text,
"minimum_height" text,
"rating" real
); | SELECT "ride_manufacturer_and_type" FROM "roller_coasters" WHERE "minimum_height"='54\"' AND "year_opened">1991; | 2-1680162-1 |
when was birth when death place is n.a., other names is n.a. and name is wahid-un-nisa begum sahiba? | CREATE TABLE "children" (
"name" text,
"other_names" text,
"birth" text,
"death" text,
"death_place" text,
"mother" text
); | SELECT "birth" FROM "children" WHERE "death_place"='n.a.' AND "other_names"='n.a.' AND "name"='wahid-un-nisa begum sahiba'; | 2-16508076-3 |
what is other names when death is may 23, 1821? | CREATE TABLE "children" (
"name" text,
"other_names" text,
"birth" text,
"death" text,
"death_place" text,
"mother" text
); | SELECT "other_names" FROM "children" WHERE "death"='may 23, 1821'; | 2-16508076-3 |
when is death when death place is murshidabad and name is mir mehndi? | CREATE TABLE "children" (
"name" text,
"other_names" text,
"birth" text,
"death" text,
"death_place" text,
"mother" text
); | SELECT "death" FROM "children" WHERE "death_place"='murshidabad' AND "name"='mir mehndi'; | 2-16508076-3 |
what is the name when death is november 10, 1842? | CREATE TABLE "children" (
"name" text,
"other_names" text,
"birth" text,
"death" text,
"death_place" text,
"mother" text
); | SELECT "name" FROM "children" WHERE "death"='november 10, 1842'; | 2-16508076-3 |
What is Internet Plan, when Price is "22 EUR"? | CREATE TABLE "serbia" (
"internet_plan" text,
"downstream" text,
"upstream" text,
"bandwidth_included" text,
"price" text
); | SELECT "internet_plan" FROM "serbia" WHERE "price"='22 eur'; | 2-17304621-9 |
What is Downstream, when Upstream is "384 kbit"? | CREATE TABLE "serbia" (
"internet_plan" text,
"downstream" text,
"upstream" text,
"bandwidth_included" text,
"price" text
); | SELECT "downstream" FROM "serbia" WHERE "upstream"='384 kbit'; | 2-17304621-9 |
What is Bandwidth Included, when Price is "50 EUR"? | CREATE TABLE "serbia" (
"internet_plan" text,
"downstream" text,
"upstream" text,
"bandwidth_included" text,
"price" text
); | SELECT "bandwidth_included" FROM "serbia" WHERE "price"='50 eur'; | 2-17304621-9 |
What is Upstream, when Price is "14 EUR"? | CREATE TABLE "serbia" (
"internet_plan" text,
"downstream" text,
"upstream" text,
"bandwidth_included" text,
"price" text
); | SELECT "upstream" FROM "serbia" WHERE "price"='14 eur'; | 2-17304621-9 |
What is Bandwidth Included, when Internet Plan is "8mb"? | CREATE TABLE "serbia" (
"internet_plan" text,
"downstream" text,
"upstream" text,
"bandwidth_included" text,
"price" text
); | SELECT "bandwidth_included" FROM "serbia" WHERE "internet_plan"='8mb'; | 2-17304621-9 |
What is the Price, when Upstream is "256 kbit"? | CREATE TABLE "serbia" (
"internet_plan" text,
"downstream" text,
"upstream" text,
"bandwidth_included" text,
"price" text
); | SELECT "price" FROM "serbia" WHERE "upstream"='256 kbit'; | 2-17304621-9 |
Which Semifinalists has a Finalist of andre agassi? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner" text,
"finalist" text,
"semifinalists" text
); | SELECT "semifinalists" FROM "singles" WHERE "finalist"='andre agassi'; | 2-16763320-1 |
WHich Tournament has a Finalist of gustavo kuerten (4)? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner" text,
"finalist" text,
"semifinalists" text
); | SELECT "tournament" FROM "singles" WHERE "finalist"='gustavo kuerten (4)'; | 2-16763320-1 |
Which finalist has Semifinalists of andre agassi (1) lleyton hewitt (14)? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner" text,
"finalist" text,
"semifinalists" text
); | SELECT "finalist" FROM "singles" WHERE "semifinalists"='andre agassi (1) lleyton hewitt (14)'; | 2-16763320-1 |
Which Finalist has a Tournament of monte carlo? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner" text,
"finalist" text,
"semifinalists" text
); | SELECT "finalist" FROM "singles" WHERE "tournament"='monte carlo'; | 2-16763320-1 |
WHo is the Winner of andre agassi Finalist? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner" text,
"finalist" text,
"semifinalists" text
); | SELECT "winner" FROM "singles" WHERE "finalist"='andre agassi'; | 2-16763320-1 |
WHich Tournament has a Finalist of marat safin (12)? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner" text,
"finalist" text,
"semifinalists" text
); | SELECT "tournament" FROM "singles" WHERE "finalist"='marat safin (12)'; | 2-16763320-1 |
What was the date for the Sepang International circuit, round 3? | CREATE TABLE "race_calendar" (
"round" text,
"location" text,
"circuit" text,
"date" text,
"winning_driver" text
); | SELECT "date" FROM "race_calendar" WHERE "circuit"='sepang international circuit' AND "round"='3'; | 2-16977583-2 |
Which round had a winning driver of Uwe Alzen, at the Sepang International circuit? | CREATE TABLE "race_calendar" (
"round" text,
"location" text,
"circuit" text,
"date" text,
"winning_driver" text
); | SELECT "round" FROM "race_calendar" WHERE "winning_driver"='uwe alzen' AND "circuit"='sepang international circuit'; | 2-16977583-2 |
What was the round number for March 22? | CREATE TABLE "race_calendar" (
"round" text,
"location" text,
"circuit" text,
"date" text,
"winning_driver" text
); | SELECT "round" FROM "race_calendar" WHERE "date"='march 22'; | 2-16977583-2 |
Who had the high points in the game @ Charlotte? | 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_points" FROM "game_log" WHERE "team"='@ charlotte'; | 2-17311759-8 |
What's the record of Game 70? | 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 "record" FROM "game_log" WHERE "game"=70; | 2-17311759-8 |
Who had the high points when they played in Philips Arena 14,413? | 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_points" FROM "game_log" WHERE "location_attendance"='philips arena 14,413'; | 2-17311759-8 |
What is the date of the game that took place at the Resch Center? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text
); | SELECT "date" FROM "regular_season" WHERE "game_site"='resch center'; | 2-17552420-1 |
Which network returns april 3, and a Show of shop 'til you drop? | CREATE TABLE "programs_returning_during_2000" (
"show" text,
"last_aired" real,
"previous_network" text,
"retitled_as_same" text,
"new_returning_same_network" text,
"returning" text
); | SELECT "new_returning_same_network" FROM "programs_returning_during_2000" WHERE "returning"='april 3' AND "show"='shop ''til you drop'; | 2-169766-13 |
Which retitled network has a Show of supermarket sweep? | CREATE TABLE "programs_returning_during_2000" (
"show" text,
"last_aired" real,
"previous_network" text,
"retitled_as_same" text,
"new_returning_same_network" text,
"returning" text
); | SELECT "retitled_as_same" FROM "programs_returning_during_2000" WHERE "show"='supermarket sweep'; | 2-169766-13 |
Which show returns april 3 with a Previous Network of lifetime? | CREATE TABLE "programs_returning_during_2000" (
"show" text,
"last_aired" real,
"previous_network" text,
"retitled_as_same" text,
"new_returning_same_network" text,
"returning" text
); | SELECT "retitled_as_same" FROM "programs_returning_during_2000" WHERE "returning"='april 3' AND "previous_network"='lifetime'; | 2-169766-13 |
What is the lowest grid number for Yamaha? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT MIN("grid") FROM "250cc_classification" WHERE "manufacturer"='yamaha'; | 2-16287116-2 |
How many laps had a grid over 16 and a Time of +1:35.890? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "laps" FROM "250cc_classification" WHERE "grid">16 AND "time"='+1:35.890'; | 2-16287116-2 |
What was the lowest lab for Gilera with a grid less than 12? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT MIN("laps") FROM "250cc_classification" WHERE "manufacturer"='gilera' AND "grid"<12; | 2-16287116-2 |
What is the highest Grid with a time of +1:19.905, and less than 20 laps? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT MAX("grid") FROM "250cc_classification" WHERE "time"='+1:19.905' AND "laps"<20; | 2-16287116-2 |
What Rider has a Grid of 21? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "rider" FROM "250cc_classification" WHERE "grid"=21; | 2-16287116-2 |
Who is the away captain when the game resulted in [[|]] by 7 wickets? | CREATE TABLE "zimbabwe_in_kenya" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "away_captain" FROM "zimbabwe_in_kenya" WHERE "result"='[[|]] by 7 wickets'; | 2-17324788-32 |
Who is the home captain of the match that resulted [[|]] by 151 runs? | CREATE TABLE "zimbabwe_in_kenya" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "home_captain" FROM "zimbabwe_in_kenya" WHERE "result"='[[|]] by 151 runs'; | 2-17324788-32 |
How many totals have a To par of –1? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT SUM("total") FROM "made_the_cut" WHERE "to_par"='–1'; | 2-17162239-1 |
Which Year(s) won has a Total smaller than 285, and a Player of tom watson? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "year_s_won" FROM "made_the_cut" WHERE "total"<285 AND "player"='tom watson'; | 2-17162239-1 |
Which Finish has a Total of 288? | 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"=288; | 2-17162239-1 |
Who won in 1991? | 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 "year_s_won"='1991'; | 2-17162239-1 |
Who was picked before 149 in round 9? | CREATE TABLE "nhl_amateur_draft" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "player" FROM "nhl_amateur_draft" WHERE "pick"<149 AND "round"=9; | 2-16497097-8 |
Who was pick 16 and before round 10? | CREATE TABLE "nhl_amateur_draft" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "player" FROM "nhl_amateur_draft" WHERE "round"<10 AND "pick"=16; | 2-16497097-8 |
What is Affiliation, when Nickname is Bulldogs? | CREATE TABLE "current_teams" (
"institution" text,
"location" text,
"founded" real,
"affiliation" text,
"enrollment" real,
"nickname" text
); | SELECT "affiliation" FROM "current_teams" WHERE "nickname"='bulldogs'; | 2-16432704-1 |
What is the average Founded, when Enrollment is 4,000? | CREATE TABLE "current_teams" (
"institution" text,
"location" text,
"founded" real,
"affiliation" text,
"enrollment" real,
"nickname" text
); | SELECT AVG("founded") FROM "current_teams" WHERE "enrollment"='4,000'; | 2-16432704-1 |
Which team raced at Amaroo Park? | CREATE TABLE "race_calendar" (
"race_title" text,
"circuit" text,
"city_state" text,
"date" text,
"winner" text,
"team" text
); | SELECT "team" FROM "race_calendar" WHERE "circuit"='amaroo park'; | 2-16590584-2 |
On what date did Dick Johnson with at Calder? | CREATE TABLE "race_calendar" (
"race_title" text,
"circuit" text,
"city_state" text,
"date" text,
"winner" text,
"team" text
); | SELECT "date" FROM "race_calendar" WHERE "winner"='dick johnson' AND "race_title"='calder'; | 2-16590584-2 |
Which team raced on Oran Park Raceway? | CREATE TABLE "race_calendar" (
"race_title" text,
"circuit" text,
"city_state" text,
"date" text,
"winner" text,
"team" text
); | SELECT "team" FROM "race_calendar" WHERE "circuit"='oran park raceway'; | 2-16590584-2 |
On what date was the race in Melbourne, Victoria? | CREATE TABLE "race_calendar" (
"race_title" text,
"circuit" text,
"city_state" text,
"date" text,
"winner" text,
"team" text
); | SELECT "date" FROM "race_calendar" WHERE "city_state"='melbourne, victoria'; | 2-16590584-2 |
Which city or state contains Calder Park Raceway? | CREATE TABLE "race_calendar" (
"race_title" text,
"circuit" text,
"city_state" text,
"date" text,
"winner" text,
"team" text
); | SELECT "city_state" FROM "race_calendar" WHERE "circuit"='calder park raceway'; | 2-16590584-2 |
What is the most reduced Margin that has a St Kilda Saints of 11.13 (79)? | CREATE TABLE "home_and_away_rounds" (
"round" text,
"st_kilda_saints" text,
"opposition" text,
"their_score" text,
"margin" real
); | SELECT MIN("margin") FROM "home_and_away_rounds" WHERE "st_kilda_saints"='11.13 (79)'; | 2-16704379-1 |
What is the average Margin that has a Round of 13. (h)? | CREATE TABLE "home_and_away_rounds" (
"round" text,
"st_kilda_saints" text,
"opposition" text,
"their_score" text,
"margin" real
); | SELECT AVG("margin") FROM "home_and_away_rounds" WHERE "round"='13. (h)'; | 2-16704379-1 |
What is the location of South Adelaide? | CREATE TABLE "south_australia" (
"team" text,
"coach" text,
"home_ground" text,
"location" text,
"founded" text
); | SELECT "location" FROM "south_australia" WHERE "team"='south adelaide'; | 2-1742186-16 |
Which team has an unknown coach and location of Athelstone? | CREATE TABLE "south_australia" (
"team" text,
"coach" text,
"home_ground" text,
"location" text,
"founded" text
); | SELECT "team" FROM "south_australia" WHERE "coach"='unknown' AND "location"='athelstone'; | 2-1742186-16 |
When was the team that plays at Athelstone founded? | CREATE TABLE "south_australia" (
"team" text,
"coach" text,
"home_ground" text,
"location" text,
"founded" text
); | SELECT "founded" FROM "south_australia" WHERE "location"='athelstone'; | 2-1742186-16 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.