question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the highest lane for nisha millet?
CREATE TABLE table_name_16 (lane INTEGER, name VARCHAR)
SELECT MAX(lane) FROM table_name_16 WHERE name = "nisha millet"
How many cities have an enrollment of 19082?
CREATE TABLE table_12896884_1 (city VARCHAR, enrollment VARCHAR)
SELECT COUNT(city) FROM table_12896884_1 WHERE enrollment = 19082
what is the part 4 when the verb meaning is to steal?
CREATE TABLE table_name_95 (part_4 VARCHAR, verb_meaning VARCHAR)
SELECT part_4 FROM table_name_95 WHERE verb_meaning = "to steal"
What is Year, when Location is Philadelphia Municipal Stadium?
CREATE TABLE table_name_89 (year VARCHAR, location VARCHAR)
SELECT year FROM table_name_89 WHERE location = "philadelphia municipal stadium"
What is the location of the b.c. open?
CREATE TABLE table_name_81 (location VARCHAR, tournament VARCHAR)
SELECT location FROM table_name_81 WHERE tournament = "b.c. open"
Name the % yes for yes votes for 78961
CREATE TABLE table_256286_14 (_percentage_yes VARCHAR, yes_votes VARCHAR)
SELECT _percentage_yes FROM table_256286_14 WHERE yes_votes = 78961
WHICH Attendance that has a Loss of paniagua (3–3)?
CREATE TABLE table_name_99 (attendance INTEGER, loss VARCHAR)
SELECT MAX(attendance) FROM table_name_99 WHERE loss = "paniagua (3–3)"
Who were the writers of episode 20?
CREATE TABLE table_20538157_2 (written_by VARCHAR, no_in_season VARCHAR)
SELECT written_by FROM table_20538157_2 WHERE no_in_season = 20
Which teams had an aggregate score of 3-4?
CREATE TABLE table_name_61 (team_1 VARCHAR, agg VARCHAR)
SELECT team_1 FROM table_name_61 WHERE agg = "3-4"
If the cross-section area is 21.2, what is the weight?
CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, cross_section_area__cm_2__ VARCHAR)
SELECT weight__kg_m_ FROM table_2071644_2 WHERE cross_section_area__cm_2__ = "21.2"
Who was the opponent on May 10, 2009?
CREATE TABLE table_name_5 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_5 WHERE date = "may 10, 2009"
What's the award for #100?
CREATE TABLE table_name_84 (award VARCHAR, result VARCHAR)
SELECT award FROM table_name_84 WHERE result = "#100"
What is the qual 1 for rusport and had a best of 58.665?
CREATE TABLE table_name_87 (qual_1 VARCHAR, team VARCHAR, best VARCHAR)
SELECT qual_1 FROM table_name_87 WHERE team = "rusport" AND best = "58.665"
What was Team Dnepr's position in 2006?
CREATE TABLE table_name_77 (position_in_2006 VARCHAR, team VARCHAR)
SELECT position_in_2006 FROM table_name_77 WHERE team = "dnepr"
who is the opponent when the method is tko (punches) at 4:26 of round 1?
CREATE TABLE table_name_82 (opponent VARCHAR, method VARCHAR)
SELECT opponent FROM table_name_82 WHERE method = "tko (punches) at 4:26 of round 1"
What Name has the Captain Aaron Heal?
CREATE TABLE table_name_4 (name VARCHAR, captain VARCHAR)
SELECT name FROM table_name_4 WHERE captain = "aaron heal"
What was the final score when the attendance was 25598?
CREATE TABLE table_21761882_4 (final_score VARCHAR, attendance VARCHAR)
SELECT final_score FROM table_21761882_4 WHERE attendance = 25598
Name the team for kirk hinrich , derrick rose , john salmons (6)
CREATE TABLE table_22669044_9 (team VARCHAR, high_assists VARCHAR)
SELECT team FROM table_22669044_9 WHERE high_assists = "Kirk Hinrich , Derrick Rose , John Salmons (6)"
Where did Hawthorn play as home team?
CREATE TABLE table_name_29 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_29 WHERE home_team = "hawthorn"
Which city has spanish news on the website ultimahora.com ?
CREATE TABLE table_name_3 (city VARCHAR, language VARCHAR, website VARCHAR)
SELECT city FROM table_name_3 WHERE language = "spanish" AND website = "ultimahora.com"
How many channel tv (dt)s are in austin, texas?
CREATE TABLE table_1353096_1 (channel_tv___dt__ VARCHAR, city_of_license__market VARCHAR)
SELECT COUNT(channel_tv___dt__) FROM table_1353096_1 WHERE city_of_license__market = "Austin, Texas"
How many Horsepowers have a Year smaller than 1974, and a Tonnage of 4437?
CREATE TABLE table_name_51 (horsepowers INTEGER, year VARCHAR, tonnage VARCHAR)
SELECT SUM(horsepowers) FROM table_name_51 WHERE year < 1974 AND tonnage = 4437
What is the class of the Charlotte Camel gt 500 race?
CREATE TABLE table_name_64 (class VARCHAR, race VARCHAR)
SELECT class FROM table_name_64 WHERE race = "charlotte camel gt 500"
What is the score of the home team, bath city?
CREATE TABLE table_name_16 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_16 WHERE home_team = "bath city"
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
What is the 2010 value with a 2r in 200r and a 3r in 2011?
CREATE TABLE table_name_85 (Id VARCHAR)
SELECT 2010 FROM table_name_85 WHERE 2004 = "2r" AND 2011 = "3r"
Which episode had an official ITV1 HD rating of 1.185 million?
CREATE TABLE table_27319183_5 (episode VARCHAR, official_itv1_hd_rating__millions_ VARCHAR)
SELECT episode FROM table_27319183_5 WHERE official_itv1_hd_rating__millions_ = "1.185"
Which Date has a Tournament of milan , italy?
CREATE TABLE table_name_69 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_69 WHERE tournament = "milan , italy"
What is the average 2006 value for wheat with a 2005 value greater than 7340?
CREATE TABLE table_name_47 (production_year VARCHAR)
SELECT AVG(2006) FROM table_name_47 WHERE production_year = "wheat" AND 2005 > 7340
If the proto-semitic is *bayt-, what are the geez?
CREATE TABLE table_26919_7 (geez VARCHAR, proto_semitic VARCHAR)
SELECT geez FROM table_26919_7 WHERE proto_semitic = "*bayt-"
Which trainer had a time of 1:10.09 with a year less than 2009?
CREATE TABLE table_name_34 (trainer VARCHAR, year VARCHAR, time VARCHAR)
SELECT trainer FROM table_name_34 WHERE year < 2009 AND time = "1:10.09"
Which owner has the call sign of KDSU?
CREATE TABLE table_name_88 (name VARCHAR, call_sign VARCHAR)
SELECT name FROM table_name_88 WHERE call_sign = "kdsu"
What is the line of Mangalore station?
CREATE TABLE table_name_54 (line VARCHAR, name VARCHAR)
SELECT line FROM table_name_54 WHERE name = "mangalore"
What is the winning driver of round 7?
CREATE TABLE table_1137696_3 (winning_driver VARCHAR, round VARCHAR)
SELECT winning_driver FROM table_1137696_3 WHERE round = 7
What is the Record of the game on September 6?
CREATE TABLE table_name_49 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_49 WHERE date = "september 6"
What is the highest number of games tied for teams with under 551 games and a percentage of under 0.5593?
CREATE TABLE table_name_8 (tied INTEGER, pct VARCHAR, lost VARCHAR)
SELECT MAX(tied) FROM table_name_8 WHERE pct < 0.5593 AND lost = 551
In which year did the most recent crime happen?
CREATE TABLE perpetrator (YEAR INTEGER)
SELECT MAX(YEAR) FROM perpetrator
Tell me the chassis for team tissot ensign and driver of brett lunger
CREATE TABLE table_name_29 (chassis VARCHAR, entrant VARCHAR, driver VARCHAR)
SELECT chassis FROM table_name_29 WHERE entrant = "team tissot ensign" AND driver = "brett lunger"
Which division of the Brewers had a 5th place ranking and a loss record of 87?
CREATE TABLE table_name_98 (division VARCHAR, finish VARCHAR, losses VARCHAR)
SELECT division FROM table_name_98 WHERE finish = "5th" AND losses = "87"
What is the lowest Chorley with a 6 Preston and a 4 for West Lancashire?
CREATE TABLE table_name_99 (chorley INTEGER, preston VARCHAR, west_lancashire VARCHAR)
SELECT MIN(chorley) FROM table_name_99 WHERE preston = 6 AND west_lancashire < 4
What candidates are from mississippi 6?
CREATE TABLE table_1342233_24 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1342233_24 WHERE district = "Mississippi 6"
What event was in the 2008 Beijing games?
CREATE TABLE table_name_81 (event VARCHAR, games VARCHAR)
SELECT event FROM table_name_81 WHERE games = "2008 beijing"
What is the name of the away team that played Melbourne?
CREATE TABLE table_name_91 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_91 WHERE home_team = "melbourne"
what is the position when the pick is higher than 32 and the team is atlanta braves?
CREATE TABLE table_name_8 (position VARCHAR, pick VARCHAR, team VARCHAR)
SELECT position FROM table_name_8 WHERE pick > 32 AND team = "atlanta braves"
what's the author / editor / source with world ranking (1) being 73rd
CREATE TABLE table_12000368_1 (author___editor___source VARCHAR, world_ranking__1_ VARCHAR)
SELECT author___editor___source FROM table_12000368_1 WHERE world_ranking__1_ = "73rd"
What was the round for 29 January 1949, when the against was 1?
CREATE TABLE table_name_52 (round VARCHAR, against VARCHAR, date VARCHAR)
SELECT round FROM table_name_52 WHERE against = 1 AND date = "29 january 1949"
For the episode directed by Matthew Penn, what is the total number in the series?
CREATE TABLE table_23117208_5 (no_in_series VARCHAR, directed_by VARCHAR)
SELECT no_in_series FROM table_23117208_5 WHERE directed_by = "Matthew Penn"
What is the total for 1986 with a to par higher than 6?
CREATE TABLE table_name_87 (total VARCHAR, year_s__won VARCHAR, to_par VARCHAR)
SELECT COUNT(total) FROM table_name_87 WHERE year_s__won = "1986" AND to_par > 6
How many positions have 15 for the points, with a drawn less than 3?
CREATE TABLE table_name_57 (position INTEGER, points VARCHAR, drawn VARCHAR)
SELECT SUM(position) FROM table_name_57 WHERE points = 15 AND drawn < 3
Which tournament had a final score of 6–3, 6–2?
CREATE TABLE table_name_65 (tournament VARCHAR, score_in_the_final VARCHAR)
SELECT tournament FROM table_name_65 WHERE score_in_the_final = "6–3, 6–2"
What is the smallest number of field goals for players with 4 touchdowns and less than 9 extra points?
CREATE TABLE table_name_5 (field_goals INTEGER, touchdowns VARCHAR, extra_points VARCHAR)
SELECT MIN(field_goals) FROM table_name_5 WHERE touchdowns = 4 AND extra_points < 9
What team that has a Home city of Zadar?
CREATE TABLE table_name_65 (team VARCHAR, home_city VARCHAR)
SELECT team FROM table_name_65 WHERE home_city = "zadar"
The man who received 87,676 votes in Queens won what percentage of the total for the election?
CREATE TABLE table_1108394_47 (_percentage VARCHAR, queens VARCHAR)
SELECT _percentage FROM table_1108394_47 WHERE queens = "87,676"
What is the land area for the RCM that has a population of 18847?
CREATE TABLE table_214920_1 (land_area VARCHAR, population_canada_2011_census VARCHAR)
SELECT land_area FROM table_214920_1 WHERE population_canada_2011_census = 18847
Which season had 16 losses for the Hampshire team?
CREATE TABLE table_name_79 (season VARCHAR, losses VARCHAR, team VARCHAR)
SELECT season FROM table_name_79 WHERE losses = "16" AND team = "hampshire"
Which Year jennifer tarol barrientos is in?
CREATE TABLE table_name_50 (year INTEGER, delegate VARCHAR)
SELECT MAX(year) FROM table_name_50 WHERE delegate = "jennifer tarol barrientos"
how many time is the final record is 9–16–5?
CREATE TABLE table_245711_2 (season VARCHAR, final_record VARCHAR)
SELECT COUNT(season) FROM table_245711_2 WHERE final_record = "9–16–5"
How many attended on december 2?
CREATE TABLE table_22893781_5 (location_attendance VARCHAR, date VARCHAR)
SELECT COUNT(location_attendance) FROM table_22893781_5 WHERE date = "December 2"
What is the total number in class for the Whitehaven Coal?
CREATE TABLE table_name_13 (number_in_class INTEGER, owner VARCHAR)
SELECT SUM(number_in_class) FROM table_name_13 WHERE owner = "whitehaven coal"
What is north melbourne's score as an away side?
CREATE TABLE table_name_80 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_80 WHERE away_team = "north melbourne"
find the program owners that have some programs in both morning and night time.
CREATE TABLE broadcast (program_id VARCHAR, Time_of_day VARCHAR); CREATE TABLE program (owner VARCHAR, program_id VARCHAR)
SELECT t1.owner FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id = t2.program_id WHERE t2.Time_of_day = "Morning" INTERSECT SELECT t1.owner FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id = t2.program_id WHERE t2.Time_of_day = "Night"
Who drove the winning car constructed by Jordan - Mugen-Honda?
CREATE TABLE table_1137694_3 (winning_driver VARCHAR, winning_constructor VARCHAR)
SELECT winning_driver FROM table_1137694_3 WHERE winning_constructor = "Jordan - Mugen-Honda"
Name the total water resources m3 for rainfall being 650
CREATE TABLE table_22854436_1 (per_capita_average_annual_renewable_water_resources_m_3 VARCHAR, average_annual_rainfall__mm_ VARCHAR)
SELECT COUNT(per_capita_average_annual_renewable_water_resources_m_3) FROM table_22854436_1 WHERE average_annual_rainfall__mm_ = "650"
Name the district for newtown square
CREATE TABLE table_1979619_3 (district INTEGER, residence VARCHAR)
SELECT MIN(district) FROM table_1979619_3 WHERE residence = "Newtown Square"
Which opponent's march was 31?
CREATE TABLE table_name_19 (opponent VARCHAR, march VARCHAR)
SELECT opponent FROM table_name_19 WHERE march = 31
What lane is David Carry in heat 1?
CREATE TABLE table_name_80 (lane VARCHAR, heat VARCHAR, name VARCHAR)
SELECT COUNT(lane) FROM table_name_80 WHERE heat = 1 AND name = "david carry"
What is the Venue of the Heptathlon after 2006 where Tatyana Chernova comes in Position 7th?
CREATE TABLE table_name_70 (venue VARCHAR, notes VARCHAR, year VARCHAR, position VARCHAR)
SELECT venue FROM table_name_70 WHERE year > 2006 AND position = "7th" AND notes = "heptathlon"
What home team played the away team of Richmond?
CREATE TABLE table_name_75 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_75 WHERE away_team = "richmond"
How many railroads have the numbers 864-873?
CREATE TABLE table_2351952_1 (railroad VARCHAR, numbers VARCHAR)
SELECT COUNT(railroad) FROM table_2351952_1 WHERE numbers = "864-873"
What is ICAO, when Airport is "Sibulan Airport"?
CREATE TABLE table_name_90 (icao VARCHAR, airport VARCHAR)
SELECT icao FROM table_name_90 WHERE airport = "sibulan airport"
What is the rank of the cinema when the headquarters are in toronto, ON and the screens is less than 1,438?
CREATE TABLE table_name_19 (rank INTEGER, headquarters VARCHAR, screens VARCHAR)
SELECT AVG(rank) FROM table_name_19 WHERE headquarters = "toronto, on" AND screens < 1 OFFSET 438
What is the location where shocker was the winner?
CREATE TABLE table_name_14 (location VARCHAR, winner VARCHAR)
SELECT location FROM table_name_14 WHERE winner = "shocker"
Who was the winning driver in the FR2.0 11 series?
CREATE TABLE table_25572068_1 (winning_driver VARCHAR, series VARCHAR)
SELECT winning_driver FROM table_25572068_1 WHERE series = "FR2.0 11"
What is the Music for the Dance that Scored 25 (9, 8, 8) and a Result of bottom 2?
CREATE TABLE table_name_2 (music VARCHAR, score VARCHAR, result VARCHAR)
SELECT music FROM table_name_2 WHERE score = "25 (9, 8, 8)" AND result = "bottom 2"
Which spacecraft were launched by the Titan II?
CREATE TABLE table_name_7 (spacecraft VARCHAR, launcher VARCHAR)
SELECT spacecraft FROM table_name_7 WHERE launcher = "titan ii"
What machine did susan jenness trophy earn the trophy?
CREATE TABLE table_name_75 (machine VARCHAR, trophy VARCHAR)
SELECT machine FROM table_name_75 WHERE trophy = "susan jenness trophy"
Which race has a replica of DNF?
CREATE TABLE table_name_16 (race VARCHAR, replica VARCHAR)
SELECT race FROM table_name_16 WHERE replica = "dnf"
Who was the winner in 2013?
CREATE TABLE table_name_48 (stage VARCHAR, year VARCHAR)
SELECT stage AS winner FROM table_name_48 WHERE year = 2013
what is the nation when the world rank is 2 and the birth date is 1976-12-20?
CREATE TABLE table_name_35 (nation VARCHAR, world_rank VARCHAR, birth_date VARCHAR)
SELECT nation FROM table_name_35 WHERE world_rank = "2" AND birth_date = "1976-12-20"
Who is the runner(s)-up with a winning score of −5 (72-71-68=211)?
CREATE TABLE table_name_48 (runner_s__up VARCHAR, winning_score VARCHAR)
SELECT runner_s__up FROM table_name_48 WHERE winning_score = −5(72 - 71 - 68 = 211)
What is the 2.15 for Tom Parsons?
CREATE TABLE table_name_9 (athlete VARCHAR)
SELECT 215 FROM table_name_9 WHERE athlete = "tom parsons"
What Player is a Wide Receiver?
CREATE TABLE table_name_40 (player VARCHAR, position VARCHAR)
SELECT player FROM table_name_40 WHERE position = "wide receiver"
What was the name of the Visiting team at Jack Murphy Stadium?
CREATE TABLE table_name_90 (visiting_team VARCHAR, stadium VARCHAR)
SELECT visiting_team FROM table_name_90 WHERE stadium = "jack murphy stadium"
What is the Notes when the fleet size is 3?
CREATE TABLE table_name_39 (notes VARCHAR, fleet_size VARCHAR)
SELECT notes FROM table_name_39 WHERE fleet_size = 3
Name the most enrollment when nickname is hawks
CREATE TABLE table_16734640_1 (enrollment INTEGER, nickname VARCHAR)
SELECT MAX(enrollment) FROM table_16734640_1 WHERE nickname = "Hawks"
What is the date of the Italian Grand Prix?
CREATE TABLE table_28925058_1 (date VARCHAR, grand_prix VARCHAR)
SELECT date FROM table_28925058_1 WHERE grand_prix = "Italian grand_prix"
what is the score when the outcome is winner against yevgeny kafelnikov?
CREATE TABLE table_name_51 (score VARCHAR, outcome VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_51 WHERE outcome = "winner" AND opponent = "yevgeny kafelnikov"
What are the names and descriptions of the products that are of 'Cutlery' type and have daily hire cost lower than 20?
CREATE TABLE products_for_hire (product_name VARCHAR, product_description VARCHAR, product_type_code VARCHAR, daily_hire_cost VARCHAR)
SELECT product_name, product_description FROM products_for_hire WHERE product_type_code = 'Cutlery' AND daily_hire_cost < 20
What is the average total for Tiger Woods?
CREATE TABLE table_name_26 (total INTEGER, player VARCHAR)
SELECT AVG(total) FROM table_name_26 WHERE player = "tiger woods"
What was the result of the Oregon 5 District incumbent who was first elected in 1996?
CREATE TABLE table_name_18 (results VARCHAR, first_elected VARCHAR, district VARCHAR)
SELECT results FROM table_name_18 WHERE first_elected = 1996 AND district = "oregon 5"
Who holds the time of 17:11.572?
CREATE TABLE table_name_83 (race VARCHAR, time VARCHAR)
SELECT race FROM table_name_83 WHERE time = "17:11.572"
What was the position of the player picked by the Montreal Canadiens?
CREATE TABLE table_1473672_5 (position VARCHAR, nhl_team VARCHAR)
SELECT position FROM table_1473672_5 WHERE nhl_team = "Montreal Canadiens"
What is the highest wins for the NFL with a finish of 1st, and more than 6 losses?
CREATE TABLE table_name_27 (wins INTEGER, losses VARCHAR, league VARCHAR, finish VARCHAR)
SELECT MAX(wins) FROM table_name_27 WHERE league = "nfl" AND finish = "1st" AND losses > 6
Which Away has a Season of 2001–02, and an Opponent of dinaburg?
CREATE TABLE table_name_69 (away VARCHAR, season VARCHAR, opponent VARCHAR)
SELECT away FROM table_name_69 WHERE season = "2001–02" AND opponent = "dinaburg"
What PBA team is the player from Ateneo college and a pick of 17?
CREATE TABLE table_name_10 (pba_team VARCHAR, college VARCHAR, pick VARCHAR)
SELECT pba_team FROM table_name_10 WHERE college = "ateneo" AND pick = 17
What is the Location of the 10th Iteration?
CREATE TABLE table_name_40 (location VARCHAR, iteration VARCHAR)
SELECT location FROM table_name_40 WHERE iteration = "10th"
How many seasons had 16.15 million viewers?
CREATE TABLE table_28611413_2 (no_in_series VARCHAR, viewers__millions_ VARCHAR)
SELECT COUNT(no_in_series) FROM table_28611413_2 WHERE viewers__millions_ = "16.15"
Who was the winner in the Indian Wells?
CREATE TABLE table_name_67 (winner VARCHAR, tournament VARCHAR)
SELECT winner FROM table_name_67 WHERE tournament = "indian wells"
What are the home team scores when richmond is the home team?
CREATE TABLE table_16388506_1 (home_team VARCHAR)
SELECT home_team AS score FROM table_16388506_1 WHERE home_team = "Richmond"
Name the opponent for week of 2
CREATE TABLE table_name_6 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_6 WHERE week = 2