answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT MIN(week) FROM table_name_53 WHERE time__cst_ = "7:15 p.m." AND game_site = "fedexfield"
What is the lowest week that has 7:15 p.m. as the time (cst) and fedexfield as the game site?
CREATE TABLE table_name_53 (week INTEGER, time__cst_ VARCHAR, game_site VARCHAR)
SELECT MIN(title_playoff) FROM table_name_93 WHERE total < 3 AND league > 2
What is the lowest Title Playoff, when Total is less than 3, and when League is greater than "2"?
CREATE TABLE table_name_93 (title_playoff INTEGER, total VARCHAR, league VARCHAR)
SELECT venue FROM table_name_82 WHERE against < 6
Which Venue has Against smaller than 6?
CREATE TABLE table_name_82 (venue VARCHAR, against INTEGER)
SELECT power FROM table_name_18 WHERE model = "xdrive28i sdrive28i"
What is the power for the model xdrive28i sdrive28i?
CREATE TABLE table_name_18 (power VARCHAR, model VARCHAR)
SELECT tournament FROM table_name_8 WHERE year > 2009
What tournament was after 2009?
CREATE TABLE table_name_8 (tournament VARCHAR, year INTEGER)
SELECT Record_Company, COUNT(*) FROM orchestra GROUP BY Record_Company
Please show the different record companies and the corresponding number of orchestras.
CREATE TABLE orchestra (Record_Company VARCHAR)
SELECT AVG(score) FROM table_name_76 WHERE player = "nick faldo"
What was the score for Nick Faldo?
CREATE TABLE table_name_76 (score INTEGER, player VARCHAR)
SELECT stage FROM table_name_71 WHERE mountains_classification = "pascal richard" AND winner = "vladimir poulnikov"
What was the Stage when Pascal Richard had the Mountains classification and Vladimir Poulnikov won?
CREATE TABLE table_name_71 (stage VARCHAR, mountains_classification VARCHAR, winner VARCHAR)
SELECT place FROM table_name_3 WHERE to_par = "e" AND player = "mark wiebe"
What place has E as the to par, with Mark Wiebe as the player?
CREATE TABLE table_name_3 (place VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT COUNT(total) FROM table_name_16 WHERE b_score = 9.15
Can you tell me the total number of Total that has the B Score of 9.15?
CREATE TABLE table_name_16 (total VARCHAR, b_score VARCHAR)
SELECT travers_stakes FROM table_24089503_1 WHERE year = 1977
What was the attendance at the Travers Stakes in 1977?
CREATE TABLE table_24089503_1 (travers_stakes VARCHAR, year VARCHAR)
SELECT AVG(laps) FROM table_name_4 WHERE time_retired = "+16.874 secs" AND grid < 5
What are the average Laps for the time/retired of +16.874 secs, and a grid less than 5?
CREATE TABLE table_name_4 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
SELECT MIN(pick) FROM table_name_69 WHERE player = "zack jordan" AND round < 28
Zack Jordan has the lowest pick and a round of less than 28?
CREATE TABLE table_name_69 (pick INTEGER, player VARCHAR, round VARCHAR)
SELECT type FROM table_name_28 WHERE country = "eng" AND name = "elding"
What type of move was Elding from ENG?
CREATE TABLE table_name_28 (type VARCHAR, country VARCHAR, name VARCHAR)
SELECT engine_type FROM table_name_90 WHERE model = "base 2.4"
What is the engine type with a model with base 2.4?
CREATE TABLE table_name_90 (engine_type VARCHAR, model VARCHAR)
SELECT opponent_in_final FROM table_name_12 WHERE date = "13 january 1992"
What is Opponent in Final, when Date is "13 January 1992"?
CREATE TABLE table_name_12 (opponent_in_final VARCHAR, date VARCHAR)
SELECT COUNT(year) FROM table_name_15 WHERE location = "metlife stadium" AND loser = "new york giants"
How many years did the new york giants lose at metlife stadium?
CREATE TABLE table_name_15 (year VARCHAR, location VARCHAR, loser VARCHAR)
SELECT notes FROM table_name_67 WHERE name = "grella"
What is in the Notes for Player Name Grella?
CREATE TABLE table_name_67 (notes VARCHAR, name VARCHAR)
SELECT COUNT(candidates) FROM table_1346137_4 WHERE incumbent = "David E. Finley"
How many different set of candidates were there when the incumbent was david e. finley?
CREATE TABLE table_1346137_4 (candidates VARCHAR, incumbent VARCHAR)
SELECT MAX(losses) FROM table_name_9 WHERE draws > 0 AND against > 1401
What is the most games lost when the against is greater than 1401, and the draws greater than 0?
CREATE TABLE table_name_9 (losses INTEGER, draws VARCHAR, against VARCHAR)
SELECT MAX(money___) AS $__ FROM table_name_16 WHERE score = 75 - 74 - 72 - 67 = 288
What is the most money for the score 75-74-72-67=288?
CREATE TABLE table_name_16 (money___ INTEGER, score 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 constructor FROM table_name_26 WHERE laps = 54
What is the make of the car that drove 54 laps?
CREATE TABLE table_name_26 (constructor VARCHAR, laps VARCHAR)
SELECT title FROM table_name_83 WHERE version = "1.0.0.3"
What Title has a Version of 1.0.0.3?
CREATE TABLE table_name_83 (title VARCHAR, version VARCHAR)
SELECT overall FROM table_name_47 WHERE pick__number < 13
What is the overall of the player with a pick # higher than 13?
CREATE TABLE table_name_47 (overall VARCHAR, pick__number INTEGER)
SELECT venue FROM table_name_4 WHERE home_team = "geelong"
Where did Geelong play as the home team?
CREATE TABLE table_name_4 (venue VARCHAR, home_team VARCHAR)
SELECT song FROM table_name_17 WHERE issue_date_s_ = "29 may - 26 june"
Which Song has an Issue date(s) of 29 may - 26 june?
CREATE TABLE table_name_17 (song VARCHAR, issue_date_s_ VARCHAR)
SELECT name FROM table_name_54 WHERE position = "g" AND weight__lbs_ = 190
What is the Name when the position is g, and weight is 190 pounds?
CREATE TABLE table_name_54 (name VARCHAR, position VARCHAR, weight__lbs_ VARCHAR)
SELECT director FROM table_name_39 WHERE film_title_used_in_nomination = "children of sarajevo"
What is the Director of Children of Sarajevo?
CREATE TABLE table_name_39 (director VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT COUNT(events) FROM table_name_58 WHERE cuts_made < 34 AND top_10 > 3
What is the total number of events that had 34 cuts and 3 in the top 10?
CREATE TABLE table_name_58 (events VARCHAR, cuts_made VARCHAR, top_10 VARCHAR)
SELECT MIN(silver) FROM table_name_2 WHERE overall < 67 AND team = "saami" AND gold < 5
what is the least silver when overall is less than 67, team is saami and gold is less than 5?
CREATE TABLE table_name_2 (silver INTEGER, gold VARCHAR, overall VARCHAR, team VARCHAR)
SELECT MIN(appearances) FROM table_name_85 WHERE goals = 4 AND nationality = "new zealand"
What is the least amount of appearances by new zealand when they scored 4 goals?
CREATE TABLE table_name_85 (appearances INTEGER, goals VARCHAR, nationality VARCHAR)
SELECT high_assists FROM table_27715173_6 WHERE score = "W 107–95 (OT)"
Who had the high assists when the score was w 107–95 (ot)?
CREATE TABLE table_27715173_6 (high_assists VARCHAR, score VARCHAR)
SELECT score FROM table_name_96 WHERE opponent_in_the_final = "paul goldstein"
What was the final score of the Paul Goldstein match?
CREATE TABLE table_name_96 (score VARCHAR, opponent_in_the_final VARCHAR)
SELECT COUNT(week) FROM table_10646790_2 WHERE date = "November 9, 1969"
How many weeks are there that include the date November 9, 1969.
CREATE TABLE table_10646790_2 (week VARCHAR, date VARCHAR)
SELECT COUNT(high_points) FROM table_17323092_6 WHERE date = "January 21"
What is the total number of high points on January 21?
CREATE TABLE table_17323092_6 (high_points VARCHAR, date VARCHAR)
SELECT november_3 FROM table_25284864_3 WHERE june_10_11 = "147"
What is the November 3 result when June 10-11 is 147?
CREATE TABLE table_25284864_3 (november_3 VARCHAR, june_10_11 VARCHAR)
SELECT MAX(keynote_version) FROM table_name_18 WHERE numbers_version = "2.3" AND pages_version > 4.3
What's the latest keynote version of version 2.3 of numbers with pages greater than 4.3?
CREATE TABLE table_name_18 (keynote_version INTEGER, numbers_version VARCHAR, pages_version VARCHAR)
SELECT written_by FROM table_28195898_1 WHERE directed_by = "Nick Marck"
Who wrote the episode which was directed by Nick Marck?
CREATE TABLE table_28195898_1 (written_by VARCHAR, directed_by VARCHAR)
SELECT opponent FROM table_name_33 WHERE head_coach = "b. sathianathan"
Who was the opponent when the head coach was B. Sathianathan?
CREATE TABLE table_name_33 (opponent VARCHAR, head_coach VARCHAR)
SELECT sanskrit FROM table_201400_2 WHERE western_star_name = "Arcturus"
what is the sanskrit of western star name arcturus
CREATE TABLE table_201400_2 (sanskrit VARCHAR, western_star_name VARCHAR)
SELECT COUNT(club) FROM table_13741576_6 WHERE won = "7"
How many clubs had 7 wins?
CREATE TABLE table_13741576_6 (club VARCHAR, won VARCHAR)
SELECT SUM(rank) FROM table_name_65 WHERE gold > 1 AND total > 4
What is the Rank of the Nation with more than 1 Gold and a more than 4 Total medals?
CREATE TABLE table_name_65 (rank INTEGER, gold VARCHAR, total VARCHAR)
SELECT COUNT(place) FROM table_name_70 WHERE points < 12
What is the total number for a place with points smaller than 12?
CREATE TABLE table_name_70 (place VARCHAR, points INTEGER)
SELECT writer FROM table_name_91 WHERE original_airdate = "september 4, 2005 (hbo)"
Who's the Writer with an Original Airdate of september 4, 2005 (hbo)?
CREATE TABLE table_name_91 (writer VARCHAR, original_airdate VARCHAR)
SELECT method FROM table_name_35 WHERE round = 3
What is the method when the round shows 3?
CREATE TABLE table_name_35 (method VARCHAR, round VARCHAR)
SELECT COUNT(stolen_ends) FROM table_1644857_2 WHERE country = France
How many times is a score for stolen ends recorded for France?
CREATE TABLE table_1644857_2 (stolen_ends VARCHAR, country VARCHAR, France VARCHAR)
SELECT away_team FROM table_name_18 WHERE home_team = "sheffield united"
Who was the away team against the home team Sheffield United?
CREATE TABLE table_name_18 (away_team VARCHAR, home_team VARCHAR)
SELECT to_par FROM table_name_6 WHERE country = "australia" AND player = "robert allenby"
What is the To par for Robert Allenby from Australia
CREATE TABLE table_name_6 (to_par VARCHAR, country VARCHAR, player VARCHAR)
SELECT 20 AS _yr FROM table_21350772_2 WHERE gas_name = "Sulfur hexafluoride"
What is the 20 year for Sulfur Hexafluoride?
CREATE TABLE table_21350772_2 (gas_name VARCHAR)
SELECT COUNT(points) FROM table_name_70 WHERE engine = "brm v8"
How many points did the car with the brm v8 engine have?
CREATE TABLE table_name_70 (points VARCHAR, engine VARCHAR)
SELECT away_team FROM table_name_33 WHERE home_team = "bristol rovers"
What is the Away team at Bristol Rovers' Home game?
CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR)
SELECT pick__number FROM table_name_65 WHERE round > 7 AND college = "maryland"
What pick number was from the college of maryland and was picked in a round larger than 7?
CREATE TABLE table_name_65 (pick__number VARCHAR, round VARCHAR, college VARCHAR)
SELECT catalog FROM table_name_54 WHERE format = "cd"
Which catalog is in cd format?
CREATE TABLE table_name_54 (catalog VARCHAR, format VARCHAR)
SELECT AVG(enrollment) FROM table_name_41 WHERE institution = "dickinson college"
What is the average Enrollment of Dickinson College?
CREATE TABLE table_name_41 (enrollment INTEGER, institution VARCHAR)
SELECT dvd_name FROM table_name_61 WHERE duration = "2 hours 22 minutes"
What DVD has a time of 2 hours 22 minutes?
CREATE TABLE table_name_61 (dvd_name VARCHAR, duration VARCHAR)
SELECT title FROM table_13241993_3 WHERE part_3 = "February 7, 2008"
What's the name of the episode whose part 3 aired on February 7, 2008?
CREATE TABLE table_13241993_3 (title VARCHAR, part_3 VARCHAR)
SELECT COUNT(uni_number) FROM table_name_31 WHERE bats = "s" AND position = "utl"
How many Uni numbers have Bats of s, and a Position of utl?
CREATE TABLE table_name_31 (uni_number VARCHAR, bats VARCHAR, position VARCHAR)
SELECT population_area FROM table_11336756_6 WHERE remarks = "Replaced by US 83"
Which population areas have "replaced by us 83" listed in their remarks section?
CREATE TABLE table_11336756_6 (population_area VARCHAR, remarks VARCHAR)
SELECT representative FROM table_name_42 WHERE presentation_of_credentials = "april 10, 1855"
What Representative has a Presentation of Credentails of April 10, 1855?
CREATE TABLE table_name_42 (representative VARCHAR, presentation_of_credentials VARCHAR)
SELECT margin_of_victory FROM table_name_30 WHERE tournament = "travelers championship"
what is the margin of victory for the tournament travelers championship?
CREATE TABLE table_name_30 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT year_named FROM table_name_59 WHERE diameter__km_ = 729
What was the year when the diameter was 729 km?
CREATE TABLE table_name_59 (year_named VARCHAR, diameter__km_ VARCHAR)
SELECT attendance FROM table_name_56 WHERE location = "yankee stadium (i)" AND time = "3:00"
yankee stadium (i), and a Time of 3:00 has what attendance for this location?
CREATE TABLE table_name_56 (attendance VARCHAR, location VARCHAR, time VARCHAR)
SELECT tournament FROM table_name_39 WHERE outcome = "winner" AND opponents = "kerry-anne guse corina morariu"
what is the tournament when the outcome is winner and the opponents is kerry-anne guse corina morariu?
CREATE TABLE table_name_39 (tournament VARCHAR, outcome VARCHAR, opponents VARCHAR)
SELECT MIN(pos) FROM table_name_94 WHERE driver = "kyle busch"
What is the lowest position for driver Kyle Busch?
CREATE TABLE table_name_94 (pos INTEGER, driver VARCHAR)
SELECT competition FROM table_name_64 WHERE nationality___opponent = "rosario"
Name the Nationality / Opponent of rosario?
CREATE TABLE table_name_64 (competition VARCHAR, nationality___opponent VARCHAR)
SELECT MAX(week) FROM table_name_83 WHERE result = "l 14-3"
What was the latest week with a result of l 14-3?
CREATE TABLE table_name_83 (week INTEGER, result VARCHAR)
SELECT week_3 FROM table_name_11 WHERE week_2 = "heather christensen"
When Heather Christensen was featured in Week 2, who was the cyber girl for Week 3?
CREATE TABLE table_name_11 (week_3 VARCHAR, week_2 VARCHAR)
SELECT latitude FROM table_18600760_3 WHERE township = "Clearwater"
What was the latitude of the Clearwater townsship?
CREATE TABLE table_18600760_3 (latitude VARCHAR, township VARCHAR)
SELECT film FROM table_name_23 WHERE category = "best actress – musical or comedy" AND lost_to = "nicole kidman ( moulin rouge! )"
which Film has a Category of best actress – musical or comedy, and a Lost to of nicole kidman ( moulin rouge! )?
CREATE TABLE table_name_23 (film VARCHAR, category VARCHAR, lost_to VARCHAR)
SELECT tournament FROM table_name_54 WHERE 2013 = "1r"
What is the Tournament when the 2013 is 1r?
CREATE TABLE table_name_54 (tournament VARCHAR)
SELECT MAX(sexual_abuse_1) FROM table_15652027_1 WHERE conflict = "Burundi Civil War"
What is the sexual abuse rate where the conflict is the Burundi Civil War?
CREATE TABLE table_15652027_1 (sexual_abuse_1 INTEGER, conflict VARCHAR)
SELECT COUNT(erp_w) FROM table_name_8 WHERE call_sign = "w217bf"
Name the total number of ERP W when the call sign is w217bf
CREATE TABLE table_name_8 (erp_w VARCHAR, call_sign VARCHAR)
SELECT state__class_ FROM table_224840_3 WHERE vacator = "John Laurance (F)"
in which state where John Laurance (f) as a vacator?
CREATE TABLE table_224840_3 (state__class_ VARCHAR, vacator VARCHAR)
SELECT location_attendance FROM table_name_47 WHERE date = "january 19"
What was the location attendance on January 19?
CREATE TABLE table_name_47 (location_attendance VARCHAR, date 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 result FROM table_name_57 WHERE nominee_s_ = "janine sherman"
What is the result when the nominee(s) of janine sherman?
CREATE TABLE table_name_57 (result VARCHAR, nominee_s_ VARCHAR)
SELECT battle_of_the_planets FROM table_17480471_3 WHERE ova__harmony_gold_dub_ = "Solaris"
Which battle of the planets where ova (harmony gold dub) is solaris?
CREATE TABLE table_17480471_3 (battle_of_the_planets VARCHAR, ova__harmony_gold_dub_ VARCHAR)
SELECT Room FROM FACULTY WHERE Rank = "Professor" AND Building = "NEB"
Find the rooms of faculties with rank professor who live in building NEB.
CREATE TABLE FACULTY (Room VARCHAR, Rank VARCHAR, Building VARCHAR)
SELECT MAX(number_in_series) FROM table_1231892_4 WHERE broadcast_order = "S04 E07"
What's the series number of the episode with a broadcast order s04 e07?
CREATE TABLE table_1231892_4 (number_in_series INTEGER, broadcast_order VARCHAR)
SELECT position FROM table_10966926_2 WHERE player_name = "Colt Brennan"
Which position does Colt Brennan play?
CREATE TABLE table_10966926_2 (position VARCHAR, player_name VARCHAR)
SELECT partner FROM table_26458137_2 WHERE opponents_in_the_final = "Stephanie Dubois Olga Savchuk"
Who is the partner when the opponents in the final is stephanie dubois olga savchuk?
CREATE TABLE table_26458137_2 (partner VARCHAR, opponents_in_the_final VARCHAR)
SELECT t1.color_code, t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t1.product_name = "chervil"
What is the color code and description of the product named "chervil"?
CREATE TABLE products (color_code VARCHAR, product_name VARCHAR); CREATE TABLE ref_colors (color_description VARCHAR, color_code VARCHAR)
SELECT COUNT(population_august_15), _2012 FROM table_12496904_1 WHERE sector = "Gatunda"
For the sector of Gatunda how many entires are show for the August 15, 2012 population?
CREATE TABLE table_12496904_1 (_2012 VARCHAR, population_august_15 VARCHAR, sector VARCHAR)
SELECT source FROM table_11381701_3 WHERE blackberry = "2.9%"
Which source shows Blackberry at 2.9%?
CREATE TABLE table_11381701_3 (source VARCHAR, blackberry VARCHAR)
SELECT score FROM table_name_90 WHERE competition = "2012 africa cup of nations"
What was the score of the game played in the 2012 Africa Cup of Nations?
CREATE TABLE table_name_90 (score VARCHAR, competition VARCHAR)
SELECT MIN(silver) FROM table_name_31 WHERE total = 11 AND gold < 8
Which Silver has a Total of 11, and a Gold smaller than 8?
CREATE TABLE table_name_31 (silver INTEGER, total VARCHAR, gold VARCHAR)
SELECT player FROM table_name_54 WHERE position = "guard-forward"
Who was the Player that had the Position, guard-forward?
CREATE TABLE table_name_54 (player VARCHAR, position VARCHAR)
SELECT content FROM table_name_75 WHERE television_service = "nickelodeon +1"
What shows as Content for the Television service of nickelodeon +1?
CREATE TABLE table_name_75 (content VARCHAR, television_service VARCHAR)
SELECT team FROM table_27756314_10 WHERE high_points = "Wesley Johnson (20)"
What is the team when the high points were by wesley johnson (20)?
CREATE TABLE table_27756314_10 (team VARCHAR, high_points VARCHAR)
SELECT 2000 FROM table_name_19 WHERE 2013 = "3rd"
What shows for 2000 when 2013 shows 3rd?
CREATE TABLE table_name_19 (Id VARCHAR)
SELECT occupation FROM table_name_17 WHERE hometown = "hampshire"
What is the occupation of the person with a hometown of Hampshire?
CREATE TABLE table_name_17 (occupation VARCHAR, hometown VARCHAR)
SELECT COUNT(*) FROM wrestler
How many wrestlers are there?
CREATE TABLE wrestler (Id VARCHAR)
SELECT AVG(silver) FROM table_name_23 WHERE nation = "belarus" AND total < 1
What average silver has belarus as the nation, with a total less than 1?
CREATE TABLE table_name_23 (silver INTEGER, nation VARCHAR, total VARCHAR)
SELECT guest FROM table_name_16 WHERE venue = "stadion prljanije"
Who was the guest at Stadion Prljanije?
CREATE TABLE table_name_16 (guest VARCHAR, venue VARCHAR)
SELECT SUM(2000) FROM table_name_94 WHERE 1989 < 54.9 AND location = "arizona, new mexico, and utah"
What is the 2000 number when the 1989 is less than 54.9 in Arizona, New Mexico, and Utah?
CREATE TABLE table_name_94 (location VARCHAR)
SELECT tied FROM table_name_1 WHERE drawn = "71"
Name the tie that has 71 drawn
CREATE TABLE table_name_1 (tied VARCHAR, drawn VARCHAR)
SELECT name, CLASS, date FROM race
Show name, class, and date for all races.
CREATE TABLE race (name VARCHAR, CLASS VARCHAR, date VARCHAR)
SELECT _percentage_of_votes FROM table_206359_1 WHERE _percentage_of_capital = "78.19"
What percentage of votes does the shareholder with 78.19% of capital have?
CREATE TABLE table_206359_1 (_percentage_of_votes VARCHAR, _percentage_of_capital VARCHAR)
SELECT cylinders__valves FROM table_1176162_3 WHERE model = "1.8 20V"
what's the cylinders/ valves with model being 1.8 20v
CREATE TABLE table_1176162_3 (cylinders__valves VARCHAR, model VARCHAR)