answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT type FROM table_name_31 WHERE where_built = "port blakeley"
What was the type of boat built in Port Blakeley
CREATE TABLE table_name_31 (type VARCHAR, where_built VARCHAR)
SELECT streak FROM table_name_81 WHERE date = "march 27"
What was the streak on March 27?
CREATE TABLE table_name_81 (streak VARCHAR, date VARCHAR)
SELECT game FROM table_name_59 WHERE opponents > 28
What game did the Buffalo Bills' opponents earn more than 28 points?
CREATE TABLE table_name_59 (game VARCHAR, opponents INTEGER)
SELECT venue FROM table_name_29 WHERE tournament = "olympic games"
Where was the Olympic Games held?
CREATE TABLE table_name_29 (venue VARCHAR, tournament VARCHAR)
SELECT district FROM table_2668169_2 WHERE incumbent = "Luther Reily"
Which district does the incumbent Luther Reily represent?
CREATE TABLE table_2668169_2 (district VARCHAR, incumbent VARCHAR)
SELECT transcription FROM table_180802_3 WHERE sanskrit_word = "Chandra"
What is the transcription of the sanskrit word chandra?
CREATE TABLE table_180802_3 (transcription VARCHAR, sanskrit_word VARCHAR)
SELECT team FROM table_name_69 WHERE location_attendance = "rose garden 20,020"
What is Team, when Location Attendance is "Rose Garden 20,020"?
CREATE TABLE table_name_69 (team VARCHAR, location_attendance VARCHAR)
SELECT region FROM table_25042332_26 WHERE solar_panel = "0.3%"
What region has 0.3% solar panel?
CREATE TABLE table_25042332_26 (region VARCHAR, solar_panel VARCHAR)
SELECT COUNT(august_21_22) FROM table_25287007_2 WHERE june_10_11 = "June 11, 1983"
How many solar eclipse during August 21-22 where June 10-11 on June 11, 1983?
CREATE TABLE table_25287007_2 (august_21_22 VARCHAR, june_10_11 VARCHAR)
SELECT date FROM table_29090919_1 WHERE home_team = "Melbourne"
What is the date of the game when the home team is melbourne?
CREATE TABLE table_29090919_1 (date VARCHAR, home_team VARCHAR)
SELECT overall_record FROM table_name_17 WHERE school = "indian river"
What is the overall record of Indian River?
CREATE TABLE table_name_17 (overall_record VARCHAR, school VARCHAR)
SELECT AVG(crowd) FROM table_name_63 WHERE venue = "kardinia park"
What was the attendance at Kardinia Park?
CREATE TABLE table_name_63 (crowd INTEGER, venue VARCHAR)
SELECT state FROM table_name_72 WHERE current_governor = "susana martinez"
What state is susana martinez from?
CREATE TABLE table_name_72 (state VARCHAR, current_governor VARCHAR)
SELECT COUNT(year) FROM table_name_80 WHERE position = "11th"
In what Year was the Position 11th?
CREATE TABLE table_name_80 (year VARCHAR, position VARCHAR)
SELECT senior_list FROM table_name_84 WHERE date_of_birth__age_when_delisted_ = "5 june 1984 (aged 23)"
What is listed under Senior List for Date of Birth (Age When Delisted) of 5 June 1984 (aged 23)?
CREATE TABLE table_name_84 (senior_list VARCHAR, date_of_birth__age_when_delisted_ VARCHAR)
SELECT T3.Name, T2.Name FROM employment AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID JOIN company AS T3 ON T1.Company_ID = T3.Company_ID
Show the names of companies and of employees.
CREATE TABLE company (Name VARCHAR, Company_ID VARCHAR); CREATE TABLE employment (People_ID VARCHAR, Company_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)
SELECT COUNT(year) FROM table_181892_4 WHERE chassis = "Lotus-Ford 38/7"
How many years was the chassis a lotus-ford 38/7?
CREATE TABLE table_181892_4 (year VARCHAR, chassis VARCHAR)
SELECT nhl_team FROM table_2840500_2 WHERE player = "Travis Brigley"
Which team drafted Travis Brigley?
CREATE TABLE table_2840500_2 (nhl_team VARCHAR, player VARCHAR)
SELECT song_choice FROM table_26250199_1 WHERE theme = "Auditioner's Choice"
The theme Auditioner's Choice has what song choice?
CREATE TABLE table_26250199_1 (song_choice VARCHAR, theme VARCHAR)
SELECT competition FROM table_name_19 WHERE venue = "daugava stadium, riga, latvia"
What competition was at the Daugava Stadium, Riga, Latvia?
CREATE TABLE table_name_19 (competition VARCHAR, venue VARCHAR)
SELECT COUNT(built) FROM table_name_68 WHERE registry = "united kingdom" AND passengers = 1 OFFSET 300
What's the total built by the United Kingdom and holds 1,300 passengers?
CREATE TABLE table_name_68 (built VARCHAR, registry VARCHAR, passengers VARCHAR)
SELECT game_3 FROM table_name_92 WHERE game_2 = "ian french"
Wjat game 3 has ian french as a game of 2?
CREATE TABLE table_name_92 (game_3 VARCHAR, game_2 VARCHAR)
SELECT COUNT(title) FROM table_27303975_3 WHERE catalog_number = "CAL05 / 0091037137357"
how many times was the catalog number cal05 / 0091037137357?
CREATE TABLE table_27303975_3 (title VARCHAR, catalog_number VARCHAR)
SELECT constructor FROM table_1140074_2 WHERE location = "Hockenheimring"
what's the constructor with location being hockenheimring
CREATE TABLE table_1140074_2 (constructor VARCHAR, location VARCHAR)
SELECT group_position FROM table_name_50 WHERE result_f_a = "0–1" AND date = "1 november 2006"
Which Group position has Result F–A of 0–1 on 1 november 2006?
CREATE TABLE table_name_50 (group_position VARCHAR, result_f_a VARCHAR, date VARCHAR)
SELECT MAX(goals_for) FROM table_name_66 WHERE goals_against > 51 AND played < 30
What is the highest amount of goals with more than 51 goals against and less than 30 played?
CREATE TABLE table_name_66 (goals_for INTEGER, goals_against VARCHAR, played VARCHAR)
SELECT opponent FROM table_name_70 WHERE score = "5–0"
What is the oppenent when the score was 5–0?
CREATE TABLE table_name_70 (opponent VARCHAR, score VARCHAR)
SELECT MAX(operating_income_) AS $m_ FROM table_name_23 WHERE _percentage_change_on_year = "2" AND value__$m_ < 1 OFFSET 036
What is the highest operating income that change by 2% and is less than $1,036m?
CREATE TABLE table_name_23 (operating_income_ INTEGER, _percentage_change_on_year VARCHAR, value__$m_ VARCHAR)
SELECT country FROM table_name_18 WHERE place = "t3" AND score = 70 - 68 = 138
Which country earned place T3 with a score of 70-68=138?
CREATE TABLE table_name_18 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT kit_maker FROM table_27383390_2 WHERE team = "Foolad"
What is the kit maker for team foolad?
CREATE TABLE table_27383390_2 (kit_maker VARCHAR, team VARCHAR)
SELECT COUNT(area__acres__) FROM table_30120761_1 WHERE townland = "Coomroe"
How many acres in the townland of Coomroe?
CREATE TABLE table_30120761_1 (area__acres__ VARCHAR, townland VARCHAR)
SELECT notes FROM table_name_89 WHERE venue = "barcelona, spain"
Which Notes has a Venue of barcelona, spain?
CREATE TABLE table_name_89 (notes VARCHAR, venue VARCHAR)
SELECT height FROM table_name_30 WHERE name = "zipp duncan"
How tall is Zipp Duncan?
CREATE TABLE table_name_30 (height VARCHAR, name VARCHAR)
SELECT date FROM table_name_64 WHERE final_score = "31-7"
When did Final Score of 31-7 happen?
CREATE TABLE table_name_64 (date VARCHAR, final_score VARCHAR)
SELECT COUNT(rating) FROM table_19805130_3 WHERE rating / SHARE(18 - 49) = 3.8 / 10
If the rating/share is 3.8/10, what is the total number of rating?
CREATE TABLE table_19805130_3 (rating VARCHAR)
SELECT SUM(rank) FROM table_name_37 WHERE state = "alaska" AND mountain_peak = "mount chamberlin"
Where does Mount Chamberlin, located in Alaska, rank on the chart?
CREATE TABLE table_name_37 (rank INTEGER, state VARCHAR, mountain_peak VARCHAR)
SELECT COUNT(season_no) FROM table_11630008_4 WHERE series_no = 47
How many seasons was series number 47 shown?
CREATE TABLE table_11630008_4 (season_no VARCHAR, series_no VARCHAR)
SELECT zodiac_sign FROM table_180802_2 WHERE abbr = "มี.ค."
What's the zodiac sing for the month abbreviated as มี.ค.?
CREATE TABLE table_180802_2 (zodiac_sign VARCHAR, abbr VARCHAR)
SELECT COUNT(seats_in_congress) FROM table_2676980_4 WHERE electoral_district = "Ucayali"
What is the number of seats in congress when the electoral district is Ucayali?
CREATE TABLE table_2676980_4 (seats_in_congress VARCHAR, electoral_district VARCHAR)
SELECT release_date FROM table_name_31 WHERE title = "aladdin time"
What is Release Date, when Title is Aladdin Time?
CREATE TABLE table_name_31 (release_date VARCHAR, title VARCHAR)
SELECT m809_series FROM table_name_88 WHERE m939_series = "m931/932"
Name the M809 seris with M939 series of M931/932
CREATE TABLE table_name_88 (m809_series VARCHAR, m939_series VARCHAR)
SELECT runs FROM table_name_18 WHERE year = "2013"
How many runs happened in 2013?
CREATE TABLE table_name_18 (runs VARCHAR, year VARCHAR)
SELECT lifespan FROM table_name_96 WHERE state = "ohio" AND representative = "joseph vance" AND party = "democratic-republican"
What is the lifespan of Joseph Vance, a democratic-republican from Ohio?
CREATE TABLE table_name_96 (lifespan VARCHAR, party VARCHAR, state VARCHAR, representative VARCHAR)
SELECT label FROM table_name_25 WHERE media = "cd" AND release_date = 2004
What is the label for a CD released in 2004?
CREATE TABLE table_name_25 (label VARCHAR, media VARCHAR, release_date VARCHAR)
SELECT brazil_scorers FROM table_name_11 WHERE score = "3-3"
Who were the Brazil scorers who scored 3-3?
CREATE TABLE table_name_11 (brazil_scorers VARCHAR, score VARCHAR)
SELECT COUNT(year_won) FROM table_name_22 WHERE country = "australia" AND to_par > 16
What is the year won by Australia with a to par bigger than 16?
CREATE TABLE table_name_22 (year_won VARCHAR, country VARCHAR, to_par VARCHAR)
SELECT winning_score FROM table_name_90 WHERE runner_s__up = "phillip price"
What was Olazabal's winning score in the event in which Phillip Price finished 2nd?
CREATE TABLE table_name_90 (winning_score VARCHAR, runner_s__up VARCHAR)
SELECT MIN(grid) FROM table_name_21 WHERE time_retired = "steering" AND laps < 15
What is the low grid total for a retired due to steering in under 15 laps?
CREATE TABLE table_name_21 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
SELECT SUM(week) FROM table_name_40 WHERE date = "october 30, 1983"
Which week was on october 30, 1983?
CREATE TABLE table_name_40 (week INTEGER, date VARCHAR)
SELECT nation FROM table_name_62 WHERE athlete = "emma george" AND record = "4.58m(15ft0¼in)"
What is the Nation when the Athlete was emma george, and a Record of 4.58m(15ft0¼in)?
CREATE TABLE table_name_62 (nation VARCHAR, athlete VARCHAR, record VARCHAR)
SELECT bonus_points FROM table_27293285_2 WHERE points_for = "379"
How many bonus points did the club who had 379 points for have?
CREATE TABLE table_27293285_2 (bonus_points VARCHAR, points_for VARCHAR)
SELECT away_team AS score FROM table_name_76 WHERE venue = "vfl park"
What did the away team score at VFL Park?
CREATE TABLE table_name_76 (away_team VARCHAR, venue VARCHAR)
SELECT original_artist FROM table_name_32 WHERE episode = "workshop #1"
Which original artist has a Episode of workshop #1?
CREATE TABLE table_name_32 (original_artist VARCHAR, episode VARCHAR)
SELECT diameter FROM table_name_74 WHERE theme = "dog sled (gold variant)"
What is the Diameter of the Dog Sled (gold variant) Theme coin?
CREATE TABLE table_name_74 (diameter VARCHAR, theme VARCHAR)
SELECT MAX(total) FROM table_name_61 WHERE finish = "t12"
What is the highest total with a t12 finish?
CREATE TABLE table_name_61 (total INTEGER, finish VARCHAR)
SELECT plural FROM table_name_33 WHERE singular = "tor (your)"
What is Plural, when Singular is tor (your)?
CREATE TABLE table_name_33 (plural VARCHAR, singular VARCHAR)
SELECT enrollment FROM table_20887670_1 WHERE institution = "Central"
what is the number of enrollment of the central institution?
CREATE TABLE table_20887670_1 (enrollment VARCHAR, institution VARCHAR)
SELECT MIN(2 AS nd__m_) FROM table_name_99 WHERE points > 251.6
What is the lowest 2nd (m) when the points were larger than 251.6?
CREATE TABLE table_name_99 (points INTEGER)
SELECT written_by FROM table_24639086_3 WHERE season__number = "2.08"
If the season number is 2.08, who was the episode written by?
CREATE TABLE table_24639086_3 (written_by VARCHAR, season__number VARCHAR)
SELECT AVG(kerry_number) FROM table_name_46 WHERE bush_number = 189 OFFSET 605
How many votes did Kerry get in the county that gave Bush 189,605 votes?
CREATE TABLE table_name_46 (kerry_number INTEGER, bush_number VARCHAR)
SELECT species FROM table_16083989_1 WHERE voges_proskauer = "Negative" AND indole = "Negative"
Which species show a negative result with both voges-proskauer and indole?
CREATE TABLE table_16083989_1 (species VARCHAR, voges_proskauer VARCHAR, indole VARCHAR)
SELECT spacecraft FROM table_179174_2 WHERE flights = "22 Orbital"
What spacecrafts had 22 orbital flights?
CREATE TABLE table_179174_2 (spacecraft VARCHAR, flights VARCHAR)
SELECT COUNT(cfl_team) FROM table_15817998_5 WHERE college = "Wilfrid Laurier"
What is the total number of CFL teams in the college Wilfrid Laurier
CREATE TABLE table_15817998_5 (cfl_team VARCHAR, college VARCHAR)
SELECT date FROM table_name_17 WHERE week < 11 AND attendance = "54,094"
Which Date has a Week smaller than 11, and a Attendance of 54,094?
CREATE TABLE table_name_17 (date VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT surface FROM table_name_66 WHERE opponent = "tommy robredo"
What type of surface did Thomaz Bellucci play against tommy robredo?
CREATE TABLE table_name_66 (surface VARCHAR, opponent VARCHAR)
SELECT COUNT(railroad) FROM table_2351952_1 WHERE numbers = "864-873"
How many railroads have the numbers 864-873?
CREATE TABLE table_2351952_1 (railroad VARCHAR, numbers VARCHAR)
SELECT try_bonus FROM table_name_27 WHERE club = "caerphilly rfc"
What try bonus has a club of caerphilly rfc?
CREATE TABLE table_name_27 (try_bonus VARCHAR, club VARCHAR)
SELECT high_assists FROM table_name_76 WHERE high_points = "t. j. ford (29)"
What is High Assists, when High Points is "T. J. Ford (29)"?
CREATE TABLE table_name_76 (high_assists VARCHAR, high_points VARCHAR)
SELECT abbr FROM table_name_43 WHERE name = "university of tartu"
What is the abbreviation for the University of Tartu?
CREATE TABLE table_name_43 (abbr VARCHAR, name VARCHAR)
SELECT alliance FROM table_2651755_2 WHERE democratic_coalition = "Eduardo Frei ( PDC )"
where democratic coalition is eduardo frei ( pdc ) what are all the alliance
CREATE TABLE table_2651755_2 (alliance VARCHAR, democratic_coalition VARCHAR)
SELECT number_of_episodes FROM table_name_74 WHERE notes = "moved to run a farm with boyfriend jake."
What is Number Of Episodes, when Notes is "Moved to run a farm with boyfriend Jake."?
CREATE TABLE table_name_74 (number_of_episodes VARCHAR, notes VARCHAR)
SELECT T2.firstname, T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = "Le Pop"
Who performed the song named "Le Pop"?
CREATE TABLE Band (firstname VARCHAR, lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Songs (SongId VARCHAR, Title VARCHAR)
SELECT thurs_2_june FROM table_29218221_1 WHERE fri_3_june = "17' 36.58 128.554mph"
What is the Thurs 2 June time for the rider with a Fri 3 June time of 17' 36.58 128.554mph?
CREATE TABLE table_29218221_1 (thurs_2_june VARCHAR, fri_3_june VARCHAR)
SELECT MIN(tied) FROM table_name_94 WHERE games > 70 AND goals_for < 310 AND points = 98
Name the least tied with games more than 70 and goals for less than 310 with points of 98
CREATE TABLE table_name_94 (tied INTEGER, points VARCHAR, games VARCHAR, goals_for VARCHAR)
SELECT region FROM table_22901612_2 WHERE chief_judge = "Glen E. Conrad"
If the chief judge is Glen E. Conrad, what is the region?
CREATE TABLE table_22901612_2 (region VARCHAR, chief_judge VARCHAR)
SELECT country FROM table_name_51 WHERE class = "club"
What is Country, when Class is "club"?
CREATE TABLE table_name_51 (country VARCHAR, class VARCHAR)
SELECT AVG(laps) FROM table_name_15 WHERE time = "+39.476" AND grid > 11
Which Laps have a Time of +39.476, and a Grid larger than 11?
CREATE TABLE table_name_15 (laps INTEGER, time VARCHAR, grid VARCHAR)
SELECT races FROM table_name_95 WHERE chassis = "reynard 2ki" AND engine = "honda hrk"
Which person drove a Reynard 2ki with a Honda Hrk engine?
CREATE TABLE table_name_95 (races VARCHAR, chassis VARCHAR, engine VARCHAR)
SELECT MIN(figures) FROM table_name_24 WHERE free = 556
What is the lowest figure score when the free is 556?
CREATE TABLE table_name_24 (figures INTEGER, free VARCHAR)
SELECT studio FROM table_name_32 WHERE rank = 6
What studio has 6 as the rank?
CREATE TABLE table_name_32 (studio VARCHAR, rank VARCHAR)
SELECT MIN(grid) FROM table_name_74 WHERE manufacturer = "ktm" AND laps > 20
What is the lowest grid number that had a rider with KTM as the manufacturer who did more than 20 laps?
CREATE TABLE table_name_74 (grid INTEGER, manufacturer VARCHAR, laps VARCHAR)
SELECT pinyin FROM table_name_22 WHERE simplified = "南山区"
What is the pinyin when the simplified shows 南山区?
CREATE TABLE table_name_22 (pinyin VARCHAR, simplified VARCHAR)
SELECT country_of_origin FROM table_name_74 WHERE type = "disposable" AND primary_cartridge = "105mm" AND year_of_intro < 2008
What is Country of Origin, when Type is Disposable, when Primary Cartridge is 105mm, and when Year of Intro is less than 2008?
CREATE TABLE table_name_74 (country_of_origin VARCHAR, year_of_intro VARCHAR, type VARCHAR, primary_cartridge VARCHAR)
SELECT finale FROM table_175980_2 WHERE timeslot = "Tuesday 9:30 p.m."
What finales took place in the Tuesday 9:30 p.m. timeslot?
CREATE TABLE table_175980_2 (finale VARCHAR, timeslot VARCHAR)
SELECT COUNT(week) FROM table_name_30 WHERE attendance = "43,272"
How many weeks had an Attendance of 43,272?
CREATE TABLE table_name_30 (week VARCHAR, attendance VARCHAR)
SELECT AVG(1990 AS _1991) FROM table_name_26 WHERE played = 38 AND points = 40
Which 1990-1991 is the average one that has Played of 38, and Points of 40?
CREATE TABLE table_name_26 (played VARCHAR, points VARCHAR)
SELECT fcc_info FROM table_name_51 WHERE erp_w > 92 AND call_sign = "k264ba"
What is FCC info when ERP W is larger than 92 and call sign has k264ba?
CREATE TABLE table_name_51 (fcc_info VARCHAR, erp_w VARCHAR, call_sign VARCHAR)
SELECT COUNT(top_10) FROM table_name_75 WHERE top_25 < 2 AND top_5 > 0
Name the total number of top 10 with top 25 less than 2 and top 5 more than 0
CREATE TABLE table_name_75 (top_10 VARCHAR, top_25 VARCHAR, top_5 VARCHAR)
SELECT prominence__m_ FROM table_name_57 WHERE col__m_ > 738
What is the prominence in m of a col in m greater than 738?
CREATE TABLE table_name_57 (prominence__m_ VARCHAR, col__m_ INTEGER)
SELECT type FROM table_262527_1 WHERE joined = "1902 5"
what type was joined in 1902 5?
CREATE TABLE table_262527_1 (type VARCHAR, joined VARCHAR)
SELECT away_team FROM table_name_74 WHERE venue = "junction oval"
Who is the away team at junction oval?
CREATE TABLE table_name_74 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_16 WHERE tie_no = "4"
What is Away Team, when Tie No is 4?
CREATE TABLE table_name_16 (away_team VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_91 WHERE record = "61–66"
What is the date of the game when the Rockies had a record of 61–66?
CREATE TABLE table_name_91 (date VARCHAR, record VARCHAR)
SELECT COUNT(player) FROM table_12962773_12 WHERE height = "2.01"
WHat is the number for the player whose height is 2.01?
CREATE TABLE table_12962773_12 (player VARCHAR, height VARCHAR)
SELECT result FROM table_name_30 WHERE home_team = "portland" AND date = "may 31"
Which Result has a Home team of portland, and a Date of may 31?
CREATE TABLE table_name_30 (result VARCHAR, home_team VARCHAR, date VARCHAR)
SELECT market_income_per_capita FROM table_22815568_3 WHERE status = "Distressed" AND unemployment_rate = "10.5%"
What is the market income per capita in a county where the status is distressed and the unemployment rate is at 10.5%?
CREATE TABLE table_22815568_3 (market_income_per_capita VARCHAR, status VARCHAR, unemployment_rate VARCHAR)
SELECT venue FROM table_name_23 WHERE away_team = "north melbourne"
Where did north melbourne play while away?
CREATE TABLE table_name_23 (venue VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_64 WHERE course = "jaén to córdoba"
What is the race date for the course Jaén to Córdoba?
CREATE TABLE table_name_64 (date VARCHAR, course VARCHAR)
SELECT team FROM table_2503102_1 WHERE car_sponsor_s_ = "HydroxyCut"
What team is sponsored by hydroxycut?
CREATE TABLE table_2503102_1 (team VARCHAR, car_sponsor_s_ VARCHAR)
SELECT engine FROM table_name_86 WHERE points = "17"
What engine scored 17 points?
CREATE TABLE table_name_86 (engine VARCHAR, points VARCHAR)