question
stringlengths
12
243
answer
stringlengths
18
557
context
stringlengths
27
489
Who build the boat where Ken Read was the skipper?
SELECT builder FROM table_19872699_1 WHERE skipper = "Ken Read"
CREATE TABLE table_19872699_1 (builder VARCHAR, skipper VARCHAR)
Where was the game played that had a score of 3-2 and a time of 15:00 cet?
SELECT ground FROM table_name_7 WHERE score = "3-2" AND time = "15:00 cet"
CREATE TABLE table_name_7 (ground VARCHAR, score VARCHAR, time VARCHAR)
Which Total has a Gold smaller than 0?
SELECT SUM(total) FROM table_name_29 WHERE gold < 0
CREATE TABLE table_name_29 (total INTEGER, gold INTEGER)
For what ceremony was "Fire Dancer" not nominated?
SELECT year__ceremony_ FROM table_17155250_1 WHERE original_title = "Fire Dancer"
CREATE TABLE table_17155250_1 (year__ceremony_ VARCHAR, original_title VARCHAR)
Which Make has a Pos larger than 9?
SELECT make FROM table_name_33 WHERE pos > 9
CREATE TABLE table_name_33 (make VARCHAR, pos INTEGER)
List the names of technicians who have not been assigned to repair machines.
SELECT Name FROM technician WHERE NOT technician_id IN (SELECT technician_id FROM repair_assignment)
CREATE TABLE technician (Name VARCHAR, technician_id VARCHAR); CREATE TABLE repair_assignment (Name VARCHAR, technician_id VARCHAR)
Name who directed the 114 episode in the series
SELECT directed_by FROM table_15584067_7 WHERE no_in_series = "114"
CREATE TABLE table_15584067_7 (directed_by VARCHAR, no_in_series VARCHAR)
what is the number of passengers when the capacity is 81.2%?
SELECT SUM(total_passengers) FROM table_name_88 WHERE capacity_in_use = "81.2%"
CREATE TABLE table_name_88 (total_passengers INTEGER, capacity_in_use VARCHAR)
How many points did the Flyers have against the New York Islanders with a February bigger than 12, and a game smaller than 60?
SELECT COUNT(points) FROM table_name_79 WHERE february > 12 AND game < 60 AND opponent = "new york islanders"
CREATE TABLE table_name_79 (points VARCHAR, opponent VARCHAR, february VARCHAR, game VARCHAR)
How many cardiff wins have a draw greater than 27?
SELECT COUNT(cardiff_win) FROM table_name_26 WHERE draw > 27
CREATE TABLE table_name_26 (cardiff_win VARCHAR, draw INTEGER)
Which Finals has a A-League of 0 6, and a Pre-Season larger than 0?
SELECT AVG(finals) FROM table_name_12 WHERE a_league = "0 6" AND pre_season > 0
CREATE TABLE table_name_12 (finals INTEGER, a_league VARCHAR, pre_season VARCHAR)
Who is the player from Aurillac?
SELECT player FROM table_name_49 WHERE club_province = "aurillac"
CREATE TABLE table_name_49 (player VARCHAR, club_province VARCHAR)
When 129 is on March 27th to 29th what is June 10th to 11th?
SELECT june_10_11 FROM table_25286976_2 WHERE march_27_29 = "129"
CREATE TABLE table_25286976_2 (june_10_11 VARCHAR, march_27_29 VARCHAR)
What's the rank in West Virginia when the overweight adult was 66.8%?
SELECT obesity_rank FROM table_name_87 WHERE overweight__incl_obese__adults = "66.8%" AND state_and_district_of_columbia = "west virginia"
CREATE TABLE table_name_87 (obesity_rank VARCHAR, overweight__incl_obese__adults VARCHAR, state_and_district_of_columbia VARCHAR)
What is the win % for the QB with 3 starts?
SELECT win__percentage FROM table_name_7 WHERE starts = 3
CREATE TABLE table_name_7 (win__percentage VARCHAR, starts VARCHAR)
What date did the Ravens play the buffalo bills?
SELECT date FROM table_name_97 WHERE opponent = "buffalo bills"
CREATE TABLE table_name_97 (date VARCHAR, opponent VARCHAR)
What is the total number of golds having a total of 1, bronzes of 0, and from West Germany?
SELECT COUNT(gold) FROM table_name_61 WHERE total = 1 AND bronze < 1 AND nation = "west germany"
CREATE TABLE table_name_61 (gold VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR)
What was the result of the Award of Drama desk award nominee Tom Hewitt.
SELECT result FROM table_name_37 WHERE award = "drama desk award" AND nominee = "tom hewitt"
CREATE TABLE table_name_37 (result VARCHAR, award VARCHAR, nominee VARCHAR)
What is the lowest draft number with a 48 pick?
SELECT MIN(draft) FROM table_name_94 WHERE pick = 48
CREATE TABLE table_name_94 (draft INTEGER, pick VARCHAR)
What are the male Bounder books?
SELECT books FROM table_name_23 WHERE gender = "male" AND animal_name = "bounder"
CREATE TABLE table_name_23 (books VARCHAR, gender VARCHAR, animal_name VARCHAR)
Where does the judge who serves Beacon Falls , Naugatuck , Middlebury , Prospect reside?
SELECT judges_residence FROM table_26758262_1 WHERE municipalities_served = "Beacon Falls , Naugatuck , Middlebury , Prospect"
CREATE TABLE table_26758262_1 (judges_residence VARCHAR, municipalities_served VARCHAR)
What is Team, when Location Attendance is "Rose Garden 20,020"?
SELECT team FROM table_name_69 WHERE location_attendance = "rose garden 20,020"
CREATE TABLE table_name_69 (team VARCHAR, location_attendance VARCHAR)
Which district has an incumbent of Sanford Bishop?
SELECT district FROM table_name_92 WHERE incumbent = "sanford bishop"
CREATE TABLE table_name_92 (district VARCHAR, incumbent VARCHAR)
What is the Name of draft Pick #10?
SELECT name FROM table_name_19 WHERE pick__number = 10
CREATE TABLE table_name_19 (name VARCHAR, pick__number VARCHAR)
Who has a walking data of 3:10:48+?
SELECT athlete FROM table_name_11 WHERE data = "3:10:48+"
CREATE TABLE table_name_11 (athlete VARCHAR, data VARCHAR)
Where was the game played where Collingwood was the away team?
SELECT venue FROM table_name_99 WHERE away_team = "collingwood"
CREATE TABLE table_name_99 (venue VARCHAR, away_team VARCHAR)
What was the date when the attendance was n/a and the Man of the Match was unknown?
SELECT date FROM table_name_32 WHERE attendance = "n/a" AND man_of_the_match = "unknown"
CREATE TABLE table_name_32 (date VARCHAR, attendance VARCHAR, man_of_the_match VARCHAR)
Which Player has a Total of 9, and an Opposition of offaly?
SELECT player FROM table_name_5 WHERE total = 9 AND opposition = "offaly"
CREATE TABLE table_name_5 (player VARCHAR, total VARCHAR, opposition VARCHAR)
In what game did Miami play Charlotte?
SELECT MAX(game) FROM table_17311783_8 WHERE team = "Charlotte"
CREATE TABLE table_17311783_8 (game INTEGER, team VARCHAR)
What is tuesday day three when thursday day five is kamis?
SELECT tuesday_day_three FROM table_1277350_7 WHERE thursday_day_five = "Kamis"
CREATE TABLE table_1277350_7 (tuesday_day_three VARCHAR, thursday_day_five VARCHAR)
What is the combined of the overalls less than 34?
SELECT combined FROM table_name_82 WHERE overall < 34
CREATE TABLE table_name_82 (combined VARCHAR, overall INTEGER)
What is the population density of the administrative division with a population in 2010 of 264170 according to the census?
SELECT population_density___km²_2010_ FROM table_21734764_1 WHERE population_2010_census = 264170
CREATE TABLE table_21734764_1 (population_density___km²_2010_ VARCHAR, population_2010_census VARCHAR)
Which Player has a Total Goals greater than 1 and Qualifying Goals smaller than 3?
SELECT player FROM table_name_90 WHERE total_goals > 1 AND qualifying_goals < 3
CREATE TABLE table_name_90 (player VARCHAR, total_goals VARCHAR, qualifying_goals VARCHAR)
During melbourne's home game, who was the away team?
SELECT away_team FROM table_name_51 WHERE home_team = "melbourne"
CREATE TABLE table_name_51 (away_team VARCHAR, home_team VARCHAR)
List the names of conductors in ascending order of age.
SELECT Name FROM conductor ORDER BY Age
CREATE TABLE conductor (Name VARCHAR, Age VARCHAR)
Name the hull number of Commissioned– Decommissioned of 1973–1996
SELECT hull_no FROM table_name_29 WHERE commissioned__decommissioned = "1973–1996"
CREATE TABLE table_name_29 (hull_no VARCHAR, commissioned__decommissioned VARCHAR)
On what Date is West Ham United the Home team?
SELECT date FROM table_name_35 WHERE home_team = "west ham united"
CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR)
Name the D 43 with D 48 of d 9
SELECT d_43 FROM table_name_70 WHERE d_48 = "d 9"
CREATE TABLE table_name_70 (d_43 VARCHAR, d_48 VARCHAR)
What stadium is in penrith?
SELECT stadium FROM table_name_11 WHERE city = "penrith"
CREATE TABLE table_name_11 (stadium VARCHAR, city VARCHAR)
What city was in 1889?
SELECT city FROM table_name_97 WHERE year = 1889
CREATE TABLE table_name_97 (city VARCHAR, year VARCHAR)
What party does incumbent edwin reinecke represent?
SELECT party FROM table_1341738_6 WHERE incumbent = "Edwin Reinecke"
CREATE TABLE table_1341738_6 (party VARCHAR, incumbent VARCHAR)
What was the away team score at the game held on 17 August 1935?
SELECT away_team AS score FROM table_name_65 WHERE date = "17 august 1935"
CREATE TABLE table_name_65 (away_team VARCHAR, date VARCHAR)
Which Pick has a Name of ed hickerson, and a Round smaller than 10?
SELECT SUM(pick) FROM table_name_56 WHERE name = "ed hickerson" AND round < 10
CREATE TABLE table_name_56 (pick INTEGER, name VARCHAR, round VARCHAR)
What was the Attendance on Week 10?
SELECT attendance FROM table_name_34 WHERE week = 10
CREATE TABLE table_name_34 (attendance VARCHAR, week VARCHAR)
What are the wifi and screen mode type of the hardware model named "LG-P760"?
SELECT T1.WiFi, T3.Type FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model JOIN screen_mode AS T3 ON T2.screen_mode = T3.Graphics_mode WHERE T2.Hardware_Model_name = "LG-P760"
CREATE TABLE phone (chip_model VARCHAR, screen_mode VARCHAR, Hardware_Model_name VARCHAR); CREATE TABLE chip_model (WiFi VARCHAR, Model_name VARCHAR); CREATE TABLE screen_mode (Type VARCHAR, Graphics_mode VARCHAR)
what is the release date of the model precision m60?
SELECT released FROM table_name_75 WHERE model = "precision m60"
CREATE TABLE table_name_75 (released VARCHAR, model VARCHAR)
Name the most withdrawn for 37 lstr no.
SELECT MAX(withdrawn) FROM table_20391799_1 WHERE ltsr_no = 37
CREATE TABLE table_20391799_1 (withdrawn INTEGER, ltsr_no VARCHAR)
What was the title of episode 3?
SELECT episode FROM table_23730973_5 WHERE no = 3
CREATE TABLE table_23730973_5 (episode VARCHAR, no VARCHAR)
How many years has she ranked 56 on the money list?
SELECT COUNT(year) FROM table_14853156_2 WHERE money_list_rank = "56"
CREATE TABLE table_14853156_2 (year VARCHAR, money_list_rank VARCHAR)
what's the deadline for completion where description is iphone recall within the first 3 months of release
SELECT deadline_for_completion FROM table_12078626_1 WHERE description = "iPhone recall within the first 3 months of release"
CREATE TABLE table_12078626_1 (deadline_for_completion VARCHAR, description VARCHAR)
How many top tens had an average start of 29.4?
SELECT COUNT(top_10) FROM table_1012730_1 WHERE avg_start = "29.4"
CREATE TABLE table_1012730_1 (top_10 VARCHAR, avg_start VARCHAR)
What is the highest series # directed by ken whittingham?
SELECT MAX(series__number) FROM table_27720737_1 WHERE directed_by = "Ken Whittingham"
CREATE TABLE table_27720737_1 (series__number INTEGER, directed_by VARCHAR)
In the Crews beyond 2006 what was the Year 8 1st Quads that exists in the same row that had the year 9 2nd Quads of BGGS?
SELECT year_8_1st_quad FROM table_name_67 WHERE year_9_2nd_quad = "bggs" AND crew > 2006
CREATE TABLE table_name_67 (year_8_1st_quad VARCHAR, year_9_2nd_quad VARCHAR, crew VARCHAR)
What is the record with a 3:56 time?
SELECT record FROM table_name_63 WHERE time = "3:56"
CREATE TABLE table_name_63 (record VARCHAR, time VARCHAR)
What is the PSOE for the Local Elections polling firm?
SELECT psoe FROM table_name_78 WHERE polling_firm = "local elections"
CREATE TABLE table_name_78 (psoe VARCHAR, polling_firm VARCHAR)
What is the Date of the 1999 fifa confederations cup?
SELECT date FROM table_name_45 WHERE competition = "1999 fifa confederations cup"
CREATE TABLE table_name_45 (date VARCHAR, competition VARCHAR)
What is the year of the ceremony with the original title ničiji sin?
SELECT year__ceremony_ FROM table_name_98 WHERE original_title = "ničiji sin"
CREATE TABLE table_name_98 (year__ceremony_ VARCHAR, original_title VARCHAR)
What frequency does model L34xx use?
SELECT frequency FROM table_24018112_1 WHERE model__list_ = "L34xx"
CREATE TABLE table_24018112_1 (frequency VARCHAR, model__list_ VARCHAR)
Which Oilers points have a Record of 10–6, and Oilers first downs larger than 14?
SELECT AVG(oilers_points) FROM table_name_1 WHERE record = "10–6" AND oilers_first_downs > 14
CREATE TABLE table_name_1 (oilers_points INTEGER, record VARCHAR, oilers_first_downs VARCHAR)
Where was European Championships held with notes of 61.46 m?
SELECT venue FROM table_name_52 WHERE competition = "european championships" AND notes = "61.46 m"
CREATE TABLE table_name_52 (venue VARCHAR, competition VARCHAR, notes VARCHAR)
What is every record for the team Boston?
SELECT record FROM table_23248869_10 WHERE team = "Boston"
CREATE TABLE table_23248869_10 (record VARCHAR, team VARCHAR)
Who is the opponent for the 2011 season with a decision of W?
SELECT opponent FROM table_name_11 WHERE decision = "w" AND season = "2011"
CREATE TABLE table_name_11 (opponent VARCHAR, decision VARCHAR, season VARCHAR)
Where did naylor move from?
SELECT moving_from FROM table_name_31 WHERE name = "naylor"
CREATE TABLE table_name_31 (moving_from VARCHAR, name VARCHAR)
What person is in the third place when Thomas Enqvist won and a Runner-up was guy forget?
SELECT third_place FROM table_name_94 WHERE winner = "thomas enqvist" AND runner_up = "guy forget"
CREATE TABLE table_name_94 (third_place VARCHAR, winner VARCHAR, runner_up VARCHAR)
What position did Garion Weller hold in 2012?
SELECT position FROM table_name_23 WHERE 2012 = "garion weller"
CREATE TABLE table_name_23 (position VARCHAR)
Who were the candidates when Lamar S. Smith was incumbent?
SELECT candidates FROM table_1341577_44 WHERE incumbent = "Lamar S. Smith"
CREATE TABLE table_1341577_44 (candidates VARCHAR, incumbent VARCHAR)
What is the lowest Wins with a Top-10 that is larger than 9?
SELECT MIN(wins) FROM table_name_40 WHERE top_10 > 9
CREATE TABLE table_name_40 (wins INTEGER, top_10 INTEGER)
What are the names of perpetrators?
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID
CREATE TABLE perpetrator (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)
Name the leading scorer for 12 january 2008
SELECT leading_scorer FROM table_name_40 WHERE date = "12 january 2008"
CREATE TABLE table_name_40 (leading_scorer VARCHAR, date VARCHAR)
How many names are listed for the player with 50 points?
SELECT COUNT(name) FROM table_25401874_1 WHERE points = 50
CREATE TABLE table_25401874_1 (name VARCHAR, points VARCHAR)
What season had a date of 30 august 1980
SELECT season FROM table_name_54 WHERE date = "30 august 1980"
CREATE TABLE table_name_54 (season VARCHAR, date VARCHAR)
Name the season for position 4th
SELECT COUNT(season) FROM table_25375093_1 WHERE position = "4th"
CREATE TABLE table_25375093_1 (season VARCHAR, position VARCHAR)
Find the number of female students (with F sex) living in Smith Hall
SELECT COUNT(*) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' AND T1.sex = 'F'
CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (stuid VARCHAR, sex VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)
Which school has enrollment of 887?
SELECT school FROM table_name_44 WHERE enrollment = 887
CREATE TABLE table_name_44 (school VARCHAR, enrollment VARCHAR)
What is the to par for Australia and a 73-69-71=213 score?
SELECT to_par FROM table_name_43 WHERE country = "australia" AND score = 73 - 69 - 71 = 213
CREATE TABLE table_name_43 (to_par VARCHAR, country VARCHAR, score VARCHAR)
What dates had matches at the venue Sabina Park?
SELECT date FROM table_name_50 WHERE venue = "sabina park"
CREATE TABLE table_name_50 (date VARCHAR, venue VARCHAR)
What is 1st Leg, when Team 1 is "Makedonija"?
SELECT 1 AS st_leg FROM table_name_52 WHERE team_1 = "makedonija"
CREATE TABLE table_name_52 (team_1 VARCHAR)
What are the clubs involved with 16 clubs remaining?
SELECT clubs_involved FROM table_name_63 WHERE clubs_remaining = 16
CREATE TABLE table_name_63 (clubs_involved VARCHAR, clubs_remaining VARCHAR)
On round 3 for Arting Team Impul, who held pole position?
SELECT pole_position FROM table_name_33 WHERE team = "arting team impul" AND round = 3
CREATE TABLE table_name_33 (pole_position VARCHAR, team VARCHAR, round VARCHAR)
On what date was Hawthorn the home team?
SELECT date FROM table_name_45 WHERE home_team = "hawthorn"
CREATE TABLE table_name_45 (date VARCHAR, home_team VARCHAR)
what is the notes for the athlete with the time of 7:38.87?
SELECT notes FROM table_name_86 WHERE time = "7:38.87"
CREATE TABLE table_name_86 (notes VARCHAR, time VARCHAR)
What is the Acquisition via for Dennis Miranda?
SELECT acquisition_via FROM table_name_33 WHERE name = "dennis miranda"
CREATE TABLE table_name_33 (acquisition_via VARCHAR, name VARCHAR)
Tell me the pos for adrian sutil
SELECT pos FROM table_name_75 WHERE driver = "adrian sutil"
CREATE TABLE table_name_75 (pos VARCHAR, driver VARCHAR)
Which season reported wickets of 7th?
SELECT season FROM table_1670921_1 WHERE wicket = "7th"
CREATE TABLE table_1670921_1 (season VARCHAR, wicket VARCHAR)
What member of the current West End cast plays the character played by Jodie Jacobs in the original West End cast?
SELECT current_west_end_cast FROM table_19529639_3 WHERE original_west_end_cast = "Jodie Jacobs"
CREATE TABLE table_19529639_3 (current_west_end_cast VARCHAR, original_west_end_cast VARCHAR)
What was the hometown of the player who attended Athens Drive High School?
SELECT hometown FROM table_11677100_5 WHERE school = "Athens Drive High school"
CREATE TABLE table_11677100_5 (hometown VARCHAR, school VARCHAR)
what's the original air date where written by is iain morris & damon beesley
SELECT original_air_date FROM table_11589522_3 WHERE written_by = "Iain Morris & Damon Beesley"
CREATE TABLE table_11589522_3 (original_air_date VARCHAR, written_by VARCHAR)
If the rating is 9.1, what was the total viewers?
SELECT total_viewers__in_millions_ FROM table_23799417_2 WHERE rating = "9.1"
CREATE TABLE table_23799417_2 (total_viewers__in_millions_ VARCHAR, rating VARCHAR)
What is the Total for 1953–1964?
SELECT total FROM table_name_26 WHERE years = "1953–1964"
CREATE TABLE table_name_26 (total VARCHAR, years VARCHAR)
Which player is from south africa?
SELECT player FROM table_name_93 WHERE country = "south africa"
CREATE TABLE table_name_93 (player VARCHAR, country VARCHAR)
What game number was played on April 23, with Boston as the road team?
SELECT game FROM table_name_73 WHERE road_team = "boston" AND date = "april 23"
CREATE TABLE table_name_73 (game VARCHAR, road_team VARCHAR, date VARCHAR)
What status of school is the school represented by the baby olympians?
SELECT status FROM table_2589963_1 WHERE juniors = "Baby Olympians"
CREATE TABLE table_2589963_1 (status VARCHAR, juniors VARCHAR)
Which FCC info has a Call sign of wsja?
SELECT fcc_info FROM table_name_75 WHERE call_sign = "wsja"
CREATE TABLE table_name_75 (fcc_info VARCHAR, call_sign VARCHAR)
what is the series when the team is gunbroker racing?
SELECT series FROM table_name_95 WHERE team = "gunbroker racing"
CREATE TABLE table_name_95 (series VARCHAR, team VARCHAR)
What was the result of the game with a score of 4-1?
SELECT result FROM table_name_65 WHERE score = "4-1"
CREATE TABLE table_name_65 (result VARCHAR, score VARCHAR)
Which chassis did Aguri Suzuki drive with an entrant of Larrousse F1?
SELECT chassis FROM table_name_41 WHERE entrant = "larrousse f1" AND driver = "aguri suzuki"
CREATE TABLE table_name_41 (chassis VARCHAR, entrant VARCHAR, driver VARCHAR)
What team with a seed value greater than 7 has a note that they were an NCRAA champion?
SELECT team FROM table_name_75 WHERE seed > 7 AND notes = "ncraa champion"
CREATE TABLE table_name_75 (team VARCHAR, seed VARCHAR, notes VARCHAR)
What was the time for the match that had a a home team of HKSSF?
SELECT time FROM table_name_17 WHERE home_team = "hkssf"
CREATE TABLE table_name_17 (time VARCHAR, home_team VARCHAR)
Find the name of students who have taken the prerequisite course of the course with title International Finance.
SELECT T1.name FROM student AS T1 JOIN takes AS T2 ON T1.id = T2.id WHERE T2.course_id IN (SELECT T4.prereq_id FROM course AS T3 JOIN prereq AS T4 ON T3.course_id = T4.course_id WHERE T3.title = 'International Finance')
CREATE TABLE student (name VARCHAR, id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR); CREATE TABLE prereq (prereq_id VARCHAR, course_id VARCHAR); CREATE TABLE takes (id VARCHAR, course_id VARCHAR)
Which channel tv (dt) plays in San Francisco - Oakland - San Jose?
SELECT channel_tv___dt__ FROM table_1553485_1 WHERE city_of_license__market = "San Francisco - Oakland - San Jose"
CREATE TABLE table_1553485_1 (channel_tv___dt__ VARCHAR, city_of_license__market VARCHAR)