answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT years FROM table_name_25 WHERE pct = 0.667 AND lost = 380
What is the years coached by the person with a win percentage of 0.667 and 380 losses?
CREATE TABLE table_name_25 (years VARCHAR, pct VARCHAR, lost VARCHAR)
SELECT MIN(year_commissioned) FROM table_name_64 WHERE average_annual_output__million_kwh_ > 58 AND installed_capacity__megawatts_ = 20
What is the earliest Year commissioned wiht an Average annual output greater than 58 and Installed capacity of 20?
CREATE TABLE table_name_64 (year_commissioned INTEGER, average_annual_output__million_kwh_ VARCHAR, installed_capacity__megawatts_ VARCHAR)
SELECT COUNT(rank) FROM table_26454128_7 WHERE athlete = "Tom Churchill"
Name the total number of rank for tom churchill
CREATE TABLE table_26454128_7 (rank VARCHAR, athlete VARCHAR)
SELECT mountains_classification FROM table_27573848_18 WHERE winner = "Rui Costa"
If the winner is Rui Costa, who made the mountains classification?
CREATE TABLE table_27573848_18 (mountains_classification VARCHAR, winner VARCHAR)
SELECT record FROM table_name_12 WHERE score = "80–87" AND visitor = "bucks"
What is the Record with a Score with 80–87, and a Visitor with bucks?
CREATE TABLE table_name_12 (record VARCHAR, score VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_91 WHERE outcome = "runner-up" AND tournament = "marco island"
What was the score of the marco island tournament match when Kathleen Horvath won runner-up?
CREATE TABLE table_name_91 (score VARCHAR, outcome VARCHAR, tournament VARCHAR)
SELECT position FROM table_name_29 WHERE nationality = "canada" AND nhl_team = "new york islanders" AND pick__number = "113"
What position shows for canada, and an NHL team of new york islanders, and a Pick # of 113?
CREATE TABLE table_name_29 (position VARCHAR, pick__number VARCHAR, nationality VARCHAR, nhl_team VARCHAR)
SELECT date FROM table_name_32 WHERE result = "draw" AND venue = "oval"
What Date that had a Result of draw, with Oval as a venue?
CREATE TABLE table_name_32 (date VARCHAR, result VARCHAR, venue VARCHAR)
SELECT date FROM table_name_64 WHERE first_prize = "$161,480"
When was the game that had a first prize of $161,480?
CREATE TABLE table_name_64 (date VARCHAR, first_prize VARCHAR)
SELECT chord FROM table_name_73 WHERE minor_seventh = "f"
What is the Chord with a Minor that is seventh of f?
CREATE TABLE table_name_73 (chord VARCHAR, minor_seventh VARCHAR)
SELECT date FROM table_1137707_2 WHERE location = "Circuit Gilles Villeneuve"
What is the date of the circuit gilles villeneuve?
CREATE TABLE table_1137707_2 (date VARCHAR, location VARCHAR)
SELECT SUM(frequency) FROM table_name_13 WHERE type = "christian pop"
What is the sum of Frequency, when Type is "Christian Pop"?
CREATE TABLE table_name_13 (frequency INTEGER, type VARCHAR)
SELECT team FROM table_name_15 WHERE high_assists = "rashard lewis (4)"
What is Team, when High Assists is "Rashard Lewis (4)"?
CREATE TABLE table_name_15 (team VARCHAR, high_assists VARCHAR)
SELECT country FROM table_name_84 WHERE player = "arron oberholser"
where did arron oberholser play?
CREATE TABLE table_name_84 (country VARCHAR, player VARCHAR)
SELECT cardinalatial_order_and_title FROM table_name_26 WHERE elevated = "circa 1116"
What is the cardinalatial order of the elector elevated circa 1116?
CREATE TABLE table_name_26 (cardinalatial_order_and_title VARCHAR, elevated VARCHAR)
SELECT MIN(year) FROM table_name_54 WHERE location = "giants stadium" AND winner = "new york giants"
WHAT YEAR WAS AT GIANTS STADIUM, WITH WINNER OF NEW YORK GIANTS?
CREATE TABLE table_name_54 (year INTEGER, location VARCHAR, winner VARCHAR)
SELECT MAX(silver) FROM table_name_67 WHERE bronze = 0 AND total < 1
What is the largest number of silver that had 0 bronzes and total less than 1?
CREATE TABLE table_name_67 (silver INTEGER, bronze VARCHAR, total VARCHAR)
SELECT name FROM battle WHERE bulgarian_commander = 'Kaloyan' AND latin_commander = 'Baldwin I'
What are the distinct battle names which are between bulgarian commander 'Kaloyan' and latin commander 'Baldwin I'?
CREATE TABLE battle (name VARCHAR, bulgarian_commander VARCHAR, latin_commander VARCHAR)
SELECT last_5_meetings FROM table_name_38 WHERE overall_record = "ksu, 118-117"
With an overall record of KSU, 118-117 what is the last 5 meetings?
CREATE TABLE table_name_38 (last_5_meetings VARCHAR, overall_record VARCHAR)
SELECT destination FROM Flight GROUP BY destination ORDER BY COUNT(*) LIMIT 1
Which destination has least number of flights?
CREATE TABLE Flight (destination VARCHAR)
SELECT n° FROM table_15887683_5 WHERE package_option = "Sky Cinema" AND content = "cinema" AND television_service = "Sky Cinema" + 24
What are the values of n for cinema content provided by Sky Cinema +24 on its Sky Cinema package?
CREATE TABLE table_15887683_5 (n° VARCHAR, television_service VARCHAR, package_option VARCHAR, content VARCHAR)
SELECT architecture FROM table_name_69 WHERE release_date = "1988-05-27"
Which Architecture was released on Release date 1988-05-27?
CREATE TABLE table_name_69 (architecture VARCHAR, release_date VARCHAR)
SELECT championship FROM table_2362486_1 WHERE score_in_the_final = "6–4, 2–6, 6–4, 7–6(3)"
Which championship had a final score of 6–4, 2–6, 6–4, 7–6(3)?
CREATE TABLE table_2362486_1 (championship VARCHAR, score_in_the_final VARCHAR)
SELECT ground FROM table_name_79 WHERE crowd > 41 OFFSET 185
Which ground has a crowd over 41,185?
CREATE TABLE table_name_79 (ground VARCHAR, crowd INTEGER)
SELECT surface FROM table_name_76 WHERE winner_and_score = "gustavo kuerten 6-4, 7-5, 7-6(6)"
what is the surface when the winner and score is gustavo kuerten 6-4, 7-5, 7-6(6)?
CREATE TABLE table_name_76 (surface VARCHAR, winner_and_score VARCHAR)
SELECT MIN(ends) FROM table_name_49 WHERE name = "dani alves"
What is the lowest ends for Dani Alves?
CREATE TABLE table_name_49 (ends INTEGER, name VARCHAR)
SELECT first_year_in_qld_cup FROM table_2383498_4 WHERE home_ground = "Corbett Park, Crosby Park, Lang Park, ANZ Stadium"
What is every value for first year in QLD Cup if home ground is Corbett Park, Crosby Park, Lang Park, ANZ Stadium?
CREATE TABLE table_2383498_4 (first_year_in_qld_cup VARCHAR, home_ground VARCHAR)
SELECT week_of FROM table_name_53 WHERE semi_finalists = "sandrine testud yone kamio"
What is Week, when Semi Finalists is Sandrine Testud Yone Kamio?
CREATE TABLE table_name_53 (week_of VARCHAR, semi_finalists VARCHAR)
SELECT school FROM table_name_42 WHERE player = "tyrone johnson"
Which School did Player Tyrone Johnson attend?
CREATE TABLE table_name_42 (school VARCHAR, player VARCHAR)
SELECT COUNT(year) FROM table_name_84 WHERE points > 20
What is the year that has points larger than 20?
CREATE TABLE table_name_84 (year VARCHAR, points INTEGER)
SELECT season_outcome FROM table_name_10 WHERE school = "sussex central"
What is the Season Outcome for the Sussex Central School?
CREATE TABLE table_name_10 (season_outcome VARCHAR, school VARCHAR)
SELECT COUNT(type) FROM table_256286_45 WHERE yes_votes = 312680
How many types are there for the measure where there were 312680 yes votes?
CREATE TABLE table_256286_45 (type VARCHAR, yes_votes VARCHAR)
SELECT MIN(lariciresinol) FROM table_1831262_2 WHERE matairesinol = 440
what is the minimum number is lariciresinol where matairesinol number is 440?
CREATE TABLE table_1831262_2 (lariciresinol INTEGER, matairesinol VARCHAR)
SELECT SUM(week) FROM table_name_71 WHERE attendance = "39,923"
In what Week was the Attendance 39,923?
CREATE TABLE table_name_71 (week INTEGER, attendance VARCHAR)
SELECT country FROM table_name_43 WHERE player = "frank nobilo"
Frank Nobilo plays for what country?
CREATE TABLE table_name_43 (country VARCHAR, player VARCHAR)
SELECT interview FROM table_11970261_2 WHERE swimsuit = "9.140"
what's the interview with swimsuit being 9.140
CREATE TABLE table_11970261_2 (interview VARCHAR, swimsuit VARCHAR)
SELECT city FROM table_name_76 WHERE venue = "university gym (gold mine)"
What city is University Gym (Gold Mine) in?
CREATE TABLE table_name_76 (city VARCHAR, venue VARCHAR)
SELECT population__2009_estimate_ FROM table_name_79 WHERE largest_city = "manaus"
What is the 2009 estimate population of the region with Manaus as the largest city?
CREATE TABLE table_name_79 (population__2009_estimate_ VARCHAR, largest_city VARCHAR)
SELECT first_match FROM table_name_84 WHERE last_match = "11 may 2008"
Name the first match for 11 may 2008
CREATE TABLE table_name_84 (first_match VARCHAR, last_match VARCHAR)
SELECT result FROM table_name_19 WHERE competition = "2007 afc asian cup"
What is the result of the 2007 AFC asian cup?
CREATE TABLE table_name_19 (result VARCHAR, competition VARCHAR)
SELECT COUNT(steals) FROM table_13050003_3 WHERE year = 2012
What is the number of steals for 2012
CREATE TABLE table_13050003_3 (steals VARCHAR, year VARCHAR)
SELECT third FROM table_name_23 WHERE home = "madison, wisconsin" AND skip = "craig brown"
Who is the third on the team from Madison, Wisconsin that has Craig Brown as skip?
CREATE TABLE table_name_23 (third VARCHAR, home VARCHAR, skip VARCHAR)
SELECT SUM(lane) FROM table_name_77 WHERE heat = 2 AND name = "susanna kallur"
How many lanes have 2 as the heat, and susanna kallur as the name?
CREATE TABLE table_name_77 (lane INTEGER, heat VARCHAR, name VARCHAR)
SELECT initial_owners FROM table_name_57 WHERE year_built = 1858 AND name = "wasco"
Who were the initial owners of Wasco in 1858?
CREATE TABLE table_name_57 (initial_owners VARCHAR, year_built VARCHAR, name VARCHAR)
SELECT opera FROM table_name_69 WHERE date = "november 2009"
What percentage of browsers were using Opera in November 2009?
CREATE TABLE table_name_69 (opera VARCHAR, date VARCHAR)
SELECT conference FROM table_16295365_1 WHERE school = "Belmont"
Which conference is Belmont in?
CREATE TABLE table_16295365_1 (conference VARCHAR, school VARCHAR)
SELECT Final AS week_12 FROM table_name_8 WHERE week_1 = "deepak p rahul" AND week_3 = "amit carol"
What was the week 12 standing for the housemate that nominated Deepak P Rahul in week 1 and Amit Carol in week 3?
CREATE TABLE table_name_8 (Final VARCHAR, week_1 VARCHAR, week_3 VARCHAR)
SELECT city FROM table_name_57 WHERE icao = "rjsn"
In what city is RJSN located?
CREATE TABLE table_name_57 (city VARCHAR, icao VARCHAR)
SELECT division FROM table_name_14 WHERE city = "jacksonville, florida"
Which Division does the City being jacksonville, florida belong to?
CREATE TABLE table_name_14 (division VARCHAR, city VARCHAR)
SELECT pick__number FROM table_2897457_3 WHERE nhl_team = "New Jersey Devils"
What is the pick # when the new jersey devils is the nhl team?
CREATE TABLE table_2897457_3 (pick__number VARCHAR, nhl_team VARCHAR)
SELECT AVG(lose) FROM table_name_96 WHERE lost_point > 16 AND goal_difference < 37 AND point < 43
I want the average lose for lost point more than 16 and goal difference less than 37 and point less than 43
CREATE TABLE table_name_96 (lose INTEGER, point VARCHAR, lost_point VARCHAR, goal_difference VARCHAR)
SELECT crew_chief FROM table_name_12 WHERE owner_s_ = "jack roush" AND driver_s_ = "greg biffle"
What crew chief has an owner name Jack Roush and driver Greg Biffle?
CREATE TABLE table_name_12 (crew_chief VARCHAR, owner_s_ VARCHAR, driver_s_ VARCHAR)
SELECT place FROM table_name_36 WHERE country = "scotland"
What is the Place of the Player from Scotland?
CREATE TABLE table_name_36 (place VARCHAR, country VARCHAR)
SELECT venue FROM table_name_66 WHERE away_team = "fitzroy"
What venue features fitzroy as the away side?
CREATE TABLE table_name_66 (venue VARCHAR, away_team VARCHAR)
SELECT record FROM table_name_53 WHERE march = 12
which Record is on March of 12
CREATE TABLE table_name_53 (record VARCHAR, march VARCHAR)
SELECT MIN(crowd) FROM table_name_5 WHERE home_team = "brisbane lions"
What is Lowest Crowd, when Home Team is Brisbane Lions?
CREATE TABLE table_name_5 (crowd INTEGER, home_team VARCHAR)
SELECT round FROM table_name_92 WHERE overall < 545 AND mlb_team = "san francisco giants"
What round was less than 545 overall for San Francisco Giants?
CREATE TABLE table_name_92 (round VARCHAR, overall VARCHAR, mlb_team VARCHAR)
SELECT player FROM table_name_87 WHERE weight = 187
Which player weighs 187 pounds?
CREATE TABLE table_name_87 (player VARCHAR, weight VARCHAR)
SELECT score FROM table_name_92 WHERE date = "february 3"
what is the score when the date is february 3?
CREATE TABLE table_name_92 (score VARCHAR, date VARCHAR)
SELECT COUNT(first_elected) FROM table_name_80 WHERE counties_represented = "baltimore county" AND district = "06.0 6" AND committee = "economic matters"
What is the total number of First elected that has a country represented in Baltimore county, a district of 06.0 6, and a committee of economic matters?
CREATE TABLE table_name_80 (first_elected VARCHAR, committee VARCHAR, counties_represented VARCHAR, district VARCHAR)
SELECT date FROM table_name_37 WHERE time___et__ = "1:00 pm" AND game_site = "arrowhead stadium"
What date is the 1:00 pm game at arrowhead stadium?
CREATE TABLE table_name_37 (date VARCHAR, time___et__ VARCHAR, game_site VARCHAR)
SELECT COUNT(primary_payload_s_) FROM table_14118521_1 WHERE shuttle = "Columbia" AND duration = "13 days, 19 hours, 30 minutes, 4 seconds"
how many primary payload(s) with shuttle being columbia and duration being 13 days, 19 hours, 30 minutes, 4 seconds
CREATE TABLE table_14118521_1 (primary_payload_s_ VARCHAR, shuttle VARCHAR, duration VARCHAR)
SELECT results FROM table_1341453_15 WHERE district = "Illinois 7"
What was the result in Illinois 7?
CREATE TABLE table_1341453_15 (results VARCHAR, district VARCHAR)
SELECT MIN(al_ahly_wins) FROM table_name_29 WHERE draws = 0 AND el_zamalek_wins < 0
What is the fewest Al Ahly wins for El Zamalek wins of 0 and 0 draws?
CREATE TABLE table_name_29 (al_ahly_wins INTEGER, draws VARCHAR, el_zamalek_wins VARCHAR)
SELECT season FROM table_name_38 WHERE league = "regionalliga süd" AND home = "1-0" AND away = "2-3"
What season has a regionalliga süd league, a 1-0 home, and an away of 2-3?
CREATE TABLE table_name_38 (season VARCHAR, away VARCHAR, league VARCHAR, home VARCHAR)
SELECT part_3 FROM table_1745843_2 WHERE part_2 = "*raid"
For part 2 *raid, what is listed for part 3?
CREATE TABLE table_1745843_2 (part_3 VARCHAR, part_2 VARCHAR)
SELECT place FROM table_name_24 WHERE score = 68 - 69 - 73 - 70 = 280
In what place is the golfer with a score of 68-69-73-70=280?
CREATE TABLE table_name_24 (place VARCHAR, score VARCHAR)
SELECT MIN(l) FROM table_2233872_1 WHERE ga = 272
What was the minimum L if the GA is 272?
CREATE TABLE table_2233872_1 (l INTEGER, ga VARCHAR)
SELECT visitor FROM table_name_82 WHERE leading_scorer = "milt palacio (15)"
Which team was the visitor when Milt Palacio (15) was the leading scorer?
CREATE TABLE table_name_82 (visitor VARCHAR, leading_scorer VARCHAR)
SELECT AVG(year) FROM table_name_9 WHERE reg_season = "3rd, western"
Which Year has a Reg Season of 3rd, western?
CREATE TABLE table_name_9 (year INTEGER, reg_season VARCHAR)
SELECT MIN(game) FROM table_name_95 WHERE date = "april 12"
What is the lowest Game, when Date is "April 12"?
CREATE TABLE table_name_95 (game INTEGER, date VARCHAR)
SELECT ground FROM table_name_83 WHERE competition = "tim trophy" AND time = "23:00 cet"
What is the ground of the tim trophy competition, which had a time of 23:00 cet?
CREATE TABLE table_name_83 (ground VARCHAR, competition VARCHAR, time VARCHAR)
SELECT branch FROM table_197446_1 WHERE term_began = "January 3, 1985"
What branch was involved when the term began in January 3, 1985?
CREATE TABLE table_197446_1 (branch VARCHAR, term_began VARCHAR)
SELECT MAX(round) FROM table_name_94 WHERE time = "1:44"
What is the highest Round that lasted 1:44?
CREATE TABLE table_name_94 (round INTEGER, time VARCHAR)
SELECT COUNT(*) FROM manufacturers WHERE founder = 'Andy'
How many companies were created by Andy?
CREATE TABLE manufacturers (founder VARCHAR)
SELECT 2001 FROM table_name_74 WHERE 1994 = "a" AND tournament = "monte carlo masters"
What is 2001, when 1994 is "A", and when Tournament is "Monte Carlo Masters"?
CREATE TABLE table_name_74 (tournament VARCHAR)
SELECT attendance FROM table_name_15 WHERE date = "april 17"
Name the attendance on april 17
CREATE TABLE table_name_15 (attendance VARCHAR, date VARCHAR)
SELECT purpose FROM table_name_49 WHERE name = "oak"
Which Purpose has a Name of oak?
CREATE TABLE table_name_49 (purpose VARCHAR, name VARCHAR)
SELECT third FROM table_name_78 WHERE lead = "zanda bikše"
Which Third has a Lead of zanda bikše?
CREATE TABLE table_name_78 (third VARCHAR, lead VARCHAR)
SELECT score FROM table_name_54 WHERE date = "may 2"
What is the score on the date of May 2?
CREATE TABLE table_name_54 (score VARCHAR, date VARCHAR)
SELECT party FROM table_1341453_32 WHERE incumbent = "Frank LoBiondo"
What party is Frank Lobiondo a member of?
CREATE TABLE table_1341453_32 (party VARCHAR, incumbent VARCHAR)
SELECT away_team FROM table_name_81 WHERE venue = "vfl park"
When vfl park is the venue what's the Away team playing?
CREATE TABLE table_name_81 (away_team VARCHAR, venue VARCHAR)
SELECT country FROM table_name_60 WHERE play = "electra"
What is the Country of the Play Electra?
CREATE TABLE table_name_60 (country VARCHAR, play VARCHAR)
SELECT home_team FROM table_name_42 WHERE away_team = "footscray"
When the Away team is footscray, what is the Home team playing?
CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR)
SELECT starter FROM table_14342592_4 WHERE player = "Schulte"
Name the starter for schulte
CREATE TABLE table_14342592_4 (starter VARCHAR, player VARCHAR)
SELECT pick__number FROM table_2897457_1 WHERE position = "Goaltender"
What draft pick is a goaltender?
CREATE TABLE table_2897457_1 (pick__number VARCHAR, position VARCHAR)
SELECT opponent FROM table_name_31 WHERE record = "10-1"
What opponent does she fight when she is 10-1?
CREATE TABLE table_name_31 (opponent VARCHAR, record VARCHAR)
SELECT character FROM table_14960574_6 WHERE french_voice_actor = "Sophie Arthuys"
Name the character for sophie arthuys
CREATE TABLE table_14960574_6 (character VARCHAR, french_voice_actor VARCHAR)
SELECT cfl_team FROM table_name_53 WHERE player = "chris evraire"
Name the CFL Team which has a Player of chris evraire?
CREATE TABLE table_name_53 (cfl_team VARCHAR, player VARCHAR)
SELECT MAX(game) FROM table_17311783_8 WHERE team = "Charlotte"
In what game did Miami play Charlotte?
CREATE TABLE table_17311783_8 (game INTEGER, team VARCHAR)
SELECT date FROM table_name_62 WHERE opponent = "arsenal"
When was the opponent Arsenal?
CREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR)
SELECT playoffs FROM table_1939235_1 WHERE open_cup = "2nd Round"
When it's the 2nd round of the open cup what is the playoffs?
CREATE TABLE table_1939235_1 (playoffs VARCHAR, open_cup VARCHAR)
SELECT COUNT(location) FROM table_22875369_3 WHERE record = "22-1"
Name the number of location for 22-1
CREATE TABLE table_22875369_3 (location VARCHAR, record VARCHAR)
SELECT home_team FROM table_name_19 WHERE away_team = "geelong"
Which home teams had Geelong as the away team?
CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR)
SELECT AVG(against) FROM table_name_45 WHERE date = "21/5/1997"
What was the average of againsts on 21/5/1997?
CREATE TABLE table_name_45 (against INTEGER, date VARCHAR)
SELECT original_air_date FROM table_15026994_2 WHERE viewing_figure = "7.27 million"
What original air dates are associated with a viewing figure of 7.27 million?
CREATE TABLE table_15026994_2 (original_air_date VARCHAR, viewing_figure VARCHAR)
SELECT males FROM table_name_57 WHERE language = "persons that didn't name their native language"
Name the males for language of persons that didn't name their native language
CREATE TABLE table_name_57 (males VARCHAR, language VARCHAR)
SELECT MAX(game) FROM table_name_6 WHERE date = "july 31"
What is the highest game that has July 31 as the date?
CREATE TABLE table_name_6 (game INTEGER, date VARCHAR)
SELECT incoming_manager FROM table_26976615_3 WHERE date_of_appointment = "15 January 2011"
Who was the incoming manager for the date of appointment of 15 january 2011?
CREATE TABLE table_26976615_3 (incoming_manager VARCHAR, date_of_appointment VARCHAR)
SELECT location_attendance FROM table_15780049_6 WHERE game = 38
What is the location and what is the attendance of game 38?
CREATE TABLE table_15780049_6 (location_attendance VARCHAR, game VARCHAR)