question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the score on game number 12?
CREATE TABLE table_17118657_7 (score VARCHAR, game VARCHAR)
SELECT score FROM table_17118657_7 WHERE game = 12
What is the fewest number of wins in the chart for Ayrton Senna?
CREATE TABLE table_name_1 (wins INTEGER, driver VARCHAR)
SELECT MIN(wins) FROM table_name_1 WHERE driver = "ayrton senna"
What are the distinct Famous release dates?
CREATE TABLE artist (Famous_Release_date VARCHAR)
SELECT DISTINCT (Famous_Release_date) FROM artist
when was the episode premiere if the production code is 11.19?
CREATE TABLE table_2226817_12 (original_air_date VARCHAR, production_code VARCHAR)
SELECT COUNT(original_air_date) FROM table_2226817_12 WHERE production_code = "11.19"
Which building has more than 34 floors?
CREATE TABLE table_name_90 (name VARCHAR, floors INTEGER)
SELECT name FROM table_name_90 WHERE floors > 34
What was the record on the game that was played on october 27?
CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_72 WHERE date = "october 27"
What race is held in Germany in the month of May?
CREATE TABLE table_26166836_3 (road_race VARCHAR, country VARCHAR, month_held VARCHAR)
SELECT road_race FROM table_26166836_3 WHERE country = "Germany" AND month_held = "May"
What is the school/club team of the player with a pick larger than 83?
CREATE TABLE table_name_26 (school_club_team VARCHAR, pick INTEGER)
SELECT school_club_team FROM table_name_26 WHERE pick > 83
What is the title of the Misfits with a CD format?
CREATE TABLE table_name_67 (title VARCHAR, format VARCHAR, artist VARCHAR)
SELECT title FROM table_name_67 WHERE format = "cd" AND artist = "misfits"
What is Larry Combest's district?
CREATE TABLE table_1341568_44 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341568_44 WHERE incumbent = "Larry Combest"
Which Year did not qualify for Playoffs, and had a Division smaller than 3?
CREATE TABLE table_name_97 (the_year INTEGER, playoffs VARCHAR, division VARCHAR)
SELECT SUM(the_year) FROM table_name_97 WHERE playoffs = "did not qualify" AND division < 3
Who was the sideline reporter prior to 1993?
CREATE TABLE table_name_8 (sideline_reporter_s_ VARCHAR, year INTEGER)
SELECT sideline_reporter_s_ FROM table_name_8 WHERE year < 1993
Which country is Wellington located in?
CREATE TABLE table_name_48 (country VARCHAR, city VARCHAR)
SELECT country FROM table_name_48 WHERE city = "wellington"
Which team drafted a player from HC Slavia Praha (Czechoslovakia)?
CREATE TABLE table_2850912_10 (nhl_team VARCHAR, college_junior_club_team VARCHAR)
SELECT nhl_team FROM table_2850912_10 WHERE college_junior_club_team = "HC Slavia Praha (Czechoslovakia)"
The Liberal Ticket listed which candidate when Jack A. Martin was listed on the Free Libertarian Ticket?
CREATE TABLE table_name_21 (liberal_ticket VARCHAR, free_libertarian_ticket VARCHAR)
SELECT liberal_ticket FROM table_name_21 WHERE free_libertarian_ticket = "jack a. martin"
what is the lowest year represented?
CREATE TABLE table_177273_2 (year INTEGER)
SELECT MIN(year) FROM table_177273_2
What is the population as of 11-01-2010 for Bayan County?
CREATE TABLE table_name_50 (population__2010_11_01_ VARCHAR, name VARCHAR)
SELECT population__2010_11_01_ FROM table_name_50 WHERE name = "bayan county"
What match number took place on August 3, 2007?
CREATE TABLE table_name_38 (match INTEGER, date VARCHAR)
SELECT MAX(match) FROM table_name_38 WHERE date = "august 3, 2007"
How many lanes had a rank smaller than 4 and a time of 2:01.51?
CREATE TABLE table_name_88 (lane VARCHAR, time VARCHAR, rank VARCHAR)
SELECT COUNT(lane) FROM table_name_88 WHERE time = "2:01.51" AND rank < 4
Which Score has a Place of t6, and a Country of paraguay?
CREATE TABLE table_name_20 (score VARCHAR, place VARCHAR, country VARCHAR)
SELECT score FROM table_name_20 WHERE place = "t6" AND country = "paraguay"
What were the circumstances for the Baghlan location?
CREATE TABLE table_name_62 (circumstances VARCHAR, location VARCHAR)
SELECT circumstances FROM table_name_62 WHERE location = "baghlan"
What is the categorization in 2009 when it was 2R in 2008 and 2011?
CREATE TABLE table_name_14 (Id VARCHAR)
SELECT 2009 FROM table_name_14 WHERE 2008 = "2r" AND 2011 = "2r"
what time does the train that arrives in lonavla at 22:22 depart pune
CREATE TABLE table_29301050_1 (departure_pune VARCHAR, arrival_lonavla VARCHAR)
SELECT departure_pune FROM table_29301050_1 WHERE arrival_lonavla = "22:22"
Which player is associated with the date July 6, 1949?
CREATE TABLE table_name_93 (player VARCHAR, date VARCHAR)
SELECT player FROM table_name_93 WHERE date = "july 6, 1949"
Name the club for quevedo
CREATE TABLE table_2454589_1 (club VARCHAR, home_city VARCHAR)
SELECT club FROM table_2454589_1 WHERE home_city = "Quevedo"
I want the NHL team for wade belak
CREATE TABLE table_name_87 (nhl_team VARCHAR, player VARCHAR)
SELECT nhl_team FROM table_name_87 WHERE player = "wade belak"
Show the accelerator names and supporting operating systems that are not compatible with the browser named 'Opera'.
CREATE TABLE browser (id VARCHAR, name VARCHAR); CREATE TABLE web_client_accelerator (name VARCHAR, operating_system VARCHAR); CREATE TABLE accelerator_compatible_browser (accelerator_id VARCHAR, browser_id VARCHAR); CREATE TABLE web_client_accelerator (name VARCHAR, operating_system VARCHAR, id VARCHAR)
SELECT name, operating_system FROM web_client_accelerator EXCEPT SELECT T1.name, T1.operating_system FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T3.name = 'Opera'
The winner, Craig Lowndes, was in what location/state?
CREATE TABLE table_name_57 (location___state VARCHAR, winner VARCHAR)
SELECT location___state FROM table_name_57 WHERE winner = "craig lowndes"
Name the record for score of l 77–80 (ot)
CREATE TABLE table_17288845_9 (record VARCHAR, score VARCHAR)
SELECT record FROM table_17288845_9 WHERE score = "L 77–80 (OT)"
What game did the Buffalo Bills' opponents earn more than 28 points?
CREATE TABLE table_name_59 (game VARCHAR, opponents INTEGER)
SELECT game FROM table_name_59 WHERE opponents > 28
Which owner has 84 seats?
CREATE TABLE table_name_60 (owner VARCHAR, seats VARCHAR)
SELECT owner FROM table_name_60 WHERE seats = 84
What is the highest Ovrs, when Econ is 2.02?
CREATE TABLE table_name_20 (ovrs INTEGER, econ VARCHAR)
SELECT MAX(ovrs) FROM table_name_20 WHERE econ = 2.02
What was the score when 2441 people were in attendance?
CREATE TABLE table_name_17 (score VARCHAR, attendance VARCHAR)
SELECT score FROM table_name_17 WHERE attendance = 2441
What is the highest total number of appearances when there were less than 4 at the FA cup?
CREATE TABLE table_name_53 (total INTEGER, fa_cup INTEGER)
SELECT MAX(total) FROM table_name_53 WHERE fa_cup < 4
What number of rank has more than 2 medals in total with less than 4 bronze?
CREATE TABLE table_name_26 (rank VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT COUNT(rank) FROM table_name_26 WHERE total > 2 AND bronze < 4
What is the location/attendance of the game with a 3-1 record?
CREATE TABLE table_name_1 (location_attendance VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_name_1 WHERE record = "3-1"
What GERB has an 11% Attack?
CREATE TABLE table_name_16 (gerb VARCHAR, attack VARCHAR)
SELECT gerb FROM table_name_16 WHERE attack = "11%"
what is the time/retired when the laps is less than 54 and the driver is mark donohue?
CREATE TABLE table_name_35 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_35 WHERE laps < 54 AND driver = "mark donohue"
Which Nation has Points of 300.38?
CREATE TABLE table_name_90 (nation VARCHAR, points VARCHAR)
SELECT nation FROM table_name_90 WHERE points = 300.38
Which round did the bout against Jonatas Novaes end in?
CREATE TABLE table_name_36 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_36 WHERE opponent = "jonatas novaes"
who had the fastest lap for round 1?
CREATE TABLE table_29686983_1 (fastest_lap VARCHAR, round VARCHAR)
SELECT fastest_lap FROM table_29686983_1 WHERE round = 1
Name the high rebounds for american airlines center
CREATE TABLE table_22879323_9 (high_rebounds VARCHAR, location_attendance VARCHAR)
SELECT high_rebounds FROM table_22879323_9 WHERE location_attendance = "American Airlines Center"
In season 2005–06, who is 3rd place?
CREATE TABLE table_25058269_1 (season VARCHAR)
SELECT 3 AS rd_place FROM table_25058269_1 WHERE season = "2005–06"
What are the id of students who registered course 301?
CREATE TABLE student_course_attendance (student_id VARCHAR, course_id VARCHAR)
SELECT student_id FROM student_course_attendance WHERE course_id = 301
What was the location of the game with a score of 2:3?
CREATE TABLE table_name_90 (location VARCHAR, score VARCHAR)
SELECT location FROM table_name_90 WHERE score = "2:3"
What is the average round against opponent Klas Akesson?
CREATE TABLE table_name_18 (round INTEGER, opponent VARCHAR)
SELECT AVG(round) FROM table_name_18 WHERE opponent = "klas akesson"
What county has exactly 17 casinos?
CREATE TABLE table_25438110_5 (county VARCHAR, casinos VARCHAR)
SELECT county FROM table_25438110_5 WHERE casinos = 17
What is Part 4, when Part 2 is "hljóp"?
CREATE TABLE table_name_65 (part_4 VARCHAR, part_2 VARCHAR)
SELECT part_4 FROM table_name_65 WHERE part_2 = "hljóp"
When mixed doubles is didit juang indrianto yayu rahayu what is the most current year?
CREATE TABLE table_14319023_2 (year INTEGER, mixed_doubles VARCHAR)
SELECT MAX(year) FROM table_14319023_2 WHERE mixed_doubles = "Didit Juang Indrianto Yayu Rahayu"
What was the result of the game versus Tulsa?
CREATE TABLE table_name_80 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_80 WHERE opponent = "tulsa"
What is the highest lane that has nimrod shapira bar-or as the name?
CREATE TABLE table_name_38 (lane INTEGER, name VARCHAR)
SELECT MAX(lane) FROM table_name_38 WHERE name = "nimrod shapira bar-or"
what is score of a team with tie of 4?
CREATE TABLE table_name_38 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_38 WHERE tie_no = "4"
Which Ratio has an in × in of 17 × 22?
CREATE TABLE table_name_2 (ratio VARCHAR, in_×_in VARCHAR)
SELECT ratio FROM table_name_2 WHERE in_×_in = "17 × 22"
What is the average plaxo that has a myspace greater than 64, a bebo greater than 3, with 4 as the friendster?
CREATE TABLE table_name_63 (plaxo INTEGER, friendster VARCHAR, myspace VARCHAR, bebo VARCHAR)
SELECT AVG(plaxo) FROM table_name_63 WHERE myspace > 64 AND bebo > 3 AND friendster = 4
Which interface uses Sandforce with a code name of Sierra Star?
CREATE TABLE table_name_27 (interface VARCHAR, controller VARCHAR, codename VARCHAR)
SELECT interface FROM table_name_27 WHERE controller = "sandforce" AND codename = "sierra star"
The year of 1985 which has a BB +HBP of 39 has what Number listed?
CREATE TABLE table_name_37 (number VARCHAR, year VARCHAR, bb_ VARCHAR, hbp VARCHAR)
SELECT number FROM table_name_37 WHERE bb_ + hbp = 39 AND year = "1985"
What are the maximum and minimum number of cities in all markets.
CREATE TABLE market (Number_cities INTEGER)
SELECT MAX(Number_cities), MIN(Number_cities) FROM market
How many people led in points during the game on October 5?
CREATE TABLE table_27698941_2 (high_points VARCHAR, date VARCHAR)
SELECT COUNT(high_points) FROM table_27698941_2 WHERE date = "October 5"
When ellesmere port & neston is the team what are the points 1?
CREATE TABLE table_17718005_2 (points_1 VARCHAR, team VARCHAR)
SELECT points_1 FROM table_17718005_2 WHERE team = "Ellesmere Port & Neston"
Where is the historic place that was built in 1910?
CREATE TABLE table_name_11 (location VARCHAR, built VARCHAR)
SELECT location FROM table_name_11 WHERE built = "1910"
What did the team score when playing south melbourne at home?
CREATE TABLE table_name_38 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_38 WHERE away_team = "south melbourne"
What is the to par of the golfer with winnings of 40,850 and a score of 72-74-70-70=286?
CREATE TABLE table_name_52 (to_par VARCHAR, money___£__ VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_52 WHERE money___£__ = "40,850" AND score = 72 - 74 - 70 - 70 = 286
Which series number had the production code of 116
CREATE TABLE table_15938543_1 (no_in_series VARCHAR, production_code VARCHAR)
SELECT no_in_series FROM table_15938543_1 WHERE production_code = 116
How many Matches have an S/Rate smaller than 133.72, and a Team of yorkshire carnegie?
CREATE TABLE table_name_96 (matches VARCHAR, s_rate VARCHAR, team VARCHAR)
SELECT COUNT(matches) FROM table_name_96 WHERE s_rate < 133.72 AND team = "yorkshire carnegie"
What was the total score / week of the contestant who placed in the bottom 2 on august 14?
CREATE TABLE table_18278508_6 (total_score_week VARCHAR, date_performed VARCHAR, position VARCHAR)
SELECT total_score_week FROM table_18278508_6 WHERE date_performed = "August 14" AND position = "Bottom 2"
What is the total number of January (°C) temperatures when the July (°C) temperatures were 23/15?
CREATE TABLE table_21980_1 (january__ VARCHAR, july__°c_ VARCHAR)
SELECT COUNT(january__) AS °c_ FROM table_21980_1 WHERE july__°c_ = "23/15"
WHAT IS THE STROKE COUNT WITH RADICAL OF 生, FRQUENCY SMALLER THAN 22?
CREATE TABLE table_name_57 (stroke_count VARCHAR, radical__variants_ VARCHAR, frequency VARCHAR)
SELECT COUNT(stroke_count) FROM table_name_57 WHERE radical__variants_ = "生" AND frequency < 22
What average wheels has accounting as the type, with IBM Collection as the location?
CREATE TABLE table_name_71 (wheels INTEGER, type VARCHAR, location VARCHAR)
SELECT AVG(wheels) FROM table_name_71 WHERE type = "accounting" AND location = "ibm collection"
Before the year 1963 what was the fewest points the climax v8 engine had?
CREATE TABLE table_name_22 (points INTEGER, engine VARCHAR, year VARCHAR)
SELECT MIN(points) FROM table_name_22 WHERE engine = "climax v8" AND year < 1963
In what year has a Post of designer?
CREATE TABLE table_name_91 (year INTEGER, post VARCHAR)
SELECT SUM(year) FROM table_name_91 WHERE post = "designer"
What day did they play in week 6?
CREATE TABLE table_name_36 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_36 WHERE week = 6
Who was the runner-up at the South Florida Semi-Finalist #1?
CREATE TABLE table_name_96 (runner_up VARCHAR, semi_finalist__number1 VARCHAR)
SELECT runner_up FROM table_name_96 WHERE semi_finalist__number1 = "south florida"
What is the lowest rank has 7:09.06 as the time?
CREATE TABLE table_name_81 (rank INTEGER, time VARCHAR)
SELECT MIN(rank) FROM table_name_81 WHERE time = "7:09.06"
The school of Portage was in what conference previous?
CREATE TABLE table_name_41 (previous_conference VARCHAR, school VARCHAR)
SELECT previous_conference FROM table_name_41 WHERE school = "portage"
Who was picked for the draft by St. Louis Blues?
CREATE TABLE table_2886617_9 (player VARCHAR, nhl_team VARCHAR)
SELECT player FROM table_2886617_9 WHERE nhl_team = "St. Louis Blues"
Which Series has a Score of 0–6?
CREATE TABLE table_name_99 (series VARCHAR, score VARCHAR)
SELECT series FROM table_name_99 WHERE score = "0–6"
What is the sum of Goals scored when there was less than 20 Games played?
CREATE TABLE table_name_79 (goals_scored INTEGER, games_played INTEGER)
SELECT SUM(goals_scored) FROM table_name_79 WHERE games_played < 20
For the movie directed by Martin Campbell at Columbia pictures with a ranking larger than 8, what is its worldwide gross?
CREATE TABLE table_name_43 (worldwide_gross VARCHAR, director_s_ VARCHAR, rank VARCHAR, studio VARCHAR)
SELECT worldwide_gross FROM table_name_43 WHERE rank > 8 AND studio = "columbia pictures" AND director_s_ = "martin campbell"
What is the lowest Goal Difference, when Position is "7", and when Played is greater than 30?
CREATE TABLE table_name_1 (goal_difference INTEGER, position VARCHAR, played VARCHAR)
SELECT MIN(goal_difference) FROM table_name_1 WHERE position = 7 AND played > 30
Who is the mascot for Mishawaka?
CREATE TABLE table_name_16 (mascot VARCHAR, location VARCHAR)
SELECT mascot FROM table_name_16 WHERE location = "mishawaka"
Round smaller than 7, and an Overall of 129 is what college?
CREATE TABLE table_name_67 (college VARCHAR, round VARCHAR, overall VARCHAR)
SELECT college FROM table_name_67 WHERE round < 7 AND overall = 129
How many reasons for change were listed when Edward Hempstead was the successor?
CREATE TABLE table_225095_4 (reason_for_change VARCHAR, successor VARCHAR)
SELECT COUNT(reason_for_change) FROM table_225095_4 WHERE successor = "Edward Hempstead"
What is Frequency, when Model Number is Pentium II 400?
CREATE TABLE table_name_59 (frequency VARCHAR, model_number VARCHAR)
SELECT frequency FROM table_name_59 WHERE model_number = "pentium ii 400"
Name the number of game 2-6
CREATE TABLE table_27537870_5 (game VARCHAR, score VARCHAR)
SELECT COUNT(game) FROM table_27537870_5 WHERE score = "2-6"
What is the title of episode 155 in the series?
CREATE TABLE table_27988540_1 (title VARCHAR, no_in_series VARCHAR)
SELECT title FROM table_27988540_1 WHERE no_in_series = 155
What is 2007, when 2000 is "0 / 4"?
CREATE TABLE table_name_89 (Id VARCHAR)
SELECT 2007 FROM table_name_89 WHERE 2000 = "0 / 4"
What was the loss/gain when the votes -cast was 166?
CREATE TABLE table_25818630_2 (loss_gain VARCHAR, votes__cast VARCHAR)
SELECT loss_gain FROM table_25818630_2 WHERE votes__cast = 166
Find the names of all instructors in Comp. Sci. department with salary > 80000.
CREATE TABLE instructor (name VARCHAR, dept_name VARCHAR, salary VARCHAR)
SELECT name FROM instructor WHERE dept_name = 'Comp. Sci.' AND salary > 80000
Which college did the player weighing 207 pounds attend?
CREATE TABLE table_15582870_1 (college VARCHAR, weight VARCHAR)
SELECT college FROM table_15582870_1 WHERE weight = 207
What were the total number of entries in 2001 that had a front row smaller than 13?
CREATE TABLE table_name_55 (entries VARCHAR, season VARCHAR, front_row_starts VARCHAR)
SELECT COUNT(entries) FROM table_name_55 WHERE season = "2001" AND front_row_starts < 13
What category was al pacino nominated for in the film, glengarry glen ross?
CREATE TABLE table_name_51 (category VARCHAR, actor_actress VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT category FROM table_name_51 WHERE actor_actress = "al pacino" AND film_title_used_in_nomination = "glengarry glen ross"
Can you tell me the lowest Pts/game that has the Name of philippa tuttiett, and the Points larger then 6?
CREATE TABLE table_name_59 (pts_game INTEGER, name VARCHAR, points VARCHAR)
SELECT MIN(pts_game) FROM table_name_59 WHERE name = "philippa tuttiett" AND points > 6
what is the percentage of democratic voters in which the registered voters is 67.8%?
CREATE TABLE table_27003223_4 (democratic VARCHAR, registered_voters VARCHAR)
SELECT democratic FROM table_27003223_4 WHERE registered_voters = "67.8%"
Which Rank points has a Score points of olympic silver medalist?
CREATE TABLE table_name_42 (rank_points VARCHAR, score_points VARCHAR)
SELECT rank_points FROM table_name_42 WHERE score_points = "olympic silver medalist"
If the longitude is -97.473110, what is the minimum geo id?
CREATE TABLE table_18600760_7 (geo_id INTEGER, longitude VARCHAR)
SELECT MIN(geo_id) FROM table_18600760_7 WHERE longitude = "-97.473110"
What tournament had a Runner(s)-up of Tom Kite?
CREATE TABLE table_name_11 (tournament VARCHAR, runner_s__up VARCHAR)
SELECT tournament FROM table_name_11 WHERE runner_s__up = "tom kite"
who were the writers of the episode that had 5.56 millions of north american viewers?
CREATE TABLE table_27914606_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT written_by FROM table_27914606_1 WHERE us_viewers__millions_ = "5.56"
What is the manufacturer serial number of the 1963 withdrawn year?
CREATE TABLE table_name_86 (manufacturer_serial_numbers VARCHAR, year_s__withdrawn VARCHAR)
SELECT manufacturer_serial_numbers FROM table_name_86 WHERE year_s__withdrawn = "1963"
What is Country, when Player is "Billy Maxwell"?
CREATE TABLE table_name_77 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_77 WHERE player = "billy maxwell"
How many gold medals did Brazil win with a total of more than 55 medals?
CREATE TABLE table_name_37 (gold INTEGER, nation VARCHAR, total VARCHAR)
SELECT AVG(gold) FROM table_name_37 WHERE nation = "brazil" AND total > 55