answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT height_in_ft FROM table_name_44 WHERE years_for_rockets = "2005-06"
What is the Height for Years of Rockets of 2005-06?
CREATE TABLE table_name_44 (height_in_ft VARCHAR, years_for_rockets VARCHAR)
SELECT date FROM table_1140067_2 WHERE pole_position = "Alain Prost"
What was the date for the pole position of alain prost?
CREATE TABLE table_1140067_2 (date VARCHAR, pole_position VARCHAR)
SELECT result FROM table_name_60 WHERE hometown = "chicago, illinois"
What is the result for Chicago, Illinois?
CREATE TABLE table_name_60 (result VARCHAR, hometown VARCHAR)
SELECT SUM(goals) FROM table_name_8 WHERE team = "partizan" AND country = "serbia" AND division > 1
What is the total number of goals that the Partizan team from the country of serbia had that was larger than 1?
CREATE TABLE table_name_8 (goals INTEGER, division VARCHAR, team VARCHAR, country VARCHAR)
SELECT MIN(byes) FROM table_name_49 WHERE wins = 3
What is the smallest byes when the wins are 3?
CREATE TABLE table_name_49 (byes INTEGER, wins VARCHAR)
SELECT result FROM table_name_80 WHERE date = "10/06/1934"
What was the result on 10/06/1934?
CREATE TABLE table_name_80 (result VARCHAR, date VARCHAR)
SELECT original_air_date FROM table_28787871_3 WHERE production_code = 214
What was the airdate of the episode of production code 214?
CREATE TABLE table_28787871_3 (original_air_date VARCHAR, production_code VARCHAR)
SELECT date FROM table_name_79 WHERE home_team = "collingwood"
What day is collingwood the home side?
CREATE TABLE table_name_79 (date VARCHAR, home_team VARCHAR)
SELECT home_team FROM table_name_20 WHERE tie_no = "2"
What is the Home team of Tie no 2?
CREATE TABLE table_name_20 (home_team VARCHAR, tie_no VARCHAR)
SELECT AVG(attendance) FROM table_name_30 WHERE week > 4 AND date = "november 14, 1954"
What is the average attendance for the game that was after week 4 and on November 14, 1954?
CREATE TABLE table_name_30 (attendance INTEGER, week VARCHAR, date VARCHAR)
SELECT player FROM table_name_83 WHERE rank = 3
Which player is ranked number 3?
CREATE TABLE table_name_83 (player VARCHAR, rank VARCHAR)
SELECT COUNT(pick) FROM table_name_7 WHERE round = "round 8" AND position = "kicker"
What was the pick number for the kicker in round 8?
CREATE TABLE table_name_7 (pick VARCHAR, round VARCHAR, position VARCHAR)
SELECT COUNT(round) FROM table_21191496_1 WHERE circuit = "circuit Ricardo Tormo"
When circuit ricardo tormo is the circuit what is the round?
CREATE TABLE table_21191496_1 (round VARCHAR, circuit VARCHAR)
SELECT years FROM table_name_58 WHERE free_or_pay = "free + pay"
Name the Years that have a free + pay?
CREATE TABLE table_name_58 (years VARCHAR, free_or_pay VARCHAR)
SELECT prize AS Pool FROM table_22050544_4 WHERE event__number = "27H"
What was the prize pool for the event number 27H?
CREATE TABLE table_22050544_4 (prize VARCHAR, event__number VARCHAR)
SELECT 1999 FROM table_name_45 WHERE 1991 = "a" AND 1997 = "1r"
What is the 1999 for an A 1991, and a 1r 1997?
CREATE TABLE table_name_45 (Id VARCHAR)
SELECT MAX(crowd) FROM table_name_43 WHERE away_team = "north melbourne"
Which match had the largest crowd size where the away team was North Melbourne?
CREATE TABLE table_name_43 (crowd INTEGER, away_team VARCHAR)
SELECT competition FROM table_name_37 WHERE venue = "jan breydel, bruges, belgium"
Which Competition has a Venue of jan breydel, bruges, belgium?
CREATE TABLE table_name_37 (competition VARCHAR, venue VARCHAR)
SELECT district FROM table_13833770_3 WHERE party = "Republican" AND elected = 1998
what's the district with party being republican and elected being 1998
CREATE TABLE table_13833770_3 (district VARCHAR, party VARCHAR, elected VARCHAR)
SELECT SUM(total_as) FROM table_name_81 WHERE team = "bucheon sk" AND opponent = "chunnam dragons" AND venue = "bucheon"
What is the sum of the total As of team bucheon sk, who had the chunnam dragons as their opponent at the bucheon venue?
CREATE TABLE table_name_81 (total_as INTEGER, venue VARCHAR, team VARCHAR, opponent VARCHAR)
SELECT COUNT(player) FROM table_12962773_12 WHERE height = "2.01"
WHat is the number for the player whose height is 2.01?
CREATE TABLE table_12962773_12 (player VARCHAR, height VARCHAR)
SELECT original_air_date FROM table_27332038_1 WHERE production_code = "2ARG01"
when was the episode with production code "2arg01" originally aired?
CREATE TABLE table_27332038_1 (original_air_date VARCHAR, production_code VARCHAR)
SELECT record_at_school FROM table_28744929_2 WHERE head_coach = "Tom O'Brien"
What is the Record at School of Tom O'Brien's team?
CREATE TABLE table_28744929_2 (record_at_school VARCHAR, head_coach VARCHAR)
SELECT AVG(pick__number) FROM table_name_21 WHERE round = 11
What is the average pick # of the player from round 11?
CREATE TABLE table_name_21 (pick__number INTEGER, round VARCHAR)
SELECT score FROM table_name_74 WHERE event = "constructionjobs.com classic"
Which Score has an Event of constructionjobs.com classic?
CREATE TABLE table_name_74 (score VARCHAR, event VARCHAR)
SELECT scores FROM table_23292220_17 WHERE seans_team = "Chris Ramsey and Carol Vorderman"
Name the scores for chris ramsey and carol vorderman
CREATE TABLE table_23292220_17 (scores VARCHAR, seans_team VARCHAR)
SELECT MIN(goals) FROM table_name_87 WHERE games = 51 AND debut_year < 1992
Which Goals have Games of 51, and a Debut year smaller than 1992?
CREATE TABLE table_name_87 (goals INTEGER, games VARCHAR, debut_year VARCHAR)
SELECT others_number FROM table_20750731_1 WHERE mccain_percentage = "64.8%"
When McCain% was 64.8%, what is the Others#?
CREATE TABLE table_20750731_1 (others_number VARCHAR, mccain_percentage VARCHAR)
SELECT COUNT(points) FROM table_name_89 WHERE engine = "maserati v12" AND year = 1968
How many points for maserati v12 engines in 1968?
CREATE TABLE table_name_89 (points VARCHAR, engine VARCHAR, year VARCHAR)
SELECT intergiro_classification FROM table_name_22 WHERE stage = "21"
During stage 21, who held the Intergiro classification?
CREATE TABLE table_name_22 (intergiro_classification VARCHAR, stage VARCHAR)
SELECT COUNT(goals_conceded) FROM table_name_47 WHERE draws < 5 AND loses > 4 AND wins > 9
What was the total number of Goals conceded when there were more than 4 losses, less than 5 draws, and more than 9 wins?
CREATE TABLE table_name_47 (goals_conceded VARCHAR, wins VARCHAR, draws VARCHAR, loses VARCHAR)
SELECT SUM(points) FROM table_name_28 WHERE poles < 0
What is the points sum of the series with less than 0 poles?
CREATE TABLE table_name_28 (points INTEGER, poles INTEGER)
SELECT score FROM table_22871239_5 WHERE team = "@ New Jersey"
What was the score when the team was @ New Jersey?
CREATE TABLE table_22871239_5 (score VARCHAR, team VARCHAR)
SELECT region FROM table_name_50 WHERE reported_age = "111 years, 107 days"
what is the region when the reported age is 111 years, 107 days?
CREATE TABLE table_name_50 (region VARCHAR, reported_age VARCHAR)
SELECT COUNT(callsign) FROM table_1979203_1 WHERE branding = "Telemundo 47"
how many callsigns are for the branding telemundo 47
CREATE TABLE table_1979203_1 (callsign VARCHAR, branding VARCHAR)
SELECT entrant FROM table_name_91 WHERE points < 8 AND chassis = "maserati"
Which entrant scored less than 8 points and used a Maserati chassis?
CREATE TABLE table_name_91 (entrant VARCHAR, points VARCHAR, chassis VARCHAR)
SELECT tone FROM table_name_32 WHERE phonetic = "[pʰaː˥˥]"
Which tone goes with Phonetic of [pʰaː˥˥]?
CREATE TABLE table_name_32 (tone VARCHAR, phonetic VARCHAR)
SELECT pronunciation_spelled_free FROM table_name_2 WHERE pronunciation_spelled_checked = "ɛ"
What is Pronunciation Spelled Free, when Pronunciation Spelled Checked is "ɛ"?
CREATE TABLE table_name_2 (pronunciation_spelled_free VARCHAR, pronunciation_spelled_checked VARCHAR)
SELECT time FROM table_name_97 WHERE rider = "valentino rossi"
what was valentino rossi's rider time?
CREATE TABLE table_name_97 (time VARCHAR, rider VARCHAR)
SELECT COUNT(number_of_major_hurricanes) FROM table_2930244_3 WHERE deaths = "None"
When the death is none what is the number of major hurricanes?
CREATE TABLE table_2930244_3 (number_of_major_hurricanes VARCHAR, deaths VARCHAR)
SELECT COUNT(original_air_date) FROM table_17758010_2 WHERE us_viewers__millions_ = "19.49"
How many original air dates have U.S. Views (millions) of 19.49?
CREATE TABLE table_17758010_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
SELECT MAX(attendance) FROM table_name_68 WHERE loss = "k. gross (1-1)"
How many attended the game that was a Loss of k. gross (1-1)?
CREATE TABLE table_name_68 (attendance INTEGER, loss VARCHAR)
SELECT elevator FROM table_name_89 WHERE elevated = "april 12, 1281" AND nationality = "french" AND elector = "jean cholet"
Which Elevator has Elevated of april 12, 1281, a Nationality of french, and an Elector of jean cholet?
CREATE TABLE table_name_89 (elevator VARCHAR, elector VARCHAR, elevated VARCHAR, nationality VARCHAR)
SELECT COUNT(tournament) FROM table_11603006_1 WHERE location = "Maryland"
How many tournaments were held in Maryland?
CREATE TABLE table_11603006_1 (tournament VARCHAR, location VARCHAR)
SELECT average FROM table_26375386_28 WHERE number_of_dances = 1
What is every average when number of dances is 1?
CREATE TABLE table_26375386_28 (average VARCHAR, number_of_dances VARCHAR)
SELECT president FROM table_name_6 WHERE presidency > 7
What President has a Presidency greater than 7?
CREATE TABLE table_name_6 (president VARCHAR, presidency INTEGER)
SELECT SUM(points__pts_) FROM table_name_84 WHERE won__pg_ > 9 AND goals_scored__gf_ > 40
What is the points for a team with more than 9 wins and more than 40 goals?
CREATE TABLE table_name_84 (points__pts_ INTEGER, won__pg_ VARCHAR, goals_scored__gf_ VARCHAR)
SELECT game FROM table_name_16 WHERE road_team = "st. louis" AND date = "april 13"
What is the Game on April 13 with Road Team St. Louis?
CREATE TABLE table_name_16 (game VARCHAR, road_team VARCHAR, date VARCHAR)
SELECT upstream FROM table_name_25 WHERE price = "14 eur"
What is Upstream, when Price is "14 EUR"?
CREATE TABLE table_name_25 (upstream VARCHAR, price VARCHAR)
SELECT character FROM table_name_70 WHERE french_voice_actor = "marc saez" AND german_voice_actor = "dirk fenselau"
Which character has a French voice actor of Marc Saez and a German voice actor of Dirk Fenselau?
CREATE TABLE table_name_70 (character VARCHAR, french_voice_actor VARCHAR, german_voice_actor VARCHAR)
SELECT engine FROM table_name_38 WHERE points = 0 AND chassis = "kuzma indy roadster" AND year = 1954
Name the engine when points are 0 and chassis is kuzma indy roadster for 1954
CREATE TABLE table_name_38 (engine VARCHAR, year VARCHAR, points VARCHAR, chassis VARCHAR)
SELECT COUNT(population) FROM table_name_92 WHERE number_of_households = 41 OFFSET 511
What is the population with 41,511 households?
CREATE TABLE table_name_92 (population VARCHAR, number_of_households VARCHAR)
SELECT venue FROM table_name_84 WHERE result = "w" AND goals = "deacon 5/5"
Which venue has a Result of w, and a Goal of deacon 5/5?
CREATE TABLE table_name_84 (venue VARCHAR, result VARCHAR, goals VARCHAR)
SELECT laps FROM table_name_76 WHERE time_retired = "+16.445"
What is the number of laps for the Time/Retired of +16.445?
CREATE TABLE table_name_76 (laps VARCHAR, time_retired VARCHAR)
SELECT result FROM table_name_85 WHERE competition = "1999 fifa world cup qualification (uefa)" AND date = "nov 23, 1997"
What was the score of the 1999 fifa world cup qualification (uefa) on Nov 23, 1997?
CREATE TABLE table_name_85 (result VARCHAR, competition VARCHAR, date VARCHAR)
SELECT COUNT(gold) FROM table_name_86 WHERE nation = "denmark" AND total < 1
How many golds have denmark as the nation, with a total less than 1?
CREATE TABLE table_name_86 (gold VARCHAR, nation VARCHAR, total VARCHAR)
SELECT MIN(no_in_series) FROM table_29803475_2 WHERE us_viewers__million_ = "0.23"
What is the lowest number in series when U.S. viewers is 0.23 million?
CREATE TABLE table_29803475_2 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
SELECT departure FROM table_name_67 WHERE station_name = "kanpur central"
What is the Departure time at Kanpur Central Station?
CREATE TABLE table_name_67 (departure VARCHAR, station_name VARCHAR)
SELECT MIN(lost) FROM table_name_4 WHERE position > 2 AND points = 4 AND drawn > 2
What is the smallest number of losses for a position greater than 2 with 4 points and more than 2 draws?
CREATE TABLE table_name_4 (lost INTEGER, drawn VARCHAR, position VARCHAR, points VARCHAR)
SELECT SUM(year) FROM table_name_52 WHERE category = "best improved singer (躍進歌手)"
What was the total number of years than had best improved singer (躍進歌手)?
CREATE TABLE table_name_52 (year INTEGER, category VARCHAR)
SELECT circumstances FROM table_name_62 WHERE location = "baghlan"
What were the circumstances for the Baghlan location?
CREATE TABLE table_name_62 (circumstances VARCHAR, location VARCHAR)
SELECT COUNT(*) FROM actor
How many actors are there?
CREATE TABLE actor (Id VARCHAR)
SELECT date_s__conducted FROM table_name_25 WHERE lead = "8.6%"
On what date was the lead 8.6%?
CREATE TABLE table_name_25 (date_s__conducted VARCHAR, lead VARCHAR)
SELECT theme_song_s_ FROM table_18540104_1 WHERE romaji_title = "Magarikado no Kanojo"
What is the theme song for Magarikado no Kanojo?
CREATE TABLE table_18540104_1 (theme_song_s_ VARCHAR, romaji_title VARCHAR)
SELECT venue FROM table_name_64 WHERE weight__kg_ > 55 AND result = "won"
What venue has a weight (kg) greater than 55, and won as the result?
CREATE TABLE table_name_64 (venue VARCHAR, weight__kg_ VARCHAR, result VARCHAR)
SELECT MIN(lost) FROM table_name_3 WHERE points_difference = "40 - 17" AND games > 6
What is the lowest number of games loss with a Points difference of 40 - 17, and over 6 games?
CREATE TABLE table_name_3 (lost INTEGER, points_difference VARCHAR, games VARCHAR)
SELECT assists FROM table_26360571_2 WHERE opponent = "Illinois-Chicago"
List the number of assists against illinois-chicago.
CREATE TABLE table_26360571_2 (assists VARCHAR, opponent VARCHAR)
SELECT coach FROM table_name_75 WHERE most_improved = "rory thompson"
Which Coach has a Most Improved of rory thompson?
CREATE TABLE table_name_75 (coach VARCHAR, most_improved VARCHAR)
SELECT money___£__ FROM table_name_11 WHERE country = "australia"
How much Money( £ )australia has ?
CREATE TABLE table_name_11 (money___£__ VARCHAR, country VARCHAR)
SELECT best FROM table_name_5 WHERE qual_2 = "1:47.042"
What is the best when the qual 2 is 1:47.042?
CREATE TABLE table_name_5 (best VARCHAR, qual_2 VARCHAR)
SELECT original_artist FROM table_name_69 WHERE order__number = "11"
What is the original artist that has 11 as the order number?
CREATE TABLE table_name_69 (original_artist VARCHAR, order__number VARCHAR)
SELECT type FROM table_name_95 WHERE year > 2004 AND artist = "logistics"
What is the type of disc by Logistics after 2004?
CREATE TABLE table_name_95 (type VARCHAR, year VARCHAR, artist VARCHAR)
SELECT COUNt AS season FROM table_2233872_1 WHERE gp = 64 AND result = "lost in round 1"
How many season did the team lost in round 1 with a GP of 64?
CREATE TABLE table_2233872_1 (COUNt VARCHAR, gp VARCHAR, result VARCHAR)
SELECT SUM(crowd) FROM table_name_65 WHERE venue = "junction oval"
At Junction Oval, what is the sum of the crowd?
CREATE TABLE table_name_65 (crowd INTEGER, venue VARCHAR)
SELECT pos FROM table_name_85 WHERE asts > 11 AND rebs = 219
What is the position of the player with more than 11 assists and 219 rebounds?
CREATE TABLE table_name_85 (pos VARCHAR, asts VARCHAR, rebs VARCHAR)
SELECT result FROM table_name_23 WHERE nominee_s_ = "neal baer"
Nominee Neal Baer had what result?
CREATE TABLE table_name_23 (result VARCHAR, nominee_s_ VARCHAR)
SELECT location FROM table_name_61 WHERE aircraft = "ju-52"
What was the location of the Ju-52 aircraft?
CREATE TABLE table_name_61 (location VARCHAR, aircraft VARCHAR)
SELECT team FROM table_name_49 WHERE high_points = "tracy mcgrady (24)"
What is Team, when High Points is "Tracy McGrady (24)"?
CREATE TABLE table_name_49 (team VARCHAR, high_points VARCHAR)
SELECT round FROM table_name_73 WHERE record = "8-2"
What round had a record of 8-2?
CREATE TABLE table_name_73 (round VARCHAR, record VARCHAR)
SELECT studio_s_ FROM table_name_89 WHERE movie = "ra.one"
What is the studio of ra.one?
CREATE TABLE table_name_89 (studio_s_ VARCHAR, movie VARCHAR)
SELECT MAX(year) FROM table_name_68 WHERE position = "3rd"
What is the most recent year with a position of 3rd?
CREATE TABLE table_name_68 (year INTEGER, position VARCHAR)
SELECT position FROM table_name_10 WHERE overall < 106 AND college = "virginia"
What position went lower than 106 from the College of Virginia?
CREATE TABLE table_name_10 (position VARCHAR, overall VARCHAR, college VARCHAR)
SELECT college FROM table_10812403_4 WHERE position = "LB"
What college had a LB in the draft?
CREATE TABLE table_10812403_4 (college VARCHAR, position VARCHAR)
SELECT COUNT(crowd) FROM table_name_97 WHERE venue = "victoria park"
How many people were in the crowd at Victoria Park?
CREATE TABLE table_name_97 (crowd VARCHAR, venue VARCHAR)
SELECT AVG(played) FROM table_name_13 WHERE lost < 3 AND drawn < 0
What Played has a Lost smaller than 3, and a Drawn smaller than 0?
CREATE TABLE table_name_13 (played INTEGER, lost VARCHAR, drawn VARCHAR)
SELECT COUNT(no_in_series) FROM table_27437601_2 WHERE no_in_season = 12
List the series number for season 12.
CREATE TABLE table_27437601_2 (no_in_series VARCHAR, no_in_season VARCHAR)
SELECT player FROM table_name_41 WHERE country = "united states" AND place = "6"
What is Player, when Country is "United States", and when Place is "6"?
CREATE TABLE table_name_41 (player VARCHAR, country VARCHAR, place VARCHAR)
SELECT republican_ticket FROM table_name_65 WHERE democratic_ticket = "arthur levitt"
Who was the Republican candidate against the Democratic candidate Arthur Levitt?
CREATE TABLE table_name_65 (republican_ticket VARCHAR, democratic_ticket VARCHAR)
SELECT player_name FROM table_name_48 WHERE year > 1989 AND college = "washington state"
What is the name of the player from after 1989 from Washington State?
CREATE TABLE table_name_48 (player_name VARCHAR, year VARCHAR, college VARCHAR)
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 SUM(participants) FROM table_name_38 WHERE silver < 0
What is the total number of Participants that has Silver that's smaller than 0?
CREATE TABLE table_name_38 (participants INTEGER, silver INTEGER)
SELECT score FROM table_name_84 WHERE away_team = "west ham united"
What was the score for the game when West Ham United was the away team?
CREATE TABLE table_name_84 (score VARCHAR, away_team VARCHAR)
SELECT bristol_ & _n_som FROM table_12043148_2 WHERE somerset = "Ashcott and Shapwick"
what is the bristol & n. som where the somerset is ashcott and shapwick?
CREATE TABLE table_12043148_2 (bristol_ VARCHAR, _n_som VARCHAR, somerset VARCHAR)
SELECT COUNT(district) FROM table_1341549_33 WHERE candidates = "Eliot L. Engel (D) 85.2% Martin Richman (R) 14.8%"
how many district with candidates being eliot l. engel (d) 85.2% martin richman (r) 14.8%
CREATE TABLE table_1341549_33 (district VARCHAR, candidates VARCHAR)
SELECT record FROM table_name_82 WHERE february = 23
What is the record on February 23?
CREATE TABLE table_name_82 (record VARCHAR, february VARCHAR)
SELECT round FROM table_name_80 WHERE winning_driver = "uwe alzen" AND circuit = "sepang international circuit"
Which round had a winning driver of Uwe Alzen, at the Sepang International circuit?
CREATE TABLE table_name_80 (round VARCHAR, winning_driver VARCHAR, circuit VARCHAR)
SELECT COUNT(year) FROM table_name_79 WHERE chassis = "brabham bt33"
how many times is the chassis brabham bt33?
CREATE TABLE table_name_79 (year VARCHAR, chassis VARCHAR)
SELECT MAX(elevation__m_) FROM table_name_83 WHERE peak = "daurmål" AND isolation__km_ > 4
What is the highest elevation for the peak daurmål, and an Isolation (km) larger than 4?
CREATE TABLE table_name_83 (elevation__m_ INTEGER, peak VARCHAR, isolation__km_ VARCHAR)
SELECT away_team AS score FROM table_name_43 WHERE home_team = "essendon"
When Essendon was the Home Team, what was the Away Team score?
CREATE TABLE table_name_43 (away_team VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_14 WHERE away_team = "essendon"
When the Away team was essendon, what was the Venue they played at?
CREATE TABLE table_name_14 (venue VARCHAR, away_team VARCHAR)