answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT MIN(no_in_series) FROM table_21313327_1 WHERE written_by = "Rob Wright & Debra J. Fisher & Erica Messer"
what is the No in series when Rob wright & Debra j. Fisher & Erica Messer were the writers?
CREATE TABLE table_21313327_1 (no_in_series INTEGER, written_by VARCHAR)
SELECT from_club FROM table_name_40 WHERE transfer_fee = "£3.87m"
Which From club had a Transfer fee of £3.87m?
CREATE TABLE table_name_40 (from_club VARCHAR, transfer_fee VARCHAR)
SELECT incumbent FROM table_1341568_6 WHERE elected = "1974"
Who are the incumbents elected in 1974?
CREATE TABLE table_1341568_6 (incumbent VARCHAR, elected VARCHAR)
SELECT professional_partner FROM table_name_29 WHERE season = 4
Who was the professional partner in season 4?
CREATE TABLE table_name_29 (professional_partner VARCHAR, season VARCHAR)
SELECT COUNT(chapter) FROM table_name_74 WHERE chinese = "釋宮"
Name the total number of chapter for chinese of 釋宮
CREATE TABLE table_name_74 (chapter VARCHAR, chinese VARCHAR)
SELECT batting_style FROM table_name_32 WHERE bowling_style = "right arm medium" AND player = "stuart williams"
What batting style corresponds to a bowling style of right arm medium for Stuart Williams?
CREATE TABLE table_name_32 (batting_style VARCHAR, bowling_style VARCHAR, player VARCHAR)
SELECT MIN(lane) FROM table_name_47 WHERE semi = 49.19
Which lane did the athlete swim in who had a semi-final time of 49.19?
CREATE TABLE table_name_47 (lane INTEGER, semi VARCHAR)
SELECT label FROM table_name_52 WHERE code = "cocy-78365"
What Label has a Code of cocy-78365?
CREATE TABLE table_name_52 (label VARCHAR, code VARCHAR)
SELECT bulgarian_name FROM table_name_56 WHERE english_name = "september"
What's the Bulgarian word for september?
CREATE TABLE table_name_56 (bulgarian_name VARCHAR, english_name VARCHAR)
SELECT event FROM table_name_29 WHERE quarterfinal = "did not advance" AND athlete = "alireza rouzbahani"
Alireza Rouzbahani did not advance to the quarterfinal in what event?
CREATE TABLE table_name_29 (event VARCHAR, quarterfinal VARCHAR, athlete VARCHAR)
SELECT manufacturer FROM table_name_34 WHERE wheel_arrangement = "4-6-6-4" AND class = "z-7"
What manufacturer has a wheel arrangement of 4-6-6-4, and a Class of z-7?
CREATE TABLE table_name_34 (manufacturer VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)
SELECT portuguese FROM table_26614365_5 WHERE english = "Welcome"
What is the Portuguese word for the English word 'welcome'?
CREATE TABLE table_26614365_5 (portuguese VARCHAR, english VARCHAR)
SELECT rank FROM table_name_42 WHERE director_s_ = "satoko okita"
What Rank is the Director(s) of satoko okita?
CREATE TABLE table_name_42 (rank VARCHAR, director_s_ VARCHAR)
SELECT COUNT(date) FROM table_16729063_2 WHERE game_site = "Cleveland Stadium"
How many games were played at Cleveland Stadium?
CREATE TABLE table_16729063_2 (date VARCHAR, game_site VARCHAR)
SELECT money___$__ FROM table_name_4 WHERE player = "morgan pressel"
What is Money ( $ ), when Player is "Morgan Pressel"?
CREATE TABLE table_name_4 (money___$__ VARCHAR, player VARCHAR)
SELECT event FROM table_name_71 WHERE record = "1-0"
The event that has a record of 1-0 is none of the above.
CREATE TABLE table_name_71 (event VARCHAR, record VARCHAR)
SELECT area__km²_ FROM table_269888_1 WHERE population__2010_ = 53542
Name the area for population of 53542
CREATE TABLE table_269888_1 (area__km²_ VARCHAR, population__2010_ VARCHAR)
SELECT team FROM table_name_97 WHERE game = 41
What is the Team in Game 41?
CREATE TABLE table_name_97 (team VARCHAR, game VARCHAR)
SELECT points_against FROM table_name_58 WHERE club = "ystradgynlais rfc"
What is the Points against for the ystradgynlais rfc club?
CREATE TABLE table_name_58 (points_against VARCHAR, club VARCHAR)
SELECT MAX(season) FROM table_1769428_2 WHERE winning_driver = "Rusty Wallace"
In what season did Rusty Wallace win?
CREATE TABLE table_1769428_2 (season INTEGER, winning_driver VARCHAR)
SELECT SUM(platform) FROM table_name_98 WHERE frequency__per_hour_ = 4 AND destination = "west croydon"
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 threat_level FROM table_name_72 WHERE overview = "rabbits in australia"
What is the Threat Levels with Rabbits in Australia?
CREATE TABLE table_name_72 (threat_level VARCHAR, overview VARCHAR)
SELECT innings FROM table_21100348_10 WHERE average = "41.43"
How man innings were there during the period with a career average of 41.43?
CREATE TABLE table_21100348_10 (innings VARCHAR, average VARCHAR)
SELECT score FROM table_name_7 WHERE loss = "wegman (2-6)"
What was the score of the game that had a loss of Wegman (2-6)?
CREATE TABLE table_name_7 (score VARCHAR, loss VARCHAR)
SELECT attendance FROM table_name_14 WHERE record = "49-61"
What was the attendance at the game when the record was 49-61?
CREATE TABLE table_name_14 (attendance VARCHAR, record VARCHAR)
SELECT mens_open FROM table_16724844_1 WHERE mens_u20 = "Qld Country Rustlers def Southern Suns"
What was the mens open when the mens u20 was Qld Country Rustlers def Southern Suns?
CREATE TABLE table_16724844_1 (mens_open VARCHAR, mens_u20 VARCHAR)
SELECT spike FROM table_name_27 WHERE name = "mia jerkov category:articles with hcards"
What kind of Spike has a Name of mia jerkov category:articles with hcards?
CREATE TABLE table_name_27 (spike VARCHAR, name VARCHAR)
SELECT location FROM table_name_3 WHERE authors = "wang li duan cheng"
Where is wang li duan cheng located?
CREATE TABLE table_name_3 (location VARCHAR, authors VARCHAR)
SELECT award FROM table_name_55 WHERE category = "best music video"
Which award is in the category of best music video?
CREATE TABLE table_name_55 (award VARCHAR, category VARCHAR)
SELECT player FROM table_name_7 WHERE position = "forward"
Which player was the forward?
CREATE TABLE table_name_7 (player VARCHAR, position VARCHAR)
SELECT v_core FROM table_name_29 WHERE stepping = "g1" AND frequency = "1900mhz"
What is the v-core for a stepping of G1 and frequency of 1900MHz?
CREATE TABLE table_name_29 (v_core VARCHAR, stepping VARCHAR, frequency VARCHAR)
SELECT individual_winners FROM table_1458666_4 WHERE nation = "Australia"
what's the individual winners with nation being australia
CREATE TABLE table_1458666_4 (individual_winners VARCHAR, nation VARCHAR)
SELECT background FROM table_12286195_1 WHERE result = "13 The celebrity Apprentice (2008-03-27)"
What is the background of the celebrity who had the result 13 the celebrity apprentice (2008-03-27)?
CREATE TABLE table_12286195_1 (background VARCHAR, result VARCHAR)
SELECT home_captain FROM table_name_34 WHERE venue = "sydney cricket ground"
Who was the home captain at Sydney Cricket Ground?
CREATE TABLE table_name_34 (home_captain VARCHAR, venue VARCHAR)
SELECT date FROM table_name_35 WHERE home_team = "sutton united"
What is the Date of the Sutton United Home game?
CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR)
SELECT MAX(mohsen_rezaee) FROM table_23390604_1 WHERE mir_hossein_mousavi = 837858
What is the highest score for candidate Mohsen Rezaee when candidate mir-hossein mousavi scored 837858 votes?
CREATE TABLE table_23390604_1 (mohsen_rezaee INTEGER, mir_hossein_mousavi VARCHAR)
SELECT ihsaa_class FROM table_name_69 WHERE school = "muncie burris"
What is the IHSAA class for Muncie Burris?
CREATE TABLE table_name_69 (ihsaa_class VARCHAR, school VARCHAR)
SELECT doctor FROM table_name_98 WHERE format = "cd" AND title = "the relics of time"
What is Doctor, when Format is CD, and when Title is The Relics Of Time?
CREATE TABLE table_name_98 (doctor VARCHAR, format VARCHAR, title VARCHAR)
SELECT venue FROM table_name_58 WHERE result = "2–2" AND attendance = "5,760"
Which Venue has a Result of 2–2 and Attendances of 5,760?
CREATE TABLE table_name_58 (venue VARCHAR, result VARCHAR, attendance VARCHAR)
SELECT incumbent FROM table_1341663_44 WHERE district = "Texas 19"
What was the incumbent for texas 19?
CREATE TABLE table_1341663_44 (incumbent VARCHAR, district VARCHAR)
SELECT SUM(crowd) FROM table_name_98 WHERE home_team = "collingwood"
What is the total Crowd with a Home team of collingwood?
CREATE TABLE table_name_98 (crowd INTEGER, home_team VARCHAR)
SELECT COUNT(total) FROM table_name_62 WHERE gold > 0 AND bronze < 0
How many totals have a Gold larger than 0, and a Bronze smaller than 0?
CREATE TABLE table_name_62 (total VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT date FROM table_name_97 WHERE plant_patent_number = "us plant patent 12098"
What date had the patent number US plant patent 12098?
CREATE TABLE table_name_97 (date VARCHAR, plant_patent_number VARCHAR)
SELECT school FROM table_11677691_9 WHERE player = "Thomas Tyner"
Which school has the player Thomas Tyner?
CREATE TABLE table_11677691_9 (school VARCHAR, player VARCHAR)
SELECT res FROM table_name_60 WHERE event = "m-1 selection europe"
What was the result for the M-1 Selection Europe event?
CREATE TABLE table_name_60 (res VARCHAR, event VARCHAR)
SELECT AVG(capacity) FROM table_name_97 WHERE stadium = "rod laver arena"
What is the average capacity that has rod laver arena as the stadium?
CREATE TABLE table_name_97 (capacity INTEGER, stadium VARCHAR)
SELECT engine FROM table_name_63 WHERE entrant = "team lotus" AND year > 1965
What engine did the Team Lotus have after 1965?
CREATE TABLE table_name_63 (engine VARCHAR, entrant VARCHAR, year VARCHAR)
SELECT high_school FROM table_name_89 WHERE utah_mr_basketball = "tyler haws" AND year = 2009
Where did Tyler Haws, 2009 Utah Mr. Basketball, go to high school?
CREATE TABLE table_name_89 (high_school VARCHAR, utah_mr_basketball VARCHAR, year VARCHAR)
SELECT original_airdate FROM table_14937957_1 WHERE martial_art_style = "Brazilian Jiu-Jitsu"
When did the episode featuring a master using Brazilian jiu-jitsu air?
CREATE TABLE table_14937957_1 (original_airdate VARCHAR, martial_art_style VARCHAR)
SELECT opponent_in_the_final FROM table_name_90 WHERE tournament = "lahore"
Who is the opponent in the Tournament of Lahore final?
CREATE TABLE table_name_90 (opponent_in_the_final VARCHAR, tournament VARCHAR)
SELECT licence_number FROM table_name_14 WHERE maximum_diameter = "400 mm"
What is the license number where the maximum diameter is 400 mm?
CREATE TABLE table_name_14 (licence_number VARCHAR, maximum_diameter VARCHAR)
SELECT leader FROM table_name_18 WHERE seats < 28 AND percentage = "54.03" AND votes > 120 OFFSET 801
Who is the leader of the party which has Seats less than 28, a percentage of votes 54.03, and more votes than 120,801?
CREATE TABLE table_name_18 (leader VARCHAR, votes VARCHAR, seats VARCHAR, percentage VARCHAR)
SELECT venue FROM table_name_61 WHERE home_team = "essendon"
What is the Essendon Home Team's venue?
CREATE TABLE table_name_61 (venue VARCHAR, home_team VARCHAR)
SELECT opposing_teams FROM table_name_81 WHERE date = "11/10/1991"
What is Opposing Teams, when Date is "11/10/1991"?
CREATE TABLE table_name_81 (opposing_teams VARCHAR, date VARCHAR)
SELECT surface FROM table_name_46 WHERE tournament = "curitiba"
Which surface was played during Curitiba tournament?
CREATE TABLE table_name_46 (surface VARCHAR, tournament VARCHAR)
SELECT bts_retail_price__regulated_ FROM table_10408617_5 WHERE tariff_code = "ff0 PRS"
What is the regulated retail price for the tariff code ff0 prs?
CREATE TABLE table_10408617_5 (bts_retail_price__regulated_ VARCHAR, tariff_code VARCHAR)
SELECT COUNT(production_code) FROM table_27116696_1 WHERE written_by = "Matthew Lau"
What is the total number of production code listings of episodes written by Matthew Lau?
CREATE TABLE table_27116696_1 (production_code VARCHAR, written_by VARCHAR)
SELECT seat_percentage FROM table_name_41 WHERE vote_percentage = "100.0%"
What seat has a vote percentage of 100.0%
CREATE TABLE table_name_41 (seat_percentage VARCHAR, vote_percentage VARCHAR)
SELECT road_team FROM table_name_66 WHERE game = "game 4"
Name Road Team of Game of game 4?
CREATE TABLE table_name_66 (road_team VARCHAR, game VARCHAR)
SELECT captaincy FROM table_name_89 WHERE appearances < 212 AND goals = 12 AND position_[a_] = "defender"
What is the captaincy for Defender that has less than 212 appearances and 12 goals?
CREATE TABLE table_name_89 (captaincy VARCHAR, appearances VARCHAR, goals VARCHAR, position_ VARCHAR, a_ VARCHAR)
SELECT date FROM table_name_84 WHERE triple < 26 AND game = 25
What is was Date that where Triple was smaller than 26, and Game was 25?
CREATE TABLE table_name_84 (date VARCHAR, triple VARCHAR, game VARCHAR)
SELECT reason FROM table_28898948_3 WHERE winner = "Arthur Collins"
When arthur collins is the winner what is the reason?
CREATE TABLE table_28898948_3 (reason VARCHAR, winner VARCHAR)
SELECT species FROM table_16083989_1 WHERE voges_proskauer = "Negative" AND indole = "Negative"
Which species show a negative result with both voges-proskauer and indole?
CREATE TABLE table_16083989_1 (species VARCHAR, voges_proskauer VARCHAR, indole VARCHAR)
SELECT AVG(gold) FROM table_name_95 WHERE total = 2 AND silver < 1 AND rank > 5
What is the average Gold, when Total is 2, when Silver is less than 1, and when Rank is greater than 5?
CREATE TABLE table_name_95 (gold INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR)
SELECT date_of_appointment FROM table_name_33 WHERE team = "ac horsens"
WHAT IS THE APPOINTMENT DATE FOR AC HORSENS?
CREATE TABLE table_name_33 (date_of_appointment VARCHAR, team VARCHAR)
SELECT location_attendance FROM table_name_46 WHERE date = "february 27"
Which Location Attendance has a Date of february 27?
CREATE TABLE table_name_46 (location_attendance VARCHAR, date VARCHAR)
SELECT SUM(attendance) FROM table_name_19 WHERE result = "7-23" AND year < 1960
What was the total attendance for a result of 7-23 before 1960?
CREATE TABLE table_name_19 (attendance INTEGER, result VARCHAR, year VARCHAR)
SELECT COUNT(*), T1.product_name FROM product AS T1 JOIN problems AS T2 ON T1.product_id = T2.product_id GROUP BY T1.product_name ORDER BY COUNT(*) DESC LIMIT 1
How many problems does the product with the most problems have? List the number of the problems and product name.
CREATE TABLE problems (product_id VARCHAR); CREATE TABLE product (product_name VARCHAR, product_id VARCHAR)
SELECT total_copies_sold FROM table_21458142_1 WHERE release_date = "October 23, 2008"
How many copies were sold of the game released on october 23, 2008?
CREATE TABLE table_21458142_1 (total_copies_sold VARCHAR, release_date VARCHAR)
SELECT runner_up FROM table_name_66 WHERE champion = "björn borg" AND year > 1978
Who was the runner-up, when the champion was Björn Borg after 1978?
CREATE TABLE table_name_66 (runner_up VARCHAR, champion VARCHAR, year VARCHAR)
SELECT score FROM table_name_69 WHERE place = "t7"
What is the score of T7 place?
CREATE TABLE table_name_69 (score VARCHAR, place VARCHAR)
SELECT propulsion FROM table_name_68 WHERE order_year = "2003-2004" AND manufacturer = "neoplan usa"
What is the Propulsion for the model offered in 2003-2004 by neoplan usa?
CREATE TABLE table_name_68 (propulsion VARCHAR, order_year VARCHAR, manufacturer VARCHAR)
SELECT shirt_sponsor FROM table_27383390_2 WHERE head_coach = "Samad Marfavi"
What sponsor has the head coach Samad Marfavi?
CREATE TABLE table_27383390_2 (shirt_sponsor VARCHAR, head_coach VARCHAR)
SELECT MAX(points) FROM table_name_41 WHERE chassis = "gordini t16" AND year < 1954
What are the highest points with a Chassis of gordini t16, and a Year smaller than 1954?
CREATE TABLE table_name_41 (points INTEGER, chassis VARCHAR, year VARCHAR)
SELECT venue FROM table_name_98 WHERE away_team = "south dragons"
Can you tell me the Venue that has the Away team of south dragons?
CREATE TABLE table_name_98 (venue VARCHAR, away_team VARCHAR)
SELECT player FROM table_name_41 WHERE to_club = "blackpool"
What player was moved to Blackpool?
CREATE TABLE table_name_41 (player VARCHAR, to_club VARCHAR)
SELECT final_score FROM table_name_78 WHERE visiting_team = "cincinnati bengals"
What was the final score in the game against the Cincinnati Bengals?
CREATE TABLE table_name_78 (final_score VARCHAR, visiting_team VARCHAR)
SELECT team FROM table_name_16 WHERE game = 48
Name the team for 48 game
CREATE TABLE table_name_16 (team VARCHAR, game VARCHAR)
SELECT MIN(ovrs) FROM table_name_68 WHERE wkts > 13 AND econ < 3.21
What is the lowest Ovrs, when Wkts is greater than 13, and when Econ is less than 3.21?
CREATE TABLE table_name_68 (ovrs INTEGER, wkts VARCHAR, econ VARCHAR)
SELECT COUNT(finish) FROM table_24122653_2 WHERE eliminated = "Adriana"
What is the number of finishes associated with an elimination of Adriana?
CREATE TABLE table_24122653_2 (finish VARCHAR, eliminated VARCHAR)
SELECT prize_money FROM table_name_60 WHERE round = "second round qualifying"
What is the prize money for the second round qualifying that is listed?
CREATE TABLE table_name_60 (prize_money VARCHAR, round VARCHAR)
SELECT time FROM table_name_6 WHERE opponent = "shintaro ishiwatari"
What is shintaro ishiwatari's time?
CREATE TABLE table_name_6 (time VARCHAR, opponent VARCHAR)
SELECT meas_num FROM table_256286_61 WHERE description = "Obscenity and sexual conduct bill"
What is the measure number for the bill described as obscenity and sexual conduct bill?
CREATE TABLE table_256286_61 (meas_num VARCHAR, description VARCHAR)
SELECT round FROM table_name_49 WHERE record = "3-4"
What round has 3-4 as the record?
CREATE TABLE table_name_49 (round VARCHAR, record VARCHAR)
SELECT country FROM table_name_53 WHERE operator = "shell" AND project_name = "bonga sw; aparo"
What country did the project, Bonga SW; Aparo with a shell operator take place?
CREATE TABLE table_name_53 (country VARCHAR, operator VARCHAR, project_name VARCHAR)
SELECT conmebol_1995 FROM table_name_86 WHERE supercopa_1995 = "sf"
which CONMEBOL 1995 has a Supercopa 1995 of sf?
CREATE TABLE table_name_86 (conmebol_1995 VARCHAR, supercopa_1995 VARCHAR)
SELECT opponent FROM table_name_68 WHERE h_a_n = "h" AND score = "101-105"
Who were the opponents when the score of the game was 101-105 and the H/A/N was H?
CREATE TABLE table_name_68 (opponent VARCHAR, h_a_n VARCHAR, score VARCHAR)
SELECT date FROM table_name_12 WHERE goldberg = "26%"
What is the date of the poll with Goldberg at 26%?
CREATE TABLE table_name_12 (date VARCHAR, goldberg VARCHAR)
SELECT COUNT(grand_prix) FROM table_1137702_3 WHERE winning_constructor = "Benetton - Ford" AND pole_position = "Michael Schumacher"
How many Grand Prix were the winning constructor Benetton - Ford and the pole position was Michael Schumacher?
CREATE TABLE table_1137702_3 (grand_prix VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR)
SELECT model FROM table_name_61 WHERE comments = "curved daggerboards. design: morelli und melvin"
Which Model has Comments of curved daggerboards. design: morelli und melvin?
CREATE TABLE table_name_61 (model VARCHAR, comments VARCHAR)
SELECT MAX(played) FROM table_name_27 WHERE against > 14 AND lost = 3
What was the highest number of games played when they had over 14 against and 3 losses?
CREATE TABLE table_name_27 (played INTEGER, against VARCHAR, lost VARCHAR)
SELECT points FROM table_14342480_7 WHERE player = "Rolla Bigelow"
How many points were scored by Rolla Bigelow?
CREATE TABLE table_14342480_7 (points VARCHAR, player VARCHAR)
SELECT game_site FROM table_name_37 WHERE record = "2-2"
Where was the game site for the game that had a packers record of 2-2?
CREATE TABLE table_name_37 (game_site VARCHAR, record VARCHAR)
SELECT MAX(caps) FROM table_name_65 WHERE name = "rivelino"
Name of rivelino had how many highest caps?
CREATE TABLE table_name_65 (caps INTEGER, name VARCHAR)
SELECT * FROM body_builder
Show all information about each body builder.
CREATE TABLE body_builder (Id VARCHAR)
SELECT years_in_orlando FROM table_15621965_16 WHERE school_club_team = "Clemson"
What years did the player who's school is Clemson spend in Orlando?
CREATE TABLE table_15621965_16 (years_in_orlando VARCHAR, school_club_team VARCHAR)
SELECT number_of_broadband_subscribers FROM table_name_24 WHERE population = "~3,644,070"
How many broadband subscribers are there where the population is ~3,644,070?
CREATE TABLE table_name_24 (number_of_broadband_subscribers VARCHAR, population VARCHAR)
SELECT future_stem FROM table_name_66 WHERE imperfect_stem = "hartzen"
What is the future stem for the word that has an imperfect stem of hartzen?
CREATE TABLE table_name_66 (future_stem VARCHAR, imperfect_stem VARCHAR)
SELECT game_site FROM table_14941284_1 WHERE date = "October 18, 1981"
When it is October 18, 1981 where is the game site?
CREATE TABLE table_14941284_1 (game_site VARCHAR, date VARCHAR)
SELECT date FROM table_name_55 WHERE name = "circe shell"
What is the date of attack of the Circe Shell Ship?
CREATE TABLE table_name_55 (date VARCHAR, name VARCHAR)