answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT college FROM table_14649522_1 WHERE position = "Wide Receiver" AND pick__number < 130.0
Which college was the wide receiver whose pick was less than 130.0 picked from?
CREATE TABLE table_14649522_1 (college VARCHAR, position VARCHAR, pick__number VARCHAR)
SELECT winning_applicant FROM table_name_45 WHERE block = "10d" AND ensemble_name = "muxco lincolnshire"
Who is the Winning Applicant of Ensemble Name Muxco Lincolnshire in Block 10D?
CREATE TABLE table_name_45 (winning_applicant VARCHAR, block VARCHAR, ensemble_name VARCHAR)
SELECT MAX(tf1__number) FROM table_name_95 WHERE official__number > 47 AND air_date__france_ = "13 july 2010"
What is the most elevated TF1 # that has an Official # larger than 47, and an Air date (France) of 13 july 2010?
CREATE TABLE table_name_95 (tf1__number INTEGER, official__number VARCHAR, air_date__france_ VARCHAR)
SELECT away_team FROM table_name_37 WHERE home_team = "geelong"
What is the name of the away team that played Geelong?
CREATE TABLE table_name_37 (away_team VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_28 WHERE game_site = "fenway park"
What was the date of the game played at Fenway Park?
CREATE TABLE table_name_28 (date VARCHAR, game_site VARCHAR)
SELECT rank FROM table_name_66 WHERE s_wicket = "40" AND average = "28.42"
Which rank has a s wicket at 40 and 28.42 is the average?
CREATE TABLE table_name_66 (rank VARCHAR, s_wicket VARCHAR, average VARCHAR)
SELECT written_by FROM table_20098479_1 WHERE no_in_series = 48
Who wrote episode number 48
CREATE TABLE table_20098479_1 (written_by VARCHAR, no_in_series VARCHAR)
SELECT MAX(division_championships) FROM table_1952065_4 WHERE playoff_berths = 11
What is the highest number of division championships where playoff berths were 11?
CREATE TABLE table_1952065_4 (division_championships INTEGER, playoff_berths VARCHAR)
SELECT time FROM table_name_9 WHERE notes = "sc/d" AND country = "estonia"
What is the time for Estonia with sc/d notes?
CREATE TABLE table_name_9 (time VARCHAR, notes VARCHAR, country VARCHAR)
SELECT SUM(games) FROM table_name_24 WHERE term_[c_] = "1969 – 1973"
What is the of games when for the term [c] of 1969 – 1973?
CREATE TABLE table_name_24 (games INTEGER, term_ VARCHAR, c_ VARCHAR)
SELECT nationality FROM table_name_60 WHERE years_for_jazz = "1974-79"
What is the nationality of the player on the Jazz from 1974-79?
CREATE TABLE table_name_60 (nationality VARCHAR, years_for_jazz VARCHAR)
SELECT COUNT(silver) FROM table_name_60 WHERE bronze < 6 AND gold > 3
How many silvers for nations with over 3 golds and under 6 bronzes?
CREATE TABLE table_name_60 (silver VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT type FROM table_261895_1 WHERE institution = "Calvin College"
which categories fit under the institution calvin college?
CREATE TABLE table_261895_1 (type VARCHAR, institution VARCHAR)
SELECT country FROM table_name_69 WHERE year = 2012
What was the country in the year 2012?
CREATE TABLE table_name_69 (country VARCHAR, year VARCHAR)
SELECT MAX(fc_matches) FROM table_1176371_1 WHERE name_of_ground = "The Racecourse"
What is the maximum fc matches at the racecourse?
CREATE TABLE table_1176371_1 (fc_matches INTEGER, name_of_ground VARCHAR)
SELECT COUNT(rides) FROM table_name_16 WHERE total_points < 274 AND rider = "ray day" AND bonus_pts > 3
How many rides did it take Ray Day to get 274 points in total with less than 3 bonus points?
CREATE TABLE table_name_16 (rides VARCHAR, bonus_pts VARCHAR, total_points VARCHAR, rider VARCHAR)
SELECT result FROM table_name_87 WHERE date = "april 9"
What is the Result of the Game on April 9?
CREATE TABLE table_name_87 (result VARCHAR, date VARCHAR)
SELECT title FROM table_name_63 WHERE start_of_reign = 1999
What is the title of the person who started their reign in 1999?
CREATE TABLE table_name_63 (title VARCHAR, start_of_reign VARCHAR)
SELECT average FROM table_27922491_11 WHERE runs = 313
What is the average for the player with 313 runs?
CREATE TABLE table_27922491_11 (average VARCHAR, runs VARCHAR)
SELECT COUNT(location) FROM table_22171978_1 WHERE athletic_nickname = "Blue Crusaders"
How many locations are there for the athletic nickname is blue crusaders?
CREATE TABLE table_22171978_1 (location VARCHAR, athletic_nickname VARCHAR)
SELECT first_elected FROM table_name_6 WHERE member = "john armitage"
What is the year First elected when the Member is John Armitage?
CREATE TABLE table_name_6 (first_elected VARCHAR, member VARCHAR)
SELECT SUM(margin) FROM table_name_40 WHERE country = "canada"
What is canada's margin?
CREATE TABLE table_name_40 (margin INTEGER, country VARCHAR)
SELECT MIN(debut_year) FROM table_name_10 WHERE player = "mark eaves"
What is the debut year of Mark Eaves?
CREATE TABLE table_name_10 (debut_year INTEGER, player VARCHAR)
SELECT AVG(games) FROM table_name_28 WHERE goals < 1 AND player = "keith j. miller" AND debut_year > 1974
How many games for keith j. miller, who debuted after 1974 with less than 1 goal?
CREATE TABLE table_name_28 (games INTEGER, debut_year VARCHAR, goals VARCHAR, player VARCHAR)
SELECT T1.City_Town FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID = T2.Address_ID WHERE T2.Store_Name = "FJA Filming"
Which city is the address of the store named "FJA Filming" located in?
CREATE TABLE Addresses (City_Town VARCHAR, Address_ID VARCHAR); CREATE TABLE Stores (Address_ID VARCHAR, Store_Name VARCHAR)
SELECT epicentre__lat, _s_ FROM table_25643046_1 WHERE origin_time = "17:09"
What was the epicenter latitude for the quake that started at 17:09?
CREATE TABLE table_25643046_1 (epicentre__lat VARCHAR, _s_ VARCHAR, origin_time VARCHAR)
SELECT score_in_the_final FROM table_name_46 WHERE date = "february 19, 2012"
What was the final score on the February 19, 2012 final?
CREATE TABLE table_name_46 (score_in_the_final VARCHAR, date VARCHAR)
SELECT main_presenter FROM table_24224647_2 WHERE region_country = "Estonia"
Who is every main presenter for the Estonia region/country?
CREATE TABLE table_24224647_2 (main_presenter VARCHAR, region_country VARCHAR)
SELECT AVG(overall) FROM table_name_77 WHERE pick__number = 5 AND name = "ken whisenhunt"
What is the average overall of Ken Whisenhunt, who has a pick # of 5?
CREATE TABLE table_name_77 (overall INTEGER, pick__number VARCHAR, name VARCHAR)
SELECT competition FROM table_25735_1 WHERE winner = "Toronto City Saints"
Which competition did the toronto city saints win?
CREATE TABLE table_25735_1 (competition VARCHAR, winner VARCHAR)
SELECT COUNT(points) FROM table_14342480_6 WHERE field_goals = 1
Name the number of points for field goals being 1
CREATE TABLE table_14342480_6 (points VARCHAR, field_goals VARCHAR)
SELECT played FROM table_name_2 WHERE position = "11th" AND points = "8"
What's the value for played when points is 8 and position is 11th?
CREATE TABLE table_name_2 (played VARCHAR, position VARCHAR, points VARCHAR)
SELECT rider FROM table_name_5 WHERE manufacturer = "ktm" AND grid = "1"
Who is the driver of the car manufactured by ktm, who started in grid 1.
CREATE TABLE table_name_5 (rider VARCHAR, manufacturer VARCHAR, grid VARCHAR)
SELECT COUNT(train_no) FROM table_27011761_2 WHERE departure = "17:30"
How many trains depart at 17:30?
CREATE TABLE table_27011761_2 (train_no VARCHAR, departure VARCHAR)
SELECT cospar_id FROM table_name_69 WHERE carrier_rocket = "scout" AND satellite = "ariel 4"
What is the COSPAR ID of Ariel 4, which was launched with a Scout carrier rocket?
CREATE TABLE table_name_69 (cospar_id VARCHAR, carrier_rocket VARCHAR, satellite VARCHAR)
SELECT number_stayed_in_southeast FROM table_name_58 WHERE total_number_emigrated_or_forcibly_removed = "19,600"
How many of those who stayed in the southeast had 19,600 emigrated or forcibly removed?
CREATE TABLE table_name_58 (number_stayed_in_southeast VARCHAR, total_number_emigrated_or_forcibly_removed VARCHAR)
SELECT MIN(owned_since) FROM table_22329326_1
What was the earliest year a station was owned since?
CREATE TABLE table_22329326_1 (owned_since INTEGER)
SELECT COUNT(countries_sampled) FROM table_12000368_1 WHERE year_of_publication = "2007" AND ranking_la__2_ = "7th"
how many countries sampled with year of publication being 2007 and ranking l.a. (2) being 7th
CREATE TABLE table_12000368_1 (countries_sampled VARCHAR, year_of_publication VARCHAR, ranking_la__2_ VARCHAR)
SELECT terminals FROM table_1603807_2 WHERE line = "line 2"
What are the terminals for line 2?
CREATE TABLE table_1603807_2 (terminals VARCHAR, line VARCHAR)
SELECT video FROM table_name_77 WHERE aspect = "16:9"
Which video has a 16:9 aspect?
CREATE TABLE table_name_77 (video VARCHAR, aspect VARCHAR)
SELECT MIN(geo_id) FROM table_name_29 WHERE longitude = -102.158045 AND water__sqmi_ > 0.979
What is the lowest GEO ID for the longitude of -102.158045 and the water in square miles larger than 0.979?
CREATE TABLE table_name_29 (geo_id INTEGER, longitude VARCHAR, water__sqmi_ VARCHAR)
SELECT opponent FROM table_name_69 WHERE record = "4-5"
Who was the opponent at the game when the record was 4-5?
CREATE TABLE table_name_69 (opponent VARCHAR, record VARCHAR)
SELECT visiting_team FROM table_name_59 WHERE date = "december 23"
Which Visiting Team is on december 23?
CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR)
SELECT MIN(enrollment) FROM table_1414702_3 WHERE wiaa_classification = "3A"
What is the lowest enrollment value out of the enrollment values I'd the schools with a 3A WIAA clarification?
CREATE TABLE table_1414702_3 (enrollment INTEGER, wiaa_classification VARCHAR)
SELECT name FROM table_name_47 WHERE floors = 46
what is the name that had 46 floors?
CREATE TABLE table_name_47 (name VARCHAR, floors VARCHAR)
SELECT COUNT(date) FROM table_1566852_3 WHERE interview_subject = "Harrison Ford"
IN HOW MANY ISSUES WAS HARRISON FORD THE INTERVIEW SUBJECT?
CREATE TABLE table_1566852_3 (date VARCHAR, interview_subject VARCHAR)
SELECT score FROM table_name_88 WHERE home = "phoenix" AND record = "3–6–0"
What was the score did phoenix have with a Record of 3–6–0 at home?
CREATE TABLE table_name_88 (score VARCHAR, home VARCHAR, record VARCHAR)
SELECT tyre FROM table_name_31 WHERE entrant = "hb bewaking team ensign" AND rounds = "13"
Name the tyre for hb bewaking team ensign with rounds of 13
CREATE TABLE table_name_31 (tyre VARCHAR, entrant VARCHAR, rounds VARCHAR)
SELECT mult FROM table_name_85 WHERE model_number = "pentium ii 450"
What is Mult, when Model Number is Pentium II 450?
CREATE TABLE table_name_85 (mult VARCHAR, model_number VARCHAR)
SELECT type_of_game FROM table_name_33 WHERE results¹ = "10:1"
What Type of game has a Results¹ of 10:1?
CREATE TABLE table_name_33 (type_of_game VARCHAR, results¹ VARCHAR)
SELECT crowd FROM table_name_4 WHERE venue = "windy hill"
What is the listed crowd at windy hill?
CREATE TABLE table_name_4 (crowd VARCHAR, venue VARCHAR)
SELECT latitude FROM table_16799784_11 WHERE diameter__km_ = "500.0"
At what latitude can you find the diameter (km) of 500.0?
CREATE TABLE table_16799784_11 (latitude VARCHAR, diameter__km_ VARCHAR)
SELECT loss FROM table_name_63 WHERE score = "2-8"
When did the Brewers lose 2-8?
CREATE TABLE table_name_63 (loss VARCHAR, score VARCHAR)
SELECT COUNT(total) FROM table_name_32 WHERE nation = "greece" AND place > 8
What is the total of Greece, which is placed below 8?
CREATE TABLE table_name_32 (total VARCHAR, nation VARCHAR, place VARCHAR)
SELECT 2010 FROM table_name_35 WHERE 2009 = "270"
What is the 2010 entry for the row that has a 2009 entry of 270?
CREATE TABLE table_name_35 (Id VARCHAR)
SELECT year_joined FROM table_name_5 WHERE school = "jennings county"
What year did a school from Jennings County join?
CREATE TABLE table_name_5 (year_joined VARCHAR, school VARCHAR)
SELECT april_14 FROM table_name_78 WHERE mar_3 = "nr" AND april_21 = "13"
What is the April 14 rank when the Mar 3rd is nr, and the April 21 is 13?
CREATE TABLE table_name_78 (april_14 VARCHAR, mar_3 VARCHAR, april_21 VARCHAR)
SELECT StuID FROM Student WHERE Advisor = 1121
Show ids for all students who have advisor 1121.
CREATE TABLE Student (StuID VARCHAR, Advisor VARCHAR)
SELECT best_director FROM table_15301258_1 WHERE best_film = "Mother"
Name the best director for mother
CREATE TABLE table_15301258_1 (best_director VARCHAR, best_film VARCHAR)
SELECT COUNT(others_number) FROM table_name_88 WHERE kerry_percentage = "36.7%"
When Kerry is at 36.7%, what is the total number of others?
CREATE TABLE table_name_88 (others_number VARCHAR, kerry_percentage VARCHAR)
SELECT comments FROM table_1206114_2 WHERE vendor_and_type = "Enterasys Switches"
What are the comments when vendor and type is enterasys switches?
CREATE TABLE table_1206114_2 (comments VARCHAR, vendor_and_type VARCHAR)
SELECT player FROM table_25518547_3 WHERE mls_team = "Philadelphia Union"
What player was drafted by the philadelphia union?
CREATE TABLE table_25518547_3 (player VARCHAR, mls_team VARCHAR)
SELECT venue FROM table_name_53 WHERE home_team = "essendon"
What was the venue when the home team was Essendon?
CREATE TABLE table_name_53 (venue VARCHAR, home_team VARCHAR)
SELECT grantee FROM table_name_6 WHERE date = 1795 AND concession = "las pulgas"
Tell me the grantee for las pulgas in 1795
CREATE TABLE table_name_6 (grantee VARCHAR, date VARCHAR, concession VARCHAR)
SELECT venue FROM table_1139835_9 WHERE premier = "Essendon" AND attendance = 30824
What venue has an attendance of 30824 at Essendon in 1984?
CREATE TABLE table_1139835_9 (venue VARCHAR, premier VARCHAR, attendance VARCHAR)
SELECT original_artist FROM table_28715942_5 WHERE vocal_percussionist = "Alexei Kalveks"
What is the original artist when the vocal percussionist is Alexei Kalveks?
CREATE TABLE table_28715942_5 (original_artist VARCHAR, vocal_percussionist VARCHAR)
SELECT MIN(position) FROM table_name_75 WHERE points_1 = "39" AND goals_against > 49
What is the lowest Position, when Points 1 is "39", and when Goals Against is greater than 49?
CREATE TABLE table_name_75 (position INTEGER, points_1 VARCHAR, goals_against VARCHAR)
SELECT COUNT(*) FROM list
Find the number of students in total.
CREATE TABLE list (Id VARCHAR)
SELECT SUM(weight__kg_) FROM table_name_39 WHERE birthplace = "virginia, minnesota"
What is the sum of Weight for the person born in virginia, minnesota?
CREATE TABLE table_name_39 (weight__kg_ INTEGER, birthplace VARCHAR)
SELECT MAX(january) FROM table_27539272_7 WHERE record = "15-29-3"
On what day in January was the record 15-29-3?
CREATE TABLE table_27539272_7 (january INTEGER, record VARCHAR)
SELECT presentation_of_credentials FROM table_name_62 WHERE name = "robert g. miner"
When did Robert G. Miner present his credentials?
CREATE TABLE table_name_62 (presentation_of_credentials VARCHAR, name VARCHAR)
SELECT place FROM table_name_44 WHERE score = 71 - 66 - 64 = 201
What is the place of the player with a 71-66-64=201 score?
CREATE TABLE table_name_44 (place VARCHAR, score VARCHAR)
SELECT COUNT(DISTINCT GovernmentForm) FROM country WHERE Continent = "Africa"
How many type of governments are in Africa?
CREATE TABLE country (GovernmentForm VARCHAR, Continent VARCHAR)
SELECT player FROM table_name_77 WHERE round < 5 AND school_club_team = "florida state"
Which Player has a Round smaller than 5, and a School/Club Team of florida state?
CREATE TABLE table_name_77 (player VARCHAR, round VARCHAR, school_club_team VARCHAR)
SELECT 2 AS nd_leg FROM table_14219514_1 WHERE home__1st_leg_ = "Boca Juniors"
Who was in 2nd leg when Boca Juniors was in home (1st leg)?
CREATE TABLE table_14219514_1 (home__1st_leg_ VARCHAR)
SELECT MIN(rank) FROM table_name_85 WHERE name = "deutsche telekom" AND market_value___usd_million_ > 209 OFFSET 628
What is the lowest rank of Deutsche Telekom with a market value over 209,628?
CREATE TABLE table_name_85 (rank INTEGER, name VARCHAR, market_value___usd_million_ VARCHAR)
SELECT home_team FROM table_name_16 WHERE venue = "mcg"
Which team plays their home matches at the mcg Venue?
CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR)
SELECT label FROM table_name_9 WHERE date = "march 25, 1984"
What label released a record on March 25, 1984?
CREATE TABLE table_name_9 (label VARCHAR, date VARCHAR)
SELECT MAX(total) FROM table_name_30 WHERE to_par = 10
WHAT IS THE TOTAL WITH A TO PAR OF 10?
CREATE TABLE table_name_30 (total INTEGER, to_par VARCHAR)
SELECT location FROM table_name_70 WHERE distance = "men's speed skating"
What's the location for men's speed skating?
CREATE TABLE table_name_70 (location VARCHAR, distance VARCHAR)
SELECT date FROM table_name_71 WHERE attendance = "54,626"
Which Date has an Attendance of 54,626?
CREATE TABLE table_name_71 (date VARCHAR, attendance VARCHAR)
SELECT height_m___feet FROM table_name_97 WHERE name = "shanghai x-1 financial building"
What is the height for shanghai x-1 financial building?
CREATE TABLE table_name_97 (height_m___feet VARCHAR, name VARCHAR)
SELECT recopa_sudamericana_1992 FROM table_15013825_8 WHERE copa_libertadores_1992 = "Did not qualify" AND copa_conmebol_1992 = "Round of 16" AND team = "Bragantino"
Name the recopa sudamericana 1992 for did not qualify for libertadores 1992 and round of 16 for bragantino
CREATE TABLE table_15013825_8 (recopa_sudamericana_1992 VARCHAR, team VARCHAR, copa_libertadores_1992 VARCHAR, copa_conmebol_1992 VARCHAR)
SELECT winner FROM table_name_89 WHERE points_classification = "adriano baffi" AND intergiro_classification = "ján svorada" AND stage = "13"
Name the winner for adriano baffi and integiro classification of ján svorada for stage of 13
CREATE TABLE table_name_89 (winner VARCHAR, stage VARCHAR, points_classification VARCHAR, intergiro_classification VARCHAR)
SELECT date FROM table_14951643_1 WHERE attendance = 40657
what's the date with attendance being 40657
CREATE TABLE table_14951643_1 (date VARCHAR, attendance VARCHAR)
SELECT name FROM table_name_15 WHERE bodyweight = 73.6
Which person has a bodyweight of 73.6?
CREATE TABLE table_name_15 (name VARCHAR, bodyweight VARCHAR)
SELECT iupac_name FROM table_name_44 WHERE common_name = "chloroform"
What is the IUPAC name for chloroform?
CREATE TABLE table_name_44 (iupac_name VARCHAR, common_name VARCHAR)
SELECT score FROM table_name_24 WHERE visitor = "chicago black hawks" AND date = "november 12"
What is the score of the game on November 12 with the Chicago Black Hawks as the visitor team?
CREATE TABLE table_name_24 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT COUNT(winning_score) FROM table_21469545_2 WHERE date = "8 Feb 2009"
Name the winning score for 8 feb 2009
CREATE TABLE table_21469545_2 (winning_score VARCHAR, date VARCHAR)
SELECT MAX(rank) FROM table_name_81 WHERE publication = "dagsavisen" AND year < 2005
What is the highest Rank, when Publication is Dagsavisen, and when Year is less than 2005?
CREATE TABLE table_name_81 (rank INTEGER, publication VARCHAR, year VARCHAR)
SELECT constructor FROM table_name_4 WHERE grid < 7 AND laps > 35 AND driver = "alberto ascari"
Who made the car that Alberto Ascari went more than 35 laps on a grid less than 7?
CREATE TABLE table_name_4 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT MAX(juries) FROM table_27994983_8 WHERE draw = 3
How many juries are there when the draw is 3?
CREATE TABLE table_27994983_8 (juries INTEGER, draw VARCHAR)
SELECT lead FROM table_name_39 WHERE skip = "wang bingyu" AND event = "2009 wcc"
What was the Lead for the 2009 WCC when Wang Bingyu news was the skip?
CREATE TABLE table_name_39 (lead VARCHAR, skip VARCHAR, event VARCHAR)
SELECT nationality FROM table_name_30 WHERE years_for_jazz = "1977-79"
What is the nationality of the Jazz player 1977-79?
CREATE TABLE table_name_30 (nationality VARCHAR, years_for_jazz VARCHAR)
SELECT attendance FROM table_name_24 WHERE loss = "drese (0-2)"
which attendance has a Loss of drese (0-2)?
CREATE TABLE table_name_24 (attendance VARCHAR, loss VARCHAR)
SELECT date FROM table_name_11 WHERE score = "6–1 7–6 (8–6)"
Which Date has a Score of 6–1 7–6 (8–6)?
CREATE TABLE table_name_11 (date VARCHAR, score VARCHAR)
SELECT driver FROM table_name_94 WHERE constructor = "era" AND entrant = "t.a.s.o. mathieson"
Who is the driver whose Constructor was Era, and whose entrant was T.A.S.O. Mathieson?
CREATE TABLE table_name_94 (driver VARCHAR, constructor VARCHAR, entrant VARCHAR)
SELECT entrant FROM table_name_82 WHERE year > 1950 AND points < 7
What Entrant older than 1950 has points smaller than 7?
CREATE TABLE table_name_82 (entrant VARCHAR, year VARCHAR, points VARCHAR)
SELECT DISTINCT channel_code FROM customers AS t1 JOIN customer_contact_channels AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name = "Tillman Ernser"
Which contact channel has been used by the customer with name "Tillman Ernser"?
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customer_contact_channels (customer_id VARCHAR)
SELECT original_air_date FROM table_2618113_1 WHERE production_code = "K0120"
What was the airdate of k0120?
CREATE TABLE table_2618113_1 (original_air_date VARCHAR, production_code VARCHAR)