answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT remarks FROM table_name_79 WHERE airline = "dutch antilles express" | CREATE TABLE table_name_79 (remarks VARCHAR, airline VARCHAR) | What is the Remark of Airline of Dutch Antilles Express? |
SELECT category FROM table_name_25 WHERE year < 2006 AND result = "nominated" AND title = "cold feet" | CREATE TABLE table_name_25 (category VARCHAR, title VARCHAR, year VARCHAR, result VARCHAR) | What Category has a Year that's smaller than 2006, has Result of Nominated, and a Title of Cold Feet? |
SELECT MIN(year) FROM table_name_96 WHERE title = "cold feet" | CREATE TABLE table_name_96 (year INTEGER, title VARCHAR) | What is recorded as the lowest Year that has the Title of Cold Feet? |
SELECT category FROM table_name_64 WHERE result = "nominated" AND year = 2006 AND title = "pierrepoint" | CREATE TABLE table_name_64 (category VARCHAR, title VARCHAR, result VARCHAR, year VARCHAR) | What Category has a Result of Nominated, Year of 2006, and the Title of Pierrepoint? |
SELECT title FROM table_name_63 WHERE year = 1999 | CREATE TABLE table_name_63 (title VARCHAR, year VARCHAR) | What Title is listed for the Year of 1999? |
SELECT COUNT(year) FROM table_name_82 WHERE title = "the queen" AND award = "british academy film award" AND result = "won" | CREATE TABLE table_name_82 (year VARCHAR, result VARCHAR, title VARCHAR, award VARCHAR) | What is the total number of Year for the Title of The Queen, has an Award of British Academy Film Award, and has a Result of Won? |
SELECT date FROM table_name_62 WHERE opponent = "northwestern" | CREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR) | What was the date of the game against Northwestern? |
SELECT opponent FROM table_name_44 WHERE city = "louisville" | CREATE TABLE table_name_44 (opponent VARCHAR, city VARCHAR) | Who was the opponent when the city was Louisville? |
SELECT score FROM table_name_55 WHERE opponent = "minnesota" | CREATE TABLE table_name_55 (score VARCHAR, opponent VARCHAR) | What was the score of the game against Minnesota? |
SELECT date FROM table_name_69 WHERE competition = "friendly" AND result = "3–0" | CREATE TABLE table_name_69 (date VARCHAR, competition VARCHAR, result VARCHAR) | On what date was a friendly competition and a result of 3–0? |
SELECT date FROM table_name_67 WHERE score = "1–0" AND result = "4–0" | CREATE TABLE table_name_67 (date VARCHAR, score VARCHAR, result VARCHAR) | When was the score 1–0, and the result 4–0? |
SELECT result FROM table_name_17 WHERE venue = "dakar , senegal" AND date = "3 september 2011" AND score = "2–0" | CREATE TABLE table_name_17 (result VARCHAR, score VARCHAR, venue VARCHAR, date VARCHAR) | What was the result at dakar , senegal, on 3 september 2011, and with a Score of 2–0? |
SELECT time FROM table_name_31 WHERE rank > 3 AND name = "andrey kapralov" | CREATE TABLE table_name_31 (time VARCHAR, rank VARCHAR, name VARCHAR) | Which time has a Rank larger than 3, and a Name of andrey kapralov? |
SELECT nationality FROM table_name_42 WHERE name = "igor koleda" | CREATE TABLE table_name_42 (nationality VARCHAR, name VARCHAR) | Which Nationality has a Name of igor koleda? |
SELECT headquarters FROM table_name_26 WHERE company = "getinge group" | CREATE TABLE table_name_26 (headquarters VARCHAR, company VARCHAR) | Where is the headquarters of the getinge group located? |
SELECT COUNT(s_asset__billion_) AS $_ FROM table_name_14 WHERE headquarters = "stockholm, sweden" AND market_value__billion_$_ < 39.8 AND revenue__billion_$__ > 5.8 AND profits__billion_$_ = 1.1 | CREATE TABLE table_name_14 (s_asset__billion_ VARCHAR, profits__billion_$_ VARCHAR, revenue__billion_$__ VARCHAR, headquarters VARCHAR, market_value__billion_$_ VARCHAR) | How much is the total assets of a company based in Stockholm, Sweden with a market capitalization smaller than 39.8 with revenues greater than 5.8 and profit of 1.1? |
SELECT date FROM table_name_64 WHERE opponents = "zi yan jie zheng" | CREATE TABLE table_name_64 (date VARCHAR, opponents VARCHAR) | Name the date for zi yan jie zheng opponent |
SELECT partner FROM table_name_75 WHERE date = "14 october 2007" | CREATE TABLE table_name_75 (partner VARCHAR, date VARCHAR) | Name the partner for 14 october 2007 |
SELECT partner FROM table_name_43 WHERE opponents = "alexandra dulgheru magdaléna rybáriková" | CREATE TABLE table_name_43 (partner VARCHAR, opponents VARCHAR) | Name the partner for opponents of alexandra dulgheru magdaléna rybáriková |
SELECT opponents FROM table_name_45 WHERE date = "24 july 2011" | CREATE TABLE table_name_45 (opponents VARCHAR, date VARCHAR) | Name the opponents for 24 july 2011 |
SELECT MIN(pick__number) FROM table_name_28 WHERE name = "ken walter" AND overall > 195 | CREATE TABLE table_name_28 (pick__number INTEGER, name VARCHAR, overall VARCHAR) | What is Ken Walter's lowest pick number with an overall pick number larger than 195? |
SELECT appearance FROM table_name_80 WHERE polyphenyl_ether = "3- and 4-ring oxythio" | CREATE TABLE table_name_80 (appearance VARCHAR, polyphenyl_ether VARCHAR) | What does Polyphenyl Ether of 3- and 4-ring oxythio look like? |
SELECT distance FROM table_name_2 WHERE course = "naples to foggia" | CREATE TABLE table_name_2 (distance VARCHAR, course VARCHAR) | How long was the course from Naples to Foggia? |
SELECT score FROM table_name_82 WHERE opponent = "milos raonic" | CREATE TABLE table_name_82 (score VARCHAR, opponent VARCHAR) | Name the score with opponent of milos raonic |
SELECT date FROM table_name_83 WHERE surface = "hard" AND tournament = "usa f5, brownsville" | CREATE TABLE table_name_83 (date VARCHAR, surface VARCHAR, tournament VARCHAR) | Name the date with a hard surface and tournament of usa f5, brownsville |
SELECT outcome FROM table_name_57 WHERE tournament = "mexico f12, obregón" | CREATE TABLE table_name_57 (outcome VARCHAR, tournament VARCHAR) | Name the outcome with tournament of mexico f12, obregón |
SELECT tournament FROM table_name_24 WHERE date = "march 25, 2012" | CREATE TABLE table_name_24 (tournament VARCHAR, date VARCHAR) | Name the tournament for march 25, 2012 |
SELECT score_in_the_final FROM table_name_29 WHERE date = "august 25, 1996" | CREATE TABLE table_name_29 (score_in_the_final VARCHAR, date VARCHAR) | What was the final score for the August 25, 1996 match? |
SELECT AVG(year) FROM table_name_25 WHERE points < 6 AND engine = "maserati straight-6" | CREATE TABLE table_name_25 (year INTEGER, points VARCHAR, engine VARCHAR) | What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine? |
SELECT entrant FROM table_name_17 WHERE chassis = "maserati 250f" AND year < 1957 AND points < 6 | CREATE TABLE table_name_17 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, year VARCHAR) | What entrant had a Maserati 250F chassis and fewer than 6 points before 1957? |
SELECT chassis FROM table_name_7 WHERE year = 1951 | CREATE TABLE table_name_7 (chassis VARCHAR, year VARCHAR) | What chassis has a year of 1951? |
SELECT chassis FROM table_name_55 WHERE engine = "maserati straight-6" AND entrant = "officine alfieri maserati" AND points < 6 | CREATE TABLE table_name_55 (chassis VARCHAR, points VARCHAR, engine VARCHAR, entrant VARCHAR) | What is the chassis of Officine Alfieri Maserati with a Maserati Straight-6 engine and fewer than 6 points? |
SELECT MAX(lane) FROM table_name_87 WHERE time < 49.67 AND name = "michael klim" AND rank < 1 | CREATE TABLE table_name_87 (lane INTEGER, rank VARCHAR, time VARCHAR, name VARCHAR) | Which lane has a time less than 49.67, is from Michael Klim and less than 1 rank? |
SELECT MIN(lane) FROM table_name_69 WHERE name = "lorenzo vismara" AND time > 49.67 | CREATE TABLE table_name_69 (lane INTEGER, name VARCHAR, time VARCHAR) | What is the lowest lane with Lorenzo Vismara and a time higher than 49.67? |
SELECT home FROM table_name_41 WHERE date = "january 8" | CREATE TABLE table_name_41 (home VARCHAR, date VARCHAR) | Who was the home team on January 8? |
SELECT opponent FROM table_name_25 WHERE attendance = "38,150" | CREATE TABLE table_name_25 (opponent VARCHAR, attendance VARCHAR) | Who was the Opponent when the Attendance was 38,150? |
SELECT location FROM table_name_54 WHERE classification = "ncaa division ii" AND institution = "franklin pierce university" | CREATE TABLE table_name_54 (location VARCHAR, classification VARCHAR, institution VARCHAR) | Where is NCAA division ii Franklin Pierce University located at? |
SELECT nickname FROM table_name_4 WHERE institution = "post university" | CREATE TABLE table_name_4 (nickname VARCHAR, institution VARCHAR) | Post University has what nickname? |
SELECT current_conference FROM table_name_6 WHERE nickname = "river hawks" | CREATE TABLE table_name_6 (current_conference VARCHAR, nickname VARCHAR) | The River Hawks belonged to what current conference? |
SELECT nickname FROM table_name_54 WHERE location = "manchester, new hampshire" | CREATE TABLE table_name_54 (nickname VARCHAR, location VARCHAR) | What is the nickname of the school located in Manchester, New Hampshire? |
SELECT classification FROM table_name_4 WHERE current_conference = "nec" AND location = "new britain, connecticut" | CREATE TABLE table_name_4 (classification VARCHAR, current_conference VARCHAR, location VARCHAR) | What is the classification for the school in the NEC Conference located in New Britain, Connecticut? |
SELECT institution FROM table_name_48 WHERE classification = "ncaa division i" AND current_conference = "nec" AND nickname = "blue devils" | CREATE TABLE table_name_48 (institution VARCHAR, nickname VARCHAR, classification VARCHAR, current_conference VARCHAR) | What institution is a NCAA Division i school and part of the NEC conference with a nickname the Blue Devils? |
SELECT record FROM table_name_59 WHERE home = "montreal maroons" | CREATE TABLE table_name_59 (record VARCHAR, home VARCHAR) | What was the record at the home of the Montreal Maroons |
SELECT school FROM table_name_49 WHERE _number___county = "29 hamilton" | CREATE TABLE table_name_49 (school VARCHAR, _number___county VARCHAR) | which school shows #/county of 29 hamilton? |
SELECT mascot FROM table_name_73 WHERE enrollment_08_09 = 320 | CREATE TABLE table_name_73 (mascot VARCHAR, enrollment_08_09 VARCHAR) | what is the mascot for the enrollment 08-09 of 320? |
SELECT school FROM table_name_93 WHERE location = "michigantown" | CREATE TABLE table_name_93 (school VARCHAR, location VARCHAR) | what is the school in michigantown? |
SELECT episode_number FROM table_name_1 WHERE name = "vibhav gautam" | CREATE TABLE table_name_1 (episode_number VARCHAR, name VARCHAR) | Which episode number was associated with Vibhav Gautam? |
SELECT city_state FROM table_name_52 WHERE status = "2nd runner-up" | CREATE TABLE table_name_52 (city_state VARCHAR, status VARCHAR) | Which city/state was associated with a contestant whose status was 2nd runner-up? |
SELECT name FROM table_name_30 WHERE episode_number = "episode 34" | CREATE TABLE table_name_30 (name VARCHAR, episode_number VARCHAR) | Which contestant was associated with episode 34? |
SELECT status AS Date FROM table_name_1 WHERE city_state = "indor, madhya pradesh" | CREATE TABLE table_name_1 (status VARCHAR, city_state VARCHAR) | What is the status of the city/state of Indor, Madhya Pradesh? |
SELECT role FROM table_name_56 WHERE director = "r.n. bradbury" AND title = "the trail beyond" | CREATE TABLE table_name_56 (role VARCHAR, director VARCHAR, title VARCHAR) | What role did John Wayne play in The Trail Beyond, directed by R.N. Bradbury? |
SELECT director FROM table_name_79 WHERE title = "the star packer" | CREATE TABLE table_name_79 (director VARCHAR, title VARCHAR) | Who directed the movie The Star Packer? |
SELECT role FROM table_name_42 WHERE leading_lady = "sheila terry" AND title = "the lawless frontier" | CREATE TABLE table_name_42 (role VARCHAR, leading_lady VARCHAR, title VARCHAR) | What role did John Wayne play in The Lawless Frontier, with Sheila Terry as the leading lady? |
SELECT title FROM table_name_54 WHERE role = "chris morrell" | CREATE TABLE table_name_54 (title VARCHAR, role VARCHAR) | In what movie did John Wayne play the role of Chris Morrell? |
SELECT role FROM table_name_80 WHERE leading_lady = "verna hillie" | CREATE TABLE table_name_80 (role VARCHAR, leading_lady VARCHAR) | What role did John Wayne play with Verna Hillie as the leading lady? |
SELECT director FROM table_name_54 WHERE role = "john travers" | CREATE TABLE table_name_54 (director VARCHAR, role VARCHAR) | Who directed the movie when John Wayne played the role of John Travers? |
SELECT record FROM table_name_44 WHERE decision = "prusek" AND date = "november 26" | CREATE TABLE table_name_44 (record VARCHAR, decision VARCHAR, date VARCHAR) | What is the record for November 26, with the decision made by Prusek? |
SELECT record FROM table_name_3 WHERE visitor = "columbus" AND decision = "denis" AND home = "phoenix" | CREATE TABLE table_name_3 (record VARCHAR, home VARCHAR, visitor VARCHAR, decision VARCHAR) | What is the record for game where Columbus is visitor, Phoenix is home, and decision is made by Denis? |
SELECT record FROM table_name_10 WHERE decision = "denis" AND date = "november 4" | CREATE TABLE table_name_10 (record VARCHAR, decision VARCHAR, date VARCHAR) | What is the record for November 4, with a decision made by Denis? |
SELECT intergiro_classification FROM table_name_34 WHERE points_classification = "fabrizio guidi" AND winner = "nicolaj bo larsen" | CREATE TABLE table_name_34 (intergiro_classification VARCHAR, points_classification VARCHAR, winner VARCHAR) | What is the Intergiro classification of Nicolaj bo Larsen, who has a Fabrizio guidi point classification? |
SELECT mountains_classification FROM table_name_60 WHERE winner = "mario cipollini" AND general_classification = "pavel tonkov" | CREATE TABLE table_name_60 (mountains_classification VARCHAR, winner VARCHAR, general_classification VARCHAR) | What is the mountain classification of Mario Cipollini, who has a general classification of Pavel tonkov? |
SELECT stage FROM table_name_13 WHERE trofeo_fast_team = "gewiss playbus" AND points_classification = "fabrizio guidi" AND winner = "fabiano fontanelli" | CREATE TABLE table_name_13 (stage VARCHAR, winner VARCHAR, trofeo_fast_team VARCHAR, points_classification VARCHAR) | What is the stage of Fabiano Fontanelli, who had a Trofeo Fast Team of Gewiss Playbus and a point classification of Fabrizio Guidi? |
SELECT stage FROM table_name_56 WHERE points_classification = "silvio martinello" AND general_classification = "davide rebellin" | CREATE TABLE table_name_56 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR) | What is the stage with a point classification of Silvio Martinello and Davide Rebellin as the general classification? |
SELECT trofeo_fast_team FROM table_name_67 WHERE points_classification = "silvio martinello" AND stage = "6" | CREATE TABLE table_name_67 (trofeo_fast_team VARCHAR, points_classification VARCHAR, stage VARCHAR) | What is the Trofeo Fast Team with a point classification of Silvio Martinello and stage 6? |
SELECT points_for FROM table_name_59 WHERE club = "castres" | CREATE TABLE table_name_59 (points_for VARCHAR, club VARCHAR) | How many points did the Castres have? |
SELECT club FROM table_name_37 WHERE drawn = "0" AND points_for = "617" | CREATE TABLE table_name_37 (club VARCHAR, drawn VARCHAR, points_for VARCHAR) | Who is the club that had 617 points and a draw of 0? |
SELECT bonus_points FROM table_name_38 WHERE club = "stade français" | CREATE TABLE table_name_38 (bonus_points VARCHAR, club VARCHAR) | What number of bonus points did Stade Français? |
SELECT opponent FROM table_name_68 WHERE record = "15–15" | CREATE TABLE table_name_68 (opponent VARCHAR, record VARCHAR) | Who was the opponent at the game when the record was 15–15? |
SELECT opponent FROM table_name_63 WHERE attendance = "23,203" | CREATE TABLE table_name_63 (opponent VARCHAR, attendance VARCHAR) | Who was the opponent at the game attended by 23,203? |
SELECT loss FROM table_name_19 WHERE record = "16–15" | CREATE TABLE table_name_19 (loss VARCHAR, record VARCHAR) | What was the loss of the game when the record was 16–15? |
SELECT attendance FROM table_name_8 WHERE score = "16–7" | CREATE TABLE table_name_8 (attendance VARCHAR, score VARCHAR) | What was the attendance at the game that had a score of 16–7? |
SELECT date FROM table_name_70 WHERE attendance = "25,022" | CREATE TABLE table_name_70 (date VARCHAR, attendance VARCHAR) | What was the date of the game attended by 25,022? |
SELECT record FROM table_name_43 WHERE attendance > 28 OFFSET 459 | CREATE TABLE table_name_43 (record VARCHAR, attendance INTEGER) | Which record has an attendance larger than 28,459? |
SELECT score FROM table_name_92 WHERE record = "32-37" | CREATE TABLE table_name_92 (score VARCHAR, record VARCHAR) | When the record was 32-37 what was the score? |
SELECT record FROM table_name_31 WHERE date = "june 7" | CREATE TABLE table_name_31 (record VARCHAR, date VARCHAR) | On the date of june 7 what was the score? |
SELECT score FROM table_name_8 WHERE record = "68-39" | CREATE TABLE table_name_8 (score VARCHAR, record VARCHAR) | What was the score of the game when the record was 68-39? |
SELECT date FROM table_name_75 WHERE opponent = "white sox" AND record = "81-48" | CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR, record VARCHAR) | What was the game of the game against the White Sox with a record of 81-48? |
SELECT date FROM table_name_54 WHERE record = "66-38" | CREATE TABLE table_name_54 (date VARCHAR, record VARCHAR) | What was the date of the game when the record was 66-38? |
SELECT category FROM table_name_6 WHERE nominee = "brian d'arcy james" AND result = "nominated" | CREATE TABLE table_name_6 (category VARCHAR, nominee VARCHAR, result VARCHAR) | What category was Brian D'arcy James nominated for? |
SELECT moving_to FROM table_name_56 WHERE transfer_fee = "£300,000" | CREATE TABLE table_name_56 (moving_to VARCHAR, transfer_fee VARCHAR) | What is the item "Moving to", when the Transfer fee is £300,000? |
SELECT country FROM table_name_94 WHERE transfer_fee = "loan" AND name = "lynch" | CREATE TABLE table_name_94 (country VARCHAR, transfer_fee VARCHAR, name VARCHAR) | What is the Country, when the Transfer fee is "loan", and when the Name is Lynch? |
SELECT transfer_window FROM table_name_86 WHERE transfer_fee = "free" AND name = "dugdale" | CREATE TABLE table_name_86 (transfer_window VARCHAR, transfer_fee VARCHAR, name VARCHAR) | What is the Transfer window, when the Transfer fee is "free", and when the Name is Dugdale? |
SELECT name FROM table_name_80 WHERE transfer_fee = "loan" | CREATE TABLE table_name_80 (name VARCHAR, transfer_fee VARCHAR) | What is the Name, when the Transfer fee is "loan"? |
SELECT transfer_window FROM table_name_30 WHERE transfer_fee = "free" AND moving_to = "norwich city" | CREATE TABLE table_name_30 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) | What is the Transfer window, when the Transfer fee is "free", and when the item "Moving to" is Norwich City? |
SELECT transfer_fee FROM table_name_94 WHERE transfer_window = "winter" AND moving_to = "northwich victoria" | CREATE TABLE table_name_94 (transfer_fee VARCHAR, transfer_window VARCHAR, moving_to VARCHAR) | What is the Transfer fee, when the Transfer window is "winter", and when the item "Moving to" is Northwich Victoria? |
SELECT constructor FROM table_name_44 WHERE time_retired = "collision" AND grid = "11" | CREATE TABLE table_name_44 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR) | What companyw as the constructor when the Time/Retired was collision, and a Grid of 11? |
SELECT time_retired FROM table_name_2 WHERE grid = "8" | CREATE TABLE table_name_2 (time_retired VARCHAR, grid VARCHAR) | What shows as the Time/Retired for Grid 8? |
SELECT laps FROM table_name_36 WHERE grid = "3" | CREATE TABLE table_name_36 (laps VARCHAR, grid VARCHAR) | What is the number of laps for Grid 3? |
SELECT constructor FROM table_name_50 WHERE driver = "nick heidfeld" | CREATE TABLE table_name_50 (constructor VARCHAR, driver VARCHAR) | What company was the constructor when Nick Heidfeld was the driver/ |
SELECT laps FROM table_name_48 WHERE time_retired = "+1:08.577" | CREATE TABLE table_name_48 (laps VARCHAR, time_retired VARCHAR) | What shows for laps when the Time/Retired was +1:08.577? |
SELECT constructor FROM table_name_11 WHERE grid = "1" | CREATE TABLE table_name_11 (constructor VARCHAR, grid VARCHAR) | What is the name of the constructor for Grid 1? |
SELECT test_career FROM table_name_98 WHERE player = "mushfiqur rahim" | CREATE TABLE table_name_98 (test_career VARCHAR, player VARCHAR) | When was Mushfiqur Rahim's test career? |
SELECT SUM(points) FROM table_name_95 WHERE year < 1984 | CREATE TABLE table_name_95 (points INTEGER, year INTEGER) | Name the sum of points for 1984 |
SELECT points FROM table_name_99 WHERE engine = "chevrolet 265c" | CREATE TABLE table_name_99 (points VARCHAR, engine VARCHAR) | Name the points for Engine of chevrolet 265c |
SELECT chassis FROM table_name_43 WHERE points = 147 AND engine = "ford cosworth dfx" | CREATE TABLE table_name_43 (chassis VARCHAR, points VARCHAR, engine VARCHAR) | Name the chassis of 147 points and engine of ford cosworth dfx |
SELECT term FROM table_name_22 WHERE district = "7" AND party = "democratic" | CREATE TABLE table_name_22 (term VARCHAR, district VARCHAR, party VARCHAR) | Which term had a Democratic representative from district 7? |
SELECT term FROM table_name_6 WHERE hometown = "anchorage" AND name = "bruce biers kendall" | CREATE TABLE table_name_6 (term VARCHAR, hometown VARCHAR, name VARCHAR) | What was the term of Bruce Biers Kendall whose hometown is Anchorage? |
SELECT hometown FROM table_name_22 WHERE legislatures = "twenty-sixth" | CREATE TABLE table_name_22 (hometown VARCHAR, legislatures VARCHAR) | What is the hometown of the representative that served the twenty-sixth legislature? |
SELECT qual FROM table_name_28 WHERE rank = "19" | CREATE TABLE table_name_28 (qual VARCHAR, rank VARCHAR) | What is the qual with a 19 rank? |
SELECT rank FROM table_name_33 WHERE finish = "25" | CREATE TABLE table_name_33 (rank VARCHAR, finish VARCHAR) | What rank has a 25 finish? |
Subsets and Splits