question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Where did the event with a final score of 15.050 occur?
CREATE TABLE table_26681728_1 (location VARCHAR, score_final VARCHAR)
SELECT location FROM table_26681728_1 WHERE score_final = "15.050"
Which venue ended in a 3-0 result?
CREATE TABLE table_name_35 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_35 WHERE result = "3-0"
Who was the writer of the episode with a production code of 5aky04?
CREATE TABLE table_26826304_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_26826304_1 WHERE production_code = "5AKY04"
Name the college with overall of 17
CREATE TABLE table_name_65 (college VARCHAR, overall VARCHAR)
SELECT college FROM table_name_65 WHERE overall = 17
Which Opponent is on 17 november 2002?
CREATE TABLE table_name_64 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_64 WHERE date = "17 november 2002"
What is the smallest Attendance with H / A of h, and Opponents of nottingham forest?
CREATE TABLE table_name_4 (attendance INTEGER, h___a VARCHAR, opponents VARCHAR)
SELECT MIN(attendance) FROM table_name_4 WHERE h___a = "h" AND opponents = "nottingham forest"
What were the years active where Asian Cup played as a captain is Iran 1976?
CREATE TABLE table_272865_20 (years_active VARCHAR, asian_cup_played_as_a_captain VARCHAR)
SELECT years_active FROM table_272865_20 WHERE asian_cup_played_as_a_captain = "Iran 1976"
Who was the female contestant on the Original season of Fresh Meat?
CREATE TABLE table_18974269_1 (player VARCHAR, original_season VARCHAR, gender VARCHAR)
SELECT player FROM table_18974269_1 WHERE original_season = "Fresh Meat" AND gender = "Female"
How many pick# for CFL team of Toronto Argonauts?
CREATE TABLE table_28059992_1 (pick__number VARCHAR, cfl_team VARCHAR)
SELECT COUNT(pick__number) FROM table_28059992_1 WHERE cfl_team = "Toronto Argonauts"
Who is Wayne Day's crew chief?
CREATE TABLE table_2182170_1 (crew_chief VARCHAR, listed_owner_s_ VARCHAR)
SELECT crew_chief FROM table_2182170_1 WHERE listed_owner_s_ = "Wayne Day"
What was the opponent for the game at Multi-sport Field?
CREATE TABLE table_name_65 (opponent VARCHAR, field VARCHAR)
SELECT opponent FROM table_name_65 WHERE field = "multi-sport field"
Which clay has a Record of 2–0, and a Hard 1–0?
CREATE TABLE table_name_36 (clay VARCHAR, record VARCHAR, hard VARCHAR)
SELECT clay FROM table_name_36 WHERE record = "2–0" AND hard = "1–0"
What is the lowest Nick production number?
CREATE TABLE table_2655016_4 (nick_prod__number INTEGER)
SELECT MIN(nick_prod__number) FROM table_2655016_4
Which Electricity Grid started its Commercial Operation of 24.03.1973?
CREATE TABLE table_name_17 (electricity_grid VARCHAR, commercial_operation VARCHAR)
SELECT electricity_grid FROM table_name_17 WHERE commercial_operation = "24.03.1973"
What draw has a Span of 1987-1999?
CREATE TABLE table_name_85 (draw VARCHAR, span VARCHAR)
SELECT draw FROM table_name_85 WHERE span = "1987-1999"
What was the Score of the 2008 Africa Cup of Nations Competition?
CREATE TABLE table_name_3 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_3 WHERE competition = "2008 africa cup of nations"
How many high assists are listed for the game with a score of 68-60?
CREATE TABLE table_17118657_8 (high_assists VARCHAR, score VARCHAR)
SELECT COUNT(high_assists) FROM table_17118657_8 WHERE score = "68-60"
What finish has a 143.056 qual?
CREATE TABLE table_name_69 (finish VARCHAR, qual VARCHAR)
SELECT finish FROM table_name_69 WHERE qual = "143.056"
Who was the jockey when the owner was Richard Pegum?
CREATE TABLE table_name_75 (jockey VARCHAR, owner VARCHAR)
SELECT jockey FROM table_name_75 WHERE owner = "richard pegum"
What is the label for catalog number CRG3P-90054?
CREATE TABLE table_name_96 (label VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_96 WHERE catalog = "crg3p-90054"
Who were the candidates in the district whose incumbent is Bill Pascrell?
CREATE TABLE table_1341453_32 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1341453_32 WHERE incumbent = "Bill Pascrell"
Name the frequency mhz for fcc and ERP W of 9 watts
CREATE TABLE table_name_7 (frequency_mhz VARCHAR, fcc_info VARCHAR, erp_w VARCHAR)
SELECT frequency_mhz FROM table_name_7 WHERE fcc_info = "fcc" AND erp_w = "9 watts"
What is the winning amount that has May 30, 2009 as the date premiered?
CREATE TABLE table_name_2 (winning_amount VARCHAR, date_premiered__2009_ VARCHAR)
SELECT winning_amount FROM table_name_2 WHERE date_premiered__2009_ = "may 30"
What is the D44 when D41 is D 16?
CREATE TABLE table_name_70 (d_44 VARCHAR, d_41 VARCHAR)
SELECT d_44 FROM table_name_70 WHERE d_41 = "d 16"
What was the date of the race in Misano?
CREATE TABLE table_10083598_1 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_10083598_1 WHERE circuit = "Misano"
How many starts are associated with an oldsmobile engine, 21 finishes and before 2001?
CREATE TABLE table_name_17 (start INTEGER, year VARCHAR, engine VARCHAR, finish VARCHAR)
SELECT SUM(start) FROM table_name_17 WHERE engine = "oldsmobile" AND finish = 21 AND year < 2001
What Venue has Basketball as a Sport?
CREATE TABLE table_name_92 (venue VARCHAR, sport VARCHAR)
SELECT venue FROM table_name_92 WHERE sport = "basketball"
Who are the candidates for the Pennsylvania 11 district?
CREATE TABLE table_2668169_2 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_2668169_2 WHERE district = "Pennsylvania 11"
Which employee manage most number of peoples? List employee's first and last name, and number of people report to that employee.
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, id VARCHAR); CREATE TABLE employees (reports_to VARCHAR)
SELECT T2.first_name, T2.last_name, COUNT(T1.reports_to) FROM employees AS T1 JOIN employees AS T2 ON T1.reports_to = T2.id GROUP BY T1.reports_to ORDER BY COUNT(T1.reports_to) DESC LIMIT 1
Name the lowest total for rank of 13 with bronze less than 1
CREATE TABLE table_name_20 (total INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT MIN(total) FROM table_name_20 WHERE rank = 13 AND bronze < 1
Is WPEO in stereo?
CREATE TABLE table_name_37 (stereo VARCHAR, call VARCHAR)
SELECT stereo FROM table_name_37 WHERE call = "wpeo"
What was the result of the April 16 game?
CREATE TABLE table_name_94 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_94 WHERE date = "april 16"
How many households have a Median household income of $43,889?
CREATE TABLE table_name_71 (number_of_households INTEGER, median_household_income VARCHAR)
SELECT AVG(number_of_households) FROM table_name_71 WHERE median_household_income = "$43,889"
Which player has a score of 71-69-71-67=278?
CREATE TABLE table_name_81 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_81 WHERE score = 71 - 69 - 71 - 67 = 278
What model is the A310 of 1983?
CREATE TABLE table_name_48 (model VARCHAR, a310 VARCHAR)
SELECT model FROM table_name_48 WHERE a310 = "1983"
What is the highest round for the Minnesota Junior Stars (Mjhl)?
CREATE TABLE table_name_60 (round INTEGER, college_junior_club_team__league_ VARCHAR)
SELECT MAX(round) FROM table_name_60 WHERE college_junior_club_team__league_ = "minnesota junior stars (mjhl)"
List all who wrote for production code 1ark07.
CREATE TABLE table_22835602_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_22835602_1 WHERE production_code = "1ARK07"
How many times was the r 4?
CREATE TABLE table (league_cup VARCHAR, r VARCHAR)
SELECT COUNT(league_cup) FROM table WHERE r = 4
What is the round on 30 June with a.z.k./roc-compétition a.z.k./roc-compétition as the winning team?
CREATE TABLE table_name_7 (round VARCHAR, winning_team VARCHAR, date VARCHAR)
SELECT round FROM table_name_7 WHERE winning_team = "a.z.k./roc-compétition a.z.k./roc-compétition" AND date = "30 june"
what is the title of the episode daphne field wrote?
CREATE TABLE table_2626495_1 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_2626495_1 WHERE written_by = "Daphne Field"
What is the total number of civil liberties 2011 values having 2010 political rights values under 3 and 2011 political rights values under 1?
CREATE TABLE table_name_70 (civil_liberties_2011 VARCHAR, political_rights_2010 VARCHAR, political_rights_2011 VARCHAR)
SELECT COUNT(civil_liberties_2011) FROM table_name_70 WHERE political_rights_2010 < 3 AND political_rights_2011 < 1
What are the number in series of the pieces directed by Win Phelps and which number in season is 11?
CREATE TABLE table_25604014_6 (no_in_series VARCHAR, directed_by VARCHAR, no_in_season VARCHAR)
SELECT no_in_series FROM table_25604014_6 WHERE directed_by = "Win Phelps" AND no_in_season = 11
What is the average number of rounds when fighting against Clay Guida?
CREATE TABLE table_name_54 (round INTEGER, opponent VARCHAR)
SELECT AVG(round) FROM table_name_54 WHERE opponent = "clay guida"
What is south melbourne's home side score?
CREATE TABLE table_name_53 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_53 WHERE home_team = "south melbourne"
Show the name and the nationality of the oldest host.
CREATE TABLE HOST (Name VARCHAR, Nationality VARCHAR, Age VARCHAR)
SELECT Name, Nationality FROM HOST ORDER BY Age DESC LIMIT 1
What attendance has detroit lions as the opponent?
CREATE TABLE table_name_14 (attendance VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_14 WHERE opponent = "detroit lions"
What position(s) does barrie moore play?
CREATE TABLE table_2781227_9 (position VARCHAR, player VARCHAR)
SELECT position FROM table_2781227_9 WHERE player = "Barrie Moore"
What is the round for Arizona with a pick over 100?
CREATE TABLE table_name_48 (round INTEGER, school VARCHAR, pick VARCHAR)
SELECT AVG(round) FROM table_name_48 WHERE school = "arizona" AND pick > 100
What is the score of the team that plays in lake oval?
CREATE TABLE table_name_85 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_85 WHERE venue = "lake oval"
What was the branding in Dagupan?
CREATE TABLE table_12547903_3 (branding VARCHAR, location VARCHAR)
SELECT branding FROM table_12547903_3 WHERE location = "Dagupan"
What is the prom with Hewitt class and a Height (m) of 715?
CREATE TABLE table_name_20 (prom__m_ VARCHAR, class VARCHAR, height__m_ VARCHAR)
SELECT prom__m_ FROM table_name_20 WHERE class = "hewitt" AND height__m_ = 715
What was the team Vanderberg belonged to when there was 42 completions?
CREATE TABLE table_name_19 (team VARCHAR, completions VARCHAR)
SELECT team FROM table_name_19 WHERE completions = "42"
In what city is the Estonian University of Life Sciences located?
CREATE TABLE table_name_42 (city VARCHAR, name VARCHAR)
SELECT city FROM table_name_42 WHERE name = "estonian university of life sciences"
Which Runs has a Opponent of south australia?
CREATE TABLE table_name_53 (runs VARCHAR, opponent VARCHAR)
SELECT runs FROM table_name_53 WHERE opponent = "south australia"
Which player has a total of more than 290 and +4 to par.
CREATE TABLE table_name_29 (player VARCHAR, total VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_29 WHERE total > 290 AND to_par = "+4"
Name the index weighting % for 17 januaary 2013 for rno
CREATE TABLE table_168274_1 (index_weighting___percentage__at_17_january_2013 VARCHAR, ticker_symbol VARCHAR)
SELECT index_weighting___percentage__at_17_january_2013 FROM table_168274_1 WHERE ticker_symbol = "RNO"
Name the least number in season for jessica ball
CREATE TABLE table_23117208_4 (no_in_season INTEGER, written_by VARCHAR)
SELECT MIN(no_in_season) FROM table_23117208_4 WHERE written_by = "Jessica Ball"
What is the damage of storm three?
CREATE TABLE table_name_58 (damage__millions_usd__ VARCHAR, storm_name VARCHAR)
SELECT damage__millions_usd__ FROM table_name_58 WHERE storm_name = "three"
Which Game is the average one that has a February larger than 20, and a Record of 41–17–4, and Points smaller than 86?
CREATE TABLE table_name_23 (game INTEGER, points VARCHAR, february VARCHAR, record VARCHAR)
SELECT AVG(game) FROM table_name_23 WHERE february > 20 AND record = "41–17–4" AND points < 86
What is the Competition when the Club was costa rica u-20?
CREATE TABLE table_name_94 (competition VARCHAR, club VARCHAR)
SELECT competition FROM table_name_94 WHERE club = "costa rica u-20"
What is the position of the team that played at the venue, Central, Gomel?
CREATE TABLE table_name_71 (position_in_1999 VARCHAR, venue VARCHAR)
SELECT position_in_1999 FROM table_name_71 WHERE venue = "central, gomel"
What change caused a change of staff in March 9, 1865?
CREATE TABLE table_2147588_3 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR)
SELECT reason_for_change FROM table_2147588_3 WHERE date_of_successors_formal_installation = "March 9, 1865"
What is the branding of metro manila?
CREATE TABLE table_12379297_4 (branding VARCHAR, location VARCHAR)
SELECT branding FROM table_12379297_4 WHERE location = "Metro Manila"
what is the handicap where the distance is 9 lengths?
CREATE TABLE table_25429986_1 (handicap VARCHAR, distance VARCHAR)
SELECT handicap FROM table_25429986_1 WHERE distance = "9 lengths"
In what Week was the Attendance 49,097?
CREATE TABLE table_name_51 (week INTEGER, attendance VARCHAR)
SELECT AVG(week) FROM table_name_51 WHERE attendance = "49,097"
How many games ended in a record of 30-28-4, with a March more than 1?
CREATE TABLE table_name_42 (game VARCHAR, record VARCHAR, march VARCHAR)
SELECT COUNT(game) FROM table_name_42 WHERE record = "30-28-4" AND march > 1
What is the average pick of Florida State?
CREATE TABLE table_name_28 (pick INTEGER, college VARCHAR)
SELECT AVG(pick) FROM table_name_28 WHERE college = "florida state"
Which director made Mi-temps?
CREATE TABLE table_name_13 (director_s_ VARCHAR, film VARCHAR)
SELECT director_s_ FROM table_name_13 WHERE film = "mi-temps"
What is the name and capacity for the stadium with highest average attendance?
CREATE TABLE stadium (name VARCHAR, capacity VARCHAR, average VARCHAR)
SELECT name, capacity FROM stadium ORDER BY average DESC LIMIT 1
If the distribution mechanism is the Microsoft website and the security issues id 98-004, what are all of the features?
CREATE TABLE table_2263152_1 (features VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR)
SELECT features FROM table_2263152_1 WHERE security_issues = "98-004" AND distribution_mechanism = "Microsoft website"
what is the platform when the frequency (per hour) is 4 and the destination is west croydon?
CREATE TABLE table_name_98 (platform INTEGER, frequency__per_hour_ VARCHAR, destination VARCHAR)
SELECT SUM(platform) FROM table_name_98 WHERE frequency__per_hour_ = 4 AND destination = "west croydon"
When the third quarter is China Mobile 195,680.4, what is the rank?
CREATE TABLE table_name_45 (rank VARCHAR, third_quarter VARCHAR)
SELECT rank FROM table_name_45 WHERE third_quarter = "china mobile 195,680.4"
What team was the home team when Colorado was the visitor and the record became 22–13–6?
CREATE TABLE table_name_88 (home VARCHAR, visitor VARCHAR, record VARCHAR)
SELECT home FROM table_name_88 WHERE visitor = "colorado" AND record = "22–13–6"
Show the name of the customer who has the most orders.
CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR)
SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) DESC LIMIT 1
what score has the opponent of tigers and a record of 78-64?
CREATE TABLE table_name_75 (score VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT score FROM table_name_75 WHERE opponent = "tigers" AND record = "78-64"
How many groups of candidates are there in there in the district where the incumbent is Doc Hastings?
CREATE TABLE table_16185956_1 (incumbent VARCHAR)
SELECT COUNT(2008 AS _candidates) FROM table_16185956_1 WHERE incumbent = "Doc Hastings"
What event went under 3 rounds and was no contest (punch after knockdown)?
CREATE TABLE table_name_74 (event VARCHAR, round VARCHAR, method VARCHAR)
SELECT event FROM table_name_74 WHERE round < 3 AND method = "no contest (punch after knockdown)"
What was the Stage when Pascal Richard had the Mountains classification and Vladimir Poulnikov won?
CREATE TABLE table_name_71 (stage VARCHAR, mountains_classification VARCHAR, winner VARCHAR)
SELECT stage FROM table_name_71 WHERE mountains_classification = "pascal richard" AND winner = "vladimir poulnikov"
What was the average Year of release for the Album, "Da Baddest Bitch"?
CREATE TABLE table_name_31 (year INTEGER, album VARCHAR)
SELECT AVG(year) FROM table_name_31 WHERE album = "da baddest bitch"
What stroke has a max power of 109 ps(80kw)@4000 rpm?
CREATE TABLE table_name_39 (stroke VARCHAR, max_power VARCHAR)
SELECT stroke FROM table_name_39 WHERE max_power = "109 ps(80kw)@4000 rpm"
What is Guard Kerri Shields Hometown?
CREATE TABLE table_name_94 (hometown VARCHAR, position VARCHAR, name VARCHAR)
SELECT hometown FROM table_name_94 WHERE position = "guard" AND name = "kerri shields"
Name the Production Number with a Director of friz freleng, and a Title of wacky worm, the?
CREATE TABLE table_name_52 (production_number VARCHAR, director VARCHAR, title VARCHAR)
SELECT production_number FROM table_name_52 WHERE director = "friz freleng" AND title = "wacky worm, the"
Name the lowest Seats 2010 which has Seats 2005 smaller than 9, and a Governorate of al muthanna governorate, and an In/de-creased by larger than 2?
CREATE TABLE table_name_46 (seats_2010 INTEGER, in_de_creased_by VARCHAR, seats_2005 VARCHAR, governorate VARCHAR)
SELECT MIN(seats_2010) FROM table_name_46 WHERE seats_2005 < 9 AND governorate = "al muthanna governorate" AND in_de_creased_by > 2
What is the territory that was acquired past 1899 and has a capital of saipan?
CREATE TABLE table_name_37 (territory VARCHAR, acquired VARCHAR, capital VARCHAR)
SELECT territory FROM table_name_37 WHERE acquired > 1899 AND capital = "saipan"
What team replaced their manager on 9 December 2008?
CREATE TABLE table_name_77 (team VARCHAR, date_of_vacancy VARCHAR)
SELECT team FROM table_name_77 WHERE date_of_vacancy = "9 december 2008"
Tell me the highest laps for toyota and grid of 13
CREATE TABLE table_name_56 (laps INTEGER, constructor VARCHAR, grid VARCHAR)
SELECT MAX(laps) FROM table_name_56 WHERE constructor = "toyota" AND grid = 13
How many total rounds used the submission (choke) method?
CREATE TABLE table_name_21 (round INTEGER, method VARCHAR)
SELECT SUM(round) FROM table_name_21 WHERE method = "submission (choke)"
Name the score for chicago
CREATE TABLE table_23186738_9 (score VARCHAR, team VARCHAR)
SELECT score FROM table_23186738_9 WHERE team = "Chicago"
What position does Christian Leibl-Cote play?
CREATE TABLE table_10975034_2 (position VARCHAR, player VARCHAR)
SELECT position FROM table_10975034_2 WHERE player = "Christian Leibl-Cote"
When 17,874 (33.2) is the percentage against what is the percentage for?
CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, against___percentage_ VARCHAR)
SELECT for___percentage_ FROM table_20683381_3 WHERE against___percentage_ = "17,874 (33.2)"
Which club had a player born in 1983?
CREATE TABLE table_12962773_15 (current_club VARCHAR, year_born VARCHAR)
SELECT current_club FROM table_12962773_15 WHERE year_born = 1983
On September 30, 1979, in a week before week 8, what was the result?
CREATE TABLE table_name_71 (result VARCHAR, week VARCHAR, date VARCHAR)
SELECT result FROM table_name_71 WHERE week < 8 AND date = "september 30, 1979"
Find the first name of students not enrolled in any course.
CREATE TABLE STUDENT (Fname VARCHAR, StuID VARCHAR); CREATE TABLE ENROLLED_IN (Fname VARCHAR, StuID VARCHAR)
SELECT Fname FROM STUDENT WHERE NOT StuID IN (SELECT StuID FROM ENROLLED_IN)
What is Country of Origin, when Year of Intro is greater than 1985, and when Primary Cartridge is 125mm?
CREATE TABLE table_name_27 (country_of_origin VARCHAR, year_of_intro VARCHAR, primary_cartridge VARCHAR)
SELECT country_of_origin FROM table_name_27 WHERE year_of_intro > 1985 AND primary_cartridge = "125mm"
Name the result for augustine h. shepperd (j) 100%
CREATE TABLE table_2668243_18 (result VARCHAR, candidates VARCHAR)
SELECT result FROM table_2668243_18 WHERE candidates = "Augustine H. Shepperd (J) 100%"
Which horse won with a time of 1:35.98 and what was their position?
CREATE TABLE table_15926991_1 (winner_2nd VARCHAR, time VARCHAR)
SELECT winner_2nd FROM table_15926991_1 WHERE time = "1:35.98"
Name the tournament for 2010 of grand slam tournaments
CREATE TABLE table_name_93 (tournament VARCHAR)
SELECT tournament FROM table_name_93 WHERE 2010 = "grand slam tournaments"
What tyres have 1 point and an ensign n177 chassis?
CREATE TABLE table_name_15 (tyres VARCHAR, points VARCHAR, chassis VARCHAR)
SELECT tyres FROM table_name_15 WHERE points = "1" AND chassis = "ensign n177"
What is the result in 1994?
CREATE TABLE table_name_36 (result VARCHAR, year VARCHAR)
SELECT result FROM table_name_36 WHERE year = 1994
Name the summary for the success rate for 68.75%
CREATE TABLE table_15829930_5 (summary VARCHAR, success_rate VARCHAR)
SELECT summary FROM table_15829930_5 WHERE success_rate = "68.75%"