answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT away_team AS score FROM table_name_62 WHERE venue = "victoria park"
What was the away team score at victoria park?
CREATE TABLE table_name_62 (away_team VARCHAR, venue VARCHAR)
SELECT date FROM table_name_55 WHERE runner_s__up = "fred funk"
Which Date has a Runner(s)-up of fred funk?
CREATE TABLE table_name_55 (date VARCHAR, runner_s__up VARCHAR)
SELECT club FROM table_name_95 WHERE points = "77"
Which club has 77 points?
CREATE TABLE table_name_95 (club VARCHAR, points VARCHAR)
SELECT venue FROM table_name_78 WHERE home_team = "fitzroy"
Where does the home team fitzroy play?
CREATE TABLE table_name_78 (venue VARCHAR, home_team VARCHAR)
SELECT MAX(population__1_july_2005_est_) FROM table_298550_1 WHERE area__km²_ = 9104
What is the highest value for population when area is 9104?
CREATE TABLE table_298550_1 (population__1_july_2005_est_ INTEGER, area__km²_ VARCHAR)
SELECT country FROM table_name_19 WHERE player = "adam scott"
What country is Adam Scott from?
CREATE TABLE table_name_19 (country VARCHAR, player VARCHAR)
SELECT away_team AS score FROM table_name_7 WHERE away_team = "essendon"
What did Essendon score as the Away team?
CREATE TABLE table_name_7 (away_team VARCHAR)
SELECT MIN(first_elected) FROM table_1342013_37 WHERE incumbent = "Alvin Bush"
Name the minumim first elected for alvin bush
CREATE TABLE table_1342013_37 (first_elected INTEGER, incumbent VARCHAR)
SELECT MIN(year) FROM table_name_12 WHERE regular_season = "5th, atlantic" AND division > 4
Which Year is the lowest one that has a Regular Season of 5th, atlantic, and a Division larger than 4?
CREATE TABLE table_name_12 (year INTEGER, regular_season VARCHAR, division VARCHAR)
SELECT original_air_date FROM table_10718868_2 WHERE no_in_season = 15
What is the original air date for episode 15 of season 6?
CREATE TABLE table_10718868_2 (original_air_date VARCHAR, no_in_season VARCHAR)
SELECT departure FROM table_name_33 WHERE station_code = "clt"
What is listede for Departure that also has a Station Code of CLT?
CREATE TABLE table_name_33 (departure VARCHAR, station_code VARCHAR)
SELECT to_par FROM table_name_66 WHERE place = "t5"
What was the To par of the golfer that placed t5?
CREATE TABLE table_name_66 (to_par VARCHAR, place VARCHAR)
SELECT style FROM table_28677723_9 WHERE tor_fløysvik = 8
Which style led to a score given by Tor Floysvik of 8?
CREATE TABLE table_28677723_9 (style VARCHAR, tor_fløysvik VARCHAR)
SELECT races FROM table_10748727_1 WHERE season = "2009" AND wins = 0
how many races were in 2009 with 0 wins?
CREATE TABLE table_10748727_1 (races VARCHAR, season VARCHAR, wins VARCHAR)
SELECT start__reg_season_ FROM table_22383603_1 WHERE top_record = "Lindenwood (20–0–0)"
When did the season start that ended with the top record of Lindenwood (20–0–0)?
CREATE TABLE table_22383603_1 (start__reg_season_ VARCHAR, top_record VARCHAR)
SELECT type FROM table_name_26 WHERE ends = "2011" AND transfer_fee = "free" AND source = "leeds united"
What type ends in 2011, has a free transfer fee, and is sourced in leeds united?
CREATE TABLE table_name_26 (type VARCHAR, source VARCHAR, ends VARCHAR, transfer_fee VARCHAR)
SELECT COUNT(position) FROM table_2840500_1 WHERE nationality = "Czech Republic"
How many positions does the draft pick whose nationality is Czech Republic play?
CREATE TABLE table_2840500_1 (position VARCHAR, nationality VARCHAR)
SELECT COUNT(season) FROM table_23014923_1 WHERE primary__south__winners = "Inter The Bloomfield"
If the primary (South) winners is Inter The Bloomfield, what is the season total number?
CREATE TABLE table_23014923_1 (season VARCHAR, primary__south__winners VARCHAR)
SELECT previous_experience FROM table_name_41 WHERE weight > 180 AND player = "charles b. carter"
Weight larger than 180, and a Player of charles b. carter is what previous experience?
CREATE TABLE table_name_41 (previous_experience VARCHAR, weight VARCHAR, player VARCHAR)
SELECT MIN(total_population_2001) FROM table_19589113_5 WHERE growth_rate_1991_01 = "33.08"
What is the least value for total population in 2001 with a growth rate in 1991-01 of 33.08?
CREATE TABLE table_19589113_5 (total_population_2001 INTEGER, growth_rate_1991_01 VARCHAR)
SELECT MIN(draw) FROM table_14977252_2 WHERE artist = "Elena Dermidjean"
Name the least draw for elena dermidjean
CREATE TABLE table_14977252_2 (draw INTEGER, artist VARCHAR)
SELECT average FROM table_11674683_2 WHERE delegate = "Spain"
Name the average for spain delegate
CREATE TABLE table_11674683_2 (average VARCHAR, delegate VARCHAR)
SELECT SUM(weeks_on_chart) FROM table_name_92 WHERE position < 1
What is the sum of the weeks on a chart a song with a position less than 1 haas?
CREATE TABLE table_name_92 (weeks_on_chart INTEGER, position INTEGER)
SELECT partner FROM table_27611593_5 WHERE score = "6–2, 3–6, 6–7 (7-9)"
Who was Petrova's partner where she scored 6–2, 3–6, 6–7 (7-9)?
CREATE TABLE table_27611593_5 (partner VARCHAR, score VARCHAR)
SELECT time FROM table_name_63 WHERE trainer = "todd pletcher"
What time does the trainer, Todd Pletcher have?
CREATE TABLE table_name_63 (time VARCHAR, trainer VARCHAR)
SELECT days_held FROM table_name_48 WHERE reign > 3 AND defenses = 1
What is the days held the champion with a reign larger than 3 and 1 defense has?
CREATE TABLE table_name_48 (days_held VARCHAR, reign VARCHAR, defenses VARCHAR)
SELECT format FROM table_name_93 WHERE label = "candlelight records" AND catalog = "candle053tin"
What was the Candlelight Records Catalog of Candle053tin format?
CREATE TABLE table_name_93 (format VARCHAR, label VARCHAR, catalog VARCHAR)
SELECT country FROM table_name_68 WHERE highest_mountain = "rettlkirchspitze"
Which country has the Highest mountain of rettlkirchspitze?
CREATE TABLE table_name_68 (country VARCHAR, highest_mountain VARCHAR)
SELECT group_a_winner FROM table_1137142_1 WHERE group_c_winner = "Vis Pesaro"
What is the group a winner for vis pesaro?
CREATE TABLE table_1137142_1 (group_a_winner VARCHAR, group_c_winner VARCHAR)
SELECT percent_defective FROM table_222448_1 WHERE sigma__with_15σ_shift_ = "2.5"
When sigma (with 1.5σ shift) is 2.5, what percent is defective?
CREATE TABLE table_222448_1 (percent_defective VARCHAR, sigma__with_15σ_shift_ VARCHAR)
SELECT to_par FROM table_name_91 WHERE player = "peter senior"
What is the to par of player peter senior?
CREATE TABLE table_name_91 (to_par VARCHAR, player VARCHAR)
SELECT MAX(year) FROM table_name_10 WHERE publication = "the observer music monthly"
What is the publication the observer music monthly highest year?
CREATE TABLE table_name_10 (year INTEGER, publication VARCHAR)
SELECT island FROM table_18946749_1 WHERE peak = "Mount Wondiwoi"
When mount wondiwoi is the peak what is the island?
CREATE TABLE table_18946749_1 (island VARCHAR, peak VARCHAR)
SELECT method FROM table_name_94 WHERE opponent = "ivan serati"
What was the method for opponent of Ivan Serati?
CREATE TABLE table_name_94 (method VARCHAR, opponent VARCHAR)
SELECT COUNT(week) FROM table_name_2 WHERE attendance = 44 OFFSET 132
What is the week number with attendance of 44,132?
CREATE TABLE table_name_2 (week VARCHAR, attendance VARCHAR)
SELECT MAX(points) FROM table_name_49 WHERE year < 1992 AND wins < 0
What are the highest points that have a year less than 1992, with wins less than 0?
CREATE TABLE table_name_49 (points INTEGER, year VARCHAR, wins VARCHAR)
SELECT attendance FROM table_name_53 WHERE date = "september 28, 1997"
What is the Attendance on September 28, 1997?
CREATE TABLE table_name_53 (attendance VARCHAR, date VARCHAR)
SELECT Product_Name FROM Products WHERE NOT Product_ID IN (SELECT Product_ID FROM Products_in_Events)
List the names of products that are not in any event.
CREATE TABLE Products (Product_Name VARCHAR, Product_ID VARCHAR); CREATE TABLE Products_in_Events (Product_Name VARCHAR, Product_ID VARCHAR)
SELECT type FROM table_name_58 WHERE nat = "geo"
Which Type has a Nat of geo?
CREATE TABLE table_name_58 (type VARCHAR, nat VARCHAR)
SELECT height FROM table_name_82 WHERE pos = "f" AND weight < 195
What is the height of the F who weighs less than 195?
CREATE TABLE table_name_82 (height VARCHAR, pos VARCHAR, weight VARCHAR)
SELECT date FROM table_name_59 WHERE venue = "arden street oval"
What was the date of the Arden Street Oval game?
CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR)
SELECT result FROM table_1341973_6 WHERE incumbent = "Clyde Doyle"
What was the result of the election of the incumbent clyde doyle?
CREATE TABLE table_1341973_6 (result VARCHAR, incumbent VARCHAR)
SELECT MIN(year) FROM table_22587192_1 WHERE mens_singles = "Raju Rai"
What is the least year when men's singles is Raju Rai?
CREATE TABLE table_22587192_1 (year INTEGER, mens_singles VARCHAR)
SELECT owns FROM table_name_65 WHERE delivery_date = "1997 1997"
with delivery date 1997 1997 what is the owns?
CREATE TABLE table_name_65 (owns VARCHAR, delivery_date VARCHAR)
SELECT record FROM table_name_31 WHERE home = "vancouver" AND date = "december 8"
What record was made in vancouver on December 8?
CREATE TABLE table_name_31 (record VARCHAR, home VARCHAR, date VARCHAR)
SELECT competition FROM table_name_45 WHERE date = "october 1, 1994"
What is the competition that took place on October 1, 1994?
CREATE TABLE table_name_45 (competition VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_44 WHERE date = "may 10"
How many people attended the game on May 10?
CREATE TABLE table_name_44 (attendance VARCHAR, date VARCHAR)
SELECT date FROM table_name_73 WHERE record = "2–7–0–1"
WHich Date has a Record of 2–7–0–1?
CREATE TABLE table_name_73 (date VARCHAR, record VARCHAR)
SELECT stumped FROM table_24039597_26 WHERE innings = 143
What is stumped when inning is 143?
CREATE TABLE table_24039597_26 (stumped VARCHAR, innings VARCHAR)
SELECT points FROM table_name_92 WHERE series = "gp3 series" AND podiums = "2"
What are the points for the GP3 series with 2 podiums?
CREATE TABLE table_name_92 (points VARCHAR, series VARCHAR, podiums VARCHAR)
SELECT location FROM table_name_30 WHERE project = "eren talu bidding project"
Where is the Eren Talu bidding project located?
CREATE TABLE table_name_30 (location VARCHAR, project VARCHAR)
SELECT medium FROM table_20903658_1 WHERE title_subject = "George Harold Baker"
What medium was used for the sculpture of George Harold Baker?
CREATE TABLE table_20903658_1 (medium VARCHAR, title_subject VARCHAR)
SELECT median_house__hold_income FROM table_1447085_1 WHERE place = "Woodside"
What is the median household income for Woodside?
CREATE TABLE table_1447085_1 (median_house__hold_income VARCHAR, place VARCHAR)
SELECT MAX(apogee__km_) FROM table_12141496_1 WHERE name = "SAMOS F3-3"
What is the maximum apogee for samos f3-3?
CREATE TABLE table_12141496_1 (apogee__km_ INTEGER, name VARCHAR)
SELECT COUNT(route_via) FROM table_29770377_1 WHERE train_name = "Ernad Express"
How many route/via's are there for the ernad express?
CREATE TABLE table_29770377_1 (route_via VARCHAR, train_name VARCHAR)
SELECT COUNT(incumbent) FROM table_1341690_18 WHERE district = "Louisiana 5"
How many incumbents are there in district Louisiana 5?
CREATE TABLE table_1341690_18 (incumbent VARCHAR, district VARCHAR)
SELECT class FROM table_name_20 WHERE date = "august 25"
What is the class of the race that takes place on August 25?
CREATE TABLE table_name_20 (class VARCHAR, date VARCHAR)
SELECT COUNT(round) FROM table_name_12 WHERE position = "linebacker" AND player = "blane smith"
How many rounds did Blane Smith play linebacker?
CREATE TABLE table_name_12 (round VARCHAR, position VARCHAR, player VARCHAR)
SELECT position FROM table_11803648_20 WHERE player = "Jordan Fransoo"
What position is the player Jordan Fransoo in?
CREATE TABLE table_11803648_20 (position VARCHAR, player VARCHAR)
SELECT COUNT(*) FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId WHERE T2.maxOccupancy = T1.Adults + T1.Kids
List how many times the number of people in the room reached the maximum occupancy of the room. The number of people include adults and kids.
CREATE TABLE Rooms (RoomId VARCHAR, maxOccupancy VARCHAR); CREATE TABLE Reservations (Room VARCHAR, Adults VARCHAR, Kids VARCHAR)
SELECT segment_c FROM table_15187735_14 WHERE netflix = "S07E05"
What is segment C in s07e05
CREATE TABLE table_15187735_14 (segment_c VARCHAR, netflix VARCHAR)
SELECT rank FROM table_name_44 WHERE silver < 3 AND bronze > 1 AND nation = "bulgaria"
What rank is Bulgaria with less than 3 silver and more than 1 bronze?
CREATE TABLE table_name_44 (rank VARCHAR, nation VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT area__km_2__ FROM table_1404456_1 WHERE population_census_2009 = 939370
what's the area (km 2 ) with population census 2009 being 939370
CREATE TABLE table_1404456_1 (area__km_2__ VARCHAR, population_census_2009 VARCHAR)
SELECT icao FROM table_name_66 WHERE airport = "luqa airport"
What is the ICAO for luqa airport?
CREATE TABLE table_name_66 (icao VARCHAR, airport VARCHAR)
SELECT date_of_creation FROM table_261222_1 WHERE city___municipality = "Kibawe"
What day was kibawe created?
CREATE TABLE table_261222_1 (date_of_creation VARCHAR, city___municipality VARCHAR)
SELECT proto_germanic FROM table_name_48 WHERE german = "/t/"
What's the Proto-Germanic when the German is /t/?
CREATE TABLE table_name_48 (proto_germanic VARCHAR, german VARCHAR)
SELECT notability_profession FROM table_24775967_1 WHERE season = 15 AND finish = "7th"
What was the profession of the celebrity who was featured on season 15 and finished 7th place?
CREATE TABLE table_24775967_1 (notability_profession VARCHAR, season VARCHAR, finish VARCHAR)
SELECT date FROM table_name_24 WHERE record = "28-15"
What is the date of the match with a 28-15 record?
CREATE TABLE table_name_24 (date VARCHAR, record VARCHAR)
SELECT capacity FROM table_name_39 WHERE acceleration_0_100km_h = "11.1 s"
what is the capacity when the acceleration 1-100km/h is 11.1 s?
CREATE TABLE table_name_39 (capacity VARCHAR, acceleration_0_100km_h VARCHAR)
SELECT venue FROM table_name_29 WHERE year < 2011 AND competition = "world junior championships"
What venue had a competition of World Junior Championships before 2011?
CREATE TABLE table_name_29 (venue VARCHAR, year VARCHAR, competition VARCHAR)
SELECT MAX(game) FROM table_name_81 WHERE high_assists = "morris peterson (8)"
What is the highest Game when Morris Peterson (8) had the high assists?
CREATE TABLE table_name_81 (game INTEGER, high_assists VARCHAR)
SELECT ages FROM table_name_45 WHERE ofsted > 106172 AND school = "oakgrove school"
Which Ages have an Ofsted larger than 106172, and a School of oakgrove school?
CREATE TABLE table_name_45 (ages VARCHAR, ofsted VARCHAR, school VARCHAR)
SELECT AVG(gold) FROM table_name_75 WHERE total = 2 AND bronze > 1
What is the average gold that has a total of 2 and more than 1 bronze.
CREATE TABLE table_name_75 (gold INTEGER, total VARCHAR, bronze VARCHAR)
SELECT MIN(ovrs) FROM table_name_89 WHERE wkts = 0
Name the least ovrs for wkts of 0
CREATE TABLE table_name_89 (ovrs INTEGER, wkts VARCHAR)
SELECT competition FROM table_name_74 WHERE score = "2-1"
What is the Competition name of the competition that ended with a score of 2-1?
CREATE TABLE table_name_74 (competition VARCHAR, score VARCHAR)
SELECT COUNT(district) FROM table_1342198_17 WHERE incumbent = "Noble Jones Gregory"
How many results for incumbent Noble Jones Gregory?
CREATE TABLE table_1342198_17 (district VARCHAR, incumbent VARCHAR)
SELECT points FROM table_name_90 WHERE entrant = "corbari italia" AND year = 1985
How many points did Corbari Italia earn in 1985?
CREATE TABLE table_name_90 (points VARCHAR, entrant VARCHAR, year VARCHAR)
SELECT customer_details FROM customers UNION SELECT staff_details FROM staff
Find the names of all the customers and staff members.
CREATE TABLE staff (customer_details VARCHAR, staff_details VARCHAR); CREATE TABLE customers (customer_details VARCHAR, staff_details VARCHAR)
SELECT MIN(crowd) FROM table_name_71 WHERE away_team = "north melbourne"
In which of North Melbourne's away games was there the lowest crowd?
CREATE TABLE table_name_71 (crowd INTEGER, away_team VARCHAR)
SELECT to_par FROM table_name_49 WHERE place = "t1" AND player = "jiyai shin"
What is the to par for Jiyai Shin in place t1?
CREATE TABLE table_name_49 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT general_classification FROM table_12261714_2 WHERE stage = "1a"
Who's leading in the general classification in stage 1a?
CREATE TABLE table_12261714_2 (general_classification VARCHAR, stage VARCHAR)
SELECT MIN(events) FROM table_24108789_6 WHERE _number = 7
Name the least events for number 7
CREATE TABLE table_24108789_6 (events INTEGER, _number VARCHAR)
SELECT COUNT(no) FROM table_23918997_1 WHERE us_viewers__million_ = "1.29"
How many episodes were viewed by 1.29 million people?
CREATE TABLE table_23918997_1 (no VARCHAR, us_viewers__million_ VARCHAR)
SELECT MAX(week) FROM table_name_81 WHERE date = "september 14, 2003"
What is the highest week that has September 14, 2003 as the date?
CREATE TABLE table_name_81 (week INTEGER, date VARCHAR)
SELECT cuts_made FROM table_name_43 WHERE wins < 3 AND events = 23
What cuts made has a wins less than 3 and 23 for the events?
CREATE TABLE table_name_43 (cuts_made VARCHAR, wins VARCHAR, events VARCHAR)
SELECT scores_by_each_individual_judge FROM table_name_67 WHERE status = "current" AND co_contestant__yaar_vs_pyaar_ = "krushna abhishek"
What Scores by each individual judge has a Status of current, and a Co-contestant (Yaar vs. Pyaar) of krushna abhishek?
CREATE TABLE table_name_67 (scores_by_each_individual_judge VARCHAR, status VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
SELECT T1.Area FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation GROUP BY T2.Appelation HAVING T2.year < 2010 ORDER BY COUNT(*) DESC LIMIT 1
What is the area of the appelation that produces the highest number of wines before the year of 2010?
CREATE TABLE WINE (Appelation VARCHAR, year VARCHAR); CREATE TABLE APPELLATIONS (Area VARCHAR, Appelation VARCHAR)
SELECT city___municipality FROM table_2562572_5 WHERE cyrillic_name = "Ада"
Name the city for ада
CREATE TABLE table_2562572_5 (city___municipality VARCHAR, cyrillic_name VARCHAR)
SELECT nba_draft FROM table_name_91 WHERE school = "st. mary's high school"
Which NBA draft has a School of st. mary's high school?
CREATE TABLE table_name_91 (nba_draft VARCHAR, school VARCHAR)
SELECT player FROM table_name_68 WHERE weight = 210 AND team = "reno bighorns"
Which player who weighs 210 plays for the Reno Bighorns?
CREATE TABLE table_name_68 (player VARCHAR, weight VARCHAR, team VARCHAR)
SELECT candidate FROM table_name_57 WHERE race = "state representative, hd18"
Who is the candidate in Race for State representative, hd18?
CREATE TABLE table_name_57 (candidate VARCHAR, race VARCHAR)
SELECT left FROM table_10577579_3 WHERE women’s_nickname = "Lady Pilots"
Name the left of the Lady Pilots.
CREATE TABLE table_10577579_3 (left VARCHAR, women’s_nickname VARCHAR)
SELECT COUNT(net_run_rate) FROM table_25368177_1 WHERE total_points = 19
How many different net run rates did the team with 19 total points have?
CREATE TABLE table_25368177_1 (net_run_rate VARCHAR, total_points VARCHAR)
SELECT MAX(no_in_season) FROM table_18268826_1 WHERE us_viewers__million_ = "3.19"
What's the season number of the episode viewed by 3.19 million people in the US?
CREATE TABLE table_18268826_1 (no_in_season INTEGER, us_viewers__million_ VARCHAR)
SELECT attendance FROM table_name_63 WHERE game_site = "the meadowlands" AND opponent = "new england patriots"
What was the attendance at the Meadowlands against the New England Patriots?
CREATE TABLE table_name_63 (attendance VARCHAR, game_site VARCHAR, opponent VARCHAR)
SELECT COUNT(batting_team) FROM table_1670921_1 WHERE wicket = "3rd"
How many teams are listed for 3rd wickets?
CREATE TABLE table_1670921_1 (batting_team VARCHAR, wicket VARCHAR)
SELECT 2009 FROM table_name_71 WHERE 2010 = "q1" AND 2011 = "a"
What was the 2009 results that has q1 for 2010, and A as the result for 2011?
CREATE TABLE table_name_71 (Id VARCHAR)
SELECT MIN(no) FROM table_20848569_9 WHERE total_goals = 1 AND total_apps = 33
Where total goals is 1 and total apps is 33, what is the smallest no.?
CREATE TABLE table_20848569_9 (no INTEGER, total_goals VARCHAR, total_apps VARCHAR)
SELECT high_assists FROM table_name_71 WHERE high_points = "andrew bynum (23)"
What high assists has the high points of andrew bynum (23)?
CREATE TABLE table_name_71 (high_assists VARCHAR, high_points VARCHAR)
SELECT SUM(election) FROM table_name_1 WHERE province = "vicenza"
What is the sum of elections in vicenza?
CREATE TABLE table_name_1 (election INTEGER, province VARCHAR)