question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
what is the most money ($) when the score is 71-74-69-72=286?
CREATE TABLE table_name_21 (money___ INTEGER, score VARCHAR)
SELECT MAX(money___) AS $__ FROM table_name_21 WHERE score = 71 - 74 - 69 - 72 = 286
What is every production code for episode # 13?
CREATE TABLE table_2342078_2 (production_code__order_they_were_made___number VARCHAR, episode__number VARCHAR)
SELECT production_code__order_they_were_made___number FROM table_2342078_2 WHERE episode__number = 13
Name the investing dragon for razzamataz
CREATE TABLE table_name_5 (investing_dragon_s_ VARCHAR, company_or_product_name VARCHAR)
SELECT investing_dragon_s_ FROM table_name_5 WHERE company_or_product_name = "razzamataz"
What is the broadcast date of the episode on 16mm t/r that ran 23:25?
CREATE TABLE table_2101431_1 (broadcast_date VARCHAR, archive VARCHAR, run_time VARCHAR)
SELECT broadcast_date FROM table_2101431_1 WHERE archive = "16mm t/r" AND run_time = "23:25"
What is the earliest date of taking office for district 22?
CREATE TABLE table_name_2 (took_office INTEGER, district VARCHAR)
SELECT MIN(took_office) FROM table_name_2 WHERE district = 22
Who was the artist of the single that spent 9 ¶ weeks on top?
CREATE TABLE table_name_28 (artist VARCHAR, weeks_on_top VARCHAR)
SELECT artist FROM table_name_28 WHERE weeks_on_top = "9 ¶"
what is the maximum number of matches played by a team?
CREATE TABLE table_14489821_1 (played INTEGER)
SELECT MAX(played) FROM table_14489821_1
How many million viewers watch the episode that kevin biegel & aseem batra wrote?
CREATE TABLE table_25548213_1 (us_viewers__million_ VARCHAR, written_by VARCHAR)
SELECT us_viewers__million_ FROM table_25548213_1 WHERE written_by = "Kevin Biegel & Aseem Batra"
Which date had a site of N/A?
CREATE TABLE table_name_9 (date VARCHAR, site VARCHAR)
SELECT date FROM table_name_9 WHERE site = "n/a"
Name the name for when overs bowled is 31.2
CREATE TABLE table_15700367_2 (name VARCHAR, overs_bowled VARCHAR)
SELECT name FROM table_15700367_2 WHERE overs_bowled = "31.2"
What is Marc Parenteau's position?
CREATE TABLE table_21321804_5 (position VARCHAR, player VARCHAR)
SELECT position FROM table_21321804_5 WHERE player = "Marc Parenteau"
Who is the written by when mark worthington is the director?
CREATE TABLE table_22570439_1 (written_by VARCHAR, directed_by VARCHAR)
SELECT written_by FROM table_22570439_1 WHERE directed_by = "Mark Worthington"
What are the names of races held after 12:00:00 or before 09:00:00?
CREATE TABLE races (name VARCHAR, TIME VARCHAR)
SELECT name FROM races WHERE TIME > "12:00:00" OR TIME < "09:00:00"
What time for the entrant weighing 54.4kg?
CREATE TABLE table_20626467_1 (time VARCHAR, weight__kg_ VARCHAR)
SELECT time FROM table_20626467_1 WHERE weight__kg_ = "54.4kg"
What is the title of book number 7?
CREATE TABLE table_2950964_1 (title VARCHAR, _number VARCHAR)
SELECT title FROM table_2950964_1 WHERE _number = "7"
What is the role of the aircraft that originates from the European Union?
CREATE TABLE table_name_41 (role VARCHAR, origin VARCHAR)
SELECT role FROM table_name_41 WHERE origin = "european union"
On what date was Anniston Army Depot (SE Industrial Area) deleted?
CREATE TABLE table_name_8 (deleted VARCHAR, name VARCHAR)
SELECT deleted FROM table_name_8 WHERE name = "anniston army depot (se industrial area)"
What were the highest losses when the goal was smaller than 45 and the points was smaller than 18?
CREATE TABLE table_name_89 (losses INTEGER, goals_for VARCHAR, points VARCHAR)
SELECT MAX(losses) FROM table_name_89 WHERE goals_for < 45 AND points < 18
Who was the manufacturer for Matt Kenseth on March 7?
CREATE TABLE table_2196127_1 (manufacturer VARCHAR, driver VARCHAR, date VARCHAR)
SELECT manufacturer FROM table_2196127_1 WHERE driver = "Matt Kenseth" AND date = "March 7"
What episode titles have 17.93 million U.S. viewers?
CREATE TABLE table_16617025_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
SELECT title FROM table_16617025_1 WHERE us_viewers__millions_ = "17.93"
What is the Record on may 24, with a Loss of hayes (2-1)?
CREATE TABLE table_name_98 (record VARCHAR, date VARCHAR, loss VARCHAR)
SELECT record FROM table_name_98 WHERE date = "may 24" AND loss = "hayes (2-1)"
What was the record on august 24?
CREATE TABLE table_name_73 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_73 WHERE date = "august 24"
Who has a larger than 70.99 km2?
CREATE TABLE table_name_52 (comune VARCHAR, total__km²_ INTEGER)
SELECT comune FROM table_name_52 WHERE total__km²_ > 70.99
What Position is listed against a Venue of Debrecen, Hungary
CREATE TABLE table_name_64 (position VARCHAR, venue VARCHAR)
SELECT position FROM table_name_64 WHERE venue = "debrecen, hungary"
How many times did the team play at oakland-alameda county coliseum?
CREATE TABLE table_13259019_2 (date VARCHAR, game_site VARCHAR)
SELECT COUNT(date) FROM table_13259019_2 WHERE game_site = "Oakland-Alameda County Coliseum"
What is the 1980 value with a 1r in 1984 and a 1r in 1981?
CREATE TABLE table_name_48 (Id VARCHAR)
SELECT 1980 FROM table_name_48 WHERE 1984 = "1r" AND 1981 = "1r"
How many GDPs as of 2012 after PPP values are associated with a 2012 value of 23113?
CREATE TABLE table_30133_3 (gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_ VARCHAR)
SELECT COUNT(gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_) FROM table_30133_3 WHERE 2012 = 23113
Which frequency is located in Davao?
CREATE TABLE table_name_35 (frequency VARCHAR, location VARCHAR)
SELECT frequency FROM table_name_35 WHERE location = "davao"
What is the most wins for draws greater than 0?
CREATE TABLE table_name_31 (wins INTEGER, draws INTEGER)
SELECT MAX(wins) FROM table_name_31 WHERE draws > 0
How many episodes by different writers were seen by 3.24 million people in the US?
CREATE TABLE table_18268826_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT COUNT(written_by) FROM table_18268826_1 WHERE us_viewers__million_ = "3.24"
What is the Distance of the 1945 Vuelta a Espana with 4A Stage?
CREATE TABLE table_name_20 (distance VARCHAR, stage VARCHAR)
SELECT distance FROM table_name_20 WHERE stage = "4a"
Which label has a date of 1987?
CREATE TABLE table_name_52 (label VARCHAR, date VARCHAR)
SELECT label FROM table_name_52 WHERE date = "1987"
What was the away team that played at Princes Park?
CREATE TABLE table_name_17 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_17 WHERE venue = "princes park"
What is the total number of earnings for golfers who have 28 events and more than 2 wins?
CREATE TABLE table_name_94 (earnings___ VARCHAR, events VARCHAR, wins VARCHAR)
SELECT COUNT(earnings___) AS $__ FROM table_name_94 WHERE events = 28 AND wins > 2
Which player debuted in 1973 against Limerick and played his last game at the Munster semi-final?
CREATE TABLE table_name_18 (player VARCHAR, début VARCHAR, opposition VARCHAR, last_game VARCHAR)
SELECT player FROM table_name_18 WHERE opposition = "limerick" AND last_game = "munster semi-final" AND début = 1973
List all points against with a 0 try bonus and points for of 150.
CREATE TABLE table_17941032_2 (points_against VARCHAR, try_bonus VARCHAR, points_for VARCHAR)
SELECT points_against FROM table_17941032_2 WHERE try_bonus = "0" AND points_for = "150"
What is the local name given to the city of Canberra?
CREATE TABLE table_1008653_1 (capital___endonym__ VARCHAR, capital___exonym__ VARCHAR)
SELECT capital___endonym__ FROM table_1008653_1 WHERE capital___exonym__ = "Canberra"
What Losing bonus has a Points against of 588?
CREATE TABLE table_name_62 (losing_bonus VARCHAR, points_against VARCHAR)
SELECT losing_bonus FROM table_name_62 WHERE points_against = "588"
Who was the turbine manufacturer of the wind farm that started service on 2005?
CREATE TABLE table_24837750_1 (turbine_manufacturer VARCHAR, date_in_service VARCHAR)
SELECT turbine_manufacturer FROM table_24837750_1 WHERE date_in_service = "2005"
What is the highest number of Counties carries?
CREATE TABLE table_16186152_1 (counties_carries INTEGER)
SELECT MAX(counties_carries) FROM table_16186152_1
What Player has a To par of +1 and a Score of 73-71-71=217?
CREATE TABLE table_name_24 (player VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT player FROM table_name_24 WHERE to_par = "+1" AND score = 73 - 71 - 71 = 217
Which municipality has a party of Lega Friuli-VG that won elections before 2011?
CREATE TABLE table_name_34 (municipality VARCHAR, party VARCHAR, election VARCHAR)
SELECT municipality FROM table_name_34 WHERE party = "lega friuli-vg" AND election < 2011
What's the school name in Balclutha that has a Decile of 7 and a roll larger than 186?
CREATE TABLE table_name_91 (name VARCHAR, roll VARCHAR, area VARCHAR, decile VARCHAR)
SELECT name FROM table_name_91 WHERE area = "balclutha" AND decile < 7 AND roll > 186
How many cars have more than 4 cylinders?
CREATE TABLE CARS_DATA (Cylinders INTEGER)
SELECT COUNT(*) FROM CARS_DATA WHERE Cylinders > 4
What is the to par score from Brad Faxon of the United States with a score of 73-68=141?
CREATE TABLE table_name_88 (to_par VARCHAR, player VARCHAR, country VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_88 WHERE country = "united states" AND score = 73 - 68 = 141 AND player = "brad faxon"
What American Southwest Conference school was founded in 1883?
CREATE TABLE table_name_87 (institution VARCHAR, founded VARCHAR, current_conference VARCHAR)
SELECT institution FROM table_name_87 WHERE founded > 1883 AND current_conference = "american southwest"
What is friday day six when thursday day five is پچھمبے pachhambey?
CREATE TABLE table_1277350_7 (friday_day_six VARCHAR, thursday_day_five VARCHAR)
SELECT friday_day_six FROM table_1277350_7 WHERE thursday_day_five = "پچھمبے pachhambey"
Who was the away team for the Etobicoke Kangaroos home game?
CREATE TABLE table_name_81 (away VARCHAR, home VARCHAR)
SELECT away FROM table_name_81 WHERE home = "etobicoke kangaroos"
What was the record when TKO (punches and elbows) was the method?
CREATE TABLE table_name_22 (record VARCHAR, method VARCHAR)
SELECT record FROM table_name_22 WHERE method = "tko (punches and elbows)"
Who was replaced by Lieve Wierinck?
CREATE TABLE table_name_18 (name VARCHAR, replacement VARCHAR)
SELECT name FROM table_name_18 WHERE replacement = "lieve wierinck"
What is every entry for against with opponent Andreas Vinciguerra?
CREATE TABLE table_24074130_5 (against VARCHAR, opponent VARCHAR)
SELECT against FROM table_24074130_5 WHERE opponent = "Andreas Vinciguerra"
What is the blocks total number if the points is 4?
CREATE TABLE table_23346303_5 (blocks VARCHAR, points VARCHAR)
SELECT COUNT(blocks) FROM table_23346303_5 WHERE points = 4
Which country is bob tway from?
CREATE TABLE table_name_30 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_30 WHERE player = "bob tway"
How many wins did the 8 time runner-up have?
CREATE TABLE table_name_33 (wins VARCHAR, runners_up VARCHAR)
SELECT wins FROM table_name_33 WHERE runners_up = "8"
What label is the ALCA-9197 Catalog?
CREATE TABLE table_name_77 (label VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_77 WHERE catalog = "alca-9197"
Which After 1 year has an After 3 years of 80%?
CREATE TABLE table_name_40 (after_1_year VARCHAR, after_3_years VARCHAR)
SELECT after_1_year FROM table_name_40 WHERE after_3_years = "80%"
How many viewers were there for airdate is 22 october 2009?
CREATE TABLE table_24399615_3 (viewers INTEGER, airdate VARCHAR)
SELECT MAX(viewers) FROM table_24399615_3 WHERE airdate = "22 October 2009"
Who is the director when the production code is 60034?
CREATE TABLE table_28140588_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_28140588_1 WHERE production_code = 60034
On what date was the match played in Victoria Park?
CREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_78 WHERE venue = "victoria park"
What time span is listed under years for the 96th congres?
CREATE TABLE table_2841865_2 (years VARCHAR, congress VARCHAR)
SELECT years FROM table_2841865_2 WHERE congress = "96th"
On which date did they play Leicester City in Venue A?
CREATE TABLE table_name_38 (date VARCHAR, venue VARCHAR, opponents VARCHAR)
SELECT date FROM table_name_38 WHERE venue = "a" AND opponents = "leicester city"
How many attempts for Bobby Layne?
CREATE TABLE table_19418696_3 (attempts INTEGER, name VARCHAR)
SELECT MIN(attempts) FROM table_19418696_3 WHERE name = "Bobby Layne"
What is the Date of the game with a Record of 8–10–6?
CREATE TABLE table_name_99 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_99 WHERE record = "8–10–6"
Who was interviewed in the 8-98 issue?
CREATE TABLE table_1566850_9 (interview_subject VARCHAR, date VARCHAR)
SELECT interview_subject FROM table_1566850_9 WHERE date = "8-98"
what is the name of the tournament where outcome is runner-up
CREATE TABLE table_29127804_3 (tournament VARCHAR, outcome VARCHAR)
SELECT tournament FROM table_29127804_3 WHERE outcome = "Runner-up"
Which Comp is on 2004-10-17?
CREATE TABLE table_name_84 (comp VARCHAR, date VARCHAR)
SELECT comp FROM table_name_84 WHERE date = "2004-10-17"
What is the smallest number of poles when the fastest laps are less than 0?
CREATE TABLE table_name_52 (poles INTEGER, fastest_laps INTEGER)
SELECT MIN(poles) FROM table_name_52 WHERE fastest_laps < 0
What is the sum of state champions with more tan 9 MRC Championships, more than 4 co-champions, and a record of 192-189-3?
CREATE TABLE table_name_72 (state_champions INTEGER, co_champions VARCHAR, mrc_championships VARCHAR, records VARCHAR)
SELECT SUM(state_champions) FROM table_name_72 WHERE mrc_championships > 9 AND records = "192-189-3" AND co_champions > 4
What is the last issue entry of Time and Again?
CREATE TABLE table_name_55 (last_issue VARCHAR, title VARCHAR)
SELECT last_issue FROM table_name_55 WHERE title = "time and again"
What is the name of the Leftfielder when the Shortstop was bill russell, and the Second Baseman was steve sax in 1983?
CREATE TABLE table_name_25 (leftfielder VARCHAR, year VARCHAR, shortstop VARCHAR, second_baseman VARCHAR)
SELECT leftfielder FROM table_name_25 WHERE shortstop = "bill russell" AND second_baseman = "steve sax" AND year = 1983
Who was the visiting team at Lincoln Financial Field when the final score was 24-14?
CREATE TABLE table_name_34 (visiting_team VARCHAR, stadium VARCHAR, final_score VARCHAR)
SELECT visiting_team FROM table_name_34 WHERE stadium = "lincoln financial field" AND final_score = "24-14"
Name the wins for tournaments played being 14
CREATE TABLE table_1697190_1 (wins VARCHAR, tournaments_played VARCHAR)
SELECT wins FROM table_1697190_1 WHERE tournaments_played = 14
What is the location and attendance of game 63?
CREATE TABLE table_name_29 (location_attendance VARCHAR, game VARCHAR)
SELECT location_attendance FROM table_name_29 WHERE game = 63
What is the average 2001 value with a 2010 value greater than 414, a 2011 value of 7192, and a 2005 value larger than 7340?
CREATE TABLE table_name_41 (Id VARCHAR)
SELECT AVG(2001) FROM table_name_41 WHERE 2010 > 414 AND 2011 = 7192 AND 2005 > 7340
What is the installation date for the Delta Chapter?
CREATE TABLE table_21821014_1 (installation_date VARCHAR, chapter VARCHAR)
SELECT installation_date FROM table_21821014_1 WHERE chapter = "Delta"
What is SECOND, when FIRST is Western Australia?
CREATE TABLE table_name_64 (second VARCHAR, first VARCHAR)
SELECT second FROM table_name_64 WHERE first = "western australia"
In which lane did the swimmer with a time of 1:58.44 swim?
CREATE TABLE table_name_67 (lane VARCHAR, time VARCHAR)
SELECT COUNT(lane) FROM table_name_67 WHERE time = "1:58.44"
If the high points were by Anthony Morrow (24), what was the team?
CREATE TABLE table_27700375_6 (team VARCHAR, high_points VARCHAR)
SELECT team FROM table_27700375_6 WHERE high_points = "Anthony Morrow (24)"
Which chromosomes have an unknown property?
CREATE TABLE table_29871617_1 (name VARCHAR, property VARCHAR)
SELECT name FROM table_29871617_1 WHERE property = "Unknown"
What director directed the role of shelby barret wyatt in 1935?
CREATE TABLE table_name_14 (director VARCHAR, year VARCHAR, role VARCHAR)
SELECT director FROM table_name_14 WHERE year = 1935 AND role = "shelby barret wyatt"
what place has the club of sevilla
CREATE TABLE table_name_76 (away VARCHAR, club VARCHAR)
SELECT away FROM table_name_76 WHERE club = "sevilla"
What is the date of the Cleveland home game with a 20-8 record?
CREATE TABLE table_name_74 (date VARCHAR, home VARCHAR, record VARCHAR)
SELECT date FROM table_name_74 WHERE home = "cleveland" AND record = "20-8"
Name the least attendance for opponent of new orleans saints and week more than 2
CREATE TABLE table_name_5 (attendance INTEGER, week VARCHAR, opponent VARCHAR)
SELECT MIN(attendance) FROM table_name_5 WHERE week > 2 AND opponent = "new orleans saints"
Name the number of finishes for 15 entries 15 and l'esprit d'equipe
CREATE TABLE table_256862_1 (finish VARCHAR, entries VARCHAR, winning_yacht VARCHAR)
SELECT COUNT(finish) FROM table_256862_1 WHERE entries = "15" AND winning_yacht = "L'Esprit d'Equipe"
What is the pinyin for the English name Wuping County?
CREATE TABLE table_1204998_2 (pinyin VARCHAR, english_name VARCHAR)
SELECT pinyin FROM table_1204998_2 WHERE english_name = "Wuping County"
If the matches for NQF is 2009, what is the position?
CREATE TABLE table_21223773_2 (position VARCHAR, matches_for_nqf VARCHAR)
SELECT position FROM table_21223773_2 WHERE matches_for_nqf = "2009"
What day had 37,500 attending?
CREATE TABLE table_name_56 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_56 WHERE attendance = "37,500"
What line has Newmarket Junction terminus?
CREATE TABLE table_name_4 (line_name VARCHAR, terminus VARCHAR)
SELECT line_name FROM table_name_4 WHERE terminus = "newmarket junction"
Which competition did he win on August 15, 2012?
CREATE TABLE table_name_54 (competition VARCHAR, result VARCHAR, date VARCHAR)
SELECT competition FROM table_name_54 WHERE result = "win" AND date = "august 15, 2012"
what is the year when then organisation is star awards, the result is won and the nominated work title is n/a?
CREATE TABLE table_name_98 (year VARCHAR, nominated_work_title VARCHAR, organisation VARCHAR, result VARCHAR)
SELECT year FROM table_name_98 WHERE organisation = "star awards" AND result = "won" AND nominated_work_title = "n/a"
What is the adjusted GDP per capita when the population is 37.376 million?
CREATE TABLE table_1610496_3 (gdp_per_capita_adjusted__$_ VARCHAR, population__millions_ VARCHAR)
SELECT gdp_per_capita_adjusted__$_ FROM table_1610496_3 WHERE population__millions_ = "37.376"
What is the highest total when bronze is less than 1 and gold more than 0?
CREATE TABLE table_name_65 (total INTEGER, bronze VARCHAR, gold VARCHAR)
SELECT MAX(total) FROM table_name_65 WHERE bronze < 1 AND gold > 0
What is the fewest number of losses?
CREATE TABLE table_1644876_2 (l INTEGER)
SELECT MIN(l) FROM table_1644876_2
What is the torque formula for the model/engine which has 1,753 cc capacity?
CREATE TABLE table_1212189_1 (torque__nm__rpm VARCHAR, capacity VARCHAR)
SELECT torque__nm__rpm FROM table_1212189_1 WHERE capacity = "1,753 cc"
What was the player name who came from Australia?
CREATE TABLE table_11734041_1 (player VARCHAR, school_club_team_country VARCHAR)
SELECT player FROM table_11734041_1 WHERE school_club_team_country = "Australia"
What year was the game at Bad Neuenahr Eppelborn?
CREATE TABLE table_name_30 (year VARCHAR, venue VARCHAR)
SELECT year FROM table_name_30 WHERE venue = "bad neuenahr eppelborn"
List the first name of all employees with job code PROF ordered by their date of birth.
CREATE TABLE employee (emp_fname VARCHAR, emp_jobcode VARCHAR, emp_dob VARCHAR)
SELECT emp_fname FROM employee WHERE emp_jobcode = 'PROF' ORDER BY emp_dob
What is the highest Game, when Opponent is "Chicago Black Hawks", and when November is less than 16?
CREATE TABLE table_name_44 (game INTEGER, opponent VARCHAR, november VARCHAR)
SELECT MAX(game) FROM table_name_44 WHERE opponent = "chicago black hawks" AND november < 16
For a team with 332 points for, what was the try bonus?
CREATE TABLE table_name_16 (try_bonus VARCHAR, points_for VARCHAR)
SELECT try_bonus FROM table_name_16 WHERE points_for = "332"
How many points did landskrona bois get when they were ranked below 18?
CREATE TABLE table_name_68 (points VARCHAR, club VARCHAR, rank VARCHAR)
SELECT COUNT(points) FROM table_name_68 WHERE club = "landskrona bois" AND rank < 18