answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT outcome FROM table_name_41 WHERE opponent = "mari andersson" | CREATE TABLE table_name_41 (outcome VARCHAR, opponent VARCHAR) | What was the outcome in mari andersson's tournament? |
SELECT loss FROM table_name_69 WHERE opponent = "nationals" AND score = "7-1" | CREATE TABLE table_name_69 (loss VARCHAR, opponent VARCHAR, score VARCHAR) | What's the loss of the game with the opponent of the Nationals with a score of 7-1? |
SELECT opponent FROM table_name_77 WHERE record = "70-52" | CREATE TABLE table_name_77 (opponent VARCHAR, record VARCHAR) | Which opponent has a record of 70-52? |
SELECT SUM(attendance) FROM table_name_42 WHERE opponent = "nationals" AND record = "68-51" | CREATE TABLE table_name_42 (attendance INTEGER, opponent VARCHAR, record VARCHAR) | What is the attendance of the game that has the opponent of The Nationals with a record of 68-51? |
SELECT attendance FROM table_name_52 WHERE score = "5-4" | CREATE TABLE table_name_52 (attendance VARCHAR, score VARCHAR) | What's the attendance of the game with a score of 5-4? |
SELECT opponent FROM table_name_60 WHERE record = "64-51" | CREATE TABLE table_name_60 (opponent VARCHAR, record VARCHAR) | Who's the opponent of the game with the record 64-51? |
SELECT opponent FROM table_name_41 WHERE game < 54 | CREATE TABLE table_name_41 (opponent VARCHAR, game INTEGER) | Who were the opponents in games before number 54? |
SELECT score FROM table_name_83 WHERE player = "bert yancey" | CREATE TABLE table_name_83 (score VARCHAR, player VARCHAR) | what was the score of bert yancey |
SELECT length_fuel FROM table_name_22 WHERE quantity = 30 | CREATE TABLE table_name_22 (length_fuel VARCHAR, quantity VARCHAR) | What is the Length/Fuel of the bus with a Quantity of 30? |
SELECT length_fuel FROM table_name_91 WHERE floor_styling = "high" AND year_built = "2000-2003" | CREATE TABLE table_name_91 (length_fuel VARCHAR, floor_styling VARCHAR, year_built VARCHAR) | What is the Length/Fuel of the bus built between 2000-2003 with a high Floor Styling? |
SELECT venue FROM table_name_29 WHERE competition = "friendly" AND goal = 1 | CREATE TABLE table_name_29 (venue VARCHAR, competition VARCHAR, goal VARCHAR) | In what Venue was the game with a Friendly Competition and 1 Goal played? |
SELECT COUNT(money___) AS $__ FROM table_name_28 WHERE to_par = "+5" AND score = 76 - 69 - 70 - 70 = 285 | CREATE TABLE table_name_28 (money___ VARCHAR, to_par VARCHAR, score VARCHAR) | What is the amount of money that a +5 to par with a score of 76-69-70-70=285? |
SELECT player FROM table_name_79 WHERE score = 71 - 69 - 71 - 69 = 280 | CREATE TABLE table_name_79 (player VARCHAR, score VARCHAR) | What is the name of the player with a 71-69-71-69=280 score? |
SELECT AVG(game__number) FROM table_name_95 WHERE home = "san jose" AND points < 71 | CREATE TABLE table_name_95 (game__number INTEGER, home VARCHAR, points VARCHAR) | Which average Game # has a Home of san jose, and Points smaller than 71? |
SELECT home FROM table_name_27 WHERE game__number = 59 | CREATE TABLE table_name_27 (home VARCHAR, game__number VARCHAR) | Which Home has a Game # of 59? |
SELECT visitor FROM table_name_99 WHERE game__number > 62 AND date = "february 25" | CREATE TABLE table_name_99 (visitor VARCHAR, game__number VARCHAR, date VARCHAR) | Which Visitor has a Game # larger than 62, and a Date of february 25? |
SELECT owns FROM table_name_93 WHERE delivery_date = "2001 2001" | CREATE TABLE table_name_93 (owns VARCHAR, delivery_date VARCHAR) | with delivery date of 2001 2001 what is the owns? |
SELECT AVG(gross_tonnage) FROM table_name_35 WHERE delivery_date = "2001 2001" | CREATE TABLE table_name_35 (gross_tonnage INTEGER, delivery_date VARCHAR) | with delivery date of 2001 2001 what is gross tonnage? |
SELECT owns FROM table_name_65 WHERE delivery_date = "1997 1997" | CREATE TABLE table_name_65 (owns VARCHAR, delivery_date VARCHAR) | with delivery date 1997 1997 what is the owns? |
SELECT present_conference FROM table_name_5 WHERE location = "gainesville, florida" | CREATE TABLE table_name_5 (present_conference VARCHAR, location VARCHAR) | Which conference does the school from Gainesville, Florida, play in? |
SELECT COUNT(enrollment) FROM table_name_23 WHERE nickname = "buccaneers" AND founded < 1911 | CREATE TABLE table_name_23 (enrollment VARCHAR, nickname VARCHAR, founded VARCHAR) | What is the number of enrollments for teams named the Buccaneers founded before 1911? |
SELECT MAX(chart_no) FROM table_name_17 WHERE title = "yardbirds aka roger the engineer" | CREATE TABLE table_name_17 (chart_no INTEGER, title VARCHAR) | What is the highest chart number for the song Yardbirds aka Roger the Engineer? |
SELECT AVG(chart_no) FROM table_name_97 WHERE date = "11/1965" | CREATE TABLE table_name_97 (chart_no INTEGER, date VARCHAR) | What is the average chart number for 11/1965? |
SELECT origin FROM table_name_84 WHERE chart_no = 52 | CREATE TABLE table_name_84 (origin VARCHAR, chart_no VARCHAR) | What is origin country for a title that charted at 52? |
SELECT record FROM table_name_5 WHERE game > 40 AND opponent = "new york rangers" | CREATE TABLE table_name_5 (record VARCHAR, game VARCHAR, opponent VARCHAR) | What is the Record of the Game after 40 with New York Rangers as Opponent? |
SELECT date FROM table_name_47 WHERE opponent_in_the_final = "adam thompson" | CREATE TABLE table_name_47 (date VARCHAR, opponent_in_the_final VARCHAR) | When did Adam Thompson play in the final? |
SELECT date FROM table_name_84 WHERE tournament = "lagos" | CREATE TABLE table_name_84 (date VARCHAR, tournament VARCHAR) | When was the Lagos tournament? |
SELECT score FROM table_name_28 WHERE opponent = "phillies" AND date = "may 24" | CREATE TABLE table_name_28 (score VARCHAR, opponent VARCHAR, date VARCHAR) | What was the score against the phillies on may 24? |
SELECT attendance FROM table_name_13 WHERE opponent = "new england patriots" | CREATE TABLE table_name_13 (attendance VARCHAR, opponent VARCHAR) | Opponent of new england patriots had what attendance? |
SELECT opponent FROM table_name_58 WHERE attendance = "55,340" | CREATE TABLE table_name_58 (opponent VARCHAR, attendance VARCHAR) | Attendance of 55,340 had what opponent? |
SELECT date FROM table_name_12 WHERE week < 4 AND game_site = "rca dome" AND opponent = "new england patriots" | CREATE TABLE table_name_12 (date VARCHAR, opponent VARCHAR, week VARCHAR, game_site VARCHAR) | Week smaller than 4, and a Game Site of rca dome, and a Opponent of new england patriots involves what date? |
SELECT result FROM table_name_33 WHERE record = "0–8" | CREATE TABLE table_name_33 (result VARCHAR, record VARCHAR) | Record of 0–8 had what result? |
SELECT MIN(week) FROM table_name_25 WHERE record = "0–8" | CREATE TABLE table_name_25 (week INTEGER, record VARCHAR) | Record of 0–8 had what lowest week? |
SELECT score FROM table_name_51 WHERE visitor = "pittsburgh" | CREATE TABLE table_name_51 (score VARCHAR, visitor VARCHAR) | What was the score when the visitor was pittsburgh? |
SELECT decision FROM table_name_18 WHERE date = "november 26" | CREATE TABLE table_name_18 (decision VARCHAR, date VARCHAR) | What was the decision on November 26? |
SELECT SUM(usn_2013) FROM table_name_63 WHERE bw_2013 < 1000 AND forbes_2011 > 17 AND cnn_2011 < 13 | CREATE TABLE table_name_63 (usn_2013 INTEGER, cnn_2011 VARCHAR, bw_2013 VARCHAR, forbes_2011 VARCHAR) | What is the USN 2013 ranking with a BW 2013 ranking less than 1000, a Forbes 2011 ranking larger than 17, and a CNN 2011 ranking less than 13? |
SELECT AVG(ae_2011) FROM table_name_21 WHERE forbes_2011 = 24 AND ft_2011 < 44 | CREATE TABLE table_name_21 (ae_2011 INTEGER, forbes_2011 VARCHAR, ft_2011 VARCHAR) | What is the average AE 2011 ranking with a Forbes 2011 ranking of 24 and a FT 2011 ranking less than 44? |
SELECT opponent FROM table_name_88 WHERE week > 14 AND game_site = "lincoln financial field" AND time__et_ = "8:30" | CREATE TABLE table_name_88 (opponent VARCHAR, time__et_ VARCHAR, week VARCHAR, game_site VARCHAR) | Who did they play at lincoln financial field at 8:30 (ET) after week 14? |
SELECT AVG(rank) FROM table_name_86 WHERE gold < 0 | CREATE TABLE table_name_86 (rank INTEGER, gold INTEGER) | What is the average rank for nations with fewer than 0 gold medals? |
SELECT COUNT(bronze) FROM table_name_8 WHERE total > 1 AND silver < 1 | CREATE TABLE table_name_8 (bronze VARCHAR, total VARCHAR, silver VARCHAR) | What is the total number of bronze medals with more than 1 medal total and fewer than 1 silver medal? |
SELECT MAX(rank) FROM table_name_43 WHERE silver < 0 | CREATE TABLE table_name_43 (rank INTEGER, silver INTEGER) | What is the highest rank of a nation with fewer than 0 silver medals? |
SELECT bats FROM table_name_90 WHERE first = "josh" AND throws = "r" AND surname = "cakebread" | CREATE TABLE table_name_90 (bats VARCHAR, surname VARCHAR, first VARCHAR, throws VARCHAR) | Which Bats have a First of josh, and Throws of r, and a Surname of cakebread? |
SELECT dob FROM table_name_25 WHERE throws = "r" AND position = "c" AND first = "torey" | CREATE TABLE table_name_25 (dob VARCHAR, first VARCHAR, throws VARCHAR, position VARCHAR) | Which DOB has Throws of r, and a Position of c, and a First of torey? |
SELECT dob FROM table_name_40 WHERE surname = "cresswell" | CREATE TABLE table_name_40 (dob VARCHAR, surname VARCHAR) | Which DOB has a Surname of cresswell? |
SELECT dob FROM table_name_58 WHERE bats = "r" AND throws = "r" AND position = "rhp" AND first = "john" | CREATE TABLE table_name_58 (dob VARCHAR, first VARCHAR, position VARCHAR, bats VARCHAR, throws VARCHAR) | Which DOB has Bats of r, and Throws of r, and a Position of rhp, and a First of john? |
SELECT position FROM table_name_30 WHERE surname = "ruzic" | CREATE TABLE table_name_30 (position VARCHAR, surname VARCHAR) | Which Position did Ruzic play? |
SELECT throws FROM table_name_77 WHERE first = "torey" | CREATE TABLE table_name_77 (throws VARCHAR, first VARCHAR) | How many throws did Torey have? |
SELECT MAX(ties) FROM table_name_65 WHERE losses < 9 AND starts = 26 AND wins < 21 | CREATE TABLE table_name_65 (ties INTEGER, wins VARCHAR, losses VARCHAR, starts VARCHAR) | Which Ties is the highest one that has Losses smaller than 9, and Starts of 26, and Wins smaller than 21? |
SELECT COUNT(win__percentage) FROM table_name_73 WHERE name = "tony rice" AND wins < 28 | CREATE TABLE table_name_73 (win__percentage VARCHAR, name VARCHAR, wins VARCHAR) | Which Win % has a Name of tony rice, and Wins smaller than 28? |
SELECT SUM(wins) FROM table_name_17 WHERE win__percentage < 0.8270000000000001 AND name = "rick mirer" AND ties < 1 | CREATE TABLE table_name_17 (wins INTEGER, ties VARCHAR, win__percentage VARCHAR, name VARCHAR) | Which Wins have a Win % smaller than 0.8270000000000001, and a Name of rick mirer, and Ties smaller than 1? |
SELECT COUNT(losses) FROM table_name_45 WHERE name = "blair kiel" | CREATE TABLE table_name_45 (losses VARCHAR, name VARCHAR) | How many Losses have a Name of blair kiel? |
SELECT AVG(losses) FROM table_name_39 WHERE name = "jimmy clausen" | CREATE TABLE table_name_39 (losses INTEGER, name VARCHAR) | Which Losses have a Name of jimmy clausen? |
SELECT COUNT(attendance) FROM table_name_8 WHERE date = "june 24" | CREATE TABLE table_name_8 (attendance VARCHAR, date VARCHAR) | what is the number of attendance on june 24 |
SELECT date FROM table_name_95 WHERE home = "dallas" | CREATE TABLE table_name_95 (date VARCHAR, home VARCHAR) | Home of dallas happened on what date? |
SELECT date FROM table_name_39 WHERE home = "buffalo" | CREATE TABLE table_name_39 (date VARCHAR, home VARCHAR) | Home of buffalo happened on what date? |
SELECT MAX(attendance) FROM table_name_16 WHERE visitor = "dallas" AND date = "june 12" | CREATE TABLE table_name_16 (attendance INTEGER, visitor VARCHAR, date VARCHAR) | Visitor of dallas, and a Date of june 12 had what highest attendance? |
SELECT date FROM table_name_27 WHERE pos < 4 AND venue = "piraeus" | CREATE TABLE table_name_27 (date VARCHAR, pos VARCHAR, venue VARCHAR) | On which date was the position less than 4 at Piraeus? |
SELECT team FROM table_name_39 WHERE laps = 64 AND points = 13 | CREATE TABLE table_name_39 (team VARCHAR, laps VARCHAR, points VARCHAR) | Which team had 64 laps and 13 points? |
SELECT COUNT(laps) FROM table_name_90 WHERE time_retired = "+1.906" | CREATE TABLE table_name_90 (laps VARCHAR, time_retired VARCHAR) | How many laps did the team with a time/retired of +1.906 have? |
SELECT time_retired FROM table_name_62 WHERE grid = 14 | CREATE TABLE table_name_62 (time_retired VARCHAR, grid VARCHAR) | What is the time/retired of the team with a grid of 14? |
SELECT MIN(grid) FROM table_name_28 WHERE team = "pkv racing" AND points = 13 AND laps < 64 | CREATE TABLE table_name_28 (grid INTEGER, laps VARCHAR, team VARCHAR, points VARCHAR) | What is the lowest grid of pkv racing, which had 13 points and less than 64 laps? |
SELECT COUNT(grid) FROM table_name_53 WHERE time_retired = "+7.346" | CREATE TABLE table_name_53 (grid VARCHAR, time_retired VARCHAR) | What is the total grid of the team with a time/retired of +7.346? |
SELECT SUM(grid) FROM table_name_56 WHERE team = "pkv racing" AND driver = "oriol servià" | CREATE TABLE table_name_56 (grid INTEGER, team VARCHAR, driver VARCHAR) | What is the grid of pkv racing with the driver oriol servià? |
SELECT attribute FROM table_name_52 WHERE cancelable = "yes" AND bubbles = "yes" AND category = "keyboard" | CREATE TABLE table_name_52 (attribute VARCHAR, category VARCHAR, cancelable VARCHAR, bubbles VARCHAR) | When Cancelable of yes, bubble of yes and a Category of keyboard, what was the Attribute? |
SELECT cancelable FROM table_name_97 WHERE bubbles = "no" AND category = "miscellaneous" AND type = "propertychange" | CREATE TABLE table_name_97 (cancelable VARCHAR, type VARCHAR, bubbles VARCHAR, category VARCHAR) | When Bubbles of no, and a Category of miscellaneous, and a Type of propertychange, what was the Cancelable? |
SELECT category FROM table_name_88 WHERE type = "rowexit" | CREATE TABLE table_name_88 (category VARCHAR, type VARCHAR) | When Type was rowexit what was the Category? |
SELECT category FROM table_name_72 WHERE cancelable = "yes" AND type = "drag" | CREATE TABLE table_name_72 (category VARCHAR, cancelable VARCHAR, type VARCHAR) | When Cancelable of yes, and a Type of drag, what was the Category? |
SELECT attribute FROM table_name_41 WHERE bubbles = "yes" AND cancelable = "yes" AND category = "mouse" AND type = "contextmenu" | CREATE TABLE table_name_41 (attribute VARCHAR, type VARCHAR, category VARCHAR, bubbles VARCHAR, cancelable VARCHAR) | When Event has Bubbles of yes, Cancelable of yes, Category of mouse, and a Type of contextmenu what is the Attribute? |
SELECT attribute FROM table_name_62 WHERE type = "datasetcomplete" | CREATE TABLE table_name_62 (attribute VARCHAR, type VARCHAR) | Let's say Type is of datasetcomplete, what is the Attribute? |
SELECT name FROM table_name_71 WHERE former_local_authority = "st neots urban district" | CREATE TABLE table_name_71 (name VARCHAR, former_local_authority VARCHAR) | What is the name of the parish that has a former local authority of St Neots urban district? |
SELECT district FROM table_name_71 WHERE former_local_authority = "south cambridgeshire rural district" | CREATE TABLE table_name_71 (district VARCHAR, former_local_authority VARCHAR) | What district is the parish who had the South Cambridgeshire rural district as the former local authority? |
SELECT district FROM table_name_73 WHERE population < 75 AND name = "st martin's without" | CREATE TABLE table_name_73 (district VARCHAR, population VARCHAR, name VARCHAR) | What district is St Martin's Without parish in with a population less than 75? |
SELECT home FROM table_name_84 WHERE guest = "fk kom" | CREATE TABLE table_name_84 (home VARCHAR, guest VARCHAR) | Who was the home team when FK kom were the guests? |
SELECT venue FROM table_name_65 WHERE guest = "fk ibar" | CREATE TABLE table_name_65 (venue VARCHAR, guest VARCHAR) | What venue was the match against the guest team, FK ibar, played at? |
SELECT score FROM table_name_12 WHERE home = "scotland" AND date = "24 february" | CREATE TABLE table_name_12 (score VARCHAR, home VARCHAR, date VARCHAR) | What's the Score with a Home of Scotland and Date of 24 February? |
SELECT SUM(round) FROM table_name_11 WHERE position = "tackle" AND player = "john sutro" AND pick < 79 | CREATE TABLE table_name_11 (round INTEGER, pick VARCHAR, position VARCHAR, player VARCHAR) | What round was john sutro, tackle, drafter with a pick lower than 79? |
SELECT pick FROM table_name_26 WHERE player = "roger holdinsky" | CREATE TABLE table_name_26 (pick VARCHAR, player VARCHAR) | What pick was roger holdinsky? |
SELECT MIN(pick) FROM table_name_51 WHERE position = "back" AND player = "chuck morris" | CREATE TABLE table_name_51 (pick INTEGER, position VARCHAR, player VARCHAR) | When was chuck morris, back, drafted? |
SELECT AVG(round) FROM table_name_5 WHERE school = "xavier" | CREATE TABLE table_name_5 (round INTEGER, school VARCHAR) | What wss the average round drafted for xavier players? |
SELECT urban_sub_area FROM table_name_70 WHERE council_area = "east dunbartonshire" AND population = "19,020" | CREATE TABLE table_name_70 (urban_sub_area VARCHAR, council_area VARCHAR, population VARCHAR) | What is the urban sub-area with an East Dunbartonshire council area and a population of 19,020? |
SELECT council_area FROM table_name_51 WHERE urban_sub_area = "larkhall" | CREATE TABLE table_name_51 (council_area VARCHAR, urban_sub_area VARCHAR) | What is the council area for the Larkhall urban sub-area? |
SELECT population FROM table_name_61 WHERE urban_sub_area = "east kilbride" | CREATE TABLE table_name_61 (population VARCHAR, urban_sub_area VARCHAR) | What is the population of the East Kilbride urban sub-area? |
SELECT urban_sub_area FROM table_name_58 WHERE population = "16,140" | CREATE TABLE table_name_58 (urban_sub_area VARCHAR, population VARCHAR) | Which urban sub-area has a population of 16,140? |
SELECT record FROM table_name_41 WHERE date = "july 19" | CREATE TABLE table_name_41 (record VARCHAR, date VARCHAR) | What is the record of the cubs on July 19? |
SELECT nationality FROM table_name_44 WHERE college_junior_club_team__league_ = "northwood school (n.y.)" | CREATE TABLE table_name_44 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR) | What nationality is Northwood School (N.Y.)? |
SELECT result FROM table_name_81 WHERE incumbent = "william vandever" | CREATE TABLE table_name_81 (result VARCHAR, incumbent VARCHAR) | What are incumbent William Vandever's results? |
SELECT first_elected FROM table_name_73 WHERE result = "democratic gain" | CREATE TABLE table_name_73 (first_elected VARCHAR, result VARCHAR) | Who was the first person elected from Democratic GAIN? |
SELECT result FROM table_name_77 WHERE first_elected = "1884" AND incumbent = "joseph mckenna" | CREATE TABLE table_name_77 (result VARCHAR, first_elected VARCHAR, incumbent VARCHAR) | What was the result for incumbent Joseph McKenna who was first elected in 1884? |
SELECT first_elected FROM table_name_28 WHERE party = "republican" AND incumbent = "joseph mckenna" | CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, incumbent VARCHAR) | When was republican incumbent Joseph McKenna first elected? |
SELECT MIN(capacity) FROM table_name_79 WHERE location = "grodno" | CREATE TABLE table_name_79 (capacity INTEGER, location VARCHAR) | what is the lowest capacity in grodno |
SELECT score FROM table_name_79 WHERE january > 18 AND record = "35–15–1" | CREATE TABLE table_name_79 (score VARCHAR, january VARCHAR, record VARCHAR) | Which Score has January larger than 18 and a Record of 35–15–1? |
SELECT SUM(start) FROM table_name_17 WHERE engine = "oldsmobile" AND finish = 21 AND year < 2001 | CREATE TABLE table_name_17 (start INTEGER, year VARCHAR, engine VARCHAR, finish VARCHAR) | How many starts are associated with an oldsmobile engine, 21 finishes and before 2001? |
SELECT AVG(finish) FROM table_name_19 WHERE start < 11 AND engine = "honda" AND year < 2003 | CREATE TABLE table_name_19 (finish INTEGER, year VARCHAR, start VARCHAR, engine VARCHAR) | What was the finish associated with under 11 starts, a honda engine, before 2003? |
SELECT director FROM table_name_23 WHERE original_title = "la ronde" | CREATE TABLE table_name_23 (director VARCHAR, original_title VARCHAR) | what is the director of la ronde |
SELECT MIN(attendance) FROM table_name_27 WHERE visitor = "colorado" AND date = "may 30" | CREATE TABLE table_name_27 (attendance INTEGER, visitor VARCHAR, date VARCHAR) | What is the lowest number of people attending the game on May 30 with Colorado as the visitors? |
SELECT MIN(attendance) FROM table_name_67 WHERE home = "colorado" | CREATE TABLE table_name_67 (attendance INTEGER, home VARCHAR) | What is the lowest number of people attending the game where Colorado was the home team? |
SELECT score FROM table_name_24 WHERE date = "may 26" | CREATE TABLE table_name_24 (score VARCHAR, date VARCHAR) | What was the score of the game on May 26? |
SELECT MIN(round) FROM table_name_9 WHERE player = "adam wiesel" | CREATE TABLE table_name_9 (round INTEGER, player VARCHAR) | What is the lowest round that Adam Wiesel was picked? |
SELECT college_junior_club_team FROM table_name_81 WHERE position = "defence" AND player = "rory fitzpatrick" | CREATE TABLE table_name_81 (college_junior_club_team VARCHAR, position VARCHAR, player VARCHAR) | What college, junior, or club team did defence player Rory Fitzpatrick play for? |
SELECT score FROM table_name_10 WHERE year = 1911 | CREATE TABLE table_name_10 (score VARCHAR, year VARCHAR) | What was the score for 1911? |
Subsets and Splits