answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT round FROM table_name_90 WHERE name = "vladimir morozov" | CREATE TABLE table_name_90 (round VARCHAR, name VARCHAR) | What round has a name of vladimir morozov? |
SELECT record FROM table_name_36 WHERE date = "12 december" | CREATE TABLE table_name_36 (record VARCHAR, date VARCHAR) | What is the record for the date of 12 december? |
SELECT date FROM table_name_79 WHERE name = "ryan lochte" | CREATE TABLE table_name_79 (date VARCHAR, name VARCHAR) | What is the date for the name ryan lochte? |
SELECT record FROM table_name_6 WHERE date = "15 december" AND round = "final" | CREATE TABLE table_name_6 (record VARCHAR, date VARCHAR, round VARCHAR) | What is the record for the date 15 december, and a round of final? |
SELECT MIN(attendance) FROM table_name_46 WHERE week = 11 | CREATE TABLE table_name_46 (attendance INTEGER, week VARCHAR) | What is the lowest attendance for week 11? |
SELECT COUNT(attendance) FROM table_name_98 WHERE week = 4 | CREATE TABLE table_name_98 (attendance VARCHAR, week VARCHAR) | What is the total number of spectators on week 4? |
SELECT sample_size FROM table_name_35 WHERE date = "may 2-7, 2007" AND democrat = "hillary clinton" | CREATE TABLE table_name_35 (sample_size VARCHAR, date VARCHAR, democrat VARCHAR) | What was the sample size for polling on May 2-7, 2007 for Hillary Clinton? |
SELECT republican FROM table_name_47 WHERE sample_size > 1087 AND democrat = "hillary clinton" AND margin_of_error = 2.6 | CREATE TABLE table_name_47 (republican VARCHAR, margin_of_error VARCHAR, sample_size VARCHAR, democrat VARCHAR) | Who was the republican when hillary clinton was the democrat and the sample size was more than 1087 with a margin of error of 2.6? |
SELECT poll_source FROM table_name_41 WHERE democrat = "hillary clinton" AND margin_of_error < 4.5 AND republican = "john mccain" AND date = "may 2-7, 2007" | CREATE TABLE table_name_41 (poll_source VARCHAR, date VARCHAR, republican VARCHAR, democrat VARCHAR, margin_of_error VARCHAR) | Where is the poll source when Hillary clinton was the democrat, john mccain was the republican, and the margin of error was less than 4.5 on May 2-7, 2007? |
SELECT COUNT(sample_size) FROM table_name_59 WHERE poll_source = "rasmussen reports" AND margin_of_error > 4.5 | CREATE TABLE table_name_59 (sample_size VARCHAR, poll_source VARCHAR, margin_of_error VARCHAR) | What si the total sample size at rasmussen reports when the margin of error was bigger than 4.5? |
SELECT date FROM table_name_67 WHERE republican = "john mccain" AND poll_source = "quinnipiac" AND democrat = "barack obama" AND sample_size > 1427 | CREATE TABLE table_name_67 (date VARCHAR, sample_size VARCHAR, democrat VARCHAR, republican VARCHAR, poll_source VARCHAR) | What is the date that the polls were going on at quinnipiac when john mccain was the republican, barack obama was the democrat and the sample size was bigger than 1427? |
SELECT to_par FROM table_name_65 WHERE player = "greg norman" | CREATE TABLE table_name_65 (to_par VARCHAR, player VARCHAR) | What is To Par, when Player is Greg Norman? |
SELECT score FROM table_name_2 WHERE money___$__ = "32,200" AND player = "chip beck" | CREATE TABLE table_name_2 (score VARCHAR, money___$__ VARCHAR, player VARCHAR) | What is Score, when Money ( $ ) is 32,200, and when Player is Chip Beck? |
SELECT money___$__ FROM table_name_1 WHERE player = "greg norman" | CREATE TABLE table_name_1 (money___$__ VARCHAR, player VARCHAR) | What is Money ( $ ), when Player is Greg Norman? |
SELECT player FROM table_name_6 WHERE country = "united states" AND score = 73 - 76 - 72 - 66 = 287 | CREATE TABLE table_name_6 (player VARCHAR, country VARCHAR, score VARCHAR) | What is Player, when Country is United States, and when Score is 73-76-72-66=287? |
SELECT to_par FROM table_name_97 WHERE money___$__ = "playoff" AND score = 68 - 73 - 77 - 65 = 283 | CREATE TABLE table_name_97 (to_par VARCHAR, money___$__ VARCHAR, score VARCHAR) | What is To Par, when Money ( $ ) is Playoff, and when Score is 68-73-77-65=283? |
SELECT country FROM table_name_80 WHERE player = "ernie els" | CREATE TABLE table_name_80 (country VARCHAR, player VARCHAR) | What country was Ernie Els from? |
SELECT to_par FROM table_name_16 WHERE place = "t5" AND player = "steve jones" | CREATE TABLE table_name_16 (to_par VARCHAR, place VARCHAR, player VARCHAR) | What was the par for the t5 place player Steve Jones? |
SELECT type FROM table_name_91 WHERE state = "chen" AND name = "you" | CREATE TABLE table_name_91 (type VARCHAR, state VARCHAR, name VARCHAR) | What type is You from the state of Chen? |
SELECT country FROM table_name_9 WHERE lane = 5 AND name = "abubaker kaki khamis" | CREATE TABLE table_name_9 (country VARCHAR, lane VARCHAR, name VARCHAR) | What country had the runner abubaker kaki khamis in lane 5? |
SELECT MAX(heat) FROM table_name_79 WHERE lane > 1 AND mark = "1:48.61" | CREATE TABLE table_name_79 (heat INTEGER, lane VARCHAR, mark VARCHAR) | What is the highest heat for a lane past 1 and mark of 1:48.61? |
SELECT AVG(league) FROM table_name_20 WHERE name = "benito lorenzi" AND total < 143 | CREATE TABLE table_name_20 (league INTEGER, name VARCHAR, total VARCHAR) | What is average for Benito Lorenzi league when total is smaller than 143? |
SELECT MIN(league) FROM table_name_42 WHERE total < 284 AND name = "sandro mazzola" | CREATE TABLE table_name_42 (league INTEGER, total VARCHAR, name VARCHAR) | Which league has total smaller than 284, with Sandro Mazzola league? |
SELECT MIN(election) FROM table_name_67 WHERE outcome_of_election = "minority in parliament" AND seats = "2" | CREATE TABLE table_name_67 (election INTEGER, outcome_of_election VARCHAR, seats VARCHAR) | What is the earliest election with 2 seats and the outcome of the election of minority in parliament? |
SELECT seats FROM table_name_86 WHERE outcome_of_election = "minority in parliament" AND number_of_pnc_votes = "186,226" | CREATE TABLE table_name_86 (seats VARCHAR, outcome_of_election VARCHAR, number_of_pnc_votes VARCHAR) | How many seats does the election with the outcome of election of minority in parliament and 186,226 PNC votes have? |
SELECT seats FROM table_name_72 WHERE election < 2004 AND share_of_votes = "3.4%" | CREATE TABLE table_name_72 (seats VARCHAR, election VARCHAR, share_of_votes VARCHAR) | How many seats did the election before 2004 with 3.4% share of votes have? |
SELECT number_of_pnc_votes FROM table_name_39 WHERE election < 1996 | CREATE TABLE table_name_39 (number_of_pnc_votes VARCHAR, election INTEGER) | How many PNC votes did the election before 1996 have? |
SELECT COUNT(overall) FROM table_name_4 WHERE position = "s" | CREATE TABLE table_name_4 (overall VARCHAR, position VARCHAR) | How many times is the postion S? |
SELECT COUNT(overall) FROM table_name_63 WHERE name = "derek smith" AND round > 3 | CREATE TABLE table_name_63 (overall VARCHAR, name VARCHAR, round VARCHAR) | how many times is the name Derek Smith when the round is higher than 3? |
SELECT MIN(overall) FROM table_name_50 WHERE pick = 20 | CREATE TABLE table_name_50 (overall INTEGER, pick VARCHAR) | what is the lowest overall when the pick is 20? |
SELECT MAX(round) FROM table_name_32 WHERE overall < 17 | CREATE TABLE table_name_32 (round INTEGER, overall INTEGER) | what is the highest round when the overall is less than 17? |
SELECT partner FROM table_name_98 WHERE opponents_in_the_final = "remi tezuka shuko aoyama" | CREATE TABLE table_name_98 (partner VARCHAR, opponents_in_the_final VARCHAR) | What is Partner, when Opponents In The Final is Remi Tezuka Shuko Aoyama? |
SELECT opponents_in_the_final FROM table_name_84 WHERE score = "4-1 5-4 (7) 4-2" | CREATE TABLE table_name_84 (opponents_in_the_final VARCHAR, score VARCHAR) | What is Opponents In The Final, when Score is 4-1 5-4 (7) 4-2? |
SELECT date FROM table_name_59 WHERE opponents_in_the_final = "maria-fernanda alves stéphanie dubois" | CREATE TABLE table_name_59 (date VARCHAR, opponents_in_the_final VARCHAR) | What is Date, when Opponents In The Final, is Maria-Fernanda Alves Stéphanie Dubois? |
SELECT location FROM table_name_5 WHERE event = "fury fc 4: high voltage" | CREATE TABLE table_name_5 (location VARCHAR, event VARCHAR) | Where was the Fury FC 4: High Voltage event held? |
SELECT nat FROM table_name_93 WHERE ends = "2009" | CREATE TABLE table_name_93 (nat VARCHAR, ends VARCHAR) | What's the nat that ends in 2009? |
SELECT type FROM table_name_69 WHERE moving_from = "gimnàstic" | CREATE TABLE table_name_69 (type VARCHAR, moving_from VARCHAR) | What is the type when they move from Gimnàstic? |
SELECT transfer_window FROM table_name_19 WHERE ends = "2012" | CREATE TABLE table_name_19 (transfer_window VARCHAR, ends VARCHAR) | What's the transfer window that ends in 2012? |
SELECT type FROM table_name_60 WHERE ends = "2009" | CREATE TABLE table_name_60 (type VARCHAR, ends VARCHAR) | What's the type that ends in 2009? |
SELECT moving_from FROM table_name_53 WHERE type = "transfer" AND nat = "esp" AND name = "de la red" | CREATE TABLE table_name_53 (moving_from VARCHAR, name VARCHAR, type VARCHAR, nat VARCHAR) | What's the moving of the Esp with a transfer and named De La Red? |
SELECT type FROM table_name_20 WHERE name = "gonzález" | CREATE TABLE table_name_20 (type VARCHAR, name VARCHAR) | What type is González? |
SELECT COUNT(sales) FROM table_name_81 WHERE peak = 1 AND artist = "boris" | CREATE TABLE table_name_81 (sales VARCHAR, peak VARCHAR, artist VARCHAR) | How many sales took place with a peak of 1 for Boris? |
SELECT record FROM table_name_60 WHERE opponent = "cincinnati royals" | CREATE TABLE table_name_60 (record VARCHAR, opponent VARCHAR) | What was the record in the game where the opponent was the cincinnati royals? |
SELECT location_attendance FROM table_name_43 WHERE opponent = "san francisco warriors" AND game = 25 | CREATE TABLE table_name_43 (location_attendance VARCHAR, opponent VARCHAR, game VARCHAR) | What was the attendance of game 25 when the played the San Francisco Warriors? |
SELECT manufacturer FROM table_name_25 WHERE grid = "6" | CREATE TABLE table_name_25 (manufacturer VARCHAR, grid VARCHAR) | Which manufacturer has a grid of 6? |
SELECT rider FROM table_name_72 WHERE manufacturer = "honda" AND grid = "25" | CREATE TABLE table_name_72 (rider VARCHAR, manufacturer VARCHAR, grid VARCHAR) | Who is the rider for Honda with a grid of 25? |
SELECT laps FROM table_name_62 WHERE grid = "5" | CREATE TABLE table_name_62 (laps VARCHAR, grid VARCHAR) | How many laps has a grid of 5? |
SELECT rider FROM table_name_43 WHERE time_retired = "accident" | CREATE TABLE table_name_43 (rider VARCHAR, time_retired VARCHAR) | Who is the rider whose time/retired is accident? |
SELECT laps FROM table_name_51 WHERE time_retired = "+23.080" | CREATE TABLE table_name_51 (laps VARCHAR, time_retired VARCHAR) | How many laps have a time/retired of +23.080? |
SELECT manufacturer FROM table_name_68 WHERE rider = "henk vd lagemaat" | CREATE TABLE table_name_68 (manufacturer VARCHAR, rider VARCHAR) | Who is the manufacturer for Henk Vd Lagemaat? |
SELECT technology FROM table_name_88 WHERE gel_pouring = "no" AND analysis_time = "8 days" | CREATE TABLE table_name_88 (technology VARCHAR, gel_pouring VARCHAR, analysis_time VARCHAR) | what is the technology when the gel pouring is no and the analysis time is 8 days? |
SELECT throughput__including_analysis_ FROM table_name_77 WHERE analysis_time = "4 hours" | CREATE TABLE table_name_77 (throughput__including_analysis_ VARCHAR, analysis_time VARCHAR) | what is the throughput (including analysis) when the analysis time is 4 hours? |
SELECT geust FROM table_name_45 WHERE result = "0:9" | CREATE TABLE table_name_45 (geust VARCHAR, result VARCHAR) | What is Geust, when Result is 0:9? |
SELECT home FROM table_name_49 WHERE time = "18:00" AND geust = "servette fc (chl)" | CREATE TABLE table_name_49 (home VARCHAR, time VARCHAR, geust VARCHAR) | What is Home, when Time is 18:00, and when Geust is Servette FC (CHL)? |
SELECT time FROM table_name_77 WHERE geust = "ac bellinzona (chl)" | CREATE TABLE table_name_77 (time VARCHAR, geust VARCHAR) | What is Time, when Geust is AC Bellinzona (CHL)? |
SELECT transfer_fee FROM table_name_1 WHERE transfer_window = "winter" | CREATE TABLE table_name_1 (transfer_fee VARCHAR, transfer_window VARCHAR) | What was the transfer fee when winter was the transfer window? |
SELECT transfer_fee FROM table_name_68 WHERE transfer_window = "winter" AND moving_to = "madureira" | CREATE TABLE table_name_68 (transfer_fee VARCHAR, transfer_window VARCHAR, moving_to VARCHAR) | What transfer fee has both winter as the transfer window, and Madureira as the moving to? |
SELECT moving_to FROM table_name_12 WHERE transfer_fee = "free" AND nat = "cyp" AND transfer_window = "winter" | CREATE TABLE table_name_12 (moving_to VARCHAR, transfer_window VARCHAR, transfer_fee VARCHAR, nat VARCHAR) | What was the moving that has a free transfer fee, and the nationality of CYP, and winter as the transfer window? |
SELECT name FROM table_name_9 WHERE moving_to = "metalurh donetsk" | CREATE TABLE table_name_9 (name VARCHAR, moving_to VARCHAR) | Who is moving to Metalurh Donetsk? |
SELECT transfer_fee FROM table_name_11 WHERE moving_to = "villa rio" | CREATE TABLE table_name_11 (transfer_fee VARCHAR, moving_to VARCHAR) | The player moving to Villa Rio has what transfer fee? |
SELECT transfer_window FROM table_name_90 WHERE name = "emerson" | CREATE TABLE table_name_90 (transfer_window VARCHAR, name VARCHAR) | Emerson has what transfer window? |
SELECT location FROM table_name_7 WHERE time = "2:33" | CREATE TABLE table_name_7 (location VARCHAR, time VARCHAR) | Where was the fight located that lasted a time of 2:33? |
SELECT COUNT(game) FROM table_name_7 WHERE attendance = 18 OFFSET 568 | CREATE TABLE table_name_7 (game VARCHAR, attendance VARCHAR) | What is the total number of Game, when Attendance is "18,568"? |
SELECT MAX(rank) FROM table_name_21 WHERE county_and_state = "silver bow county, montana" AND capacity__thousands_of_metric_tons_ > 45 | CREATE TABLE table_name_21 (rank INTEGER, county_and_state VARCHAR, capacity__thousands_of_metric_tons_ VARCHAR) | In Silver Bow County, Montana, when the capicity is more than 45 tons, what's the highest rank found? |
SELECT mine FROM table_name_67 WHERE rank < 14 AND capacity__thousands_of_metric_tons_ > 5 AND county_and_state = "pinal county, arizona" | CREATE TABLE table_name_67 (mine VARCHAR, county_and_state VARCHAR, rank VARCHAR, capacity__thousands_of_metric_tons_ VARCHAR) | In Pinal County, Arizona, when there's a capacity of over 5 metric tons, and the rank is under 14, what's the mine called? |
SELECT SUM(sets_lost) FROM table_name_26 WHERE loss < 3 AND rank > 1 | CREATE TABLE table_name_26 (sets_lost INTEGER, loss VARCHAR, rank VARCHAR) | How many sets lost have a loss smaller than 3 and a rank larger than 1? |
SELECT bids FROM table_name_34 WHERE champions = "1" | CREATE TABLE table_name_34 (bids VARCHAR, champions VARCHAR) | What is Bids, when Champions is "1"? |
SELECT finalist FROM table_name_38 WHERE week = "october 21" | CREATE TABLE table_name_38 (finalist VARCHAR, week VARCHAR) | Which finalist played in the week of October 21? |
SELECT surface FROM table_name_27 WHERE week = "october 21" | CREATE TABLE table_name_27 (surface VARCHAR, week VARCHAR) | On what surface did they play the match in the week of October 21? |
SELECT finalist FROM table_name_91 WHERE tournament = "monte carlo" | CREATE TABLE table_name_91 (finalist VARCHAR, tournament VARCHAR) | Who was the finalist in the Monte Carlo Tournament? |
SELECT SUM(rank) FROM table_name_65 WHERE gold > 1 AND total > 4 | CREATE TABLE table_name_65 (rank INTEGER, gold VARCHAR, total VARCHAR) | What is the Rank of the Nation with more than 1 Gold and a more than 4 Total medals? |
SELECT MIN(gold) FROM table_name_37 WHERE rank = 4 AND silver < 1 | CREATE TABLE table_name_37 (gold INTEGER, rank VARCHAR, silver VARCHAR) | What is the Gold for the Nation in Rank 4 with less than 1 Silver? |
SELECT transfer_window FROM table_name_1 WHERE name = "steven thompson" | CREATE TABLE table_name_1 (transfer_window VARCHAR, name VARCHAR) | What is the transfer window for Steven Thompson? |
SELECT type FROM table_name_35 WHERE name = "kevin muscat" | CREATE TABLE table_name_35 (type VARCHAR, name VARCHAR) | What type is Kevin Muscat? |
SELECT freestyle_leg FROM table_name_5 WHERE country = "netherlands" | CREATE TABLE table_name_5 (freestyle_leg VARCHAR, country VARCHAR) | What is the freestyle leg for the Netherlands? |
SELECT release_date FROM table_name_37 WHERE location = "europe" | CREATE TABLE table_name_37 (release_date VARCHAR, location VARCHAR) | What is the release date when the location is Europe? |
SELECT release_date FROM table_name_96 WHERE location = "germany" | CREATE TABLE table_name_96 (release_date VARCHAR, location VARCHAR) | What is the release in Germany? |
SELECT name FROM table_name_42 WHERE release_date = "december 1966" AND location = "uk" | CREATE TABLE table_name_42 (name VARCHAR, release_date VARCHAR, location VARCHAR) | What is the name with a release date of December 1966, and a Location of UK? |
SELECT release_date FROM table_name_5 WHERE location = "us" | CREATE TABLE table_name_5 (release_date VARCHAR, location VARCHAR) | What is the US release date? |
SELECT name FROM table_name_24 WHERE location = "uk" AND release_date = "december 1966" | CREATE TABLE table_name_24 (name VARCHAR, location VARCHAR, release_date VARCHAR) | What is the name in the UK, with a release date of December 1966? |
SELECT away_team FROM table_name_84 WHERE score = "107-104" | CREATE TABLE table_name_84 (away_team VARCHAR, score VARCHAR) | What away team scored 107-104? |
SELECT report FROM table_name_59 WHERE away_team = "new zealand breakers" | CREATE TABLE table_name_59 (report VARCHAR, away_team VARCHAR) | What was the away team for the New Zealand breakers? |
SELECT away_team FROM table_name_73 WHERE score = "63-69" | CREATE TABLE table_name_73 (away_team VARCHAR, score VARCHAR) | What was the away team that scored 63-69? |
SELECT place FROM table_name_82 WHERE player = "davis love iii" | CREATE TABLE table_name_82 (place VARCHAR, player VARCHAR) | Where is the player Davis Love III? |
SELECT qual_2 FROM table_name_31 WHERE team = "dale coyne racing" AND qual_1 = "1:00.081" | CREATE TABLE table_name_31 (qual_2 VARCHAR, team VARCHAR, qual_1 VARCHAR) | What is the second qualifying time for the dale coyne racing team with a first qualifying time of 1:00.081? |
SELECT team FROM table_name_71 WHERE qual_2 = "58.539" | CREATE TABLE table_name_71 (team VARCHAR, qual_2 VARCHAR) | Which team had a second qualifying time of 58.539? |
SELECT best FROM table_name_33 WHERE team = "forsythe racing" AND name = "patrick carpentier" | CREATE TABLE table_name_33 (best VARCHAR, team VARCHAR, name VARCHAR) | What is the best time from patrick carpentier from the forsythe racing team? |
SELECT best FROM table_name_6 WHERE qual_1 = "59.448" | CREATE TABLE table_name_6 (best VARCHAR, qual_1 VARCHAR) | What is the best time for a team with a first-qualifying time of 59.448? |
SELECT name FROM table_name_34 WHERE best = "57.546" | CREATE TABLE table_name_34 (name VARCHAR, best VARCHAR) | What is the name of the racer with a best time of 57.546? |
SELECT name FROM table_name_76 WHERE qual_1 = "58.991" | CREATE TABLE table_name_76 (name VARCHAR, qual_1 VARCHAR) | What is the name of the racer with a first-qualifying time of 58.991? |
SELECT AVG(points) FROM table_name_3 WHERE played > 126 | CREATE TABLE table_name_3 (points INTEGER, played INTEGER) | What is the average Points, when Played is greater than 126? |
SELECT SUM(average) FROM table_name_64 WHERE 2006 = "36/40" AND played > 126 | CREATE TABLE table_name_64 (average INTEGER, played VARCHAR) | What is the sum of Average, when 2006 is "36/40", and when Played is greater than 126? |
SELECT 2006 FROM table_name_13 WHERE team = "tacuary" | CREATE TABLE table_name_13 (team VARCHAR) | What is 2006, when Team is "Tacuary"? |
SELECT rank FROM table_name_94 WHERE bronze = 3 | CREATE TABLE table_name_94 (rank VARCHAR, bronze VARCHAR) | Which Rank has a Bronze of 3? |
SELECT runner_s__up FROM table_name_52 WHERE year = "1956" | CREATE TABLE table_name_52 (runner_s__up VARCHAR, year VARCHAR) | What are the Runner(s)-up of the 1956 Championship? |
SELECT runner_s__up FROM table_name_41 WHERE year = "1972" | CREATE TABLE table_name_41 (runner_s__up VARCHAR, year VARCHAR) | What are the Runner(s)-up of the 1972 Championship? |
SELECT country FROM table_name_12 WHERE score = "293" | CREATE TABLE table_name_12 (country VARCHAR, score VARCHAR) | What is the Country of the Championship with a Score of 293? |
SELECT COUNT(enrollment) FROM table_name_52 WHERE nickname = "fightin' blue hens" | CREATE TABLE table_name_52 (enrollment VARCHAR, nickname VARCHAR) | What is the total enrollment at the school that has the nickname of the Fightin' Blue Hens? |
SELECT set_3 FROM table_name_1 WHERE set_1 = "14–25" | CREATE TABLE table_name_1 (set_3 VARCHAR, set_1 VARCHAR) | What was the score for set 3 when set 1 was 14–25? |
SELECT time FROM table_name_23 WHERE set_3 = "31–29" | CREATE TABLE table_name_23 (time VARCHAR, set_3 VARCHAR) | What is the time when the set 3 score is 31–29? |
Subsets and Splits