question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the total number of goals scored against clubs that have played more than 42 times?
CREATE TABLE table_name_68 (goals_against VARCHAR, played INTEGER)
SELECT COUNT(goals_against) FROM table_name_68 WHERE played > 42
What is Record, when Date is November 23?
CREATE TABLE table_name_16 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_16 WHERE date = "november 23"
What is the verbal noun connected to the participle e-duki?
CREATE TABLE table_12784134_1 (verbal_noun VARCHAR, participle VARCHAR)
SELECT verbal_noun FROM table_12784134_1 WHERE participle = "e-duki"
Which male is paired with dido in 2004?
CREATE TABLE table_name_79 (male VARCHAR, year VARCHAR, female VARCHAR)
SELECT male FROM table_name_79 WHERE year < 2004 AND female = "dido"
Which qual also has a finish total of 9?
CREATE TABLE table_name_75 (qual VARCHAR, finish VARCHAR)
SELECT qual FROM table_name_75 WHERE finish = "9"
What is Points For, when Points is "63"?
CREATE TABLE table_name_8 (points_for VARCHAR, points VARCHAR)
SELECT points_for FROM table_name_8 WHERE points = "63"
What is the nationality of the draft pick player who plays centre position and is going to Calgary Flames?
CREATE TABLE table_2897457_2 (nationality VARCHAR, position VARCHAR, nhl_team VARCHAR)
SELECT nationality FROM table_2897457_2 WHERE position = "Centre" AND nhl_team = "Calgary Flames"
What is the att-cmp-int with an effic smaller than 117.88 and a gp-gs of 10-0?
CREATE TABLE table_name_73 (att_cmp_int VARCHAR, effic VARCHAR, gp_gs VARCHAR)
SELECT att_cmp_int FROM table_name_73 WHERE effic < 117.88 AND gp_gs = "10-0"
What is the report for races where Will Power had both pole position and fastest lap?
CREATE TABLE table_16099880_5 (report VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
SELECT report FROM table_16099880_5 WHERE pole_position = "Will Power" AND fastest_lap = "Will Power"
How many Airlines have a total distance of 705 (km)?
CREATE TABLE table_name_76 (_number_of_airlines VARCHAR, distance__km_ VARCHAR)
SELECT COUNT(_number_of_airlines) FROM table_name_76 WHERE distance__km_ = 705
What are all values for U.S. viewers(millions) with Kevin Curran as a writer?
CREATE TABLE table_20942925_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR)
SELECT us_viewers__millions_ FROM table_20942925_1 WHERE written_by = "Kevin Curran"
Who won the mens doubles the year Alison Humby won the womens singles?
CREATE TABLE table_12163387_1 (mens_doubles VARCHAR, womens_singles VARCHAR)
SELECT mens_doubles FROM table_12163387_1 WHERE womens_singles = "Alison Humby"
What is the silver for Germany and less than 2?
CREATE TABLE table_name_64 (silver INTEGER, nation VARCHAR, rank VARCHAR)
SELECT AVG(silver) FROM table_name_64 WHERE nation = "germany" AND rank < 2
For how long did Jordan Coleman play?
CREATE TABLE table_22993636_5 (minutes VARCHAR, player VARCHAR)
SELECT minutes FROM table_22993636_5 WHERE player = "Jordan Coleman"
What position did he finish in 1987?
CREATE TABLE table_2387790_2 (position VARCHAR, year VARCHAR)
SELECT position FROM table_2387790_2 WHERE year = 1987
What is the status for district georgia's 10th?
CREATE TABLE table_27021001_1 (status VARCHAR, district VARCHAR)
SELECT status FROM table_27021001_1 WHERE district = "Georgia's 10th"
What happened on 2009-09-05?
CREATE TABLE table_name_93 (circumstances VARCHAR, date VARCHAR)
SELECT circumstances FROM table_name_93 WHERE date = "2009-09-05"
What time did the game at memorial stadium take place?
CREATE TABLE table_name_49 (time___et__ VARCHAR, location VARCHAR)
SELECT time___et__ FROM table_name_49 WHERE location = "memorial stadium"
How many countries (endonym) has the capital (endonym) of Jakarta?
CREATE TABLE table_1008653_9 (country___endonym__ VARCHAR, capital___endonym__ VARCHAR)
SELECT COUNT(country___endonym__) FROM table_1008653_9 WHERE capital___endonym__ = "Jakarta"
What is the highest First Elected, when Party is "Republican", and when District is "Louisiana 7"?
CREATE TABLE table_name_48 (first_elected INTEGER, party VARCHAR, district VARCHAR)
SELECT MAX(first_elected) FROM table_name_48 WHERE party = "republican" AND district = "louisiana 7"
What were the total number of 2012 births for the January–December 2012 Tver Oblast region?
CREATE TABLE table_25703_2 (birth_2012 INTEGER, january_december_2012 VARCHAR)
SELECT MIN(birth_2012) FROM table_25703_2 WHERE january_december_2012 = "Tver Oblast"
Who was the under-15 when Moises Galvez was the under-17?
CREATE TABLE table_26368963_1 (under_15 VARCHAR, under_17 VARCHAR)
SELECT under_15 FROM table_26368963_1 WHERE under_17 = "Moises Galvez"
What is the finish of the year with start 5?
CREATE TABLE table_name_42 (finish VARCHAR, start VARCHAR)
SELECT finish FROM table_name_42 WHERE start = "5"
How many season 3 appearances by the character played by Stefan Van Ray?
CREATE TABLE table_26240046_1 (season_3 INTEGER, played_by VARCHAR)
SELECT MIN(season_3) FROM table_26240046_1 WHERE played_by = "Stefan van Ray"
What are the colors of the Hudson school?
CREATE TABLE table_28051859_3 (colors VARCHAR, school VARCHAR)
SELECT colors FROM table_28051859_3 WHERE school = "Hudson"
How many numbers were listed under area with a population of 240075 as of 2009?
CREATE TABLE table_16278894_1 (area__km_2__ VARCHAR, population_census_2009 VARCHAR)
SELECT COUNT(area__km_2__) FROM table_16278894_1 WHERE population_census_2009 = 240075
What is the lowest number of 3 pointers that occured in games with 52 steals?
CREATE TABLE table_22993636_5 (three_pointers INTEGER, steals VARCHAR)
SELECT MIN(three_pointers) FROM table_22993636_5 WHERE steals = 52
what is the number of enrollment of the central institution?
CREATE TABLE table_20887670_1 (enrollment VARCHAR, institution VARCHAR)
SELECT enrollment FROM table_20887670_1 WHERE institution = "Central"
Who played Mixed Doubles in 1991?
CREATE TABLE table_2486023_1 (mixed_doubles VARCHAR, year VARCHAR)
SELECT mixed_doubles FROM table_2486023_1 WHERE year = 1991
On the series in which Emma Willis Jamie East presented on Friday, who was the presenter on Sunday?
CREATE TABLE table_name_79 (sunday VARCHAR, friday VARCHAR)
SELECT sunday FROM table_name_79 WHERE friday = "emma willis jamie east"
When was the earliest founded university?
CREATE TABLE table_261941_1 (founded INTEGER)
SELECT MIN(founded) FROM table_261941_1
Who is the nominee for best director?
CREATE TABLE table_name_86 (nominee VARCHAR, category VARCHAR)
SELECT nominee FROM table_name_86 WHERE category = "best director"
What is the highest year premiered when Benjamin Castaldi is main presenter?
CREATE TABLE table_24224647_2 (year_premiered INTEGER, main_presenter VARCHAR)
SELECT MAX(year_premiered) FROM table_24224647_2 WHERE main_presenter = "Benjamin Castaldi"
What is the l2 cache for the model with a release price of $669?
CREATE TABLE table_16400024_1 (l2_cache VARCHAR, release_price___usd__ VARCHAR)
SELECT l2_cache FROM table_16400024_1 WHERE release_price___usd__ = "$669"
List document IDs, document names, and document descriptions for all documents.
CREATE TABLE Documents (document_id VARCHAR, document_name VARCHAR, document_description VARCHAR)
SELECT document_id, document_name, document_description FROM Documents
What is the location of the team nicknamed Broncos, which was founded after 1889?
CREATE TABLE table_name_59 (location VARCHAR, founded VARCHAR, team_nickname VARCHAR)
SELECT location FROM table_name_59 WHERE founded > 1889 AND team_nickname = "broncos"
Which rank's country is the US when the accolade is 40 best albums of the year?
CREATE TABLE table_name_96 (rank VARCHAR, country VARCHAR, accolade VARCHAR)
SELECT rank FROM table_name_96 WHERE country = "us" AND accolade = "40 best albums of the year"
Which program has 3.5 years?
CREATE TABLE table_name_35 (program VARCHAR, duration__years_ VARCHAR)
SELECT program FROM table_name_35 WHERE duration__years_ = 3.5
What are the heights of perpetrators in descending order of the number of people they injured?
CREATE TABLE perpetrator (People_ID VARCHAR, Injured VARCHAR); CREATE TABLE people (Height VARCHAR, People_ID VARCHAR)
SELECT T1.Height FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Injured DESC
How many points total are there later than 2003?
CREATE TABLE table_name_99 (points INTEGER, year INTEGER)
SELECT SUM(points) FROM table_name_99 WHERE year > 2003
Which party does the incumbent first elected in 1994 belong to?
CREATE TABLE table_1341423_22 (party VARCHAR, first_elected VARCHAR)
SELECT party FROM table_1341423_22 WHERE first_elected = 1994
What are the product ids for the problems reported by Christop Berge with closure authorised by Ashley Medhurst?
CREATE TABLE problems (reported_by_staff_id VARCHAR, closure_authorised_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR)
SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Christop" AND T2.staff_last_name = "Berge" INTERSECT SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.closure_authorised_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Ashley"...
What's the total when the bronze was more than 1, silver was 3, and gold was less than 5?
CREATE TABLE table_name_90 (total INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT SUM(total) FROM table_name_90 WHERE bronze > 1 AND silver = 3 AND gold < 5
Which Cover Model was featured on 8-03?
CREATE TABLE table_name_8 (cover_model VARCHAR, date VARCHAR)
SELECT cover_model FROM table_name_8 WHERE date = "8-03"
What was the score on 20/6/97?
CREATE TABLE table_name_83 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_83 WHERE date = "20/6/97"
What is the date of the gp città di camaiore race?
CREATE TABLE table_name_54 (date VARCHAR, race_name VARCHAR)
SELECT date FROM table_name_54 WHERE race_name = "gp città di camaiore"
What was the result of the game when the raptors played @ cleveland?
CREATE TABLE table_11960407_2 (score VARCHAR, team VARCHAR)
SELECT score FROM table_11960407_2 WHERE team = "@ Cleveland"
Name the driver for june 23 and team of penske racing
CREATE TABLE table_16493961_1 (driver VARCHAR, date VARCHAR, team VARCHAR)
SELECT driver FROM table_16493961_1 WHERE date = "June 23" AND team = "Penske Racing"
What is the to par score of the player that had a score of 67-68=135?
CREATE TABLE table_name_15 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_15 WHERE score = 67 - 68 = 135
What is American, when British is "ɪ, ə", and when Initial-Syllable Open/Semi-Open Unstressed Vowels is "æ /ɨ/"?
CREATE TABLE table_name_23 (american VARCHAR, british VARCHAR, initial_syllable_open_semi_open_unstressed_vowels VARCHAR)
SELECT american FROM table_name_23 WHERE british = "ɪ, ə" AND initial_syllable_open_semi_open_unstressed_vowels = "æ /ɨ/"
What Catalog has a Label of geffen records / universal music special markets?
CREATE TABLE table_name_5 (catalog VARCHAR, label VARCHAR)
SELECT catalog FROM table_name_5 WHERE label = "geffen records / universal music special markets"
What is the date where the type is type?
CREATE TABLE table_name_4 (date VARCHAR)
SELECT date FROM table_name_4 WHERE "type" = "type"
What's the release date of Forward March Hare?
CREATE TABLE table_name_10 (release_date VARCHAR, title VARCHAR)
SELECT release_date FROM table_name_10 WHERE title = "forward march hare"
WHAT IS THE RIDER WITH A 21 GRID?
CREATE TABLE table_name_5 (rider VARCHAR, grid VARCHAR)
SELECT rider FROM table_name_5 WHERE grid = "21"
What is the distinguished service cross when the navy cross is Coast Guard commendation medal?
CREATE TABLE table_2104176_1 (distinguished_service_cross VARCHAR, navy_cross VARCHAR)
SELECT distinguished_service_cross FROM table_2104176_1 WHERE navy_cross = "Coast Guard Commendation Medal"
On what Date is Delta 0:40?
CREATE TABLE table_name_7 (date VARCHAR, delta VARCHAR)
SELECT date FROM table_name_7 WHERE delta = "0:40"
Who won the points classification when the teams classification winner was Lampre-Farnese?
CREATE TABLE table_28092844_16 (points_classification_klasyfikacja_punktowa VARCHAR, teams_classification VARCHAR)
SELECT points_classification_klasyfikacja_punktowa FROM table_28092844_16 WHERE teams_classification = "Lampre-Farnese"
What is the name of the player when the category is 3-pt field goal percentage?
CREATE TABLE table_28628309_9 (player VARCHAR, category VARCHAR)
SELECT player FROM table_28628309_9 WHERE category = "3-pt field goal percentage"
What is No. 8, when No. 10 is Hunter?
CREATE TABLE table_name_76 (no_8 VARCHAR, no_10 VARCHAR)
SELECT no_8 FROM table_name_76 WHERE no_10 = "hunter"
What is the latest date for a game over 69 with a St. Louis Blues opponent?
CREATE TABLE table_name_49 (date INTEGER, game VARCHAR, opponent VARCHAR)
SELECT MAX(date) FROM table_name_49 WHERE game > 69 AND opponent = "st. louis blues"
Which Conference Joined has a Previous Conference of northwestern, and a Mascot of oilers?
CREATE TABLE table_name_95 (conference_joined VARCHAR, previous_conference VARCHAR, mascot VARCHAR)
SELECT conference_joined FROM table_name_95 WHERE previous_conference = "northwestern" AND mascot = "oilers"
Which game is located in Boston Garden and has a record of 49-17?
CREATE TABLE table_name_81 (game VARCHAR, location VARCHAR, record VARCHAR)
SELECT game FROM table_name_81 WHERE location = "boston garden" AND record = "49-17"
Which tier is for football at Tianhe Stadium?
CREATE TABLE table_name_62 (tier VARCHAR, sport VARCHAR, stadium VARCHAR)
SELECT tier FROM table_name_62 WHERE sport = "football" AND stadium = "tianhe stadium"
When fm 97.3 is the frequency how many formats are there?
CREATE TABLE table_18536769_1 (format VARCHAR, frequency VARCHAR)
SELECT COUNT(format) FROM table_18536769_1 WHERE frequency = "FM 97.3"
What was the first set with a third set of 25–21?
CREATE TABLE table_name_87 (set_1 VARCHAR, set_3 VARCHAR)
SELECT set_1 FROM table_name_87 WHERE set_3 = "25–21"
What is the Quantity made when class is f-7?
CREATE TABLE table_name_92 (quantity_made VARCHAR, class VARCHAR)
SELECT quantity_made FROM table_name_92 WHERE class = "f-7"
What is the highest Ning that has a bebo less than 4, an orkut less than 100, with a plaxo greater than 0?
CREATE TABLE table_name_40 (ning INTEGER, plaxo VARCHAR, bebo VARCHAR, orkut VARCHAR)
SELECT MAX(ning) FROM table_name_40 WHERE bebo < 4 AND orkut < 100 AND plaxo > 0
which institutions can be categorized as private/united church of christ?
CREATE TABLE table_261895_1 (institution VARCHAR, type VARCHAR)
SELECT institution FROM table_261895_1 WHERE type = "Private/United Church of Christ"
Who was the composer of te3rafy?
CREATE TABLE table_28005100_1 (composer VARCHAR, title VARCHAR)
SELECT composer FROM table_28005100_1 WHERE title = "Te3rafy"
What was the record when Vancouver was the visitor?
CREATE TABLE table_name_9 (record VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_9 WHERE visitor = "vancouver"
What year was the geological feature with a latitude of 76.0n and a diameter larger than 548 km was named?
CREATE TABLE table_name_78 (year_named INTEGER, latitude VARCHAR, diameter__km_ VARCHAR)
SELECT MAX(year_named) FROM table_name_78 WHERE latitude = "76.0n" AND diameter__km_ > 548
In 1997, what was the final total?
CREATE TABLE table_name_57 (total VARCHAR, year_s__won VARCHAR)
SELECT total FROM table_name_57 WHERE year_s__won = "1997"
Which date has opponents, Akgul Amanmuradova Nina Bratchikova, in the final?
CREATE TABLE table_name_65 (date VARCHAR, opponents_in_the_final VARCHAR)
SELECT date FROM table_name_65 WHERE opponents_in_the_final = "akgul amanmuradova nina bratchikova"
What is listed as the highest February with a Record of 34-14-4 and Game that's larger than 52?
CREATE TABLE table_name_51 (february INTEGER, record VARCHAR, game VARCHAR)
SELECT MAX(february) FROM table_name_51 WHERE record = "34-14-4" AND game > 52
Which Venue has an Away team of st kilda?
CREATE TABLE table_name_5 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_5 WHERE away_team = "st kilda"
What is the type of glycosylase that has an E. coli of Muty?
CREATE TABLE table_name_11 (type VARCHAR, e_coli VARCHAR)
SELECT type FROM table_name_11 WHERE e_coli = "muty"
What is the Original name of empire of passion?
CREATE TABLE table_name_17 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_name FROM table_name_17 WHERE film_title_used_in_nomination = "empire of passion"
With a record of 43-26, what was the score that game?
CREATE TABLE table_name_89 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_89 WHERE record = "43-26"
What is the sum of Total, when Silver is greater than 1, when Rank is 9, and when Bronze is greater than 0?
CREATE TABLE table_name_14 (total INTEGER, bronze VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT SUM(total) FROM table_name_14 WHERE silver > 1 AND rank = 9 AND bronze > 0
What is the Home with an Away that is toronto rebels?
CREATE TABLE table_name_94 (home VARCHAR, away VARCHAR)
SELECT home FROM table_name_94 WHERE away = "toronto rebels"
What Party is Member Alicia Hughes from?
CREATE TABLE table_name_95 (party VARCHAR, position VARCHAR, name VARCHAR)
SELECT party FROM table_name_95 WHERE position = "member" AND name = "alicia hughes"
Which nationality has rank 4?
CREATE TABLE table_name_90 (nationality VARCHAR, rank VARCHAR)
SELECT nationality FROM table_name_90 WHERE rank = 4
Which Females Rank is the highest one that has Females (%) larger than 53, and an HIV awareness (males%) smaller than 89, and a State of odisha?
CREATE TABLE table_name_2 (females_rank INTEGER, state VARCHAR, females___percentage_ VARCHAR, hiv_awareness__males_percentage_ VARCHAR)
SELECT MAX(females_rank) FROM table_name_2 WHERE females___percentage_ > 53 AND hiv_awareness__males_percentage_ < 89 AND state = "odisha"
Which Player has a Round larger than 8?
CREATE TABLE table_name_87 (player VARCHAR, round INTEGER)
SELECT player FROM table_name_87 WHERE round > 8
What is the name with a death in 2001?
CREATE TABLE table_name_6 (name VARCHAR, death VARCHAR)
SELECT name FROM table_name_6 WHERE death = "2001"
Which Power has a Name of 9 nc?
CREATE TABLE table_name_21 (power VARCHAR, name VARCHAR)
SELECT power FROM table_name_21 WHERE name = "9 nc"
Show the most common apartment type code.
CREATE TABLE Apartments (apt_type_code VARCHAR)
SELECT apt_type_code FROM Apartments GROUP BY apt_type_code ORDER BY COUNT(*) DESC LIMIT 1
Name the vote for gigit
CREATE TABLE table_16976547_2 (vote VARCHAR, eliminated VARCHAR)
SELECT vote FROM table_16976547_2 WHERE eliminated = "Gigit"
How many ladies scored a 9.89 for the evening gown?
CREATE TABLE table_11690135_1 (swimsuit VARCHAR, evening_gown VARCHAR)
SELECT COUNT(swimsuit) FROM table_11690135_1 WHERE evening_gown = "9.89"
How many technicians are there?
CREATE TABLE technician (Id VARCHAR)
SELECT COUNT(*) FROM technician
What is the average price for products?
CREATE TABLE Products (Product_Price INTEGER)
SELECT AVG(Product_Price) FROM Products
What is the attendance in the game in the 2010-11 season, when the score was 2–0?
CREATE TABLE table_name_39 (attendance INTEGER, season VARCHAR, score VARCHAR)
SELECT MIN(attendance) FROM table_name_39 WHERE season = "2010-11" AND score = "2–0"
What is the latitude that has a longitude larger than -101.819319 in Martin and a GEO ID of 3809951140?
CREATE TABLE table_name_71 (latitude INTEGER, geo_id VARCHAR, longitude VARCHAR, township VARCHAR)
SELECT SUM(latitude) FROM table_name_71 WHERE longitude > -101.819319 AND township = "martin" AND geo_id = 3809951140
If the episode number is 2-01 what is the original UK air date?
CREATE TABLE table_2570269_2 (original_air_date__uk_ VARCHAR, episode__number VARCHAR)
SELECT original_air_date__uk_ FROM table_2570269_2 WHERE episode__number = "2-01"
How much money did jodie mudd get?
CREATE TABLE table_name_1 (money___$__ VARCHAR, player VARCHAR)
SELECT money___$__ FROM table_name_1 WHERE player = "jodie mudd"
When did the episode seen by is 2.267 million people get aired?
CREATE TABLE table_21055055_2 (au_air_date VARCHAR, viewers__m_ VARCHAR)
SELECT au_air_date FROM table_21055055_2 WHERE viewers__m_ = "2.267"
Which the lowest Against has a Status of tour match, and a Venue of ravenhill , belfast?
CREATE TABLE table_name_66 (against INTEGER, status VARCHAR, venue VARCHAR)
SELECT MIN(against) FROM table_name_66 WHERE status = "tour match" AND venue = "ravenhill , belfast"
How many losses did the club with 22 played and 334 points against have?
CREATE TABLE table_name_1 (lost VARCHAR, played VARCHAR, points_against VARCHAR)
SELECT lost FROM table_name_1 WHERE played = "22" AND points_against = "334"
When did Shelia Lawrence join the series?
CREATE TABLE table_11404452_1 (series__number INTEGER, writer_s_ VARCHAR)
SELECT MIN(series__number) FROM table_11404452_1 WHERE writer_s_ = "Shelia Lawrence"
what's the estimated deaths with operational period of 17 march 1942 – end of june 1943
CREATE TABLE table_10335_1 (estimated_deaths VARCHAR, operational VARCHAR)
SELECT estimated_deaths FROM table_10335_1 WHERE operational = "17 March 1942 – end of June 1943"