answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT date FROM table_name_13 WHERE race_title = "grand prix de monaco"
CREATE TABLE table_name_13 (date VARCHAR, race_title VARCHAR)
When did the Grand Prix de Monaco race?
SELECT circuit FROM table_name_79 WHERE round = 16
CREATE TABLE table_name_79 (circuit VARCHAR, round VARCHAR)
What circuit had 16 rounds?
SELECT grand_prix FROM table_name_82 WHERE round = 9
CREATE TABLE table_name_82 (grand_prix VARCHAR, round VARCHAR)
Which Grand Prix had 9 rounds?
SELECT base_fares FROM table_name_18 WHERE fare_categories = "senior/disabled"
CREATE TABLE table_name_18 (base_fares VARCHAR, fare_categories VARCHAR)
What is the Base Fare in the senior/disabled category?
SELECT 30 - day_pass FROM table_name_74 WHERE base_fares = "$3"
CREATE TABLE table_name_74 (day_pass VARCHAR, base_fares VARCHAR)
Which 30-day Pass has a Base Fare of $3?
SELECT length FROM table_name_29 WHERE year = "2012-2013"
CREATE TABLE table_name_29 (length VARCHAR, year VARCHAR)
What is the length for years 2012-2013?
SELECT engine_type FROM table_name_77 WHERE length = "ft (m)" AND year = "2003" AND numbers = "6600-6684 (84 buses)"
CREATE TABLE table_name_77 (engine_type VARCHAR, numbers VARCHAR, length VARCHAR, year VARCHAR)
If length is ft (m) with numbers of 6600-6684 (84 buses) for 2003, what is the engine type?
SELECT length FROM table_name_38 WHERE numbers = "2600-2825 (223 buses)"
CREATE TABLE table_name_38 (length VARCHAR, numbers VARCHAR)
For numbers of 2600-2825 (223 buses), what is the length?
SELECT length FROM table_name_52 WHERE year = "2003" AND make_ & _model = "nabi 35-lfw"
CREATE TABLE table_name_52 (length VARCHAR, year VARCHAR, make_ VARCHAR, _model VARCHAR)
What is the lenth of a 2003 Make & Model of nabi 35-lfw?
SELECT length FROM table_name_92 WHERE engine_type = "diesel" AND numbers = "tbd (13 buses)"
CREATE TABLE table_name_92 (length VARCHAR, engine_type VARCHAR, numbers VARCHAR)
What is the length for a diesel engine with numbers of tbd (13 buses)?
SELECT year FROM table_name_79 WHERE make_ & _model = "mci d4000n"
CREATE TABLE table_name_79 (year VARCHAR, make_ VARCHAR, _model VARCHAR)
What year has a make & model of mci d4000n?
SELECT type FROM table_name_75 WHERE date = "8 dec 16" AND ship = "duchess of cornwall"
CREATE TABLE table_name_75 (type VARCHAR, date VARCHAR, ship VARCHAR)
What type has a Date of 8 dec 16, and a Ship of duchess of cornwall?
SELECT nationality FROM table_name_62 WHERE ship = "minteh"
CREATE TABLE table_name_62 (nationality VARCHAR, ship VARCHAR)
Which nationality has a Ship of minteh?
SELECT SUM(tonnage_grt) FROM table_name_23 WHERE type = "cargo ship" AND nationality = "norway"
CREATE TABLE table_name_23 (tonnage_grt INTEGER, type VARCHAR, nationality VARCHAR)
What is the total Tonnage GRT with a Type of cargo ship, and a Nationality of norway?
SELECT date FROM table_name_87 WHERE ship = "hallbjorg"
CREATE TABLE table_name_87 (date VARCHAR, ship VARCHAR)
Which Date has a Ship of hallbjorg?
SELECT set_3 FROM table_name_24 WHERE total = "45–31"
CREATE TABLE table_name_24 (set_3 VARCHAR, total VARCHAR)
What is the score of set 3 when the total is 45–31?
SELECT set_2 FROM table_name_61 WHERE set_3 = "15–6"
CREATE TABLE table_name_61 (set_2 VARCHAR, set_3 VARCHAR)
What is the score for set 2 when set 3 was 15–6?
SELECT total FROM table_name_68 WHERE set_1 = "15–11"
CREATE TABLE table_name_68 (total VARCHAR, set_1 VARCHAR)
What is the total when the score of set 1 was 15–11?
SELECT total FROM table_name_5 WHERE set_1 = "15–11"
CREATE TABLE table_name_5 (total VARCHAR, set_1 VARCHAR)
What is the total when the score of set 1 is 15–11?
SELECT date FROM table_name_50 WHERE total = "25–45"
CREATE TABLE table_name_50 (date VARCHAR, total VARCHAR)
On what date was the total 25–45?
SELECT away_team AS score FROM table_name_59 WHERE away_team = "st kilda"
CREATE TABLE table_name_59 (away_team VARCHAR)
What was St Kilda's score as the Away team?
SELECT home_team AS score FROM table_name_5 WHERE venue = "vfl park"
CREATE TABLE table_name_5 (home_team VARCHAR, venue VARCHAR)
At the venue Vfl Park, what was the Home team score?
SELECT COUNT(reg_gp) FROM table_name_66 WHERE player = "daniel rahimi" AND rd__number > 3
CREATE TABLE table_name_66 (reg_gp VARCHAR, player VARCHAR, rd__number VARCHAR)
How many Reg GP does daniel rahimi have with a rd # greater than 3?
SELECT MIN(pick__number) FROM table_name_90 WHERE player = "michael grabner" AND reg_gp < 20
CREATE TABLE table_name_90 (pick__number INTEGER, player VARCHAR, reg_gp VARCHAR)
What is the lowest Pick # with michael grabner and less than 20 Reg GP?
SELECT class FROM table_name_31 WHERE peak = "fountains fell south top"
CREATE TABLE table_name_31 (class VARCHAR, peak VARCHAR)
Which class has a peak named fountains fell south top?
SELECT SUM(prom__m_) FROM table_name_72 WHERE peak = "great knoutberry hill"
CREATE TABLE table_name_72 (prom__m_ INTEGER, peak VARCHAR)
What is the total of Prom in M for Peak great knoutberry hill?
SELECT AVG(height__m_) FROM table_name_45 WHERE class = "hewitt" AND prom__m_ < 86 AND peak = "gragareth"
CREATE TABLE table_name_45 (height__m_ INTEGER, peak VARCHAR, class VARCHAR, prom__m_ VARCHAR)
What is the average height for hewitt class, with prom less than 86, and a Peak of gragareth?
SELECT movie FROM table_name_20 WHERE co_singers = "selva nambi"
CREATE TABLE table_name_20 (movie VARCHAR, co_singers VARCHAR)
In which movie is Selva Nambi a co-singer?
SELECT music_director FROM table_name_3 WHERE year = 1994
CREATE TABLE table_name_3 (music_director VARCHAR, year VARCHAR)
Who was the music director in 1994?
SELECT COUNT(year) FROM table_name_45 WHERE nominee = "denis lawson"
CREATE TABLE table_name_45 (year VARCHAR, nominee VARCHAR)
What years was Denis Lawson nominated for an award?
SELECT result FROM table_name_14 WHERE nominee = "jason pennycooke"
CREATE TABLE table_name_14 (result VARCHAR, nominee VARCHAR)
Did Jason Pennycooke win the award he was nominated for?
SELECT COUNT(year) FROM table_name_60 WHERE nominee = "best musical revival"
CREATE TABLE table_name_60 (year VARCHAR, nominee VARCHAR)
How many years was Best Musical Revival nominated?
SELECT award FROM table_name_95 WHERE category = "best actor in a musical" AND nominee = "denis lawson"
CREATE TABLE table_name_95 (award VARCHAR, category VARCHAR, nominee VARCHAR)
What award was Denis Lawson nominated for in the Best Actor in a Musical category?
SELECT opponent FROM table_name_26 WHERE outcome = "winner" AND date = "5 november 2011"
CREATE TABLE table_name_26 (opponent VARCHAR, outcome VARCHAR, date VARCHAR)
Which opponent has an Outcome of winner, and a Date of 5 november 2011?
SELECT date FROM table_name_92 WHERE score = "4–6, 2–6"
CREATE TABLE table_name_92 (date VARCHAR, score VARCHAR)
Which date has a Score of 4–6, 2–6?
SELECT date FROM table_name_60 WHERE opponent = "juan mónaco" AND score = "6–2, 4–6, 7–6 (7–3)"
CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, score VARCHAR)
Which date has a Opponent of juan mónaco, and a Score of 6–2, 4–6, 7–6 (7–3)?
SELECT outcome FROM table_name_16 WHERE opponent = "fernando verdasco"
CREATE TABLE table_name_16 (outcome VARCHAR, opponent VARCHAR)
Which outcome has a Opponent of fernando verdasco?
SELECT surface FROM table_name_41 WHERE opponent = "fernando verdasco"
CREATE TABLE table_name_41 (surface VARCHAR, opponent VARCHAR)
Which surface has an Opponent of fernando verdasco?
SELECT surface FROM table_name_40 WHERE date = "5 november 2011"
CREATE TABLE table_name_40 (surface VARCHAR, date VARCHAR)
Which surface has a Date of 5 november 2011?
SELECT SUM(crowd) FROM table_name_16 WHERE venue = "mcg"
CREATE TABLE table_name_16 (crowd INTEGER, venue VARCHAR)
When the Venue was mcg what was the sum of all Crowds for that venue?
SELECT date FROM table_name_62 WHERE away_team = "essendon"
CREATE TABLE table_name_62 (date VARCHAR, away_team VARCHAR)
If the Away team is essendon, what was the Date they played?
SELECT date FROM table_name_11 WHERE away_team = "essendon"
CREATE TABLE table_name_11 (date VARCHAR, away_team VARCHAR)
On what Date did the Away team essendon play?
SELECT date FROM table_name_49 WHERE home_team = "north melbourne"
CREATE TABLE table_name_49 (date VARCHAR, home_team VARCHAR)
When the Home team was north melbourne what was the Date of the game?
SELECT record FROM table_name_72 WHERE date = "september 1"
CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)
What was the record as of September 1?
SELECT loss FROM table_name_48 WHERE date = "september 1"
CREATE TABLE table_name_48 (loss VARCHAR, date VARCHAR)
What was the losing score on September 1?
SELECT 1988 FROM table_name_88 WHERE 1987 = "1r"
CREATE TABLE table_name_88 (Id VARCHAR)
What is the 1988 value when the 1987 value was 1r?
SELECT 1981 FROM table_name_97 WHERE tournament = "wimbledon"
CREATE TABLE table_name_97 (tournament VARCHAR)
What is the 1981 value at the Tournament of Wimbledon?
SELECT name FROM table_name_86 WHERE opened = "2004" AND park = "bobbejaanland"
CREATE TABLE table_name_86 (name VARCHAR, opened VARCHAR, park VARCHAR)
What is the name of the rollercoaster that opened in 2004 in bobbejaanland?
SELECT status FROM table_name_89 WHERE opened = "2008" AND model = "junior coaster"
CREATE TABLE table_name_89 (status VARCHAR, opened VARCHAR, model VARCHAR)
What is the status of the junior coaster model that opened in 2008?
SELECT model FROM table_name_16 WHERE status = "operating" AND name = "thor's hammer"
CREATE TABLE table_name_16 (model VARCHAR, status VARCHAR, name VARCHAR)
What is the model for Thor's Hammer which is listed as operating?
SELECT name FROM table_name_80 WHERE model = "euro-fighter" AND opened = "2011"
CREATE TABLE table_name_80 (name VARCHAR, model VARCHAR, opened VARCHAR)
What is the name of the coaster that opened in 2011 and is a euro-fighter model?
SELECT winning_driver FROM table_name_9 WHERE race_name = "iv j.c.c. jersey road race"
CREATE TABLE table_name_9 (winning_driver VARCHAR, race_name VARCHAR)
Which driver won the iv j.c.c. jersey road race?
SELECT COUNT(games) FROM table_name_73 WHERE points = 34 AND losses = 3
CREATE TABLE table_name_73 (games VARCHAR, points VARCHAR, losses VARCHAR)
What's the total number of games that had more than 34 points and exactly 3 losses?
SELECT COUNT(losses) FROM table_name_14 WHERE points < 19 AND games > 36
CREATE TABLE table_name_14 (losses VARCHAR, points VARCHAR, games VARCHAR)
What's the total number of losses with less than 19 points and more than 36 games?
SELECT season FROM table_name_78 WHERE points < 26 AND games > 18 AND losses = 13
CREATE TABLE table_name_78 (season VARCHAR, losses VARCHAR, points VARCHAR, games VARCHAR)
Which season has less than 26 points, more than 18 games, and exactly 13 losses?
SELECT MAX(crowd) FROM table_name_71 WHERE away_team = "south melbourne"
CREATE TABLE table_name_71 (crowd INTEGER, away_team VARCHAR)
What is the highest crowd number of the game where the away team was south melbourne?
SELECT home_team AS score FROM table_name_73 WHERE away_team = "north melbourne"
CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR)
What is the home team score that played the away team of north melbourne?
SELECT away_team AS score FROM table_name_47 WHERE venue = "princes park"
CREATE TABLE table_name_47 (away_team VARCHAR, venue VARCHAR)
What is the away team score of the game that was played at princes park?
SELECT MIN(crowd) FROM table_name_13 WHERE home_team = "carlton"
CREATE TABLE table_name_13 (crowd INTEGER, home_team VARCHAR)
If the Home team is carlton, what's the lowest Crowd found?
SELECT block_a FROM table_name_14 WHERE el_nosawa_mendoza = "kondo (7:08)"
CREATE TABLE table_name_14 (block_a VARCHAR, el_nosawa_mendoza VARCHAR)
What is the Block A value for an El NOSAWA Mendoza value of kondo (7:08)?
SELECT pepe_michinoku FROM table_name_28 WHERE ryuji_hijikata = "sabin (12:33)"
CREATE TABLE table_name_28 (pepe_michinoku VARCHAR, ryuji_hijikata VARCHAR)
What is the PEPE Michinoku value for a Ryuji Hijikata value of sabin (12:33)?
SELECT shuji_kondo FROM table_name_2 WHERE pepe_michinoku = "sabin (14:43)"
CREATE TABLE table_name_2 (shuji_kondo VARCHAR, pepe_michinoku VARCHAR)
What is the Shuji Kondo value related to a PEPE Michinoku value of sabin (14:43)?
SELECT declination___j2000__ FROM table_name_80 WHERE ngc_number > 5750
CREATE TABLE table_name_80 (declination___j2000__ VARCHAR, ngc_number INTEGER)
Tell me the declination with NGC number larger than 5750
SELECT final_position___round FROM table_name_22 WHERE competition = "fa community shield"
CREATE TABLE table_name_22 (final_position___round VARCHAR, competition VARCHAR)
Tell me the final position for fa community shield
SELECT first_match FROM table_name_84 WHERE last_match = "11 may 2008"
CREATE TABLE table_name_84 (first_match VARCHAR, last_match VARCHAR)
Name the first match for 11 may 2008
SELECT COUNT(lifetime_india_distributor_share) FROM table_name_39 WHERE year < 2009
CREATE TABLE table_name_39 (lifetime_india_distributor_share VARCHAR, year INTEGER)
What is the total number of Lifetime India Distributor share earlier than 2009?
SELECT date FROM table_name_66 WHERE home_team = "south melbourne"
CREATE TABLE table_name_66 (date VARCHAR, home_team VARCHAR)
When did South Melbourne play as the home team?
SELECT MAX(crowd) FROM table_name_36 WHERE away_team = "st kilda"
CREATE TABLE table_name_36 (crowd INTEGER, away_team VARCHAR)
What was the largest amount of spectators when St Kilda was the away team?
SELECT away_team AS score FROM table_name_83 WHERE away_team = "richmond"
CREATE TABLE table_name_83 (away_team VARCHAR)
What was Richmond's score when it was the away team?
SELECT declination___j2000__ FROM table_name_77 WHERE constellation = "hydra" AND right_ascension___j2000__ = "10h46m44.9s"
CREATE TABLE table_name_77 (declination___j2000__ VARCHAR, constellation VARCHAR, right_ascension___j2000__ VARCHAR)
what is the declination (j2000) that has a constellation of hydra and a right ascension (j2000) of 10h46m44.9s?
SELECT MAX(ngc_number) FROM table_name_12 WHERE object_type = "lenticular galaxy" AND constellation = "hydra"
CREATE TABLE table_name_12 (ngc_number INTEGER, object_type VARCHAR, constellation VARCHAR)
What is the ngc number when the object type is lenticular galaxy and the constellation is hydra?
SELECT object_type FROM table_name_98 WHERE ngc_number = 3314
CREATE TABLE table_name_98 (object_type VARCHAR, ngc_number VARCHAR)
what is the object type when the ngc number is 3314?
SELECT AVG(ngc_number) FROM table_name_70 WHERE constellation = "leo" AND declination___j2000__ = "°42′13″"
CREATE TABLE table_name_70 (ngc_number INTEGER, constellation VARCHAR, declination___j2000__ VARCHAR)
what is the ngc number when the constellation is leo and the declination (j2000) is °42′13″?
SELECT right_ascension___j2000__ FROM table_name_58 WHERE ngc_number < 3384 AND constellation = "hydra" AND object_type = "spiral galaxy"
CREATE TABLE table_name_58 (right_ascension___j2000__ VARCHAR, object_type VARCHAR, ngc_number VARCHAR, constellation VARCHAR)
what is the right ascension (j2000) with the ngc number less than 3384, the constellation is hydra and the object type is spiral galaxy?
SELECT competition FROM table_name_95 WHERE date = "october 7, 2011"
CREATE TABLE table_name_95 (competition VARCHAR, date VARCHAR)
What competition was played on October 7, 2011?
SELECT score FROM table_name_65 WHERE year = 1992 AND result = "loss"
CREATE TABLE table_name_65 (score VARCHAR, year VARCHAR, result VARCHAR)
What's the score for 1992, with the result of a loss?
SELECT national_league FROM table_name_80 WHERE club = "limoges csp" AND national_cup = "french basketball cup"
CREATE TABLE table_name_80 (national_league VARCHAR, club VARCHAR, national_cup VARCHAR)
What national league has limoges csp, and french basketball cup?
SELECT club FROM table_name_97 WHERE national_cup = "turkish basketball cup" AND european_cup = "fiba eurochallenge (3rd tier)"
CREATE TABLE table_name_97 (club VARCHAR, national_cup VARCHAR, european_cup VARCHAR)
What is the club that has the turkish basketball cup and fiba eurochallenge (3rd tier)?
SELECT national_cup FROM table_name_91 WHERE club = "fc barcelona"
CREATE TABLE table_name_91 (national_cup VARCHAR, club VARCHAR)
What national cup has fc barcelona?
SELECT AVG(ddr3_speed) FROM table_name_15 WHERE model = "e-350"
CREATE TABLE table_name_15 (ddr3_speed INTEGER, model VARCHAR)
Name the average DDR3 speed for model e-350
SELECT loss FROM table_name_10 WHERE date = "august 21"
CREATE TABLE table_name_10 (loss VARCHAR, date VARCHAR)
who lost on august 21?
SELECT record FROM table_name_21 WHERE opponent = "expos" AND date = "august 10"
CREATE TABLE table_name_21 (record VARCHAR, opponent VARCHAR, date VARCHAR)
On August 10, what was the record against the Expos?
SELECT AVG(laps) FROM table_name_91 WHERE driver = "lorenzo bandini" AND grid < 3
CREATE TABLE table_name_91 (laps INTEGER, driver VARCHAR, grid VARCHAR)
What is the average laps for lorenzo bandini with a grid under 3?
SELECT driver FROM table_name_28 WHERE laps < 53 AND grid < 14 AND time_retired = "differential"
CREATE TABLE table_name_28 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
What driver has under 53 laps, a grid smaller than 14, and a time/retired of differential?
SELECT music FROM table_name_63 WHERE uncut_run_time = "95 minutes"
CREATE TABLE table_name_63 (music VARCHAR, uncut_run_time VARCHAR)
What music is in the film with an Uncut run time of 95 minutes?
SELECT country FROM table_name_10 WHERE music = "nino oliviero"
CREATE TABLE table_name_10 (country VARCHAR, music VARCHAR)
What country is the film that has music of nino oliviero?
SELECT music FROM table_name_53 WHERE year < 1963
CREATE TABLE table_name_53 (music VARCHAR, year INTEGER)
What music is in the film before 1963?
SELECT music FROM table_name_23 WHERE year = 1962
CREATE TABLE table_name_23 (music VARCHAR, year VARCHAR)
What music is in the film before 1962?
SELECT home_team FROM table_name_75 WHERE away_team = "north melbourne"
CREATE TABLE table_name_75 (home_team VARCHAR, away_team VARCHAR)
Which team played as the home team when north melbourne played as away?
SELECT position FROM table_name_37 WHERE pick__number = 53
CREATE TABLE table_name_37 (position VARCHAR, pick__number VARCHAR)
what is the position of pick #53?
SELECT position FROM table_name_54 WHERE player = "andrew paopao"
CREATE TABLE table_name_54 (position VARCHAR, player VARCHAR)
what is the position for andrew paopao?
SELECT venue FROM table_name_11 WHERE home_team = "south melbourne"
CREATE TABLE table_name_11 (venue VARCHAR, home_team VARCHAR)
In which venue is South Melbourne the home team?
SELECT away_team FROM table_name_80 WHERE home_team = "south melbourne"
CREATE TABLE table_name_80 (away_team VARCHAR, home_team VARCHAR)
When South Melbourne was the home team, who was the away team?
SELECT venue FROM table_name_16 WHERE home_team = "hawthorn"
CREATE TABLE table_name_16 (venue VARCHAR, home_team VARCHAR)
What venue is Hawthorn the home team at?
SELECT capacity FROM table_name_97 WHERE city_area = "chester"
CREATE TABLE table_name_97 (capacity VARCHAR, city_area VARCHAR)
What is the capacity for the arena in Chester?
SELECT arena FROM table_name_8 WHERE capacity = "1,100"
CREATE TABLE table_name_8 (arena VARCHAR, capacity VARCHAR)
Which arena has a capactiy of 1,100?
SELECT last_season FROM table_name_90 WHERE team = "scottish rocks"
CREATE TABLE table_name_90 (last_season VARCHAR, team VARCHAR)
What is the last season that the Scottish Rocks played?
SELECT arena FROM table_name_32 WHERE capacity = "800" AND team = "milton keynes lions"
CREATE TABLE table_name_32 (arena VARCHAR, capacity VARCHAR, team VARCHAR)
Which arena has the Milton Keynes Lions and a capacity of 800?
SELECT last_season FROM table_name_65 WHERE team = "worcester wolves"
CREATE TABLE table_name_65 (last_season VARCHAR, team VARCHAR)
What is the last season the Worcester Wolves played?
SELECT team FROM table_name_17 WHERE city_area = "birmingham & telford"
CREATE TABLE table_name_17 (team VARCHAR, city_area VARCHAR)
Which team is from Birmingham & Telford?