answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT interview_subject FROM table_1566848_7 WHERE date = "2-86"
Who was the interview subject in the 2-86 issue?
CREATE TABLE table_1566848_7 (interview_subject VARCHAR, date VARCHAR)
SELECT year FROM table_name_67 WHERE waterford_score = "6-08 (24)"
What yeae has 6-08 (24) as a waterford score?
CREATE TABLE table_name_67 (year VARCHAR, waterford_score VARCHAR)
SELECT 2012 FROM table_name_97 WHERE 2011 = "qf"
Name the 2012 when 2011 is qf
CREATE TABLE table_name_97 (Id VARCHAR)
SELECT score FROM table_name_67 WHERE location_attendance = "chicago stadium"
What was the score of the game at the Chicago Stadium?
CREATE TABLE table_name_67 (score VARCHAR, location_attendance VARCHAR)
SELECT Name FROM wrestler ORDER BY Days_held LIMIT 1
What is the name of the wrestler with the fewest days held?
CREATE TABLE wrestler (Name VARCHAR, Days_held VARCHAR)
SELECT COUNT(year_joined) FROM table_name_48 WHERE mascot = "ingots" AND year_left > 2007
What year did the Ingots, who left after 2007, join?
CREATE TABLE table_name_48 (year_joined VARCHAR, mascot VARCHAR, year_left VARCHAR)
SELECT length FROM table_name_33 WHERE location = "taylorville, illinois"
What is the length of the track located in Taylorville, Illinois?
CREATE TABLE table_name_33 (length VARCHAR, location VARCHAR)
SELECT status FROM table_name_73 WHERE notes = "n coelurosauria"
What is the Status of the dinosaur, whose notes are, "n coelurosauria"?
CREATE TABLE table_name_73 (status VARCHAR, notes VARCHAR)
SELECT MAX(attendance) FROM table_14608759_1 WHERE date = "October 17, 1937"
On October 17, 1937 what was maximum number or attendants.
CREATE TABLE table_14608759_1 (attendance INTEGER, date VARCHAR)
SELECT share_of_votes FROM table_name_26 WHERE election = 1969
What percentage of votes did the candidate win in the election of 1969?
CREATE TABLE table_name_26 (share_of_votes VARCHAR, election VARCHAR)
SELECT illustration FROM table_11900773_5 WHERE theme = "100 Years of Scouting"
Who created the illustration for the stamp that was themed 100 years of scouting?
CREATE TABLE table_11900773_5 (illustration VARCHAR, theme VARCHAR)
SELECT COUNT(DISTINCT Company) FROM entrepreneur
How many distinct companies are there?
CREATE TABLE entrepreneur (Company VARCHAR)
SELECT south FROM table_name_24 WHERE west = "ev lindau" AND east = "svg burgkirchen"
What is the south with ev lindau as the west and svg burgkirchen as the east?
CREATE TABLE table_name_24 (south VARCHAR, west VARCHAR, east VARCHAR)
SELECT runs FROM table_name_15 WHERE player = "b lee"
Tell me the runs for b lee
CREATE TABLE table_name_15 (runs VARCHAR, player VARCHAR)
SELECT role FROM table_name_57 WHERE genre = "drama" AND year = 1973
What drama role does she play in 1973?
CREATE TABLE table_name_57 (role VARCHAR, genre VARCHAR, year VARCHAR)
SELECT nation FROM table_name_28 WHERE gold > 0 AND total > 2 AND bronze = 0 AND silver > 1
What Nation has a Gold entry that is greater than 0, a Total that is greater than 2, a Silver entry that is larger than 1, and 0 Bronze?
CREATE TABLE table_name_28 (nation VARCHAR, silver VARCHAR, bronze VARCHAR, gold VARCHAR, total VARCHAR)
SELECT tone FROM table_name_65 WHERE standard_thai = "ปลา"
Which tone has a Standard Thai at ปลา?
CREATE TABLE table_name_65 (tone VARCHAR, standard_thai VARCHAR)
SELECT original_airdate FROM table_23392257_4 WHERE viewers__millions_ = "0.680"
What episode premier received 0.680 million viewers?
CREATE TABLE table_23392257_4 (original_airdate VARCHAR, viewers__millions_ VARCHAR)
SELECT score FROM table_27713030_8 WHERE team = "Detroit"
What was the team's score against detroit?
CREATE TABLE table_27713030_8 (score VARCHAR, team VARCHAR)
SELECT COUNT(overall) FROM table_name_48 WHERE college = "auburn" AND pick > 9
What is the total number of overall picks that were after pick 9 and went to Auburn College?
CREATE TABLE table_name_48 (overall VARCHAR, college VARCHAR, pick VARCHAR)
SELECT directed_by FROM table_25851971_1 WHERE production_code = "2J5457"
Who directed the episode that had a production code of 2j5457?
CREATE TABLE table_25851971_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT senior_list FROM table_name_84 WHERE date_of_birth__age_when_delisted_ = "5 june 1984 (aged 23)"
What is listed under Senior List for Date of Birth (Age When Delisted) of 5 June 1984 (aged 23)?
CREATE TABLE table_name_84 (senior_list VARCHAR, date_of_birth__age_when_delisted_ VARCHAR)
SELECT AVG(events) FROM table_name_18 WHERE tournament = "the open championship" AND top_5 < 1
What is the average event for the Open Championship Tournament, and a Top-5 less than 1?
CREATE TABLE table_name_18 (events INTEGER, tournament VARCHAR, top_5 VARCHAR)
SELECT MIN(game) FROM table_name_92 WHERE opponent = "chicago black hawks"
What is the first game played against the Chicago Black Hawks?
CREATE TABLE table_name_92 (game INTEGER, opponent VARCHAR)
SELECT MIN(quantity) FROM table_name_60 WHERE name = "raison blue" AND nicotine > 0.30000000000000004
For Raison Blue with a nicotine larger than 0.30000000000000004, what's the lowest quantity?
CREATE TABLE table_name_60 (quantity INTEGER, name VARCHAR, nicotine VARCHAR)
SELECT location FROM table_15190346_2 WHERE _number = 1
What is the location of #1?
CREATE TABLE table_15190346_2 (location VARCHAR, _number VARCHAR)
SELECT extra FROM table_name_37 WHERE result = "4th"
What is the extra result of the 4th game?
CREATE TABLE table_name_37 (extra VARCHAR, result VARCHAR)
SELECT date FROM table_name_54 WHERE attendance = "78,431"
On what date was the attendance of the crowd 78,431?
CREATE TABLE table_name_54 (date VARCHAR, attendance VARCHAR)
SELECT COUNT(to_par) FROM table_247955_2 WHERE runner_s__up = "Jonathan Kaye"
What is the total number of to par when runner-up was Jonathan Kaye?
CREATE TABLE table_247955_2 (to_par VARCHAR, runner_s__up VARCHAR)
SELECT 1988 FROM table_name_19 WHERE 1994 = "a" AND 1987 = "3r"
What is the 1988 result that has a 1994 result of A, and 3r as the 1987 result?
CREATE TABLE table_name_19 (Id VARCHAR)
SELECT score FROM table_name_70 WHERE tie_no = "replay"
What's the score when the tie number was replay?
CREATE TABLE table_name_70 (score VARCHAR, tie_no VARCHAR)
SELECT party FROM table_1108394_43 WHERE brooklyn = "51.0_percentage"
what's the party with brooklyn value of 51.0%
CREATE TABLE table_1108394_43 (party VARCHAR, brooklyn VARCHAR)
SELECT year FROM table_name_35 WHERE runner_up = "jane geddes"
When was the runner-up Jane Geddes?
CREATE TABLE table_name_35 (year VARCHAR, runner_up VARCHAR)
SELECT largest_ethnic_group__2002_ FROM table_2562572_53 WHERE cyrillic_name = "Сурдук"
What ethnic group had the largest population in сурдук in 2002?
CREATE TABLE table_2562572_53 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name VARCHAR)
SELECT joined_opec FROM table_166346_1 WHERE production___bbl__day_ = "1,213,000 (21st)"
When did the country that produced 1,213,000 (21st) bbl/day join Opec?
CREATE TABLE table_166346_1 (joined_opec VARCHAR, production___bbl__day_ VARCHAR)
SELECT date FROM table_name_91 WHERE away_team = "liverpool"
What is Date, when Away Team is "Liverpool"?
CREATE TABLE table_name_91 (date VARCHAR, away_team VARCHAR)
SELECT MIN(baseline), _extended_and_main_profiles FROM table_237036_2 WHERE level = "1.3"
What is the baseline extended and main profiles when level is 1.3?
CREATE TABLE table_237036_2 (_extended_and_main_profiles VARCHAR, baseline INTEGER, level VARCHAR)
SELECT date FROM table_name_81 WHERE original_week < 16 AND result = "l 23–22"
Tell me the date for original week less than 16 and result of l 23–22
CREATE TABLE table_name_81 (date VARCHAR, original_week VARCHAR, result VARCHAR)
SELECT date FROM table_name_47 WHERE record = "79-48"
What date has 79-48 as the record?
CREATE TABLE table_name_47 (date VARCHAR, record VARCHAR)
SELECT class FROM table_name_65 WHERE laps = 66
For what class is the laps 66?
CREATE TABLE table_name_65 (class VARCHAR, laps VARCHAR)
SELECT result FROM table_1342013_12 WHERE incumbent = "Fred E. Busbey"
What was the result when incumbent Fred E. Busbey was elected?
CREATE TABLE table_1342013_12 (result VARCHAR, incumbent VARCHAR)
SELECT high_points FROM table_22871316_6 WHERE date = "December 2"
Who did the high points in the game played on December 2?
CREATE TABLE table_22871316_6 (high_points VARCHAR, date VARCHAR)
SELECT surface FROM table_name_78 WHERE opponent = "malek jaziri"
On what Surface was the match against Malek Jaziri played?
CREATE TABLE table_name_78 (surface VARCHAR, opponent VARCHAR)
SELECT COUNT(year) FROM table_name_19 WHERE llws = "4th place" AND city = "westport"
What is the total number of Years when the LLWS is 4th place, and when the City is Westport?
CREATE TABLE table_name_19 (year VARCHAR, llws VARCHAR, city VARCHAR)
SELECT district FROM table_1341930_33 WHERE incumbent = "Lawrence H. Fountain"
what's the district with incumbent being lawrence h. fountain
CREATE TABLE table_1341930_33 (district VARCHAR, incumbent VARCHAR)
SELECT area FROM table_2847477_2 WHERE simplified = "罗山县"
What is the area of 罗山县?
CREATE TABLE table_2847477_2 (area VARCHAR, simplified VARCHAR)
SELECT opponent FROM table_name_53 WHERE record = "3-8"
Who is the opponent when the record is 3-8?
CREATE TABLE table_name_53 (opponent VARCHAR, record VARCHAR)
SELECT SUM(pick) FROM table_name_80 WHERE player = "pong escobal"
How many picks have a Player of pong escobal?
CREATE TABLE table_name_80 (pick INTEGER, player VARCHAR)
SELECT COUNT(established) FROM table_name_86 WHERE club = "lehigh valley storm"
What is the total number of the established club of Lehigh Valley Storm?
CREATE TABLE table_name_86 (established VARCHAR, club VARCHAR)
SELECT original_title FROM table_name_75 WHERE year > 1985 AND country = "uk"
What is the original title of the film from years after 1985 from the UK?
CREATE TABLE table_name_75 (original_title VARCHAR, year VARCHAR, country VARCHAR)
SELECT date FROM table_17118657_7 WHERE record = "1-4"
On which date was the record 1-4?
CREATE TABLE table_17118657_7 (date VARCHAR, record VARCHAR)
SELECT score FROM table_name_46 WHERE competition = "friendly" AND date = "30 april"
What is Score, when Competition is "Friendly", and when Date is "30 April"?
CREATE TABLE table_name_46 (score VARCHAR, competition VARCHAR, date VARCHAR)
SELECT score FROM table_name_77 WHERE record = "39-25"
The game that had a record of 39-25, what was the score?
CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR)
SELECT result FROM table_name_52 WHERE date = "10/08/1988"
What was the result on 10/08/1988?
CREATE TABLE table_name_52 (result VARCHAR, date VARCHAR)
SELECT winning_score FROM table_name_67 WHERE tournament = "walt disney world/oldsmobile classic"
Which Winning score has a Tournament of walt disney world/oldsmobile classic?
CREATE TABLE table_name_67 (winning_score VARCHAR, tournament VARCHAR)
SELECT r_bacon FROM table_name_98 WHERE county = "passaic"
What is the number for R Bacon in Passaic County?
CREATE TABLE table_name_98 (r_bacon VARCHAR, county VARCHAR)
SELECT school FROM table_name_97 WHERE position = "center"
What School is the Center from?
CREATE TABLE table_name_97 (school VARCHAR, position VARCHAR)
SELECT competition FROM table_name_4 WHERE score = "1-0"
Which competition had the score 1-0?
CREATE TABLE table_name_4 (competition VARCHAR, score VARCHAR)
SELECT district FROM table_225200_4 WHERE reason_for_change = "Rep. Warren R. Davis died during previous congress"
Name the district for rep. warren r. davis died during previous congress
CREATE TABLE table_225200_4 (district VARCHAR, reason_for_change VARCHAR)
SELECT club FROM table_13758945_1 WHERE points = "36"
What club has 36 points?
CREATE TABLE table_13758945_1 (club VARCHAR, points VARCHAR)
SELECT surface FROM table_name_57 WHERE date = "22 august 2006"
Which surface has a Date of 22 august 2006?
CREATE TABLE table_name_57 (surface VARCHAR, date VARCHAR)
SELECT german_gewehr_98 FROM table_name_46 WHERE danish_krag_jørgensen_1889 = "4.28kg"
What is the German Gewehr 98 when the Danish Krag-Jørgensen 1889 is 4.28kg?
CREATE TABLE table_name_46 (german_gewehr_98 VARCHAR, danish_krag_jørgensen_1889 VARCHAR)
SELECT first_elected FROM table_2668243_8 WHERE incumbent = "Henry Daniel"
When was Henry Daniel first elected?
CREATE TABLE table_2668243_8 (first_elected VARCHAR, incumbent VARCHAR)
SELECT episode FROM table_name_71 WHERE rank = 1
Which Episode has a Rank of 1?
CREATE TABLE table_name_71 (episode VARCHAR, rank VARCHAR)
SELECT MAX(total) FROM table_name_53 WHERE fa_cup < 4
What is the highest total number of appearances when there were less than 4 at the FA cup?
CREATE TABLE table_name_53 (total INTEGER, fa_cup INTEGER)
SELECT COUNT(DISTINCT s_id) FROM advisor
How many students have advisors?
CREATE TABLE advisor (s_id VARCHAR)
SELECT song_name FROM song WHERE genre_is = "modern" OR languages = "english"
Find the names of songs whose genre is modern or language is English.
CREATE TABLE song (song_name VARCHAR, genre_is VARCHAR, languages VARCHAR)
SELECT place FROM table_name_30 WHERE score = 68
What is the place with the 68 score?
CREATE TABLE table_name_30 (place VARCHAR, score VARCHAR)
SELECT college FROM table_name_29 WHERE player = "dennis byrd"
Where did Dennis Byrd go to college?
CREATE TABLE table_name_29 (college VARCHAR, player VARCHAR)
SELECT name FROM table_name_33 WHERE term_expires = "december 31, 2020" AND appointing_governor = "terry branstad"
Who has a term that expires on December 31, 2020 and Terry Branstad for an appointing governor?
CREATE TABLE table_name_33 (name VARCHAR, term_expires VARCHAR, appointing_governor VARCHAR)
SELECT year FROM table_name_11 WHERE label = "cryptogramophon"
what year was cryptogramophon released
CREATE TABLE table_name_11 (year VARCHAR, label VARCHAR)
SELECT MIN(lost) FROM table_name_85 WHERE position > 6 AND drawn = 7 AND points < 15
What is the smallest lost when position is larger than 6, drawn is 7, and the points stat is less than 15?
CREATE TABLE table_name_85 (lost INTEGER, points VARCHAR, position VARCHAR, drawn VARCHAR)
SELECT SUM(area_km_2) FROM table_name_70 WHERE pop_density_people_km_2 > 91 AND member_state = "italy" AND population_in_millions < 58.8
What is the area km2 of the area with a pop density people/km2 larger than 91, is a member state of Italy, and had less than 58.8 population in millions?
CREATE TABLE table_name_70 (area_km_2 INTEGER, population_in_millions VARCHAR, pop_density_people_km_2 VARCHAR, member_state VARCHAR)
SELECT SUM(silver) FROM table_name_93 WHERE bronze > 5 AND gold < 16
How many silver medals did the team that had 5 bronze and less than 16 gold have?
CREATE TABLE table_name_93 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
SELECT transcription FROM table_180802_3 WHERE sanskrit_word = "Chandra"
What is the transcription of the sanskrit word chandra?
CREATE TABLE table_180802_3 (transcription VARCHAR, sanskrit_word VARCHAR)
SELECT MAX(rank) FROM table_name_68 WHERE total < 1
what is the highest rank with a total less than 1?
CREATE TABLE table_name_68 (rank INTEGER, total INTEGER)
SELECT locomotive FROM table_name_44 WHERE name = "city of benalla"
What is the locomotive for the city of Benalla?
CREATE TABLE table_name_44 (locomotive VARCHAR, name 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 date FROM table_27722734_7 WHERE team = "Washington"
Name the date for washington
CREATE TABLE table_27722734_7 (date VARCHAR, team VARCHAR)
SELECT loss FROM table_name_67 WHERE record = "38-33"
What is the loss when the record is 38-33?
CREATE TABLE table_name_67 (loss VARCHAR, record VARCHAR)
SELECT MIN(female) FROM table_name_66 WHERE district = "hiroo 1-chōme" AND number_of_households > 1 OFFSET 666
What is the lowest female number of the hiroo 1-chōme district, which has more than 1,666 households?
CREATE TABLE table_name_66 (female INTEGER, district VARCHAR, number_of_households VARCHAR)
SELECT result FROM table_name_81 WHERE score = "48-12" AND city = "penrith"
What was the result of the match in Penrith that featured a score of 48-12?
CREATE TABLE table_name_81 (result VARCHAR, score VARCHAR, city VARCHAR)
SELECT gdp_per_capita__nominal_ FROM table_11780179_1 WHERE gdp__nominal_ = "$52.0 billion"
What is the gpa per capita (nominal) for the country with gdp (nominal) is $52.0 billion?
CREATE TABLE table_11780179_1 (gdp_per_capita__nominal_ VARCHAR, gdp__nominal_ VARCHAR)
SELECT wheel_arrangement FROM table_name_1 WHERE year_made = "1910"
What wheel arrangement was made in 1910?
CREATE TABLE table_name_1 (wheel_arrangement VARCHAR, year_made VARCHAR)
SELECT COUNT(division) FROM table_1427998_1 WHERE playoffs = "Conference Quarterfinals"
How many divisions have been won when the playoff result is conference quarterfinals.
CREATE TABLE table_1427998_1 (division VARCHAR, playoffs VARCHAR)
SELECT COUNT(network) FROM table_160728_4 WHERE channel = 7
How many networks are there that have a channel number 7?
CREATE TABLE table_160728_4 (network VARCHAR, channel VARCHAR)
SELECT period FROM table_24565004_3 WHERE name = "Albert Baning"
during which period did albert baning play?
CREATE TABLE table_24565004_3 (period VARCHAR, name VARCHAR)
SELECT loss FROM table_name_65 WHERE score = "9-7"
What was the loss of the game that had a score of 9-7?
CREATE TABLE table_name_65 (loss VARCHAR, score VARCHAR)
SELECT director FROM table_name_90 WHERE primary_language_s_ = "azerbaijani" AND original_title = "buta"
What is Director, when Primary Language(s) is "Azerbaijani", and when Original Title is "Buta"?
CREATE TABLE table_name_90 (director VARCHAR, primary_language_s_ VARCHAR, original_title VARCHAR)
SELECT COUNT(week) FROM table_16729071_1 WHERE attendance = 60038
How many weeks had an attendance of 60038?
CREATE TABLE table_16729071_1 (week VARCHAR, attendance VARCHAR)
SELECT score FROM table_name_37 WHERE opponent = "younes el aynaoui"
What is the score of the tournament with younes el aynaoui as the opponent?
CREATE TABLE table_name_37 (score VARCHAR, opponent VARCHAR)
SELECT MAX(silver) FROM table_name_25 WHERE gold = 1 AND nation = "djibouti" AND total < 3
What's the highest silver and 1 gold that the nation of djibouti received with a total less than 3?
CREATE TABLE table_name_25 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR)
SELECT 1 AS st_leg FROM table_name_58 WHERE team_1 = "chelsea"
What is the 1st leg when team 1 is Chelsea?
CREATE TABLE table_name_58 (team_1 VARCHAR)
SELECT SUM(revenue__bn) AS $_ FROM table_name_98 WHERE assets__bn$_ < 3.46 AND headquarters = "hong kong" AND profit__bn$_ > 0.17 AND rank > 42
What is the sum of revenue in Hong Kong with a rank greater than 42, less than $3.46 billion in assets, and greater than $0.17 billion in profits?
CREATE TABLE table_name_98 (revenue__bn INTEGER, rank VARCHAR, profit__bn$_ VARCHAR, assets__bn$_ VARCHAR, headquarters VARCHAR)
SELECT MAX(lost) FROM table_name_65 WHERE points < 14 AND played < 18
What is the highest lost number of the team with less than 14 points and less than 18 played?
CREATE TABLE table_name_65 (lost INTEGER, points VARCHAR, played VARCHAR)
SELECT opponent FROM table_name_82 WHERE attendance = "6,275"
Which Opponent has a Attendance of 6,275?
CREATE TABLE table_name_82 (opponent VARCHAR, attendance VARCHAR)
SELECT AVG(year) FROM table_name_16 WHERE award = "fantasia section award"
What is the average year of the Fantasia Section Award?
CREATE TABLE table_name_16 (year INTEGER, award VARCHAR)
SELECT fleet_number_s_ FROM table_name_59 WHERE quantity_made = "1"
What is the fleet number of the locomotive with 1 quantity made?
CREATE TABLE table_name_59 (fleet_number_s_ VARCHAR, quantity_made VARCHAR)
SELECT years FROM table_name_4 WHERE duration = "52 years" AND actor = "eileen derbyshire"
What are the years for Eileen Derbyshire with a duration of 52 years?
CREATE TABLE table_name_4 (years VARCHAR, duration VARCHAR, actor VARCHAR)
SELECT T1.Shop_Details FROM SHOPS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Shop_ID = T2.Tourist_Attraction_ID WHERE T2.How_to_Get_There = "walk"
What are the details of the shops that can be accessed by walk?
CREATE TABLE TOURIST_ATTRACTIONS (Tourist_Attraction_ID VARCHAR, How_to_Get_There VARCHAR); CREATE TABLE SHOPS (Shop_Details VARCHAR, Shop_ID VARCHAR)