question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Quotient of 97 350,333 has how many votes?
CREATE TABLE table_name_45 (votes VARCHAR, quotient VARCHAR)
SELECT votes FROM table_name_45 WHERE quotient = "97 350,333"
What is the Away team of Tie no 1?
CREATE TABLE table_name_68 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_68 WHERE tie_no = "1"
What opponent has a result of 3–6, 6–2, 4–6?
CREATE TABLE table_name_74 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_74 WHERE result = "3–6, 6–2, 4–6"
When 0-1 is the aggregate what are the home (1st leg)?
CREATE TABLE table_14219514_2 (home__1st_leg_ VARCHAR, aggregate VARCHAR)
SELECT home__1st_leg_ FROM table_14219514_2 WHERE aggregate = "0-1"
What is the time/retired for a grid larger than 11, laps larger than 41, and nick heidfeld?
CREATE TABLE table_name_32 (time_retired VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT time_retired FROM table_name_32 WHERE grid > 11 AND laps > 41 AND driver = "nick heidfeld"
what is the number of draws when there are 4 losses and 28.6% efficiency?
CREATE TABLE table_name_11 (draws VARCHAR, losses VARCHAR, efficiency__percentage VARCHAR)
SELECT COUNT(draws) FROM table_name_11 WHERE losses = 4 AND efficiency__percentage = "28.6%"
What was the score when the date was 17/07/2009?
CREATE TABLE table_21311525_1 (score VARCHAR, date VARCHAR)
SELECT score FROM table_21311525_1 WHERE date = "17/07/2009"
Name the % of popular vote for election for 1926
CREATE TABLE table_19769687_3 (_percentage_of_popular_vote VARCHAR, election VARCHAR)
SELECT _percentage_of_popular_vote FROM table_19769687_3 WHERE election = "1926"
What was the 1st leg for a team 1 of Teteks?
CREATE TABLE table_name_25 (team_1 VARCHAR)
SELECT 1 AS st_leg FROM table_name_25 WHERE team_1 = "teteks"
What is the earliest stage where mountains classifications was awarded to Peter Stetina?
CREATE TABLE table_25802689_14 (stage INTEGER, mountains_classification VARCHAR)
SELECT MIN(stage) FROM table_25802689_14 WHERE mountains_classification = "Peter Stetina"
What is the time/retired associated with a grid of 5 and under 73 laps?
CREATE TABLE table_name_46 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_46 WHERE laps < 73 AND grid = 5
Who was the winner in philadelphia municipal stadium in 1939?
CREATE TABLE table_name_31 (winner VARCHAR, location VARCHAR, year VARCHAR)
SELECT winner FROM table_name_31 WHERE location = "philadelphia municipal stadium" AND year = 1939
Which January has a Score of 7–4, and a Game smaller than 42?
CREATE TABLE table_name_69 (january INTEGER, score VARCHAR, game VARCHAR)
SELECT SUM(january) FROM table_name_69 WHERE score = "7–4" AND game < 42
How many goals were scored when there were 73 caps?
CREATE TABLE table_name_63 (goals VARCHAR, caps VARCHAR)
SELECT goals FROM table_name_63 WHERE caps = "73"
What was the surface for the game that was played on 12-Apr-2005?
CREATE TABLE table_name_50 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_50 WHERE date = "12-apr-2005"
Who has a Home of detroit on april 22?
CREATE TABLE table_name_95 (visitor VARCHAR, home VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_95 WHERE home = "detroit" AND date = "april 22"
Who owns CKSB-8-FM?
CREATE TABLE table_name_72 (owner VARCHAR, call_sign VARCHAR)
SELECT owner FROM table_name_72 WHERE call_sign = "cksb-8-fm"
What is the starting weight if weight lost is 54.6?
CREATE TABLE table_24370270_10 (starting_weight__kg_ VARCHAR, weight_lost__kg_ VARCHAR)
SELECT starting_weight__kg_ FROM table_24370270_10 WHERE weight_lost__kg_ = "54.6"
What Player has a Place of t10?
CREATE TABLE table_name_2 (player VARCHAR, place VARCHAR)
SELECT player FROM table_name_2 WHERE place = "t10"
How many silvers for south korea with under 1 gold medal?
CREATE TABLE table_name_15 (silver INTEGER, nation VARCHAR, gold VARCHAR)
SELECT MAX(silver) FROM table_name_15 WHERE nation = "south korea" AND gold < 1
Which Series has an Opponent of new york rangers, and a Score of 3–2 ot?
CREATE TABLE table_name_59 (series VARCHAR, opponent VARCHAR, score VARCHAR)
SELECT series FROM table_name_59 WHERE opponent = "new york rangers" AND score = "3–2 ot"
What lane did the rank 3 swimmer use?
CREATE TABLE table_name_57 (lane INTEGER, rank VARCHAR)
SELECT MAX(lane) FROM table_name_57 WHERE rank = 3
What was miles's bmi att the reunion?
CREATE TABLE table_28654454_5 (reunion_bmi VARCHAR, contestant VARCHAR)
SELECT COUNT(reunion_bmi) FROM table_28654454_5 WHERE contestant = "Miles"
Show names of teachers that teach at least two courses.
CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course_arrange (Teacher_ID VARCHAR)
SELECT T2.Name FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name HAVING COUNT(*) >= 2
What college did the T who was pick after 13 go to?
CREATE TABLE t (Id VARCHAR)
SELECT college FROM "t" AS able_name_20 WHERE pick__number > 13 AND position = "t"
What Position was achieved in the World Championships Competition in Tokyo, Japan?
CREATE TABLE table_name_24 (position VARCHAR, competition VARCHAR, venue VARCHAR)
SELECT position FROM table_name_24 WHERE competition = "world championships" AND venue = "tokyo, japan"
What is the record when the score was 2–0?
CREATE TABLE table_name_45 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_45 WHERE score = "2–0"
What's the total Rank that has a Gold that's smaller than 0?
CREATE TABLE table_name_2 (rank INTEGER, gold INTEGER)
SELECT SUM(rank) FROM table_name_2 WHERE gold < 0
What venue held the 1966 fifa world cup qualification on may 7, 1965?
CREATE TABLE table_name_95 (venue VARCHAR, competition VARCHAR, date VARCHAR)
SELECT venue FROM table_name_95 WHERE competition = "1966 fifa world cup qualification" AND date = "may 7, 1965"
What is the number of guests for the Viking Ingvar, built earlier than 1990?
CREATE TABLE table_name_46 (guests INTEGER, ship_name VARCHAR, year_built VARCHAR)
SELECT AVG(guests) FROM table_name_46 WHERE ship_name = "viking ingvar" AND year_built < 1990
Which stage has a mountains classification of Mariano Piccoli, a points classification of Mario Cipollini and was won by Laudelino Cubino?
CREATE TABLE table_name_93 (stage VARCHAR, winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR)
SELECT stage FROM table_name_93 WHERE mountains_classification = "mariano piccoli" AND points_classification = "mario cipollini" AND winner = "laudelino cubino"
What is then engine when the notes state srt8?
CREATE TABLE table_name_91 (engine VARCHAR, notes VARCHAR)
SELECT engine FROM table_name_91 WHERE notes = "srt8"
What was the home team that played Collingwood?
CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_73 WHERE away_team = "collingwood"
Which album has a label and cat# full moon/warner 28628?
CREATE TABLE table_name_68 (album VARCHAR, label_and_cat_number VARCHAR)
SELECT album FROM table_name_68 WHERE label_and_cat_number = "full moon/warner 28628"
List all country and league names.
CREATE TABLE League (name VARCHAR, country_id VARCHAR); CREATE TABLE Country (name VARCHAR, id VARCHAR)
SELECT T1.name, T2.name FROM Country AS T1 JOIN League AS T2 ON T1.id = T2.country_id
What is the status of the London Aquatics Centre project at the time of production?
CREATE TABLE table_1792122_11 (status_at_production VARCHAR, project VARCHAR)
SELECT status_at_production FROM table_1792122_11 WHERE project = "London Aquatics Centre"
what is the years when playoffs is 115?
CREATE TABLE table_name_51 (years VARCHAR, playoffs VARCHAR)
SELECT years FROM table_name_51 WHERE playoffs = 115
What is the Tie no when Chester is the away team?
CREATE TABLE table_name_83 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_83 WHERE away_team = "chester"
Who was the team who played home team woking?
CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_16 WHERE home_team = "woking"
For which tie was Scunthorpe United the away team?
CREATE TABLE table_name_5 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_5 WHERE away_team = "scunthorpe united"
Name the position with height of 2.09
CREATE TABLE table_name_10 (position VARCHAR, height VARCHAR)
SELECT position FROM table_name_10 WHERE height = 2.09
What is the lowest Finished, when Post is less than 2?
CREATE TABLE table_name_70 (finished INTEGER, post INTEGER)
SELECT MIN(finished) FROM table_name_70 WHERE post < 2
What was the title used for Rosie, the film nominated for the dutch language?
CREATE TABLE table_name_79 (film_title_used_in_nomination VARCHAR, language_s_ VARCHAR, original_title VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_79 WHERE language_s_ = "dutch" AND original_title = "rosie"
Who is the away team when the venue is cairns convention centre?
CREATE TABLE table_name_45 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_45 WHERE venue = "cairns convention centre"
Which Launched has Commissioned 6 june 1935?
CREATE TABLE table_name_36 (launched VARCHAR, commissioned VARCHAR)
SELECT launched FROM table_name_36 WHERE commissioned = "6 june 1935"
What is the date of the item with a label of Sony BMG, Epic and a Catalog number 5187482?
CREATE TABLE table_name_82 (date VARCHAR, label VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_82 WHERE label = "sony bmg, epic" AND catalog = "5187482"
Who has the city Santiago?
CREATE TABLE table_name_41 (name VARCHAR, city VARCHAR)
SELECT name FROM table_name_41 WHERE city = "santiago"
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 MIN(lost) FROM table_name_4 WHERE position > 2 AND points = 4 AND drawn > 2
What number is the Canadian Grand Prix on the list?
CREATE TABLE table_1132568_3 (rd VARCHAR, grand_prix VARCHAR)
SELECT rd FROM table_1132568_3 WHERE grand_prix = "Canadian grand_prix"
What is the name of the breed with the most dogs?
CREATE TABLE Dogs (breed_code VARCHAR); CREATE TABLE Breeds (breed_name VARCHAR, breed_code VARCHAR)
SELECT T1.breed_name FROM Breeds AS T1 JOIN Dogs AS T2 ON T1.breed_code = T2.breed_code GROUP BY T1.breed_name ORDER BY COUNT(*) DESC LIMIT 1
What is the Average Qualifying Goals for Jack Froggatt where the Final Goals is greater than 0?
CREATE TABLE table_name_3 (qualifying_goals INTEGER, player VARCHAR, finals_goals VARCHAR)
SELECT AVG(qualifying_goals) FROM table_name_3 WHERE player = "jack froggatt" AND finals_goals > 0
What is the Overview with a medium Threat Level?
CREATE TABLE table_name_79 (overview VARCHAR, threat_level VARCHAR)
SELECT overview FROM table_name_79 WHERE threat_level = "medium"
Who is the rider who did less than 20 laps on a grid number greater than 23?
CREATE TABLE table_name_67 (rider VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT rider FROM table_name_67 WHERE laps < 20 AND grid > 23
What is the outcome of the 4–6, 6–4, 6–3, 7–6 (7–2) score?
CREATE TABLE table_name_7 (outcome VARCHAR, score VARCHAR)
SELECT outcome FROM table_name_7 WHERE score = "4–6, 6–4, 6–3, 7–6 (7–2)"
What is the average Game, when Date is "December 23"?
CREATE TABLE table_name_58 (game INTEGER, date VARCHAR)
SELECT AVG(game) FROM table_name_58 WHERE date = "december 23"
Name the FCC info for call sign of k208eq
CREATE TABLE table_name_51 (fcc_info VARCHAR, call_sign VARCHAR)
SELECT fcc_info FROM table_name_51 WHERE call_sign = "k208eq"
What is the line of the station in Toolamba that is currently demolished and closed in the late 1970s?
CREATE TABLE table_name_81 (line VARCHAR, location VARCHAR, current_status VARCHAR, closed VARCHAR)
SELECT line FROM table_name_81 WHERE current_status = "demolished" AND closed = "late 1970s" AND location = "toolamba"
How many athletes completed a trans 1 within 0:26?
CREATE TABLE table_17085947_32 (athlete VARCHAR, trans_1 VARCHAR)
SELECT COUNT(athlete) FROM table_17085947_32 WHERE trans_1 = "0:26"
Who is the Incumbent of the Democratic Party at an election after 1992 in the New York 1 District who was Re-elected?
CREATE TABLE table_name_45 (incumbent VARCHAR, district VARCHAR, first_elected VARCHAR, party VARCHAR, results VARCHAR)
SELECT incumbent FROM table_name_45 WHERE party = "democratic" AND results = "re-elected" AND first_elected > 1992 AND district = "new york 1"
What is the area in km2 for Cape Agulhas, whose density is larger than 9.4 inhabitants/km2 and whose population in 2011 was less than 33,038?
CREATE TABLE table_name_28 (area__km_2__ INTEGER, population__2011_ VARCHAR, density__inhabitants_km_2__ VARCHAR, name VARCHAR)
SELECT MAX(area__km_2__) FROM table_name_28 WHERE density__inhabitants_km_2__ > 9.4 AND name = "cape agulhas" AND population__2011_ < 33 OFFSET 038
Name the enrollment for 2007-08
CREATE TABLE table_1973648_1 (enrollment VARCHAR, joined VARCHAR)
SELECT enrollment FROM table_1973648_1 WHERE joined = "2007-08"
What language is the film with a character named Annabelle?
CREATE TABLE table_name_90 (language VARCHAR, role VARCHAR)
SELECT language FROM table_name_90 WHERE role = "annabelle"
How many opponents were played on Saturday, June 9?
CREATE TABLE table_10392906_2 (opponent VARCHAR, date VARCHAR)
SELECT COUNT(opponent) FROM table_10392906_2 WHERE date = "Saturday, June 9"
What team was the opponent in a week earlier than 17 on June 17, 2006?
CREATE TABLE table_name_91 (opponent VARCHAR, week VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_91 WHERE week < 17 AND date = "june 17, 2006"
What was the outcome in games where the score was 7-5, 2-6, [6-10]?
CREATE TABLE table_2259502_2 (outcome VARCHAR, score VARCHAR)
SELECT outcome FROM table_2259502_2 WHERE score = "7-5, 2-6, [6-10]"
What is the sum of golds for ranks of 6 and totals over 3?
CREATE TABLE table_name_36 (gold INTEGER, rank VARCHAR, total VARCHAR)
SELECT SUM(gold) FROM table_name_36 WHERE rank = "6" AND total > 3
What is the Population of the nation that has a Member countries consisting of existing members (1973)?
CREATE TABLE table_name_68 (population VARCHAR, member_countries VARCHAR)
SELECT population FROM table_name_68 WHERE member_countries = "existing members (1973)"
What is the episode number of the episode that originally aired on February 4, 2008?
CREATE TABLE table_name_23 (episode_no VARCHAR, original_airdate VARCHAR)
SELECT episode_no FROM table_name_23 WHERE original_airdate = "february 4, 2008"
What is the smallest number of silver medals for a nation with fewer than 1 bronze?
CREATE TABLE table_name_51 (silver INTEGER, bronze INTEGER)
SELECT MIN(silver) FROM table_name_51 WHERE bronze < 1
Who had a perfection percentage of 77.96%?
CREATE TABLE table_name_94 (name VARCHAR, perfection VARCHAR)
SELECT name FROM table_name_94 WHERE perfection = "77.96%"
What year was the team named the Raiders established?
CREATE TABLE table_16078390_2 (founded INTEGER, team_nickname VARCHAR)
SELECT MAX(founded) FROM table_16078390_2 WHERE team_nickname = "Raiders"
What are the numbers for the order number 713096-713119?
CREATE TABLE table_2351952_1 (numbers VARCHAR, order_number VARCHAR)
SELECT numbers FROM table_2351952_1 WHERE order_number = "713096-713119"
What is the Time of the Player with a Rank of 2?
CREATE TABLE table_name_77 (time VARCHAR, rank VARCHAR)
SELECT time FROM table_name_77 WHERE rank = 2
Which Tie # that has an Attendance of 14 november 1998, and an Away team of hayes?
CREATE TABLE table_name_62 (tie_no VARCHAR, attendance VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_62 WHERE attendance = "14 november 1998" AND away_team = "hayes"
who directed the episode that 6.3 million u.s. viewers saw?
CREATE TABLE table_27811555_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT directed_by FROM table_27811555_1 WHERE us_viewers__millions_ = "6.3"
What's the 1994 if 1995 has a 1R?
CREATE TABLE table_name_84 (Id VARCHAR)
SELECT 1994 FROM table_name_84 WHERE 1995 = "1r"
How many laps with a grid larger than 7 did a Lotus - Ford do with a Time/Retired of + 2 laps?
CREATE TABLE table_name_68 (laps INTEGER, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR)
SELECT SUM(laps) FROM table_name_68 WHERE grid > 7 AND constructor = "lotus - ford" AND time_retired = "+ 2 laps"
What date was versmold?
CREATE TABLE table_name_15 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_15 WHERE tournament = "versmold"
What is the ICAO when the IATA is tgg?
CREATE TABLE table_name_79 (icao VARCHAR, iata VARCHAR)
SELECT icao FROM table_name_79 WHERE iata = "tgg"
What home team plays at glenferrie oval?
CREATE TABLE table_name_5 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_5 WHERE venue = "glenferrie oval"
Which Loss is the lowest one that has an Avg/G of 3.5, and a Gain smaller than 42?
CREATE TABLE table_name_83 (loss INTEGER, avg_g VARCHAR, gain VARCHAR)
SELECT MIN(loss) FROM table_name_83 WHERE avg_g = 3.5 AND gain < 42
What place is United States player Corey Pavin in?
CREATE TABLE table_name_25 (place VARCHAR, country VARCHAR, player VARCHAR)
SELECT place FROM table_name_25 WHERE country = "united states" AND player = "corey pavin"
What is the bronze when silver is 4 and gold is 1 and the total is more than 2
CREATE TABLE table_name_50 (bronze VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR)
SELECT bronze FROM table_name_50 WHERE total > 2 AND gold = "1" AND silver = "4"
What is Ensemble Name Muxco Gloucestershire's Advertisement Date in Block 10C?
CREATE TABLE table_name_17 (advertisement_date VARCHAR, block VARCHAR, ensemble_name VARCHAR)
SELECT advertisement_date FROM table_name_17 WHERE block = "10c" AND ensemble_name = "muxco gloucestershire"
Name the least rank by average for number of dances less than 9 and competition finish of 5
CREATE TABLE table_name_62 (rank_by_average INTEGER, competition_finish VARCHAR, number_of_dances VARCHAR)
SELECT MIN(rank_by_average) FROM table_name_62 WHERE competition_finish = 5 AND number_of_dances < 9
How may results had the theme inspirational?
CREATE TABLE table_26250151_1 (result VARCHAR, theme VARCHAR)
SELECT COUNT(result) FROM table_26250151_1 WHERE theme = "Inspirational"
If Internet Explorer is 47.22%, what is the Safari total?
CREATE TABLE table_1876262_10 (safari VARCHAR, internet_explorer VARCHAR)
SELECT safari FROM table_1876262_10 WHERE internet_explorer = "47.22%"
Which Paul McCartney has a Linda McCartney of keyboards or drum?
CREATE TABLE table_name_15 (paul_mccartney VARCHAR, linda_mccartney VARCHAR)
SELECT paul_mccartney FROM table_name_15 WHERE linda_mccartney = "keyboards or drum"
Name the nominating festival for un cartus de kent si un pachet de cafea
CREATE TABLE table_name_93 (nominating_festival VARCHAR, film VARCHAR)
SELECT nominating_festival FROM table_name_93 WHERE film = "un cartus de kent si un pachet de cafea"
What was the maximum rank-final value for a score of 14.975?
CREATE TABLE table_26681728_1 (rank_final INTEGER, score_final VARCHAR)
SELECT MAX(rank_final) FROM table_26681728_1 WHERE score_final = "14.975"
Which Location has a Mascot of tigers?
CREATE TABLE table_name_34 (location VARCHAR, mascot VARCHAR)
SELECT location FROM table_name_34 WHERE mascot = "tigers"
What are the lowest laps of grid 17?
CREATE TABLE table_name_69 (laps INTEGER, grid VARCHAR)
SELECT MIN(laps) FROM table_name_69 WHERE grid = 17
Name all of the february
CREATE TABLE table_1539201_1 (february VARCHAR)
SELECT february FROM table_1539201_1
What is the 2009 estimate population of the region with Manaus as the largest city?
CREATE TABLE table_name_11 (population__2009_estimate_ VARCHAR, largest_city VARCHAR)
SELECT population__2009_estimate_ FROM table_name_11 WHERE largest_city = "manaus"
List all channel names ordered by their rating in percent from big to small.
CREATE TABLE channel (name VARCHAR, rating_in_percent VARCHAR)
SELECT name FROM channel ORDER BY rating_in_percent DESC
what is the 2012 performance when in 2011 is qf and 2010 is 3r?
CREATE TABLE table_name_28 (Id VARCHAR)
SELECT 2012 FROM table_name_28 WHERE 2011 = "qf" AND 2010 = "3r"
what player score is higher than 17
CREATE TABLE table_name_78 (player VARCHAR, round VARCHAR)
SELECT player FROM table_name_78 WHERE round = 17
What is the percentage of Buddhists associated with a Christianity percentage of 52.32%?
CREATE TABLE table_name_6 (buddhism VARCHAR, christianity VARCHAR)
SELECT buddhism FROM table_name_6 WHERE christianity = "52.32%"
Which mm Γ— mm has an in Γ— in of 11 Γ— 17?
CREATE TABLE table_name_7 (mm_Γ—_mm VARCHAR, in_Γ—_in VARCHAR)
SELECT mm_Γ—_mm FROM table_name_7 WHERE in_Γ—_in = "11 Γ— 17"
How many points associated with a Best time of 01:46.367?
CREATE TABLE table_name_76 (points INTEGER, best_time VARCHAR)
SELECT AVG(points) FROM table_name_76 WHERE best_time = "01:46.367"