question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What is Date, when Team is "Orlando"? | 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 "date" FROM "game_log" WHERE "team"='orlando'; | 2-17325937-6 |
What is the total number of laps that Benoît Tréyluyer completed when his position was 7th and the year was before 2008? | CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
); | SELECT COUNT("laps") FROM "24_hours_of_le_mans_results" WHERE "class_pos"='7th' AND "year"<2008; | 2-17463660-3 |
Which team has finished in 1st place in 2011? | CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
); | SELECT "team" FROM "24_hours_of_le_mans_results" WHERE "pos"='1st' AND "year"=2011; | 2-17463660-3 |
What is the Episode number of Ernest Dickerson in 2009 when the show was dexter? | CREATE TABLE "director" (
"year" real,
"show" text,
"season" text,
"episode" text,
"notes" text
); | SELECT "episode" FROM "director" WHERE "year"=2009 AND "show"='dexter'; | 2-1757873-1 |
What is the result on 29 September 2007? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "date"='29 september 2007'; | 2-17248046-1 |
Which competition was on 29 September 2007? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "international_goals" WHERE "date"='29 september 2007'; | 2-17248046-1 |
Where was the game where the senators scored 80 points? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "location" FROM "game_log" WHERE "points"=80; | 2-17040191-10 |
What is the highest number of points against the boston bruins on game 77? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
); | SELECT MAX("points") FROM "game_log" WHERE "opponent"='boston bruins' AND "game"=77; | 2-17040191-10 |
WHAT IS THE LOWEST GRID FOR RETIREMENT, AND LAPS LARGER THAN 17? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MIN("grid") FROM "250cc_classification" WHERE "time_retired"='retirement' AND "laps">17; | 2-17061284-2 |
WHAT IS THE GRID WITH AN ACCIDENT AND HONDA MANUFACTURER? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MAX("grid") FROM "250cc_classification" WHERE "time_retired"='accident' AND "manufacturer"='honda'; | 2-17061284-2 |
What was the date of death for a rank below 14 and age of 103 years, 148 days? | CREATE TABLE "oldest_first_class_cricketers" (
"rank" real,
"name" text,
"team_s" text,
"birth_date" text,
"death_date" text,
"age_as_of_1_february_2014" text,
"nationality" text
); | SELECT "death_date" FROM "oldest_first_class_cricketers" WHERE "rank"<14 AND "age_as_of_1_february_2014"='103 years, 148 days'; | 2-16388723-6 |
What is the age of Fred Gibson? | CREATE TABLE "oldest_first_class_cricketers" (
"rank" real,
"name" text,
"team_s" text,
"birth_date" text,
"death_date" text,
"age_as_of_1_february_2014" text,
"nationality" text
); | SELECT "age_as_of_1_february_2014" FROM "oldest_first_class_cricketers" WHERE "name"='fred gibson'; | 2-16388723-6 |
Who is at rank 9? | CREATE TABLE "oldest_first_class_cricketers" (
"rank" real,
"name" text,
"team_s" text,
"birth_date" text,
"death_date" text,
"age_as_of_1_february_2014" text,
"nationality" text
); | SELECT "name" FROM "oldest_first_class_cricketers" WHERE "rank"=9; | 2-16388723-6 |
What is the finish of player Hale Irwin? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real,
"finish" text
); | SELECT "finish" FROM "made_the_cut" WHERE "player"='hale irwin'; | 2-17128242-2 |
What is the finish of South Africa? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real,
"finish" text
); | SELECT "finish" FROM "made_the_cut" WHERE "country"='south africa'; | 2-17128242-2 |
With a nominative of chven-i what is the ergative? | CREATE TABLE "possessive_adjectives" (
"nominative" text,
"ergative" text,
"dative" text,
"genitive" text,
"instrumental" text,
"adverbial" text
); | SELECT "ergative" FROM "possessive_adjectives" WHERE "nominative"='chven-i'; | 2-1730774-4 |
What instrumental has tkven-i as the genitive? | CREATE TABLE "possessive_adjectives" (
"nominative" text,
"ergative" text,
"dative" text,
"genitive" text,
"instrumental" text,
"adverbial" text
); | SELECT "instrumental" FROM "possessive_adjectives" WHERE "genitive"='tkven-i'; | 2-1730774-4 |
What nominative has mis as the dative? | CREATE TABLE "possessive_adjectives" (
"nominative" text,
"ergative" text,
"dative" text,
"genitive" text,
"instrumental" text,
"adverbial" text
); | SELECT "nominative" FROM "possessive_adjectives" WHERE "dative"='mis'; | 2-1730774-4 |
With chem-s as the dative, what is the ergative? | CREATE TABLE "possessive_adjectives" (
"nominative" text,
"ergative" text,
"dative" text,
"genitive" text,
"instrumental" text,
"adverbial" text
); | SELECT "ergative" FROM "possessive_adjectives" WHERE "dative"='chem-s'; | 2-1730774-4 |
What instrumental has chven-s as the adverbial? | CREATE TABLE "possessive_adjectives" (
"nominative" text,
"ergative" text,
"dative" text,
"genitive" text,
"instrumental" text,
"adverbial" text
); | SELECT "instrumental" FROM "possessive_adjectives" WHERE "adverbial"='chven-s'; | 2-1730774-4 |
Mis-i is the nominative of what ergative? | CREATE TABLE "possessive_adjectives" (
"nominative" text,
"ergative" text,
"dative" text,
"genitive" text,
"instrumental" text,
"adverbial" text
); | SELECT "ergative" FROM "possessive_adjectives" WHERE "nominative"='mis-i'; | 2-1730774-4 |
what was the week for the match on a hard surface at Indian Wells tournament? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner" text,
"finalist" text,
"semifinalists" text
); | SELECT "week" FROM "singles" WHERE "surface"='hard' AND "tournament"='indian wells'; | 2-16763561-1 |
What week was the tournament at Cincinnati? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner" text,
"finalist" text,
"semifinalists" text
); | SELECT "week" FROM "singles" WHERE "tournament"='cincinnati'; | 2-16763561-1 |
Where was the tournament where the match was on a hard surface and jan-michael gambill (19) was the finalist? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner" text,
"finalist" text,
"semifinalists" text
); | SELECT "tournament" FROM "singles" WHERE "surface"='hard' AND "finalist"='jan-michael gambill (19)'; | 2-16763561-1 |
Who was the semifinalist at the tournament in miami? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner" text,
"finalist" text,
"semifinalists" text
); | SELECT "semifinalists" FROM "singles" WHERE "tournament"='miami'; | 2-16763561-1 |
Who was the winner at the tournament in Hamburg? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner" text,
"finalist" text,
"semifinalists" text
); | SELECT "winner" FROM "singles" WHERE "tournament"='hamburg'; | 2-16763561-1 |
what is the venue on 21 june 1987? | CREATE TABLE "greek_cup_finals" (
"year" text,
"winner" text,
"runner_up" text,
"score" text,
"venue" text
); | SELECT "venue" FROM "greek_cup_finals" WHERE "year"='21 june 1987'; | 2-17494902-3 |
When is the winner panathinaikos, the runner-up olympiacos and the venue nikos goumas stadium? | CREATE TABLE "greek_cup_finals" (
"year" text,
"winner" text,
"runner_up" text,
"score" text,
"venue" text
); | SELECT "year" FROM "greek_cup_finals" WHERE "winner"='panathinaikos' AND "runner_up"='olympiacos' AND "venue"='nikos goumas stadium'; | 2-17494902-3 |
When is the winner olympiacos, the venue is georgios karaiskakis stadium and the runner-up is iraklis? | CREATE TABLE "greek_cup_finals" (
"year" text,
"winner" text,
"runner_up" text,
"score" text,
"venue" text
); | SELECT "year" FROM "greek_cup_finals" WHERE "winner"='olympiacos' AND "venue"='georgios karaiskakis stadium' AND "runner_up"='iraklis'; | 2-17494902-3 |
when is the venue nikos goumas stadium and the score is 2–2 4–4 a.e.t. 6–5 pso? | CREATE TABLE "greek_cup_finals" (
"year" text,
"winner" text,
"runner_up" text,
"score" text,
"venue" text
); | SELECT "year" FROM "greek_cup_finals" WHERE "venue"='nikos goumas stadium' AND "score"='2–2 4–4 a.e.t. 6–5 pso'; | 2-17494902-3 |
what is the score when the venue is athens olympic stadium on 30 april 2011? | CREATE TABLE "greek_cup_finals" (
"year" text,
"winner" text,
"runner_up" text,
"score" text,
"venue" text
); | SELECT "score" FROM "greek_cup_finals" WHERE "venue"='athens olympic stadium' AND "year"='30 april 2011'; | 2-17494902-3 |
Which Season has a Skip of Eve Muirhead with a thirs of Jackie Lockhart (e/o) Kelly Wood (w)? | CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "season" FROM "teams" WHERE "skip"='eve muirhead' AND "third"='jackie lockhart (e/o) kelly wood (w)'; | 2-16457286-1 |
What is the season with a Skip of Eve Muirhead and a third of Kerry Barr? | CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "season" FROM "teams" WHERE "skip"='eve muirhead' AND "third"='kerry barr'; | 2-16457286-1 |
Who is the second with a lead of Sarah Macintyre (jr) Anne Laird (w)? | CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "second" FROM "teams" WHERE "lead"='sarah macintyre (jr) anne laird (w)'; | 2-16457286-1 |
What is the skip that has a third of Anna Sloan in season 2012-13? | CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "skip" FROM "teams" WHERE "third"='anna sloan' AND "season"='2012-13'; | 2-16457286-1 |
What is the lead with a second of Vicki Adams and a third of Anna Sloan? | CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "lead" FROM "teams" WHERE "second"='vicki adams' AND "third"='anna sloan'; | 2-16457286-1 |
Who is the second where the third of Kelly Wood (e) Anna Sloan (Jr)? | CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "second" FROM "teams" WHERE "third"='kelly wood (e) anna sloan (jr)'; | 2-16457286-1 |
What is Date, when Game is "65"? | 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 "date" FROM "game_log" WHERE "game"=65; | 2-17325580-9 |
What is High Rebounds, when Date is "March 12"? | 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 "date"='march 12'; | 2-17325580-9 |
What is High Rebounds, when Date is "March 13"? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_rebounds" FROM "game_log" WHERE "date"='march 13'; | 2-17325580-9 |
What is Record, when Location Attendance is "TD Banknorth Garden 18,624"? | 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 "location_attendance"='td banknorth garden 18,624'; | 2-17325580-9 |
What is Team, when Game is "59"? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "team" FROM "game_log" WHERE "game"=59; | 2-17325580-9 |
What is the Score when the Away Team is Torquay United? | CREATE TABLE "second_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "score" FROM "second_round_proper" WHERE "away_team"='torquay united'; | 2-16198456-3 |
Which Away Team has a Tie no of replay and a Home Team of Chesterfield? | CREATE TABLE "second_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "away_team" FROM "second_round_proper" WHERE "tie_no"='replay' AND "home_team"='chesterfield'; | 2-16198456-3 |
What is the Away Team when the Home Team is Torquay United and the Attendence is 6 December 1997? | CREATE TABLE "second_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "away_team" FROM "second_round_proper" WHERE "attendance"='6 december 1997' AND "home_team"='torquay united'; | 2-16198456-3 |
What is the Chassis of the Honda Engine with a Motorola sponsor? | CREATE TABLE "teams_and_drivers" (
"team" text,
"chassis" text,
"engine" text,
"tire" text,
"sponsor" text
); | SELECT "chassis" FROM "teams_and_drivers" WHERE "engine"='honda' AND "sponsor"='motorola'; | 2-16732659-1 |
What is the engine of the goodyear tire and Herdez as a sponsor? | CREATE TABLE "teams_and_drivers" (
"team" text,
"chassis" text,
"engine" text,
"tire" text,
"sponsor" text
); | SELECT "engine" FROM "teams_and_drivers" WHERE "tire"='goodyear' AND "sponsor"='herdez'; | 2-16732659-1 |
What engine does the Tasman Motorsports team have? | CREATE TABLE "teams_and_drivers" (
"team" text,
"chassis" text,
"engine" text,
"tire" text,
"sponsor" text
); | SELECT "engine" FROM "teams_and_drivers" WHERE "team"='tasman motorsports'; | 2-16732659-1 |
Which Tire has a Sponsor of Duracell? | CREATE TABLE "teams_and_drivers" (
"team" text,
"chassis" text,
"engine" text,
"tire" text,
"sponsor" text
); | SELECT "tire" FROM "teams_and_drivers" WHERE "sponsor"='duracell'; | 2-16732659-1 |
Which team has Firestone Tires a Reynard 95i Chassis and is sponsored by Motorola? | CREATE TABLE "teams_and_drivers" (
"team" text,
"chassis" text,
"engine" text,
"tire" text,
"sponsor" text
); | SELECT "team" FROM "teams_and_drivers" WHERE "tire"='firestone' AND "chassis"='reynard 95i' AND "sponsor"='motorola'; | 2-16732659-1 |
What is the highest # Of Constituency Votes, when Election is 2005? | CREATE TABLE "general_election_results" (
"election" real,
"leader" text,
"num_of_candidates" real,
"num_of_constituency_votes" real,
"pct_of_constituency_vote" text
); | SELECT MAX("num_of_constituency_votes") FROM "general_election_results" WHERE "election"=2005; | 2-164231-1 |
What is the sum of # Of Candidates, when # of Constituency Votes is less than 25,643,309, when Leader is Masayoshi Ōhira, and when Election is before 1979? | CREATE TABLE "general_election_results" (
"election" real,
"leader" text,
"num_of_candidates" real,
"num_of_constituency_votes" real,
"pct_of_constituency_vote" text
); | SELECT SUM("num_of_candidates") FROM "general_election_results" WHERE "num_of_constituency_votes"<'25,643,309' AND "leader"='masayoshi ōhira' AND "election"<1979; | 2-164231-1 |
What is the % Of Constituency Vote, when # Of Constituency Votes is greater than 25,643,309, and when # Of Candidates is 310? | CREATE TABLE "general_election_results" (
"election" real,
"leader" text,
"num_of_candidates" real,
"num_of_constituency_votes" real,
"pct_of_constituency_vote" text
); | SELECT "pct_of_constituency_vote" FROM "general_election_results" WHERE "num_of_constituency_votes">'25,643,309' AND "num_of_candidates"=310; | 2-164231-1 |
What is the highest # Of Constituency Votes, when Election is before 1976, when Leader is Eisaku Satō, and when # Of Candidates is less than 328? | CREATE TABLE "general_election_results" (
"election" real,
"leader" text,
"num_of_candidates" real,
"num_of_constituency_votes" real,
"pct_of_constituency_vote" text
); | SELECT MAX("num_of_constituency_votes") FROM "general_election_results" WHERE "election"<1976 AND "leader"='eisaku satō' AND "num_of_candidates"<328; | 2-164231-1 |
What was the overall draft pick of the player who was a db and attended college in iowa? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "overall" FROM "washington_redskins_draft_history" WHERE "college"='iowa' AND "position"='db'; | 2-17100961-16 |
What number pick was the player drafted in round 3 at #28 overall? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT AVG("pick") FROM "washington_redskins_draft_history" WHERE "overall"<28 AND "round"=3; | 2-17100961-16 |
What is the lowest total data processing and exploitation of 00 0,228, and a management and support larger than 1,7? | CREATE TABLE "national_intelligence_program_nip" (
"administrating_agencies_by_nip_funds_only" text,
"management_and_support" real,
"data_collection" text,
"data_processing_and_exploitation" text,
"total" real
); | SELECT MIN("total") FROM "national_intelligence_program_nip" WHERE "data_processing_and_exploitation"='00 0,228' AND "management_and_support">'1,7'; | 2-17198719-1 |
Which permanent account has registration of invite-only and userpics free of unknown? | CREATE TABLE "defunct_sites" (
"name" text,
"year_began" text,
"registration" text,
"userpics_free" text,
"userpics_paid" text,
"monthly_cost_for_paid_account" text,
"yearly_cost_for_paid_account" text,
"permanent_account" text
); | SELECT "permanent_account" FROM "defunct_sites" WHERE "userpics_free"='unknown' AND "registration"='invite-only'; | 2-16533529-2 |
What is the year began for the site with free userpics cost of $1 and a userpics paid value of N/A? | CREATE TABLE "defunct_sites" (
"name" text,
"year_began" text,
"registration" text,
"userpics_free" text,
"userpics_paid" text,
"monthly_cost_for_paid_account" text,
"yearly_cost_for_paid_account" text,
"permanent_account" text
); | SELECT "year_began" FROM "defunct_sites" WHERE "userpics_paid"='n/a' AND "userpics_free"='1'; | 2-16533529-2 |
Which Week has a Tournament of monte carlo? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner_and_score" text,
"finalist" text,
"semifinalists" text
); | SELECT "week" FROM "singles" WHERE "tournament"='monte carlo'; | 2-16379716-1 |
Which Winner and score has a Finalist of aaron krickstein? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner_and_score" text,
"finalist" text,
"semifinalists" text
); | SELECT "winner_and_score" FROM "singles" WHERE "finalist"='aaron krickstein'; | 2-16379716-1 |
Which Semifinalists have a Surface of hard, and a Winner and score of pete sampras 6–3, 3–6, 6–3? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner_and_score" text,
"finalist" text,
"semifinalists" text
); | SELECT "semifinalists" FROM "singles" WHERE "surface"='hard' AND "winner_and_score"='pete sampras 6–3, 3–6, 6–3'; | 2-16379716-1 |
Which Finalist has a Winner and score of boris becker 7–6(3), 6–3, 3–6, 6–3? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner_and_score" text,
"finalist" text,
"semifinalists" text
); | SELECT "finalist" FROM "singles" WHERE "winner_and_score"='boris becker 7–6(3), 6–3, 3–6, 6–3'; | 2-16379716-1 |
Which Semifinalists have a Finalist of andrei chesnokov? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner_and_score" text,
"finalist" text,
"semifinalists" text
); | SELECT "semifinalists" FROM "singles" WHERE "finalist"='andrei chesnokov'; | 2-16379716-1 |
Which Surface has Semifinalists of wally masur malivai washington? | CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner_and_score" text,
"finalist" text,
"semifinalists" text
); | SELECT "surface" FROM "singles" WHERE "semifinalists"='wally masur malivai washington'; | 2-16379716-1 |
What place had a score of 73-69-68=210? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round" WHERE "score"='73-69-68=210'; | 2-17245540-6 |
What country is Gary Player from in T9 place? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "third_round" WHERE "place"='t9' AND "player"='gary player'; | 2-17245540-6 |
What's the score of New Zealand? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "third_round" WHERE "country"='new zealand'; | 2-17245540-6 |
What player has a score of 67-70-77=214? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "player" FROM "third_round" WHERE "score"='67-70-77=214'; | 2-17245540-6 |
What country has a finish of 59? | 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 "finish"='59'; | 2-17277107-1 |
What is the To Par when the finish was t16 and the player was Julius Boros? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "to_par" FROM "made_the_cut" WHERE "finish"='t16' AND "player"='julius boros'; | 2-17277107-1 |
What was the finish for Billy Casper? | 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 "player"='billy casper'; | 2-17277107-1 |
Who is the competitor with a downhill of more than 55, and 1st DQ run? | CREATE TABLE "alpine_skiing_at_the_1936_winter_olympic" (
"place" text,
"downhill" real,
"competitor" text,
"1st_run" text,
"2nd_run" text,
"points" text
); | SELECT "competitor" FROM "alpine_skiing_at_the_1936_winter_olympic" WHERE "downhill">55 AND "1st_run"='dq'; | 2-17578867-3 |
What is the 1st run that is down hill less than 46, and 84.45 points? | CREATE TABLE "alpine_skiing_at_the_1936_winter_olympic" (
"place" text,
"downhill" real,
"competitor" text,
"1st_run" text,
"2nd_run" text,
"points" text
); | SELECT "1st_run" FROM "alpine_skiing_at_the_1936_winter_olympic" WHERE "downhill"<46 AND "points"='84.45'; | 2-17578867-3 |
What ground has 0.14.1.6 (93) as the home team score? | CREATE TABLE "week_1" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text
); | SELECT "ground" FROM "week_1" WHERE "home_team_score"='0.14.1.6 (93)'; | 2-16388506-1 |
What away team score has hawthorn as the home team? | CREATE TABLE "week_1" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "week_1" WHERE "home_team"='hawthorn'; | 2-16388506-1 |
What is the make of the vehicle for driver Hisashi Wada? | CREATE TABLE "gt300" (
"team" text,
"make" text,
"drivers" text,
"tyre" text,
"rounds" text
); | SELECT "make" FROM "gt300" WHERE "drivers"='hisashi wada'; | 2-16212690-2 |
In what rounds was the featured team of Avanzza Rosso? | CREATE TABLE "gt300" (
"team" text,
"make" text,
"drivers" text,
"tyre" text,
"rounds" text
); | SELECT "rounds" FROM "gt300" WHERE "team"='avanzza rosso'; | 2-16212690-2 |
In what rounds was the featured driver Tomonobu Fujii with a Tyre of Y? | CREATE TABLE "gt300" (
"team" text,
"make" text,
"drivers" text,
"tyre" text,
"rounds" text
); | SELECT "rounds" FROM "gt300" WHERE "tyre"='y' AND "drivers"='tomonobu fujii'; | 2-16212690-2 |
Who is the driver with a tyre of k for Avanzza Rosso? | CREATE TABLE "gt300" (
"team" text,
"make" text,
"drivers" text,
"tyre" text,
"rounds" text
); | SELECT "drivers" FROM "gt300" WHERE "tyre"='k' AND "team"='avanzza rosso'; | 2-16212690-2 |
What is the tyre for Yoshihisa Namekata? | CREATE TABLE "gt300" (
"team" text,
"make" text,
"drivers" text,
"tyre" text,
"rounds" text
); | SELECT "tyre" FROM "gt300" WHERE "drivers"='yoshihisa namekata'; | 2-16212690-2 |
If the pick is under 28 and the position is k, what's the highest Overall pick? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MAX("overall") FROM "washington_redskins_draft_history" WHERE "position"='k' AND "pick"<28; | 2-17100961-59 |
During round 8 when the Position being picked was rb, what was the highest overall pick? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MAX("overall") FROM "washington_redskins_draft_history" WHERE "position"='rb' AND "round"=8; | 2-17100961-59 |
Which county had a Bush number of votes of 566? | CREATE TABLE "by_county" (
"county" text,
"kerrypct" text,
"kerrynum" real,
"bushpct" text,
"bushnum" real,
"otherspct" text,
"othersnum" real
); | SELECT "county" FROM "by_county" WHERE "bushnum"=566; | 2-1733513-1 |
who is the opponent when the year is after 1996 and the outcome is winner? | CREATE TABLE "singles_10_8_2" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "opponent" FROM "singles_10_8_2" WHERE "year">1996 AND "outcome"='winner'; | 2-166170-2 |
what is the surface when the championship is rome and the opponent is sergi bruguera? | CREATE TABLE "singles_10_8_2" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "surface" FROM "singles_10_8_2" WHERE "championship"='rome' AND "opponent"='sergi bruguera'; | 2-166170-2 |
what is the score when the surface is hard and outcome is runner-up? | CREATE TABLE "singles_10_8_2" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "score" FROM "singles_10_8_2" WHERE "surface"='hard' AND "outcome"='runner-up'; | 2-166170-2 |
What was the number of the game played on February 24? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT SUM("game") FROM "game_log" WHERE "date"='february 24'; | 2-17340355-8 |
Where was the game played when the opponent was Oklahoma City, and what was the attendance? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "game_log" WHERE "team"='oklahoma city'; | 2-17340355-8 |
What was the record when they played game 58? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "game"=58; | 2-17340355-8 |
What is Score In The Final, when Date is "22 October 1990"? | CREATE TABLE "singles_23_15_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "score_in_the_final" FROM "singles_23_15_8" WHERE "date"='22 october 1990'; | 2-1717291-5 |
What is Outcome, when Surface is "Carpet (I)", and when Date is "15 November 1993"? | CREATE TABLE "singles_23_15_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "outcome" FROM "singles_23_15_8" WHERE "surface"='carpet (i)' AND "date"='15 november 1993'; | 2-1717291-5 |
What is Tournament, when Opponent In The Final is "Andre Agassi"? | CREATE TABLE "singles_23_15_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "tournament" FROM "singles_23_15_8" WHERE "opponent_in_the_final"='andre agassi'; | 2-1717291-5 |
What is Score In The Final, when Date is "30 August 1993"? | CREATE TABLE "singles_23_15_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "score_in_the_final" FROM "singles_23_15_8" WHERE "date"='30 august 1993'; | 2-1717291-5 |
What is Date, when Outcome is "Winner", and when Surface is "Grass"? | CREATE TABLE "singles_23_15_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "date" FROM "singles_23_15_8" WHERE "outcome"='winner' AND "surface"='grass'; | 2-1717291-5 |
What is Opponent In The Final, when Outcome is "Winner", when Surface is "Carpet (I)", and when Tournament is "Lyon, France"? | CREATE TABLE "singles_23_15_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "opponent_in_the_final" FROM "singles_23_15_8" WHERE "outcome"='winner' AND "surface"='carpet (i)' AND "tournament"='lyon, france'; | 2-1717291-5 |
What are the total goals against the winner with less than 5 wins, and less than 5 plays? | CREATE TABLE "preliminary_round" (
"rank" real,
"team" text,
"played" real,
"wins" real,
"ties" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"points" real
); | SELECT COUNT("goals_against") FROM "preliminary_round" WHERE "wins"<5 AND "played"<5; | 2-16797038-2 |
What is the average losses for 22 goals? | CREATE TABLE "preliminary_round" (
"rank" real,
"team" text,
"played" real,
"wins" real,
"ties" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"points" real
); | SELECT AVG("losses") FROM "preliminary_round" WHERE "goals_for">22; | 2-16797038-2 |
What is the total wins with less than 2 ties, 18 goals, and less than 2 losses? | CREATE TABLE "preliminary_round" (
"rank" real,
"team" text,
"played" real,
"wins" real,
"ties" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"points" real
); | SELECT SUM("wins") FROM "preliminary_round" WHERE "ties"<2 AND "goals_against"=18 AND "losses"<2; | 2-16797038-2 |
What is the Overall Record when the Last 10 Meetings is ou, 7-3, and Norman is ou, 18-3? | CREATE TABLE "record_vs_big_12_opponents" (
"oklahoma_vs" text,
"overall_record" text,
"at_norman" text,
"at_opponent_s_venue" text,
"at_neutral_site" text,
"last_5_meetings" text,
"last_10_meetings" text,
"current_streak" text,
"since_beginning_of_big_12" text
); | SELECT "overall_record" FROM "record_vs_big_12_opponents" WHERE "last_10_meetings"='ou, 7-3' AND "at_norman"='ou, 18-3'; | 2-16551520-2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.