question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What Title has the Label of Columbia and Standard number of CODC-8760?
CREATE TABLE table_name_27 (title VARCHAR, label VARCHAR, standard_number VARCHAR)
SELECT title FROM table_name_27 WHERE label = "columbia" AND standard_number = "codc-8760"
What is the type of Kuang-Hsing?
CREATE TABLE table_name_71 (type VARCHAR, name__wade_giles_ VARCHAR)
SELECT type FROM table_name_71 WHERE name__wade_giles_ = "kuang-hsing"
What type has the characters 廣丙?
CREATE TABLE table_name_25 (type VARCHAR, characters VARCHAR)
SELECT type FROM table_name_25 WHERE characters = "廣丙"
What's the name that has the characters 廣亨?
CREATE TABLE table_name_87 (name__wade_giles_ VARCHAR, characters VARCHAR)
SELECT name__wade_giles_ FROM table_name_87 WHERE characters = "廣亨"
What type has the characters 廣利?
CREATE TABLE table_name_48 (type VARCHAR, characters VARCHAR)
SELECT type FROM table_name_48 WHERE characters = "廣利"
What is the type of Guangjia?
CREATE TABLE table_name_50 (type VARCHAR, name__pinyin_ VARCHAR)
SELECT type FROM table_name_50 WHERE name__pinyin_ = "guangjia"
What soap opera has a rank larger than 1, and a Character named Emily Bishop?
CREATE TABLE table_name_81 (soap_opera VARCHAR, rank VARCHAR, character VARCHAR)
SELECT soap_opera FROM table_name_81 WHERE rank > 1 AND character = "emily bishop"
What is the highest Rank 1960—?
CREATE TABLE table_name_81 (rank INTEGER, years VARCHAR)
SELECT MAX(rank) FROM table_name_81 WHERE years = "1960—"
What is the name of the actor with a duration of 61 years?
CREATE TABLE table_name_84 (actor VARCHAR, duration VARCHAR)
SELECT actor FROM table_name_84 WHERE duration = "61 years"
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 years FROM table_name_4 WHERE duration = "52 years" AND actor = "eileen derbyshire"
What soap opera was on 1960–1965, 1965–1983, 1984–2010?
CREATE TABLE table_name_33 (soap_opera VARCHAR, years VARCHAR)
SELECT soap_opera FROM table_name_33 WHERE years = "1960–1965, 1965–1983, 1984–2010"
Who are the rowers for Australia?
CREATE TABLE table_name_54 (rowers VARCHAR, country VARCHAR)
SELECT rowers FROM table_name_54 WHERE country = "australia"
What's Italy's rank?
CREATE TABLE table_name_36 (rank INTEGER, country VARCHAR)
SELECT SUM(rank) FROM table_name_36 WHERE country = "italy"
Who is the visitor team on Saturday, November 22 when linköpings hc was the home team and there were more than 20 rounds?
CREATE TABLE table_name_89 (visitor VARCHAR, date VARCHAR, home VARCHAR, round VARCHAR)
SELECT visitor FROM table_name_89 WHERE home = "linköpings hc" AND round > 20 AND date = "saturday, november 22"
What is the lowest attendance on Monday, November 10 when linköpings hc was the home team and there were more than 18 rounds?
CREATE TABLE table_name_30 (attendance INTEGER, round VARCHAR, home VARCHAR, date VARCHAR)
SELECT MIN(attendance) FROM table_name_30 WHERE home = "linköpings hc" AND date = "monday, november 10" AND round > 18
Who is the visitor at the axa sports center in round 20?
CREATE TABLE table_name_6 (visitor VARCHAR, venue VARCHAR, round VARCHAR)
SELECT visitor FROM table_name_6 WHERE venue = "axa sports center" AND round = 20
What is the Attendance of the game on November 6, 1966?
CREATE TABLE table_name_7 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_7 WHERE date = "november 6, 1966"
What is the Result of the game on November 6, 1966?
CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_78 WHERE date = "november 6, 1966"
Who is the club with a 4:03.63 time?
CREATE TABLE table_name_91 (club VARCHAR, time VARCHAR)
SELECT club FROM table_name_91 WHERE time = "4:03.63"
What was the Green-Communist percentage in the poll in which the Socialist Party earned 41.0%?
CREATE TABLE table_name_59 (green_communist VARCHAR, socialist VARCHAR)
SELECT green_communist FROM table_name_59 WHERE socialist = "41.0%"
What is the Green-Communist percentage in the poll showing a 9.7% lead?
CREATE TABLE table_name_1 (green_communist VARCHAR, lead VARCHAR)
SELECT green_communist FROM table_name_1 WHERE lead = "9.7%"
what is the result on 9 october 2012?
CREATE TABLE table_name_87 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_87 WHERE date = "9 october 2012"
what is the score when the venue is stade général seyni kountché, niamey, the competition is friendly and the date is 9 october 2012?
CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)
SELECT score FROM table_name_32 WHERE venue = "stade général seyni kountché, niamey" AND competition = "friendly" AND date = "9 october 2012"
what is the result when the venue is stade général seyni kountché, niamey, the competition is friendly and the date is 9 october 2012?
CREATE TABLE table_name_54 (result VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)
SELECT result FROM table_name_54 WHERE venue = "stade général seyni kountché, niamey" AND competition = "friendly" AND date = "9 october 2012"
what is the competition on 10 august 2011?
CREATE TABLE table_name_75 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_75 WHERE date = "10 august 2011"
what is the date when the venue is stade général seyni kountché , niamey?
CREATE TABLE table_name_10 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_10 WHERE venue = "stade général seyni kountché , niamey"
What place has manfred kokot as the athlete?
CREATE TABLE table_name_7 (place VARCHAR, athlete VARCHAR)
SELECT place FROM table_name_7 WHERE athlete = "manfred kokot"
What athlete has reno as the place?
CREATE TABLE table_name_73 (athlete VARCHAR, place VARCHAR)
SELECT athlete FROM table_name_73 WHERE place = "reno"
What campus opened in 1970?
CREATE TABLE table_name_12 (campus VARCHAR, year_opened VARCHAR)
SELECT campus FROM table_name_12 WHERE year_opened = "1970"
What year was the school opened that has a size of 10 acres and students of na?
CREATE TABLE table_name_76 (year_opened VARCHAR, students VARCHAR, size VARCHAR)
SELECT year_opened FROM table_name_76 WHERE students = "na" AND size = "10 acres"
What location was the campus that has a size of 245 acres?
CREATE TABLE table_name_86 (location VARCHAR, size VARCHAR)
SELECT location FROM table_name_86 WHERE size = "245 acres"
What campus was opened in 1977?
CREATE TABLE table_name_79 (campus VARCHAR, year_opened VARCHAR)
SELECT campus FROM table_name_79 WHERE year_opened = "1977"
What location was the campus opened in 2005 with students listed as na?
CREATE TABLE table_name_57 (location VARCHAR, students VARCHAR, year_opened VARCHAR)
SELECT location FROM table_name_57 WHERE students = "na" AND year_opened = "2005"
what is the type when the rank is smaller than 70, the province is british columbia and the capacity (mw) is more than 2,480?
CREATE TABLE table_name_14 (type VARCHAR, capacity___mw__ VARCHAR, rank VARCHAR, province VARCHAR)
SELECT type FROM table_name_14 WHERE rank < 70 AND province = "british columbia" AND capacity___mw__ > 2 OFFSET 480
what is the least capacity (mw) when the rank is less than 46 and the province is newfoundland and labrador?
CREATE TABLE table_name_99 (capacity___mw__ INTEGER, rank VARCHAR, province VARCHAR)
SELECT MIN(capacity___mw__) FROM table_name_99 WHERE rank < 46 AND province = "newfoundland and labrador"
what is the lowest rank when the type is hydro, the name is grand rapids generating station and the capacity (mw) is more than 479?
CREATE TABLE table_name_67 (rank INTEGER, capacity___mw__ VARCHAR, type VARCHAR, name VARCHAR)
SELECT MIN(rank) FROM table_name_67 WHERE type = "hydro" AND name = "grand rapids generating station" AND capacity___mw__ > 479
what is the province when the rank is higher than 24 and the name is laforge-2?
CREATE TABLE table_name_42 (province VARCHAR, rank VARCHAR, name VARCHAR)
SELECT province FROM table_name_42 WHERE rank > 24 AND name = "laforge-2"
what is the name when the type is hydro, the capacity (mw) is less than 478, the rank is more than 85 and the province is quebec?
CREATE TABLE table_name_15 (name VARCHAR, province VARCHAR, rank VARCHAR, type VARCHAR, capacity___mw__ VARCHAR)
SELECT name FROM table_name_15 WHERE type = "hydro" AND capacity___mw__ < 478 AND rank > 85 AND province = "quebec"
How many years have toyota team tom's as the team, with Laps greater than 64?
CREATE TABLE table_name_60 (year VARCHAR, team VARCHAR, laps VARCHAR)
SELECT COUNT(year) FROM table_name_60 WHERE team = "toyota team tom's" AND laps > 64
What round was on 11/11/1992?
CREATE TABLE table_name_91 (round VARCHAR, date VARCHAR)
SELECT round FROM table_name_91 WHERE date = "11/11/1992"
What is the total against on 08/12/1992?
CREATE TABLE table_name_82 (against INTEGER, date VARCHAR)
SELECT SUM(against) FROM table_name_82 WHERE date = "08/12/1992"
What is the venue of 24/11/1992?
CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_6 WHERE date = "24/11/1992"
What round has less than 1 against?
CREATE TABLE table_name_37 (round VARCHAR, against INTEGER)
SELECT round FROM table_name_37 WHERE against < 1
How many gold medals for germany (GER) having a rank less than 15?
CREATE TABLE table_name_64 (gold VARCHAR, nation VARCHAR, rank VARCHAR)
SELECT COUNT(gold) FROM table_name_64 WHERE nation = "germany (ger)" AND rank < 15
How many silver medals when the bronze is more than 2 and having a rank more than 5?
CREATE TABLE table_name_89 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT MAX(silver) FROM table_name_89 WHERE rank > 5 AND bronze > 2
What's the average number of silver medals when bronze is less than 0?
CREATE TABLE table_name_86 (silver INTEGER, bronze INTEGER)
SELECT AVG(silver) FROM table_name_86 WHERE bronze < 0
What's the average number of silver medals for germany (GER) having more than 3 bronze?
CREATE TABLE table_name_44 (silver INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT AVG(silver) FROM table_name_44 WHERE nation = "germany (ger)" AND bronze > 3
What are the notes for 6:31.16?
CREATE TABLE table_name_85 (notes VARCHAR, time VARCHAR)
SELECT notes FROM table_name_85 WHERE time = "6:31.16"
What rowers have a 6:29.56 time?
CREATE TABLE table_name_64 (rowers VARCHAR, time VARCHAR)
SELECT rowers FROM table_name_64 WHERE time = "6:29.56"
What is the time with FB notes for Canada?
CREATE TABLE table_name_43 (time VARCHAR, notes VARCHAR, country VARCHAR)
SELECT time FROM table_name_43 WHERE notes = "fb" AND country = "canada"
What country has a time of 6:49.28?
CREATE TABLE table_name_38 (country VARCHAR, time VARCHAR)
SELECT country FROM table_name_38 WHERE time = "6:49.28"
Which Tries for has Points against larger than 87, and Tries against smaller than 28, and Points diff of +63?
CREATE TABLE table_name_69 (tries_for INTEGER, points_diff VARCHAR, points_against VARCHAR, tries_against VARCHAR)
SELECT AVG(tries_for) FROM table_name_69 WHERE points_against > 87 AND tries_against < 28 AND points_diff = "+63"
Which Points for has Points against smaller than 93, and Tries for larger than 25?
CREATE TABLE table_name_38 (points_for INTEGER, points_against VARCHAR, tries_for VARCHAR)
SELECT MIN(points_for) FROM table_name_38 WHERE points_against < 93 AND tries_for > 25
Which Tries for has Points against smaller than 124, and Points for smaller than 241, and Tries against smaller than 11?
CREATE TABLE table_name_12 (tries_for INTEGER, tries_against VARCHAR, points_against VARCHAR, points_for VARCHAR)
SELECT MAX(tries_for) FROM table_name_12 WHERE points_against < 124 AND points_for < 241 AND tries_against < 11
How many Tries against have a Team of dinamo bucureşti, and Tries for smaller than 19?
CREATE TABLE table_name_48 (tries_against VARCHAR, team VARCHAR, tries_for VARCHAR)
SELECT COUNT(tries_against) FROM table_name_48 WHERE team = "dinamo bucureşti" AND tries_for < 19
What week had attendance of 48,667?
CREATE TABLE table_name_59 (week VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_name_59 WHERE attendance = 48 OFFSET 667
What Song has a Draw of less than 4 with a Percentage of 32.22%?
CREATE TABLE table_name_72 (song VARCHAR, draw VARCHAR, percentage VARCHAR)
SELECT song FROM table_name_72 WHERE draw < 4 AND percentage = "32.22%"
What Artist has a Place of 3 or less with a Percentage of 38.60%?
CREATE TABLE table_name_50 (artist VARCHAR, place VARCHAR, percentage VARCHAR)
SELECT artist FROM table_name_50 WHERE place < 3 AND percentage = "38.60%"
What is the Place of Draw 1 by Artist Monika Kirovska?
CREATE TABLE table_name_54 (place INTEGER, artist VARCHAR, draw VARCHAR)
SELECT AVG(place) FROM table_name_54 WHERE artist = "monika kirovska" AND draw < 1
What were the most byes of Terang-Mortlake when they had more than 11 wins and more than 1118 against?
CREATE TABLE table_name_55 (byes INTEGER, hampden_fl VARCHAR, wins VARCHAR, against VARCHAR)
SELECT MAX(byes) FROM table_name_55 WHERE wins > 11 AND against > 1118 AND hampden_fl = "terang-mortlake"
How many wins did South Warrambool have?
CREATE TABLE table_name_91 (wins INTEGER, hampden_fl VARCHAR)
SELECT AVG(wins) FROM table_name_91 WHERE hampden_fl = "south warrambool"
How many byes when there are more than 16 wins?
CREATE TABLE table_name_50 (byes INTEGER, wins INTEGER)
SELECT AVG(byes) FROM table_name_50 WHERE wins > 16
What is the least amount of Byes when there are more than 2 wins and 1946 against?
CREATE TABLE table_name_3 (byes INTEGER, against VARCHAR, wins VARCHAR)
SELECT MIN(byes) FROM table_name_3 WHERE against = 1946 AND wins > 2
How many wins when the draws are less than 1 and more than 4 losses?
CREATE TABLE table_name_59 (wins INTEGER, draws VARCHAR, losses VARCHAR)
SELECT AVG(wins) FROM table_name_59 WHERE draws < 1 AND losses > 4
What was the lowest population of the GEO ID 3805373380 and the water square mileage smaller than 5.729?
CREATE TABLE table_name_25 (pop__2010_ INTEGER, geo_id VARCHAR, water__sqmi_ VARCHAR)
SELECT MIN(pop__2010_) FROM table_name_25 WHERE geo_id = 3805373380 AND water__sqmi_ < 5.729
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 MIN(geo_id) FROM table_name_29 WHERE longitude = -102.158045 AND water__sqmi_ > 0.979
What is the average ANSI code for the town of Sherman and the smaller of the water area in square miles than 0.005?
CREATE TABLE table_name_39 (ansi_code INTEGER, township VARCHAR, water__sqmi_ VARCHAR)
SELECT AVG(ansi_code) FROM table_name_39 WHERE township = "sherman" AND water__sqmi_ < 0.005
What is the average longitude for the water area of 0.093 and has a GEO ID tag larger than 3808174460?
CREATE TABLE table_name_46 (longitude INTEGER, water__sqmi_ VARCHAR, geo_id VARCHAR)
SELECT AVG(longitude) FROM table_name_46 WHERE water__sqmi_ = 0.093 AND geo_id > 3808174460
Which Country's Author is based on Sophocles and Euripides?
CREATE TABLE table_name_86 (country VARCHAR, author VARCHAR)
SELECT country FROM table_name_86 WHERE author = "based on sophocles and euripides"
Which Author's Company is Ruth Kanner Theatre Group?
CREATE TABLE table_name_93 (author VARCHAR, company VARCHAR)
SELECT author FROM table_name_93 WHERE company = "ruth kanner theatre group"
Which Play is from Cyprus, from the Company Magdalena Zira Theatre?
CREATE TABLE table_name_98 (play VARCHAR, country VARCHAR, company VARCHAR)
SELECT play FROM table_name_98 WHERE country = "cyprus" AND company = "magdalena zira theatre"
Which Country is the Play Electra and Orestes, The Trial from?
CREATE TABLE table_name_82 (country VARCHAR, play VARCHAR)
SELECT country FROM table_name_82 WHERE play = "electra and orestes, the trial"
How much total time was in lane 4?
CREATE TABLE table_name_66 (time VARCHAR, lane VARCHAR)
SELECT COUNT(time) FROM table_name_66 WHERE lane = 4
Which Rank has a Reaction time larger than 0.20400000000000001, and a Time larger than 45.56?
CREATE TABLE table_name_98 (rank INTEGER, react VARCHAR, time VARCHAR)
SELECT MAX(rank) FROM table_name_98 WHERE react > 0.20400000000000001 AND time > 45.56
How many ranks have more than 7 lanes, and an Athlete of michael mathieu, and a Reaction time larger than 0.203?
CREATE TABLE table_name_3 (rank INTEGER, react VARCHAR, lane VARCHAR, athlete VARCHAR)
SELECT SUM(rank) FROM table_name_3 WHERE lane > 7 AND athlete = "michael mathieu" AND react > 0.203
Which Time has a Reaction smaller than 0.20400000000000001, and a Rank of 1?
CREATE TABLE table_name_15 (time INTEGER, react VARCHAR, rank VARCHAR)
SELECT SUM(time) FROM table_name_15 WHERE react < 0.20400000000000001 AND rank = 1
What's the average Top-25, that has an Events that's smaller than 12, and has a Top-5 that is larger than 0?
CREATE TABLE table_name_60 (top_25 INTEGER, events VARCHAR, top_5 VARCHAR)
SELECT AVG(top_25) FROM table_name_60 WHERE events < 12 AND top_5 > 0
What's the listed average of Cuts made that has a Top-5 of 3, and a Top-10 that's smaller than 5?
CREATE TABLE table_name_17 (cuts_made INTEGER, top_5 VARCHAR, top_10 VARCHAR)
SELECT AVG(cuts_made) FROM table_name_17 WHERE top_5 = 3 AND top_10 < 5
What's the sum of Top-25 that has an Events that is smaller than 10?
CREATE TABLE table_name_61 (top_25 VARCHAR, events INTEGER)
SELECT COUNT(top_25) FROM table_name_61 WHERE events < 10
What's the sum of Top-10 that has Events that's larger than 16, and has a Top-5 that's also larger than 5?
CREATE TABLE table_name_87 (top_10 VARCHAR, events VARCHAR, top_5 VARCHAR)
SELECT COUNT(top_10) FROM table_name_87 WHERE events > 16 AND top_5 > 5
What is the lowest Cuts made that has a Tournament of PGA Championship, and has a Top-5 that is smaller than 2?
CREATE TABLE table_name_50 (cuts_made INTEGER, tournament VARCHAR, top_5 VARCHAR)
SELECT MIN(cuts_made) FROM table_name_50 WHERE tournament = "pga championship" AND top_5 < 2
When the nominee(s) is john wells what is the episode for a year before 2004?
CREATE TABLE table_name_64 (episode VARCHAR, year VARCHAR, nominee_s_ VARCHAR)
SELECT episode FROM table_name_64 WHERE year < 2004 AND nominee_s_ = "john wells"
What is the result when the nominee(s) of janine sherman?
CREATE TABLE table_name_57 (result VARCHAR, nominee_s_ VARCHAR)
SELECT result FROM table_name_57 WHERE nominee_s_ = "janine sherman"
What is the result for a year after 2003, when the nominee(s) is john wells?
CREATE TABLE table_name_64 (result VARCHAR, year VARCHAR, nominee_s_ VARCHAR)
SELECT result FROM table_name_64 WHERE year > 2003 AND nominee_s_ = "john wells"
What is the purse in 2003, which had a 1-1/16 distance?
CREATE TABLE table_name_94 (purse VARCHAR, distance VARCHAR, year VARCHAR)
SELECT purse FROM table_name_94 WHERE distance = "1-1/16" AND year = 2003
Who is the trainer of the winner skylighter?
CREATE TABLE table_name_5 (trainer VARCHAR, winner VARCHAR)
SELECT trainer FROM table_name_5 WHERE winner = "skylighter"
What is the distance with a 1:46.32 time?
CREATE TABLE table_name_85 (distance VARCHAR, time VARCHAR)
SELECT distance FROM table_name_85 WHERE time = "1:46.32"
What is the average year with a 1:42.85 time?
CREATE TABLE table_name_81 (year INTEGER, time VARCHAR)
SELECT AVG(year) FROM table_name_81 WHERE time = "1:42.85"
What is the distance in 2006?
CREATE TABLE table_name_18 (distance VARCHAR, year VARCHAR)
SELECT distance FROM table_name_18 WHERE year = 2006
Who was the director of Clean Pastures?
CREATE TABLE table_name_12 (director VARCHAR, title VARCHAR)
SELECT director FROM table_name_12 WHERE title = "clean pastures"
What was the release date for Production Number 8181?
CREATE TABLE table_name_14 (release_date VARCHAR, production_num VARCHAR)
SELECT release_date FROM table_name_14 WHERE production_num = "8181"
What series was directed by Frank Tashlin and has the production number, 8053?
CREATE TABLE table_name_28 (series VARCHAR, director VARCHAR, production_num VARCHAR)
SELECT series FROM table_name_28 WHERE director = "frank tashlin" AND production_num = "8053"
What series was called Egghead Rides Again?
CREATE TABLE table_name_38 (series VARCHAR, title VARCHAR)
SELECT series FROM table_name_38 WHERE title = "egghead rides again"
What is the Tie no of the Port Vale Away game?
CREATE TABLE table_name_56 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_56 WHERE away_team = "port vale"
What is the Score of the Halifax Town Home game?
CREATE TABLE table_name_30 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_30 WHERE home_team = "halifax town"
What is the Score of the Scarborough Home game?
CREATE TABLE table_name_72 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_72 WHERE home_team = "scarborough"
Which college did the player who went to the Boston Patriots go to?
CREATE TABLE table_name_8 (college VARCHAR, team VARCHAR)
SELECT college FROM table_name_8 WHERE team = "boston patriots"
What was the highest pick number of the player who went to LSU in college?
CREATE TABLE table_name_20 (pick INTEGER, college VARCHAR)
SELECT MAX(pick) FROM table_name_20 WHERE college = "lsu"
Which college did the player picked number 136 go to?
CREATE TABLE table_name_54 (college VARCHAR, pick VARCHAR)
SELECT college FROM table_name_54 WHERE pick = 136
Which college did the player picked larger than 130 by the New York Jets go to?
CREATE TABLE table_name_95 (college VARCHAR, pick VARCHAR, team VARCHAR)
SELECT college FROM table_name_95 WHERE pick > 130 AND team = "new york jets"