answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT MIN(trine_dehli_cleve) FROM table_28677723_14 WHERE style = "English Waltz"
Name the trine dehli cleve for english waltz
CREATE TABLE table_28677723_14 (trine_dehli_cleve INTEGER, style VARCHAR)
SELECT region FROM table_name_55 WHERE date = "may 27, 2009"
What was the region of the release from May 27, 2009?
CREATE TABLE table_name_55 (region VARCHAR, date VARCHAR)
SELECT AVG(date_of_release) FROM table_name_33 WHERE title = "thickskin"
WHAT IS THE AVERAGE DATE OF RELEASE FOR THICKSKIN?
CREATE TABLE table_name_33 (date_of_release INTEGER, title VARCHAR)
SELECT track FROM table_name_86 WHERE pole_position = "takashi kogure"
On which track did Takashi Kogure hold pole position?
CREATE TABLE table_name_86 (track VARCHAR, pole_position VARCHAR)
SELECT place FROM table_name_7 WHERE draw > 2 AND points < 139 AND artist = "midnight band"
In what place is the artist Midnight Band with a draw larger than 2 and less than 139 points.
CREATE TABLE table_name_7 (place VARCHAR, artist VARCHAR, draw VARCHAR, points VARCHAR)
SELECT AVG(route) FROM table_name_12 WHERE elevation = "12,183 feet 3713 m"
Elevation of 12,183 feet 3713 m is what average route?
CREATE TABLE table_name_12 (route INTEGER, elevation VARCHAR)
SELECT MIN(number_of_electorates__2009_) FROM table_name_56 WHERE district = "mathura" AND name = "mant"
What Number of electorates (2009) has a District of mathura, and a Name of mant?
CREATE TABLE table_name_56 (number_of_electorates__2009_ INTEGER, district VARCHAR, name VARCHAR)
SELECT date FROM table_name_78 WHERE surface = "hard" AND opponent = "jesse levine"
On what date did Jesse Levine play on a hard surface?
CREATE TABLE table_name_78 (date VARCHAR, surface VARCHAR, opponent VARCHAR)
SELECT MAX(map_number) FROM table_198175_2
What is the highest value for map number?
CREATE TABLE table_198175_2 (map_number INTEGER)
SELECT 1982 FROM table_name_64 WHERE 1978 = "a" AND 1985 = "4r" AND 1991 = "1r"
What is 1982, when 1978 is "A", when 1985 is "4R", and when 1991 is "1R"?
CREATE TABLE table_name_64 (Id VARCHAR)
SELECT COUNT(DISTINCT card_type_code) FROM Customers_Cards
Show the number of card types.
CREATE TABLE Customers_Cards (card_type_code VARCHAR)
SELECT COUNT(year) FROM table_name_90 WHERE bronze = "jamie stevenson"
What is the total number of Year, when Bronze is "Jamie Stevenson"?
CREATE TABLE table_name_90 (year VARCHAR, bronze VARCHAR)
SELECT COUNT(womens_doubles) FROM table_28138035_4 WHERE year_location = "2011 Rio de Janeiro"
Name the number of womens doubles for 2011 rio de janeiro
CREATE TABLE table_28138035_4 (womens_doubles VARCHAR, year_location VARCHAR)
SELECT T2.Railway_ID, T1.Location FROM railway AS T1 JOIN train AS T2 ON T1.Railway_ID = T2.Railway_ID GROUP BY T2.Railway_ID HAVING COUNT(*) > 1
Show id and location of railways that are associated with more than one train.
CREATE TABLE railway (Location VARCHAR, Railway_ID VARCHAR); CREATE TABLE train (Railway_ID VARCHAR)
SELECT citation FROM table_22901612_2 WHERE region = "Southern District of Texas"
If the region is the Southern district of Texas, what is the citation?
CREATE TABLE table_22901612_2 (citation VARCHAR, region VARCHAR)
SELECT score FROM table_name_78 WHERE place = "2"
What score has 2 as the place?
CREATE TABLE table_name_78 (score VARCHAR, place VARCHAR)
SELECT campus FROM campuses WHERE county = "Los Angeles" AND YEAR > 1950
Which university is in Los Angeles county and opened after 1950?
CREATE TABLE campuses (campus VARCHAR, county VARCHAR, YEAR VARCHAR)
SELECT high_assists FROM table_name_21 WHERE team = "l.a. lakers"
Who had the highest assists on the l.a. lakers?
CREATE TABLE table_name_21 (high_assists VARCHAR, team VARCHAR)
SELECT AVG(wins) FROM table_name_18 WHERE f_laps > 1 AND points = "80"
What is the average Wins, when F/Laps is greater than 1, and when Points is 80?
CREATE TABLE table_name_18 (wins INTEGER, f_laps VARCHAR, points VARCHAR)
SELECT tournament FROM table_name_4 WHERE 2001 = "a" AND 2008 = "a" AND 2010 = "qf"
Which tournament's 2001 and 2008 were a when 2010 was qf?
CREATE TABLE table_name_4 (tournament VARCHAR)
SELECT player FROM table_25711913_8 WHERE position = "Left tackle"
Which player was at position left tackle?
CREATE TABLE table_25711913_8 (player VARCHAR, position VARCHAR)
SELECT COUNT(previous_br_no) FROM table_2079664_3 WHERE number = "21"
Name the total number of previous br number for number 21
CREATE TABLE table_2079664_3 (previous_br_no VARCHAR, number VARCHAR)
SELECT notes FROM table_name_10 WHERE rank = 6
Rank 6 has what notes?
CREATE TABLE table_name_10 (notes VARCHAR, rank VARCHAR)
SELECT outcome FROM table_name_29 WHERE date = "august 20, 2007"
What was the outcome of the August 20, 2007 match?
CREATE TABLE table_name_29 (outcome VARCHAR, date VARCHAR)
SELECT MIN(poles) FROM table_name_52 WHERE fastest_laps < 0
What is the smallest number of poles when the fastest laps are less than 0?
CREATE TABLE table_name_52 (poles INTEGER, fastest_laps INTEGER)
SELECT COUNT(season) FROM table_29471472_1 WHERE position = "3rd"
How many seasons are there for the 3rd position?
CREATE TABLE table_29471472_1 (season VARCHAR, position VARCHAR)
SELECT away_team AS score FROM table_name_63 WHERE venue = "mcg"
What was the away score at the game at MCG?
CREATE TABLE table_name_63 (away_team VARCHAR, venue VARCHAR)
SELECT COUNT(sunk_by_warship_or_raider) FROM table_name_30 WHERE german_submarines_lost = 20 AND sunk_by_aircraft > 21616
What is the total number sunk by warship or raider with 20 German submarines lost and more than 21616 sunk by aircraft?
CREATE TABLE table_name_30 (sunk_by_warship_or_raider VARCHAR, german_submarines_lost VARCHAR, sunk_by_aircraft VARCHAR)
SELECT area_served FROM table_name_99 WHERE callsign = "5ddn"
Which area served has a Callsign of 5ddn?
CREATE TABLE table_name_99 (area_served VARCHAR, callsign VARCHAR)
SELECT candidates FROM table_2668254_8 WHERE district = "Kentucky 5"
Who were the candidates in the Kentucky 5 district?
CREATE TABLE table_2668254_8 (candidates VARCHAR, district VARCHAR)
SELECT MAX(laps) AS Led FROM table_17319931_1 WHERE points = "16"
What is the highest number of laps led with 16 points?
CREATE TABLE table_17319931_1 (laps INTEGER, points VARCHAR)
SELECT year FROM table_22648285_1 WHERE laps = "301*"
What year had a race with 301* laps?
CREATE TABLE table_22648285_1 (year VARCHAR, laps VARCHAR)
SELECT year__ceremony_ FROM table_18638067_1 WHERE actor_actress = "Teresa Wright" AND category = "Best Supporting Actress"
What year was Teresa Wright nominated best supporting actress?
CREATE TABLE table_18638067_1 (year__ceremony_ VARCHAR, actor_actress VARCHAR, category VARCHAR)
SELECT 2002 FROM table_name_37 WHERE 2013 = "2–4"
Which 2002 has a 2013 of 2–4?
CREATE TABLE table_name_37 (Id VARCHAR)
SELECT 3 AS _rd FROM table_name_19 WHERE season < 4 AND lost = 61
Name the 3rd for season less than 4 and lost of 61
CREATE TABLE table_name_19 (season VARCHAR, lost VARCHAR)
SELECT country FROM table_13282157_1 WHERE _number = 8
What is the country for # 8
CREATE TABLE table_13282157_1 (country VARCHAR, _number VARCHAR)
SELECT MAX(byes) FROM table_name_87 WHERE lexton_plains = "skipton"
Which Byes have a Lexton Plains of skipton?
CREATE TABLE table_name_87 (byes INTEGER, lexton_plains VARCHAR)
SELECT web_thickness__mm_ FROM table_2071644_2 WHERE flange_width__mm_ = 100
What is the web thickness if the flange width is 100?
CREATE TABLE table_2071644_2 (web_thickness__mm_ VARCHAR, flange_width__mm_ VARCHAR)
SELECT MAX(stolen_ends) FROM table_name_54 WHERE skip = "ludmila privivkova"
What is the highest Stolen Ends when ludmila privivkova shows for skip?
CREATE TABLE table_name_54 (stolen_ends INTEGER, skip VARCHAR)
SELECT COUNT(nhl_team_s_) FROM table_1205598_1 WHERE metropolitan_area = "Phoenix, Arizona"
How many NHL teams are there in the Phoenix, Arizona area?
CREATE TABLE table_1205598_1 (nhl_team_s_ VARCHAR, metropolitan_area VARCHAR)
SELECT afl_team FROM table_name_14 WHERE position = "offensive tackle" AND pick = 4
Which AFL team has a pick 4 for the offensive tackle position?
CREATE TABLE table_name_14 (afl_team VARCHAR, position VARCHAR, pick VARCHAR)
SELECT overs FROM table_name_88 WHERE matches = "10"
What is the overs when the matches are 10?
CREATE TABLE table_name_88 (overs VARCHAR, matches VARCHAR)
SELECT 925 FROM table_name_26 WHERE press = "282.5"
Who is the 92.5 with the press of 282.5?
CREATE TABLE table_name_26 (press VARCHAR)
SELECT college_junior_club_team FROM table_1965650_2 WHERE player = "Jimmy Jones"
Name the college/junior club team for jimmy jones
CREATE TABLE table_1965650_2 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT points_against FROM table_name_60 WHERE drawn = "3" AND points = "50"
How many points were scored against the club that drew 3 and scored 50 points?
CREATE TABLE table_name_60 (points_against VARCHAR, drawn VARCHAR, points VARCHAR)
SELECT to_par FROM table_name_1 WHERE score = 68 - 71 - 69 = 208
What is the To par, when the Score is 68-71-69=208?
CREATE TABLE table_name_1 (to_par VARCHAR, score VARCHAR)
SELECT COUNT(december) FROM table_name_81 WHERE score = "5–2" AND game < 27
How much December has a Score of 5–2, and a Game smaller than 27?
CREATE TABLE table_name_81 (december VARCHAR, score VARCHAR, game VARCHAR)
SELECT high_rebounds FROM table_name_15 WHERE date = "may 1"
Who had high rebounds on May 1?
CREATE TABLE table_name_15 (high_rebounds VARCHAR, date VARCHAR)
SELECT commissioned__decommissioned FROM table_name_62 WHERE home_port = "oakland" AND nvr_page = "aor-1"
Name the commissioned-decommissioned for oakland and NVR page of aor-1
CREATE TABLE table_name_62 (commissioned__decommissioned VARCHAR, home_port VARCHAR, nvr_page VARCHAR)
SELECT name FROM table_name_39 WHERE current_age > 45 AND years_on_death_row < 22
Who is the prisoner that is older than 45 and has served less than 22 years on death row?
CREATE TABLE table_name_39 (name VARCHAR, current_age VARCHAR, years_on_death_row VARCHAR)
SELECT authority FROM table_name_82 WHERE area = "tirau" AND name = "kuranui primary school"
What is the Authority for Kuranui Primary School that is located in the Area of Tirau?
CREATE TABLE table_name_82 (authority VARCHAR, area VARCHAR, name VARCHAR)
SELECT nickname FROM table_11908801_1 WHERE meaning = "God Holds My Life"
What is the nickname that means god holds my life?
CREATE TABLE table_11908801_1 (nickname VARCHAR, meaning VARCHAR)
SELECT position FROM table_name_17 WHERE overall < 410 AND round < 5 AND school_club_team = "oklahoma state"
What position and school/club team of Oklahoma state has an overall less than 410 and a round smaller than 5?
CREATE TABLE table_name_17 (position VARCHAR, school_club_team VARCHAR, overall VARCHAR, round VARCHAR)
SELECT venue FROM table_name_31 WHERE report = "eaff" AND date = "june 24, 2007"
What venue has a EAFF report on June 24, 2007?
CREATE TABLE table_name_31 (venue VARCHAR, report VARCHAR, date VARCHAR)
SELECT AVG(league_cup_goals) FROM table_name_98 WHERE league_cup_apps = 4 AND league_goals < 4 AND fa_cup_apps = "1" AND total_apps = "35"
what is the average league cup goals when the league cup apps is 4, league goals is less than 4, fa cup apps is 1 and total apps is 35?
CREATE TABLE table_name_98 (league_cup_goals INTEGER, total_apps VARCHAR, fa_cup_apps VARCHAR, league_cup_apps VARCHAR, league_goals VARCHAR)
SELECT to_par FROM table_name_39 WHERE player = "gene kunes"
Name the to par for gene kunes
CREATE TABLE table_name_39 (to_par VARCHAR, player VARCHAR)
SELECT terrain FROM table_name_69 WHERE stage = "10"
What was the terrain for stage 10 of the tour?
CREATE TABLE table_name_69 (terrain VARCHAR, stage VARCHAR)
SELECT name FROM table_name_33 WHERE round = 1
Tell me the name for round of 1
CREATE TABLE table_name_33 (name VARCHAR, round VARCHAR)
SELECT title, rental_rate FROM film ORDER BY rental_rate DESC LIMIT 1
Which film has the highest rental rate? And what is the rate?
CREATE TABLE film (title VARCHAR, rental_rate VARCHAR)
SELECT directed_by FROM table_2409041_6 WHERE original_air_date = "September 24, 1993"
Who was the director for the episode airing on September 24, 1993?
CREATE TABLE table_2409041_6 (directed_by VARCHAR, original_air_date VARCHAR)
SELECT party FROM table_1342233_5 WHERE first_elected > 1939.0
Which party has a first elected number bigger than 1939.0?
CREATE TABLE table_1342233_5 (party VARCHAR, first_elected INTEGER)
SELECT party FROM table_1342198_13 WHERE incumbent = "Sid Simpson"
What party does sid simpson represent?
CREATE TABLE table_1342198_13 (party VARCHAR, incumbent VARCHAR)
SELECT brilliance_grade FROM table_name_6 WHERE crown_angle = "41.1°"
Which Brilliance Grade has a Crown angle of 41.1°?
CREATE TABLE table_name_6 (brilliance_grade VARCHAR, crown_angle VARCHAR)
SELECT AVG(year) FROM table_name_44 WHERE entrant = "lola motorsport" AND points > 0
What year featured lola motorsport as an entrant with over 0 points?
CREATE TABLE table_name_44 (year INTEGER, entrant VARCHAR, points VARCHAR)
SELECT MAX(purse__) AS $__ FROM table_11621915_1 WHERE score = "204 (-9)"
what's the maximum purse( $ ) with score value of 204 (-9)
CREATE TABLE table_11621915_1 (purse__ INTEGER, score VARCHAR)
SELECT MIN(december) FROM table_name_66 WHERE score = "4 - 4"
What is the lowest December, when Score is "4 - 4"?
CREATE TABLE table_name_66 (december INTEGER, score VARCHAR)
SELECT location_attendance FROM table_name_89 WHERE score = "125-100"
What is the location and attendance of the game when the score is 125-100?
CREATE TABLE table_name_89 (location_attendance VARCHAR, score VARCHAR)
SELECT teams FROM table_name_84 WHERE league = "regionalliga süd"
Which team had a league of regionalliga süd?
CREATE TABLE table_name_84 (teams VARCHAR, league VARCHAR)
SELECT losingteam FROM table_11236195_2 WHERE score = "24-12"
Which losing team had a score of 24-12?
CREATE TABLE table_11236195_2 (losingteam VARCHAR, score VARCHAR)
SELECT disposition_of_ship FROM table_name_37 WHERE tonnage = "t" AND ship_name = "bacchus"
The ship named Bacchus with a tonnage of t had what disposition of ship?
CREATE TABLE table_name_37 (disposition_of_ship VARCHAR, tonnage VARCHAR, ship_name VARCHAR)
SELECT uk_co_presenter FROM table_14345690_15 WHERE co_presenter = "Joe Swash" AND series = "Eleven (2011)"
Who is the UK co-presenters that have Joe Swash as a co-presenter of the series Eleven (2011)?
CREATE TABLE table_14345690_15 (uk_co_presenter VARCHAR, co_presenter VARCHAR, series VARCHAR)
SELECT result FROM table_name_21 WHERE week < 10 AND opponent = "chicago bears"
What was the result in a week lower than 10 with an opponent of Chicago Bears?
CREATE TABLE table_name_21 (result VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT SUM(gold) FROM table_name_19 WHERE bronze < 0
Name the sum of gold when Bronze is less than 0
CREATE TABLE table_name_19 (gold INTEGER, bronze INTEGER)
SELECT australia FROM table_name_84 WHERE japan = "march 17, 2005"
Tell me the Australia march 17, 2005
CREATE TABLE table_name_84 (australia VARCHAR, japan VARCHAR)
SELECT best_3_year_period FROM table_name_61 WHERE best_15_year_period = "smyslov; kasparov" AND position = 5
Which best 3-year period has a best 15-year period of smyslov; kasparov, and a Position of 5?
CREATE TABLE table_name_61 (best_3_year_period VARCHAR, best_15_year_period VARCHAR, position VARCHAR)
SELECT year FROM table_name_65 WHERE winner = "panathinaikos" AND runner_up = "olympiacos" AND venue = "nikos goumas stadium"
When is the winner panathinaikos, the runner-up olympiacos and the venue nikos goumas stadium?
CREATE TABLE table_name_65 (year VARCHAR, venue VARCHAR, winner VARCHAR, runner_up VARCHAR)
SELECT result FROM table_name_77 WHERE venue = "götzis , austria"
What is Result, when Venue is Götzis , Austria?
CREATE TABLE table_name_77 (result VARCHAR, venue VARCHAR)
SELECT COUNT(candidates) FROM table_1342359_17 WHERE first_elected = 1929
How many people were elected in 1929
CREATE TABLE table_1342359_17 (candidates VARCHAR, first_elected VARCHAR)
SELECT opponent FROM table_name_11 WHERE attendance = 526
What team did the Flames play against when 526 people attended the game?
CREATE TABLE table_name_11 (opponent VARCHAR, attendance VARCHAR)
SELECT score FROM table_name_23 WHERE record = "72-74"
What was score of the game when the record was 72-74?
CREATE TABLE table_name_23 (score VARCHAR, record VARCHAR)
SELECT chassis FROM table_name_7 WHERE engine_† = "playlife fb02" AND driver = "alexander wurz"
What's the chassis for alexander wurz's playlife fb02 engine?
CREATE TABLE table_name_7 (chassis VARCHAR, engine_† VARCHAR, driver VARCHAR)
SELECT copies_per_particle FROM table_140968_1 WHERE function = "Enterotoxin"
How many copies per particle are created by the enterotoxin?
CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, function VARCHAR)
SELECT points FROM table_name_27 WHERE entrant = "tyrrell racing organisation"
How many points did the Tyrrell Racing Organisation have?
CREATE TABLE table_name_27 (points VARCHAR, entrant VARCHAR)
SELECT county FROM table_name_7 WHERE name = "broderick wood products"
Which county is named broderick wood products?
CREATE TABLE table_name_7 (county VARCHAR, name VARCHAR)
SELECT first_performance FROM table_19189856_1 WHERE last_performance = "03/29/1957"
what is the first performance of the last performance on 03/29/1957
CREATE TABLE table_19189856_1 (first_performance VARCHAR, last_performance VARCHAR)
SELECT COUNT(elevation__m_) FROM table_2251578_4 WHERE district = "Paratia"
How many elevations are listed for Paratia?
CREATE TABLE table_2251578_4 (elevation__m_ VARCHAR, district VARCHAR)
SELECT score FROM table_name_7 WHERE place = "t5" AND player = "george archer"
What is Score, when Place is "T5", and when Player is "George Archer"?
CREATE TABLE table_name_7 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT candidates FROM table_1342256_40 WHERE district = "South Carolina 3"
What is the candidate for south carolina 3?
CREATE TABLE table_1342256_40 (candidates VARCHAR, district VARCHAR)
SELECT ratings__kansai_ FROM table_26591434_1 WHERE original_airdate = "May 25, 2010 22.00 - 22.54"
What is the ratings for the original air date may 25, 2010 22.00 - 22.54?
CREATE TABLE table_26591434_1 (ratings__kansai_ VARCHAR, original_airdate VARCHAR)
SELECT SUM(attendance) FROM table_name_49 WHERE date = "september 8"
What is the sum of people in attendance on September 8?
CREATE TABLE table_name_49 (attendance INTEGER, date VARCHAR)
SELECT date_released FROM table_17798548_4 WHERE season = "The Complete 2nd Series: Volume One"
What day was the complete 2nd series: volume one released?
CREATE TABLE table_17798548_4 (date_released VARCHAR, season VARCHAR)
SELECT COUNT(a_league) FROM table_name_85 WHERE pre_season > 0
How much A-League has a Pre-Season larger than 0?
CREATE TABLE table_name_85 (a_league VARCHAR, pre_season INTEGER)
SELECT Title FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = "AC/DC"
Find the title of all the albums of the artist "AC/DC".
CREATE TABLE ARTIST (ArtistId VARCHAR, Name VARCHAR); CREATE TABLE ALBUM (ArtistId VARCHAR)
SELECT date FROM table_name_5 WHERE competition = "pl" AND score = "1-1" AND opponents = "kelantan"
Competition of pl, and a Score of 1-1, and a Opponents of kelantan had what date?
CREATE TABLE table_name_5 (date VARCHAR, opponents VARCHAR, competition VARCHAR, score VARCHAR)
SELECT isotopic_mass___u__ FROM table_name_6 WHERE nuclide = "89 y"
What is the isotopic mass (u) when the nuclide is 89 y?
CREATE TABLE table_name_6 (isotopic_mass___u__ VARCHAR, nuclide VARCHAR)
SELECT result FROM table_17294353_1 WHERE attendance = 18304
In the game with an attendance of 18304, what was the final score?
CREATE TABLE table_17294353_1 (result VARCHAR, attendance VARCHAR)
SELECT country FROM table_name_60 WHERE score = 73 - 68 = 141
What is Country, when Score is "73-68=141"?
CREATE TABLE table_name_60 (country VARCHAR, score VARCHAR)
SELECT date FROM table_name_91 WHERE home_team = "st kilda"
When did St Kilda play a home game?
CREATE TABLE table_name_91 (date VARCHAR, home_team VARCHAR)
SELECT nomination FROM table_10236830_6 WHERE film_name = "27 Stolen Kisses"
Which nominations was the film 27 Stolen Kisses nominated for?
CREATE TABLE table_10236830_6 (nomination VARCHAR, film_name VARCHAR)
SELECT final_episode FROM table_name_93 WHERE actor = "rob estes"
What was the last episode featuring Rob Estes?
CREATE TABLE table_name_93 (final_episode VARCHAR, actor VARCHAR)