question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the payload for Class MRBM, and a range of 1,930km?
CREATE TABLE table_name_12 (payload VARCHAR, class VARCHAR, range__varies_with_payload_weight_ VARCHAR)
SELECT payload FROM table_name_12 WHERE class = "mrbm" AND range__varies_with_payload_weight_ = "1,930km"
What was the result for the nominee for Outstanding Supporting Actress in a Drama Series in 2009?
CREATE TABLE table_name_43 (result VARCHAR, category VARCHAR, year VARCHAR)
SELECT result FROM table_name_43 WHERE category = "outstanding supporting actress in a drama series" AND year = 2009
What was the Outcome of the match played on Hard (i) Surface?
CREATE TABLE table_name_16 (outcome VARCHAR, surface VARCHAR)
SELECT outcome FROM table_name_16 WHERE surface = "hard (i)"
Who was the opponent in round 2?
CREATE TABLE table_13328239_4 (opponent VARCHAR, round VARCHAR)
SELECT opponent FROM table_13328239_4 WHERE round = "2"
how many millions of North American people saw the episode whose director was Ed Sherin?
CREATE TABLE table_2791668_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
SELECT us_viewers__millions_ FROM table_2791668_1 WHERE directed_by = "Ed Sherin"
Which chassis has a year later than 1964, a Ford engine, and 13 points?
CREATE TABLE table_name_95 (chassis VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR)
SELECT chassis FROM table_name_95 WHERE year > 1964 AND engine = "ford" AND pts = 13
what year is chris mcnamara?
CREATE TABLE table_29598261_1 (year VARCHAR, name VARCHAR)
SELECT year FROM table_29598261_1 WHERE name = "Chris McNamara"
Name the least number in series for james quinn
CREATE TABLE table_2618102_1 (no_in_series INTEGER, directed_by VARCHAR)
SELECT MIN(no_in_series) FROM table_2618102_1 WHERE directed_by = "James Quinn"
What score has august 25 as the date?
CREATE TABLE table_name_49 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_49 WHERE date = "august 25"
What are the authors of submissions and their colleges?
CREATE TABLE submission (Author VARCHAR, College VARCHAR)
SELECT Author, College FROM submission
What is the family friendly status of the punk genre song from the 1970s?
CREATE TABLE table_name_8 (family_friendly VARCHAR, decade VARCHAR, genre VARCHAR)
SELECT family_friendly FROM table_name_8 WHERE decade = "1970s" AND genre = "punk"
What player is a center born in 1977?
CREATE TABLE table_name_79 (player VARCHAR, position VARCHAR, year_born VARCHAR)
SELECT player FROM table_name_79 WHERE position = "center" AND year_born = 1977
Which Label has a Date of 14 February?
CREATE TABLE table_name_56 (label VARCHAR, date VARCHAR)
SELECT label FROM table_name_56 WHERE date = "14 february"
Which province had fewer than 190 South Asians in 2001 and 115 South Asians in 2011?
CREATE TABLE table_name_56 (province VARCHAR, south_asians_2001 VARCHAR, south_asians_2011 VARCHAR)
SELECT province FROM table_name_56 WHERE south_asians_2001 < 190 AND south_asians_2011 = 115
How many players are from Delray Beach, Florida?
CREATE TABLE table_11677691_11 (player VARCHAR, hometown VARCHAR)
SELECT COUNT(player) FROM table_11677691_11 WHERE hometown = "Delray Beach, Florida"
Which Set 3 has a Score of 0–3, a Time of 18:30, and a Date of july 10?
CREATE TABLE table_name_56 (set_3 VARCHAR, date VARCHAR, score VARCHAR, time VARCHAR)
SELECT set_3 FROM table_name_56 WHERE score = "0–3" AND time = "18:30" AND date = "july 10"
What's the record of the @ miami team?
CREATE TABLE table_27734577_8 (record VARCHAR, team VARCHAR)
SELECT record FROM table_27734577_8 WHERE team = "@ Miami"
What is the total number of Israeli deaths in the attack with 0 total casulaties and 0 total deaths?
CREATE TABLE table_name_37 (israeli_deaths VARCHAR, total_casualties VARCHAR, total_deaths VARCHAR)
SELECT COUNT(israeli_deaths) FROM table_name_37 WHERE total_casualties = "0" AND total_deaths = "0"
How many years did he play in santiago de compostela?
CREATE TABLE table_name_6 (year INTEGER, city VARCHAR)
SELECT SUM(year) FROM table_name_6 WHERE city = "santiago de compostela"
How many millions of U.S viewers watched the episode written by Liz Feldman?
CREATE TABLE table_29920800_1 (us_viewers__million_ VARCHAR, written_by VARCHAR)
SELECT us_viewers__million_ FROM table_29920800_1 WHERE written_by = "Liz Feldman"
when is the opponent lyoto machida?
CREATE TABLE table_name_94 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_94 WHERE opponent = "lyoto machida"
Who was the Class AAAA champion in 2006-07?
CREATE TABLE table_14603057_2 (class_aAAA VARCHAR, school_year VARCHAR)
SELECT class_aAAA FROM table_14603057_2 WHERE school_year = "2006-07"
Name the try bonus for lost being 11 and losing bonus is 6
CREATE TABLE table_17941032_3 (try_bonus VARCHAR, lost VARCHAR, losing_bonus VARCHAR)
SELECT try_bonus FROM table_17941032_3 WHERE lost = "11" AND losing_bonus = "6"
WHAT IS THE 2012 PERFORMANCE FOR THE MADRID MASTERS?
CREATE TABLE table_name_25 (tournament VARCHAR)
SELECT 2012 FROM table_name_25 WHERE tournament = "madrid masters"
Name the country with +2 to par
CREATE TABLE table_name_28 (country VARCHAR, to_par VARCHAR)
SELECT country FROM table_name_28 WHERE to_par = "+2"
What was the callback date for the auditions held on July 29, 2008?
CREATE TABLE table_name_28 (Callback VARCHAR, date VARCHAR)
SELECT Callback AS date FROM table_name_28 WHERE date = "july 29, 2008"
What race was won by Tazio Nuvolari?
CREATE TABLE table_name_63 (name VARCHAR, winning_drivers VARCHAR)
SELECT name FROM table_name_63 WHERE winning_drivers = "tazio nuvolari"
If torque is n·m (lb·ft) @1600–2400 rpm and applications is 2000 w90x sprinter, what is the power?
CREATE TABLE table_21021796_1 (power VARCHAR, torque VARCHAR, applications VARCHAR)
SELECT power FROM table_21021796_1 WHERE torque = "N·m (lb·ft) @1600–2400 rpm" AND applications = "2000 W90x Sprinter"
What type of settlement is ором (hungarian: orom)?
CREATE TABLE table_2562572_33 (type VARCHAR, cyrillic_name_other_names VARCHAR)
SELECT type FROM table_2562572_33 WHERE cyrillic_name_other_names = "Ором (Hungarian: Orom)"
Which nations have more than 1 gold medal and 4 silver medals?
CREATE TABLE table_name_87 (nation VARCHAR, gold VARCHAR, silver VARCHAR)
SELECT nation FROM table_name_87 WHERE gold > 1 AND silver = 4
How many titles were there for the 113 episode?
CREATE TABLE table_10718631_2 (title VARCHAR, no_in_series VARCHAR)
SELECT COUNT(title) FROM table_10718631_2 WHERE no_in_series = 113
What is the highest goal difference that the club with 33-5 points and less than 12 wins?
CREATE TABLE table_name_52 (goal_difference INTEGER, points VARCHAR, wins VARCHAR)
SELECT MAX(goal_difference) FROM table_name_52 WHERE points = "33-5" AND wins < 12
What are the number of floors for the building of td building redevelopment (office)?
CREATE TABLE table_name_45 (floors INTEGER, building VARCHAR)
SELECT AVG(floors) FROM table_name_45 WHERE building = "td building redevelopment (office)"
Which R.A. (J2000) has Apparent Magnitude of 11.7, and Dec. (J2000) of °07′06″?
CREATE TABLE table_name_22 (ra___j2000__ VARCHAR, apparent_magnitude VARCHAR, dec___j2000__ VARCHAR)
SELECT ra___j2000__ FROM table_name_22 WHERE apparent_magnitude = 11.7 AND dec___j2000__ = "°07′06″"
What does the ii Series weigh?
CREATE TABLE table_name_73 (weight VARCHAR, series VARCHAR)
SELECT weight FROM table_name_73 WHERE series = "ii series"
What rank does Tatyana Lebedeva have?
CREATE TABLE table_name_7 (rank VARCHAR, name VARCHAR)
SELECT rank FROM table_name_7 WHERE name = "tatyana lebedeva"
Which country has a to par less than 19 and a score of 75-79-77-73=304?
CREATE TABLE table_name_92 (country VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT country FROM table_name_92 WHERE to_par < 19 AND score = 75 - 79 - 77 - 73 = 304
What is the 2004 Lukoil oil prodroduction when in 2011 oil production 90.917 million tonnes?
CREATE TABLE table_name_40 (Id VARCHAR)
SELECT 2004 FROM table_name_40 WHERE 2011 = "90.917"
How many silvers for a school with 2 golds and over 2 total?
CREATE TABLE table_name_57 (silver_medals VARCHAR, gold_medals VARCHAR, total_medals VARCHAR)
SELECT silver_medals FROM table_name_57 WHERE gold_medals = 2 AND total_medals > 2
What was the lineup for match 12 that had a competition of Group Stage?
CREATE TABLE table_name_65 (lineup VARCHAR, competition VARCHAR, match VARCHAR)
SELECT lineup FROM table_name_65 WHERE competition = "group stage" AND match = "12"
If the parallel bars numbers is 61.500, what is the total number for the flood?
CREATE TABLE table_18662026_1 (floor VARCHAR, parallel_bars VARCHAR)
SELECT COUNT(floor) FROM table_18662026_1 WHERE parallel_bars = "61.500"
How many brandings are there where the Power kW (ERP) is 1kW (29.94kW ERP)?
CREATE TABLE table_2610582_2 (branding VARCHAR, power_kw__erp_ VARCHAR)
SELECT COUNT(branding) FROM table_2610582_2 WHERE power_kw__erp_ = "1kW (29.94kW ERP)"
Which place has United States as the country and Craig Wood as the player?
CREATE TABLE table_name_88 (place VARCHAR, country VARCHAR, player VARCHAR)
SELECT place FROM table_name_88 WHERE country = "united states" AND player = "craig wood"
Which Type has a Name of edson ratinho?
CREATE TABLE table_name_14 (type VARCHAR, name VARCHAR)
SELECT type FROM table_name_14 WHERE name = "edson ratinho"
What was the hometown/high school of 170 pound player tyler wilson?
CREATE TABLE table_name_81 (hometown_highschool VARCHAR, weight VARCHAR, name VARCHAR)
SELECT hometown_highschool FROM table_name_81 WHERE weight = 170 AND name = "tyler wilson"
Which tournament had a score of 6–4, 4–6, 7–5?
CREATE TABLE table_name_70 (tournament VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_70 WHERE score = "6–4, 4–6, 7–5"
What are the names of the states where at least 3 heads were born?
CREATE TABLE head (born_state VARCHAR)
SELECT born_state FROM head GROUP BY born_state HAVING COUNT(*) >= 3
Name the city for enrollment being 19900
CREATE TABLE table_27378582_1 (city VARCHAR, enrollment VARCHAR)
SELECT city FROM table_27378582_1 WHERE enrollment = 19900
What is the name of the film with an award of £5,380?
CREATE TABLE table_name_18 (film VARCHAR, award VARCHAR)
SELECT film FROM table_name_18 WHERE award = "£5,380"
Tell me the highest series # for september 22, 1976
CREATE TABLE table_name_53 (series__number INTEGER, original_air_date VARCHAR)
SELECT MAX(series__number) FROM table_name_53 WHERE original_air_date = "september 22, 1976"
what's the location where tournament is raley's senior gold rush
CREATE TABLE table_11622255_1 (location VARCHAR, tournament VARCHAR)
SELECT location FROM table_11622255_1 WHERE tournament = "Raley's Senior Gold Rush"
How many parties won the election in the Louisiana 5 district?
CREATE TABLE table_1341865_20 (party VARCHAR, district VARCHAR)
SELECT COUNT(party) FROM table_1341865_20 WHERE district = "Louisiana 5"
What was the award before 2001?
CREATE TABLE table_name_32 (award VARCHAR, year INTEGER)
SELECT award FROM table_name_32 WHERE year < 2001
What is Semifinalists, when Tournament is Rome
CREATE TABLE table_name_93 (semifinalists VARCHAR, tournament VARCHAR)
SELECT semifinalists FROM table_name_93 WHERE tournament = "rome"
What is the title of the film that has the highest high market estimation.
CREATE TABLE film_market_estimation (Film_ID VARCHAR); CREATE TABLE film (Film_ID VARCHAR)
SELECT t1.title FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID = T2.Film_ID ORDER BY high_estimate DESC LIMIT 1
Tell me the 2008 for when 2001 of wta premier 5 tournaments
CREATE TABLE table_name_87 (Id VARCHAR)
SELECT 2008 FROM table_name_87 WHERE 2001 = "wta premier 5 tournaments"
In how many different years did schools located in Logan Township, Pennsylvania join the Conference?
CREATE TABLE table_1971074_1 (joined VARCHAR, location VARCHAR)
SELECT COUNT(joined) FROM table_1971074_1 WHERE location = "Logan Township, Pennsylvania"
Who was the play by play commentator for ABC after 1998?
CREATE TABLE table_name_61 (play_by_play VARCHAR, network VARCHAR, year VARCHAR)
SELECT play_by_play FROM table_name_61 WHERE network = "abc" AND year > 1998
What was the result for the friendly match competition?
CREATE TABLE table_name_49 (res VARCHAR, competition VARCHAR)
SELECT res FROM table_name_49 WHERE competition = "friendly match"
WHAT IS THE YEAR WITH DARI, AND TITLE osama (أسامة)?
CREATE TABLE table_name_38 (year__ceremony_ VARCHAR, language_s_ VARCHAR, original_title VARCHAR)
SELECT year__ceremony_ FROM table_name_38 WHERE language_s_ = "dari" AND original_title = "osama (أسامة)"
How many contestants were there when the runner-up was Sérgio Abreu?
CREATE TABLE table_25214321_1 (contestants INTEGER, runner_up VARCHAR)
SELECT MAX(contestants) FROM table_25214321_1 WHERE runner_up = "Sérgio Abreu"
Who is the winner when mark fuller was the runner-up?
CREATE TABLE table_name_81 (winner VARCHAR, runner_up VARCHAR)
SELECT winner FROM table_name_81 WHERE runner_up = "mark fuller"
What is the percentage for the team with a road record of 3-4 and a home record of 7-0?
CREATE TABLE table_23183195_2 (percentage VARCHAR, road_record VARCHAR, home_record VARCHAR)
SELECT percentage FROM table_23183195_2 WHERE road_record = "3-4" AND home_record = "7-0"
Name the recording for 2012
CREATE TABLE table_name_86 (recording VARCHAR, year VARCHAR)
SELECT recording FROM table_name_86 WHERE year = "2012"
What year did the King team have fewer than 10 points?
CREATE TABLE table_name_66 (year INTEGER, team VARCHAR, points VARCHAR)
SELECT AVG(year) FROM table_name_66 WHERE team = "king" AND points < 10
How many powiats have mstsislaw as a capital?
CREATE TABLE table_1784514_1 (number_of_powiats VARCHAR, capital VARCHAR)
SELECT number_of_powiats FROM table_1784514_1 WHERE capital = "Mstsislaw"
How many times did Morgan win The Masters Tournament with fewer than 12 appearances?
CREATE TABLE table_name_12 (wins INTEGER, tournament VARCHAR, events VARCHAR)
SELECT AVG(wins) FROM table_name_12 WHERE tournament = "masters tournament" AND events < 12
What venue was essendon the away team?
CREATE TABLE table_name_20 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_20 WHERE away_team = "essendon"
What is the male incarceration rate of maule?
CREATE TABLE table_25042332_31 (incarceration_rate_male INTEGER, region VARCHAR)
SELECT MAX(incarceration_rate_male) FROM table_25042332_31 WHERE region = "Maule"
Show names for all employees with salary more than the average.
CREATE TABLE Employee (name VARCHAR, salary INTEGER)
SELECT name FROM Employee WHERE salary > (SELECT AVG(salary) FROM Employee)
With a Time of +1:37.055, which has the lowest Grid?
CREATE TABLE table_name_84 (grid INTEGER, time VARCHAR)
SELECT MIN(grid) FROM table_name_84 WHERE time = "+1:37.055"
Which School name has students smaller than 389, and grades of 10-12?
CREATE TABLE table_name_64 (school_name VARCHAR, students VARCHAR, grades VARCHAR)
SELECT school_name FROM table_name_64 WHERE students < 389 AND grades = "10-12"
Which Home team plays at the arden street oval Venue?
CREATE TABLE table_name_91 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_91 WHERE venue = "arden street oval"
what is the nationality with the metric height of 2.36m named sun ming-ming?
CREATE TABLE table_name_21 (nationality VARCHAR, metric VARCHAR, name VARCHAR)
SELECT nationality FROM table_name_21 WHERE metric = "2.36m" AND name = "sun ming-ming"
Who played Blackpool when Blackpool was at home?
CREATE TABLE table_name_2 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_2 WHERE home_team = "blackpool"
What is the Quarterback rating of the player who got a comp percentage of 62.0?
CREATE TABLE table_18686317_1 (qb_rating VARCHAR, comp__percentage VARCHAR)
SELECT qb_rating FROM table_18686317_1 WHERE comp__percentage = "62.0"
Tell me the horse with faults of 0 when the total is 4.1
CREATE TABLE table_name_15 (horse VARCHAR, faults VARCHAR, total VARCHAR)
SELECT horse FROM table_name_15 WHERE faults = "0" AND total = 4.1
Can you tell me the total number of Rank that has the Points larger than 99, and the Club of barcelona?
CREATE TABLE table_name_92 (rank VARCHAR, points VARCHAR, club VARCHAR)
SELECT COUNT(rank) FROM table_name_92 WHERE points > 99 AND club = "barcelona"
How many dismissals did the player Peter McGlashan have?
CREATE TABLE table_13337302_16 (dismissals VARCHAR, player VARCHAR)
SELECT dismissals FROM table_13337302_16 WHERE player = "Peter McGlashan"
what is the bore where the vehicle code is t214?
CREATE TABLE table_23722304_2 (bore__mm_ VARCHAR, vehicle_code VARCHAR)
SELECT bore__mm_ FROM table_23722304_2 WHERE vehicle_code = "T214"
Who are the candidates in Florida 13 district?
CREATE TABLE table_19753079_12 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_19753079_12 WHERE district = "Florida 13"
What is Members of Parliament, when Trailing Party is "Bharatiya Lok Dal"?
CREATE TABLE table_name_97 (members_of_parliament VARCHAR, trailing_party VARCHAR)
SELECT members_of_parliament FROM table_name_97 WHERE trailing_party = "bharatiya lok dal"
Who coached for al farwaniyah?
CREATE TABLE table_name_67 (coach VARCHAR, city VARCHAR)
SELECT coach FROM table_name_67 WHERE city = "al farwaniyah"
What is the average total in the county of tipperary with a rank less than 1?
CREATE TABLE table_name_47 (average VARCHAR, county VARCHAR, rank VARCHAR)
SELECT COUNT(average) FROM table_name_47 WHERE county = "tipperary" AND rank < 1
How many sets of marks does Tonioli get in week 3?
CREATE TABLE table_18595004_7 (tonioli VARCHAR, week__number VARCHAR)
SELECT COUNT(tonioli) FROM table_18595004_7 WHERE week__number = 3
What was the result of the election in which Walter E. Rogers was the incumbent?
CREATE TABLE table_1341897_45 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1341897_45 WHERE incumbent = "Walter E. Rogers"
Which Year has a Borough of harrogate, and a Rank smaller than 6, and a Definition of civil parish?
CREATE TABLE table_name_59 (year VARCHAR, definition VARCHAR, borough VARCHAR, rank VARCHAR)
SELECT year FROM table_name_59 WHERE borough = "harrogate" AND rank < 6 AND definition = "civil parish"
what was Casey Martin's minimum yearly earnings?
CREATE TABLE table_1697190_2 (earnings___ INTEGER)
SELECT MIN(earnings___) AS $__ FROM table_1697190_2
How many networks are there that have a channel number 7?
CREATE TABLE table_160728_4 (network VARCHAR, channel VARCHAR)
SELECT COUNT(network) FROM table_160728_4 WHERE channel = 7
What is Replaced By, when Date of Vacancy is "23 February 2009"?
CREATE TABLE table_name_68 (replaced_by VARCHAR, date_of_vacancy VARCHAR)
SELECT replaced_by FROM table_name_68 WHERE date_of_vacancy = "23 february 2009"
What's the 2013 result for the grand slam tournaments?
CREATE TABLE table_name_76 (tournament VARCHAR)
SELECT 2013 FROM table_name_76 WHERE tournament = "grand slam tournaments"
Name the venue for margin less than 66 and opponent of north queensland cowboys
CREATE TABLE table_name_60 (venue VARCHAR, margin VARCHAR, opponent VARCHAR)
SELECT venue FROM table_name_60 WHERE margin < 66 AND opponent = "north queensland cowboys"
What is the round for marcus howard?
CREATE TABLE table_name_32 (round INTEGER, name VARCHAR)
SELECT SUM(round) FROM table_name_32 WHERE name = "marcus howard"
What is the production code for the episode that had 23.9 million u.s. viewers?
CREATE TABLE table_27713890_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)
SELECT production_code FROM table_27713890_1 WHERE us_viewers__millions_ = "23.9"
What is the permitted length of stay in the Jersey territory?
CREATE TABLE table_25965003_3 (length_of_stay_permitted VARCHAR, countries_and_territories VARCHAR)
SELECT length_of_stay_permitted FROM table_25965003_3 WHERE countries_and_territories = "Jersey"
What was the stadium that had the regular season game?
CREATE TABLE table_21436373_4 (stadium VARCHAR, type_of_record VARCHAR)
SELECT stadium FROM table_21436373_4 WHERE type_of_record = "Regular season game"
What is the %2006 that has fewer seats than 23 in Seats 2001, more seats than 4 in 2006 Seats, and a % in 2001 of 25.4?
CREATE TABLE table_name_12 (_percentage_2006 VARCHAR, _percentage_2001 VARCHAR, seats_2001 VARCHAR, seats_2006 VARCHAR)
SELECT _percentage_2006 FROM table_name_12 WHERE seats_2001 < 23 AND seats_2006 > 4 AND _percentage_2001 = 25.4
What was the record after the April 15 game?
CREATE TABLE table_name_75 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_75 WHERE date = "april 15"
what player is playing on round 1
CREATE TABLE table_name_53 (player VARCHAR, round VARCHAR)
SELECT player FROM table_name_53 WHERE round = "1"
list all cartoon titles and their directors ordered by their air date
CREATE TABLE Cartoon (title VARCHAR, Directed_by VARCHAR, Original_air_date VARCHAR)
SELECT title, Directed_by FROM Cartoon ORDER BY Original_air_date