question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the date of the game that had a loss of lidle (10-8)?
CREATE TABLE table_name_89 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_89 WHERE loss = "lidle (10-8)"
how many managers left sunshine stars?
CREATE TABLE table_28164986_4 (outgoing_manager VARCHAR, team VARCHAR)
SELECT COUNT(outgoing_manager) FROM table_28164986_4 WHERE team = "Sunshine Stars"
Which district has a Republican elected?
CREATE TABLE table_1342315_12 (district VARCHAR, party VARCHAR)
SELECT district FROM table_1342315_12 WHERE party = "Republican"
What was the nationality of player picked no. 179?
CREATE TABLE table_2679061_9 (nationality VARCHAR, pick__number VARCHAR)
SELECT nationality FROM table_2679061_9 WHERE pick__number = 179
Where were games played when the record was 9-1?
CREATE TABLE table_22862203_2 (location VARCHAR, record VARCHAR)
SELECT location FROM table_22862203_2 WHERE record = "9-1"
What is 1994, when 2002 is ATP Masters Series?
CREATE TABLE table_name_76 (Id VARCHAR)
SELECT 1994 FROM table_name_76 WHERE 2002 = "atp masters series"
When same target; linebacker ii offensive is the same target what is the unit?
CREATE TABLE table_18933037_3 (unit VARCHAR, mission_target VARCHAR)
SELECT unit FROM table_18933037_3 WHERE mission_target = "Same target; Linebacker II Offensive"
which MSDN integration has a Load testing of no, and a Test impact analysis of no?
CREATE TABLE table_name_16 (msdn_integration VARCHAR, load_testing VARCHAR, test_impact_analysis VARCHAR)
SELECT msdn_integration FROM table_name_16 WHERE load_testing = "no" AND test_impact_analysis = "no"
What difference has a points greater than 10, and a drawn less than 2?
CREATE TABLE table_name_66 (difference VARCHAR, points VARCHAR, drawn VARCHAR)
SELECT difference FROM table_name_66 WHERE points > 10 AND drawn < 2
Tell me the total number of points for lost less than 4
CREATE TABLE table_name_72 (points VARCHAR, lost INTEGER)
SELECT COUNT(points) FROM table_name_72 WHERE lost < 4
Pink cytoplasm is seen in a test that specifically stains what?
CREATE TABLE table_13570_1 (specifically_stains VARCHAR, cytoplasm VARCHAR)
SELECT specifically_stains FROM table_13570_1 WHERE cytoplasm = "Pink"
Which team does Colin Moore drive for?
CREATE TABLE table_name_12 (team VARCHAR, driver VARCHAR)
SELECT team FROM table_name_12 WHERE driver = "colin moore"
How many wins had a podium larger than 6 after season 2008?
CREATE TABLE table_name_29 (wins VARCHAR, season VARCHAR, podiums VARCHAR)
SELECT COUNT(wins) FROM table_name_29 WHERE season > 2008 AND podiums > 6
What is the home country of the player who placed t5 and had a score of 69-71=140?
CREATE TABLE table_name_23 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT country FROM table_name_23 WHERE place = "t5" AND score = 69 - 71 = 140
What is the air date of TV series with Episode "A Love of a Lifetime"?
CREATE TABLE TV_series (Air_Date VARCHAR, Episode VARCHAR)
SELECT Air_Date FROM TV_series WHERE Episode = "A Love of a Lifetime"
What was the Attendance of the game against the Los Angeles Raiders?
CREATE TABLE table_name_85 (attendance VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_85 WHERE opponent = "los angeles raiders"
List the names of all distinct products in alphabetical order.
CREATE TABLE products (product_name VARCHAR)
SELECT DISTINCT product_name FROM products ORDER BY product_name
How many Played that has Losses of 6, and Wins larger than 33?
CREATE TABLE table_name_61 (played INTEGER, losses VARCHAR, wins VARCHAR)
SELECT AVG(played) FROM table_name_61 WHERE losses = 6 AND wins > 33
Which opponent has a record of 44-28?
CREATE TABLE table_name_2 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_2 WHERE record = "44-28"
How many games were Tied during the Span of 2011–2013 with a less than 80% Win %?
CREATE TABLE table_name_57 (tied VARCHAR, span VARCHAR, win__percentage VARCHAR)
SELECT COUNT(tied) FROM table_name_57 WHERE span = "2011–2013" AND win__percentage < 80
How many different horse-powers does the Cochrane have?
CREATE TABLE table_23614702_1 (horse__power VARCHAR, warship VARCHAR)
SELECT COUNT(horse__power) FROM table_23614702_1 WHERE warship = "Cochrane"
What is the year when the spoksperson is Ruslana?
CREATE TABLE table_1998037_9 (year_s_ INTEGER, spokesperson VARCHAR)
SELECT MIN(year_s_) FROM table_1998037_9 WHERE spokesperson = "Ruslana"
What is the scoreof the away team Collingwood?
CREATE TABLE table_name_83 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_83 WHERE away_team = "collingwood"
Where is George W. Gregory from?
CREATE TABLE table_14342367_13 (hometown VARCHAR, player VARCHAR)
SELECT hometown FROM table_14342367_13 WHERE player = "George W. Gregory"
What is the Chinese Type Chinese Name of the holiday with a Tamil Name of சந்திர புத்தாண்டு (தினம் 3)?
CREATE TABLE table_name_25 (chinese_name VARCHAR, type VARCHAR, tamil_name VARCHAR)
SELECT chinese_name FROM table_name_25 WHERE type = "chinese" AND tamil_name = "சந்திர புத்தாண்டு (தினம் 3)"
Name the decision for boston bruins visitor
CREATE TABLE table_name_14 (decision VARCHAR, visitor VARCHAR)
SELECT decision FROM table_name_14 WHERE visitor = "boston bruins"
How many different Leagues are associated with Billy Meredith Category:Articles with hCards?
CREATE TABLE table_14962287_2 (league VARCHAR, name VARCHAR)
SELECT COUNT(league) FROM table_14962287_2 WHERE name = "Billy Meredith Category:Articles with hCards"
What are the population and life expectancies in Brazil?
CREATE TABLE country (Population VARCHAR, LifeExpectancy VARCHAR, Name VARCHAR)
SELECT Population, LifeExpectancy FROM country WHERE Name = "Brazil"
What is the total for Bob Tway for the year won before 2002 with a to par bigger than 7?
CREATE TABLE table_name_2 (total VARCHAR, to_par VARCHAR, year_won VARCHAR, player VARCHAR)
SELECT COUNT(total) FROM table_name_2 WHERE year_won < 2002 AND player = "bob tway" AND to_par > 7
What is the to par of player johnny miller, who has a t8 place?
CREATE TABLE table_name_18 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_18 WHERE place = "t8" AND player = "johnny miller"
How many goals for where there when draws are less than 11, points of is 54+16 and goals against are less than 39?
CREATE TABLE table_name_66 (goals_for VARCHAR, goals_against VARCHAR, draws VARCHAR, points VARCHAR)
SELECT COUNT(goals_for) FROM table_name_66 WHERE draws < 11 AND points = "54+16" AND goals_against < 39
The capital of funadhoo has what local letter?
CREATE TABLE table_name_28 (local_letter VARCHAR, capital VARCHAR)
SELECT local_letter FROM table_name_28 WHERE capital = "funadhoo"
Name the country for 22 events
CREATE TABLE table_18888159_1 (country VARCHAR, events VARCHAR)
SELECT country FROM table_18888159_1 WHERE events = 22
Cuttino Mobley is what nationality?
CREATE TABLE table_name_5 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_5 WHERE player = "cuttino mobley"
How many stages are there?
CREATE TABLE table_25655781_17 (stage INTEGER)
SELECT MAX(stage) FROM table_25655781_17
What is pick 246's position?
CREATE TABLE table_name_94 (position VARCHAR, pick VARCHAR)
SELECT position FROM table_name_94 WHERE pick = 246
Which Clock Multiplier has a Clock Speed of 1.6 ghz, and a Model Number of c7-m 764?
CREATE TABLE table_name_69 (clock_multiplier VARCHAR, clock_speed VARCHAR, model_number VARCHAR)
SELECT clock_multiplier FROM table_name_69 WHERE clock_speed = "1.6 ghz" AND model_number = "c7-m 764"
Which country is Howard Clark from?
CREATE TABLE table_name_18 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_18 WHERE player = "howard clark"
What Club team with a Round larger than 5 have a defense position?
CREATE TABLE table_name_9 (club_team VARCHAR, round VARCHAR, position VARCHAR)
SELECT club_team FROM table_name_9 WHERE round > 5 AND position = "defense"
What is the number of Apps for Internazionale Club of Brazil?
CREATE TABLE table_name_69 (apps VARCHAR, national_team VARCHAR, club VARCHAR)
SELECT COUNT(apps) FROM table_name_69 WHERE national_team = "brazil" AND club = "internazionale"
What was the date that the episode with Jeff Davis as the second performer originally aired?
CREATE TABLE table_23294081_10 (original_airdate VARCHAR, performer_2 VARCHAR)
SELECT original_airdate FROM table_23294081_10 WHERE performer_2 = "Jeff Davis"
What is the status of the building for 2014 with 33 floors?
CREATE TABLE table_name_54 (status VARCHAR, year VARCHAR, floors VARCHAR)
SELECT status FROM table_name_54 WHERE year < 2014 AND floors = 33
What was the starting position of Joie Chitwood when he finished more than 200 laps?
CREATE TABLE table_name_49 (start VARCHAR, laps INTEGER)
SELECT start FROM table_name_49 WHERE laps > 200
Tell me the sum of losses for wins less than 2 and rank of 10 with appearances larger than 3
CREATE TABLE table_name_60 (losses INTEGER, appearances VARCHAR, wins VARCHAR, rank VARCHAR)
SELECT SUM(losses) FROM table_name_60 WHERE wins < 2 AND rank = 10 AND appearances > 3
What was the lowest recorded record for a player with an average larger than 13?
CREATE TABLE table_name_57 (rec INTEGER, avg INTEGER)
SELECT MIN(rec) FROM table_name_57 WHERE avg > 13
Name the recipient of much ado about nothing for 1973
CREATE TABLE table_name_77 (recipient VARCHAR, play VARCHAR, year VARCHAR)
SELECT recipient FROM table_name_77 WHERE play = "much ado about nothing" AND year = 1973
How many people attended the game where Fitzroy was the away team?
CREATE TABLE table_name_44 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_44 WHERE away_team = "fitzroy"
Name the number of silver when gold is less than 1 and bronze is 0 when total is less than 2
CREATE TABLE table_name_18 (silver VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT COUNT(silver) FROM table_name_18 WHERE gold < 1 AND bronze = 0 AND total < 2
What was the game's points against Team 2 Deportivo Anzoátegui?
CREATE TABLE table_17282875_2 (points VARCHAR, team__number2 VARCHAR)
SELECT points FROM table_17282875_2 WHERE team__number2 = "Deportivo Anzoátegui"
Smaller than 37, the highest year for Ford?
CREATE TABLE table_name_18 (year INTEGER, manufacturer VARCHAR, finish VARCHAR)
SELECT MAX(year) FROM table_name_18 WHERE manufacturer = "ford" AND finish < 37
what is the location when the record is 5-1-1?
CREATE TABLE table_name_90 (location VARCHAR, record VARCHAR)
SELECT location FROM table_name_90 WHERE record = "5-1-1"
How many weeks has 54,187 as the attendance?
CREATE TABLE table_name_87 (week VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_name_87 WHERE attendance = 54 OFFSET 187
Which Display size (in) has a Model of versapro vy10f/bh-l?
CREATE TABLE table_name_10 (display_size__in_ INTEGER, model VARCHAR)
SELECT MIN(display_size__in_) FROM table_name_10 WHERE model = "versapro vy10f/bh-l"
What is the total number of Length Feet, when Parish is Clarendon, when Km From Kingston is 71.2, and when Length Meters is less than 21.3?
CREATE TABLE table_name_97 (length_feet VARCHAR, length_meters VARCHAR, parish VARCHAR, km_from_kingston VARCHAR)
SELECT COUNT(length_feet) FROM table_name_97 WHERE parish = "clarendon" AND km_from_kingston = 71.2 AND length_meters < 21.3
Which genre is the fly fm station?
CREATE TABLE table_name_93 (genre VARCHAR, station VARCHAR)
SELECT genre FROM table_name_93 WHERE station = "fly fm"
What kind of Rank has a Bronze of 0 and a Total smaller than 3 and a Nation of austria?
CREATE TABLE table_name_6 (rank INTEGER, nation VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT MAX(rank) FROM table_name_6 WHERE bronze = 0 AND total < 3 AND nation = "austria"
Which of the R. Epp, has Ed Zacharias from Rollen, Jerolt, Golt?
CREATE TABLE table_name_97 (r_epp VARCHAR, ed_zacharias VARCHAR)
SELECT r_epp FROM table_name_97 WHERE ed_zacharias = "rollen, jerolt, golt"
Who was the home team on March 24?
CREATE TABLE table_name_57 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_57 WHERE date = "march 24"
What is the Catalog number for the region of Japan?
CREATE TABLE table_name_91 (catalog VARCHAR, region VARCHAR)
SELECT catalog FROM table_name_91 WHERE region = "japan"
Which candidate has more than 279 votes, rank less than 50, is ♀ and al-ahd?
CREATE TABLE table_name_61 (candidate_name VARCHAR, list VARCHAR, gender VARCHAR, votes VARCHAR, rank VARCHAR)
SELECT candidate_name FROM table_name_61 WHERE votes > 279 AND rank < 50 AND gender = "♀" AND list = "al-ahd"
Which College/junior/club team has a Round of 2?
CREATE TABLE table_name_11 (college_junior_club_team VARCHAR, round VARCHAR)
SELECT college_junior_club_team FROM table_name_11 WHERE round = 2
What city of license has cbon-fm-11 as the identifier?
CREATE TABLE table_name_77 (city_of_license VARCHAR, identifier VARCHAR)
SELECT city_of_license FROM table_name_77 WHERE identifier = "cbon-fm-11"
Which High points have a Score of w 110-81?
CREATE TABLE table_name_49 (high_points VARCHAR, score VARCHAR)
SELECT high_points FROM table_name_49 WHERE score = "w 110-81"
What was the score for the game with FK Bratstvo as home team?
CREATE TABLE table_name_7 (score VARCHAR, home VARCHAR)
SELECT score FROM table_name_7 WHERE home = "fk bratstvo"
Name the tournament when it has 2011 of 2r
CREATE TABLE table_name_94 (tournament VARCHAR)
SELECT tournament FROM table_name_94 WHERE 2011 = "2r"
What is the brand in Metro Manila?
CREATE TABLE table_19215259_1 (branding VARCHAR, location VARCHAR)
SELECT branding FROM table_19215259_1 WHERE location = "Metro Manila"
Tell me the category of na director
CREATE TABLE table_name_75 (category VARCHAR, director VARCHAR)
SELECT category FROM table_name_75 WHERE director = "na"
In what Week was the Result W 27-24?
CREATE TABLE table_name_1 (week INTEGER, result VARCHAR)
SELECT MAX(week) FROM table_name_1 WHERE result = "w 27-24"
Which Semifinalists have a Surface of hard, and a Winner and score of pete sampras 6–3, 3–6, 6–3?
CREATE TABLE table_name_95 (semifinalists VARCHAR, surface VARCHAR, winner_and_score VARCHAR)
SELECT semifinalists FROM table_name_95 WHERE surface = "hard" AND winner_and_score = "pete sampras 6–3, 3–6, 6–3"
what is the rank when the total is 39 in the county of dublin and the matches is less than 4?
CREATE TABLE table_name_31 (rank INTEGER, matches VARCHAR, total VARCHAR, county VARCHAR)
SELECT AVG(rank) FROM table_name_31 WHERE total = 39 AND county = "dublin" AND matches < 4
who is the writer where viewers is 5.16m
CREATE TABLE table_12148018_2 (writer VARCHAR, viewers VARCHAR)
SELECT writer FROM table_12148018_2 WHERE viewers = "5.16m"
Which Losses have Draws larger than 6, and a Club of cd mestalla, and Goals against larger than 44?
CREATE TABLE table_name_75 (losses INTEGER, goals_against VARCHAR, draws VARCHAR, club VARCHAR)
SELECT MIN(losses) FROM table_name_75 WHERE draws > 6 AND club = "cd mestalla" AND goals_against > 44
Who is the home team with tie number 9?
CREATE TABLE table_name_93 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_93 WHERE tie_no = "9"
How many subscribers, in 2006, does Glo Mobile have?
CREATE TABLE table_29395291_2 (subscribers__2006___thousands_ VARCHAR, provider VARCHAR)
SELECT subscribers__2006___thousands_ FROM table_29395291_2 WHERE provider = "Glo Mobile"
What is the record of the team from chicago?
CREATE TABLE table_name_6 (record VARCHAR, home VARCHAR)
SELECT record FROM table_name_6 WHERE home = "chicago"
Who's the shooter with a total of 25?
CREATE TABLE table_name_57 (shooter VARCHAR, total VARCHAR)
SELECT shooter FROM table_name_57 WHERE total = "25"
How many films were in hindi?
CREATE TABLE table_25926120_3 (name_of_film VARCHAR, language VARCHAR)
SELECT COUNT(name_of_film) FROM table_25926120_3 WHERE language = "Hindi"
What are the famous title of the artists associated with volumes with more than 2 weeks on top?
CREATE TABLE artist (Famous_Title VARCHAR, Artist_ID VARCHAR); CREATE TABLE volume (Artist_ID VARCHAR, Weeks_on_Top INTEGER)
SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T2.Weeks_on_Top > 2
When 9 is the rank who are the couple?
CREATE TABLE table_19744915_18 (couple VARCHAR, rank VARCHAR)
SELECT couple FROM table_19744915_18 WHERE rank = 9
What is the overall record of the Ravens?
CREATE TABLE table_name_16 (overall_record VARCHAR, team VARCHAR)
SELECT overall_record FROM table_name_16 WHERE team = "ravens"
What is the minimum enrollment for Plainfield?
CREATE TABLE table_2076595_1 (enrollment__2009_ INTEGER, location_s_ VARCHAR)
SELECT MIN(enrollment__2009_) FROM table_2076595_1 WHERE location_s_ = "Plainfield"
What was the value of 1st prize when the score was 271 (-9)?
CREATE TABLE table_15346009_1 (score VARCHAR)
SELECT 1 AS st_prize__$__ FROM table_15346009_1 WHERE score = "271 (-9)"
When 17 is the tries for what is the points against?
CREATE TABLE table_17941032_1 (points_against VARCHAR, tries_for VARCHAR)
SELECT points_against FROM table_17941032_1 WHERE tries_for = "17"
What is the average number of cuts made when there were more than 2 tournaments played in 2011?
CREATE TABLE table_name_50 (cuts_made INTEGER, tournaments_played VARCHAR, year VARCHAR)
SELECT AVG(cuts_made) FROM table_name_50 WHERE tournaments_played > 2 AND year = 2011
What is the Tournament with a Opponents in the final with rod laver fred stolle?
CREATE TABLE table_name_15 (tournament VARCHAR, opponents_in_the_final VARCHAR)
SELECT tournament FROM table_name_15 WHERE opponents_in_the_final = "rod laver fred stolle"
What is the total capacity for the stadium of pasquale ianniello?
CREATE TABLE table_name_96 (capacity INTEGER, stadium VARCHAR)
SELECT SUM(capacity) FROM table_name_96 WHERE stadium = "pasquale ianniello"
How many events did clay win?
CREATE TABLE table_name_42 (COUNT VARCHAR, winner VARCHAR)
SELECT NOT COUNT AS event FROM table_name_42 WHERE winner = "clay"
Which Total has a Gold smaller than 4?
CREATE TABLE table_name_44 (total INTEGER, gold INTEGER)
SELECT MIN(total) FROM table_name_44 WHERE gold < 4
What is the release date when the release price (usd) is $346 and the turbo is 9/11?
CREATE TABLE table_name_23 (release_date VARCHAR, release_price___usd__ VARCHAR, turbo VARCHAR)
SELECT release_date FROM table_name_23 WHERE release_price___usd__ = "$346" AND turbo = "9/11"
What's the black with 24 moves in the dortmund tournament?
CREATE TABLE table_name_56 (black VARCHAR, moves VARCHAR, tournament VARCHAR)
SELECT black FROM table_name_56 WHERE moves = 24 AND tournament = "dortmund"
Which college has fb as the position?
CREATE TABLE table_20871703_1 (college VARCHAR, position VARCHAR)
SELECT college FROM table_20871703_1 WHERE position = "FB"
What is the average dismissals of 83 test and catches less than 33?
CREATE TABLE table_name_5 (total_dismissals INTEGER, tests VARCHAR, catches VARCHAR)
SELECT AVG(total_dismissals) FROM table_name_5 WHERE tests = 83 AND catches < 33
What airport is in Sabha?
CREATE TABLE table_name_43 (airport VARCHAR, city VARCHAR)
SELECT airport FROM table_name_43 WHERE city = "sabha"
What is the indoor number for the NER region?
CREATE TABLE table_19534874_2 (indoor VARCHAR, region VARCHAR)
SELECT COUNT(indoor) FROM table_19534874_2 WHERE region = "NER"
Name the D 46 which has D 42 of r 14
CREATE TABLE table_name_36 (d_46 VARCHAR, d_42 VARCHAR)
SELECT d_46 FROM table_name_36 WHERE d_42 = "r 14"
What is the Construction that has a Listed 09/08/1983, and a Name of cecil lindsey?
CREATE TABLE table_name_49 (construction_completed VARCHAR, listed VARCHAR, name VARCHAR)
SELECT construction_completed FROM table_name_49 WHERE listed = "09/08/1983" AND name = "cecil lindsey"
what is the smallest series episode number whose production code is 2t7211?
CREATE TABLE table_21979779_1 (no INTEGER, production_code VARCHAR)
SELECT MIN(no) FROM table_21979779_1 WHERE production_code = "2T7211"
What unit is located in China and has Zhou Zhang as an author?
CREATE TABLE table_name_53 (unit VARCHAR, location VARCHAR, authors VARCHAR)
SELECT unit FROM table_name_53 WHERE location = "china" AND authors = "zhou zhang"
Frank Nobilo plays for what country?
CREATE TABLE table_name_43 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_43 WHERE player = "frank nobilo"
How many Kent State University's are there?
CREATE TABLE table_26351260_1 (location VARCHAR, institution VARCHAR)
SELECT COUNT(location) FROM table_26351260_1 WHERE institution = "Kent State University"