question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the score on December 1?
CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_36 WHERE date = "december 1"
Which title had rank 9?
CREATE TABLE table_name_28 (title VARCHAR, rank VARCHAR)
SELECT title FROM table_name_28 WHERE rank = 9
Which Country has a Score of 69-66=135?
CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_76 WHERE score = 69 - 66 = 135
Which Fleet Series (Quantity) that has a Builder of mci, and an Order Year of 2002?
CREATE TABLE table_name_23 (fleet_series__quantity_ VARCHAR, builder VARCHAR, order_year VARCHAR)
SELECT fleet_series__quantity_ FROM table_name_23 WHERE builder = "mci" AND order_year = "2002"
What tournament was played on May 29, 2010?
CREATE TABLE table_name_8 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_8 WHERE date = "may 29, 2010"
Who was the opponent that led to a record of 23-5?
CREATE TABLE table_name_55 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_55 WHERE record = "23-5"
What was the home team's score at Princes Park?
CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_6 WHERE venue = "princes park"
What is Opponents in Final, when Partner is "Jill Hetherington", and when Year is after 1988?
CREATE TABLE table_name_96 (opponents_in_final VARCHAR, partner VARCHAR, year VARCHAR)
SELECT opponents_in_final FROM table_name_96 WHERE partner = "jill hetherington" AND year > 1988
Name the number of record for week 11
CREATE TABLE table_24126518_2 (record VARCHAR, week VARCHAR)
SELECT COUNT(record) FROM table_24126518_2 WHERE week = 11
What is the power of 1.9 diesel?
CREATE TABLE table_name_66 (power VARCHAR, name VARCHAR)
SELECT power FROM table_name_66 WHERE name = "1.9 diesel"
Name the pronunciation for meaning b of border, frontier
CREATE TABLE table_name_64 (pronunciation_b VARCHAR, meaning_b VARCHAR)
SELECT pronunciation_b FROM table_name_64 WHERE meaning_b = "border, frontier"
What is the hometown of number 40?
CREATE TABLE table_name_44 (hometown VARCHAR, number VARCHAR)
SELECT hometown FROM table_name_44 WHERE number = 40
Which line offers Fast to Norwood Junction?
CREATE TABLE table_1612760_1 (line VARCHAR, service_pattern VARCHAR)
SELECT line FROM table_1612760_1 WHERE service_pattern = "Fast to Norwood Junction"
Which College/junior/club team has a Pick # of 1?
CREATE TABLE table_name_27 (college_junior_club_team VARCHAR, pick__number VARCHAR)
SELECT college_junior_club_team FROM table_name_27 WHERE pick__number = "1"
What days are vacant that were replaced by john brown?
CREATE TABLE table_11207040_6 (date_of_vacancy VARCHAR, replaced_by VARCHAR)
SELECT date_of_vacancy FROM table_11207040_6 WHERE replaced_by = "John Brown"
What Ecclesiastical Province has a type diocese and a latin name alexiensis?
CREATE TABLE table_name_21 (ecclesiastical_province VARCHAR, type VARCHAR, latin_name VARCHAR)
SELECT ecclesiastical_province FROM table_name_21 WHERE type = "diocese" AND latin_name = "alexiensis"
How much is the track Fast As a Shark?
CREATE TABLE tracks (unit_price VARCHAR, name VARCHAR)
SELECT unit_price FROM tracks WHERE name = "Fast As a Shark"
Name the f/laps for gp2 series
CREATE TABLE table_24587026_1 (f_laps VARCHAR, series VARCHAR)
SELECT f_laps FROM table_24587026_1 WHERE series = "GP2 series"
What was the Obama% when McCain% was 61.2%?
CREATE TABLE table_20750731_1 (obama_percentage VARCHAR, mccain_percentage VARCHAR)
SELECT obama_percentage FROM table_20750731_1 WHERE mccain_percentage = "61.2%"
What time did the season finale air on May 20, 2003?
CREATE TABLE table_name_43 (timeslot VARCHAR, finale VARCHAR)
SELECT timeslot FROM table_name_43 WHERE finale = "may 20, 2003"
How many Ties have Years of 1919–1925, and a Pct larger than 0.734?
CREATE TABLE table_name_75 (ties INTEGER, years VARCHAR, pct VARCHAR)
SELECT SUM(ties) FROM table_name_75 WHERE years = "1919–1925" AND pct > 0.734
What was the score of the game when the record was 19–13–3?
CREATE TABLE table_name_92 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_92 WHERE record = "19–13–3"
What is High Assists, when High Points is Keon Clark (19)?
CREATE TABLE table_name_57 (high_assists VARCHAR, high_points VARCHAR)
SELECT high_assists FROM table_name_57 WHERE high_points = "keon clark (19)"
What is the number of points of palamós cf, which has less than 21 wins and less than 40 goals?
CREATE TABLE table_name_60 (points VARCHAR, goals_for VARCHAR, wins VARCHAR, club VARCHAR)
SELECT COUNT(points) FROM table_name_60 WHERE wins < 21 AND club = "palamós cf" AND goals_for < 40
What is the NBA Draft status of the person who went to college at LSU?
CREATE TABLE table_name_38 (nba_draft VARCHAR, college VARCHAR)
SELECT nba_draft FROM table_name_38 WHERE college = "lsu"
Which Total has a County of kilkenny, and a Tally of 1–4, and a Rank larger than 10?
CREATE TABLE table_name_13 (total INTEGER, rank VARCHAR, county VARCHAR, tally VARCHAR)
SELECT AVG(total) FROM table_name_13 WHERE county = "kilkenny" AND tally = "1–4" AND rank > 10
List total amount of invoice from Chicago, IL.
CREATE TABLE invoices (total INTEGER, billing_city VARCHAR, billing_state VARCHAR)
SELECT SUM(total) FROM invoices WHERE billing_city = "Chicago" AND billing_state = "IL"
what is the apps when the name is smith?
CREATE TABLE table_name_24 (apps INTEGER, name VARCHAR)
SELECT MIN(apps) FROM table_name_24 WHERE name = "smith"
Who was the visiting team at Raymond James Stadium?
CREATE TABLE table_name_36 (visiting_team VARCHAR, stadium VARCHAR)
SELECT visiting_team FROM table_name_36 WHERE stadium = "raymond james stadium"
How many trains are there for the route via trivandrum, ernakulam, newdelhi?
CREATE TABLE table_29770377_1 (train_number VARCHAR, route_via VARCHAR)
SELECT COUNT(train_number) FROM table_29770377_1 WHERE route_via = "Trivandrum, Ernakulam, NewDelhi"
Club aik had over 9 small silver medals and more than 8 bronze medals, how many total points did they have?
CREATE TABLE table_name_78 (points INTEGER, bronze VARCHAR, small_silver VARCHAR, club VARCHAR)
SELECT AVG(points) FROM table_name_78 WHERE small_silver > 9 AND club = "aik" AND bronze > 8
What is the date of the munich, germany tournament?
CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_52 WHERE tournament = "munich, germany"
What is the new classification for the University of Arizona Western in the Collegiate Lacrosse League?
CREATE TABLE table_14976504_2 (new_classification VARCHAR, institution VARCHAR)
SELECT new_classification FROM table_14976504_2 WHERE institution = "University of Arizona"
How many Deciles are coed?
CREATE TABLE table_name_51 (decile VARCHAR, gender VARCHAR)
SELECT COUNT(decile) FROM table_name_51 WHERE gender = "coed"
What is the highest amount of group legs won when the prize money was £21,850?
CREATE TABLE table_24334163_1 (Winners INTEGER, total_money_won VARCHAR)
SELECT MAX(Winners) AS group_legs_won FROM table_24334163_1 WHERE total_money_won = "£21,850"
What was the day of vacancy for vitória de guimarães?
CREATE TABLE table_name_78 (date_of_vacancy VARCHAR, team VARCHAR)
SELECT date_of_vacancy FROM table_name_78 WHERE team = "vitória de guimarães"
What tournament had Alberta Brianti as an opponent with a score of 6-4 2-6 6-2?
CREATE TABLE table_name_96 (tournament VARCHAR, opponent VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_96 WHERE opponent = "alberta brianti" AND score = "6-4 2-6 6-2"
What is the average goal difference using slavia sofia club?
CREATE TABLE table_name_8 (goal_difference INTEGER, club VARCHAR)
SELECT AVG(goal_difference) FROM table_name_8 WHERE club = "slavia sofia"
Which Status has a Building of the rhombus?
CREATE TABLE table_name_25 (status VARCHAR, building VARCHAR)
SELECT status FROM table_name_25 WHERE building = "the rhombus"
what years are played for player  im chung-yang
CREATE TABLE table_10023387_1 (years_played VARCHAR, player VARCHAR)
SELECT years_played FROM table_10023387_1 WHERE player = "Im Chung-Yang"
What is the latest founding date?
CREATE TABLE table_2076490_1 (founded INTEGER)
SELECT MAX(founded) FROM table_2076490_1
When is a Type of tko, and an Opponent of jesse brinkley
CREATE TABLE table_name_53 (date VARCHAR, type VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_53 WHERE type = "tko" AND opponent = "jesse brinkley"
Which country is the athlete latt shwe zin with notes of sc/d from?
CREATE TABLE table_name_56 (country VARCHAR, notes VARCHAR, athlete VARCHAR)
SELECT country FROM table_name_56 WHERE notes = "sc/d" AND athlete = "latt shwe zin"
What was Brian Moran's share of the votes when Creigh Deeds had 30%?
CREATE TABLE table_21535453_1 (brian_moran VARCHAR, creigh_deeds VARCHAR)
SELECT brian_moran FROM table_21535453_1 WHERE creigh_deeds = "30%"
Which Week has an Opponent of baltimore colts, and an Attendance smaller than 55,137?
CREATE TABLE table_name_65 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
SELECT AVG(week) FROM table_name_65 WHERE opponent = "baltimore colts" AND attendance < 55 OFFSET 137
What was the date for the canadian grand prix?
CREATE TABLE table_name_65 (date VARCHAR, grand_prix VARCHAR)
SELECT date FROM table_name_65 WHERE grand_prix = "canadian grand prix"
Where did Footscray play as the away team?
CREATE TABLE table_name_27 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_27 WHERE away_team = "footscray"
What date was a friendly match played that ended in a 3-0 score?
CREATE TABLE table_name_74 (date VARCHAR, result VARCHAR, competition VARCHAR)
SELECT date FROM table_name_74 WHERE result = "3-0" AND competition = "friendly match"
for a Goals Against smaller than 9, and a Goal Differential of 0, and a Draws smaller than 2, and a Wins of 1, what's the goal total?
CREATE TABLE table_name_81 (goals_for INTEGER, wins VARCHAR, draws VARCHAR, goals_against VARCHAR, goal_differential VARCHAR)
SELECT SUM(goals_for) FROM table_name_81 WHERE goals_against < 9 AND goal_differential = "0" AND draws < 2 AND wins = 1
How many games were played by the player with 927 points?
CREATE TABLE table_2208838_4 (played VARCHAR, points VARCHAR)
SELECT played FROM table_2208838_4 WHERE points = 927
Which English has Dutch of maken?
CREATE TABLE table_name_37 (english VARCHAR, dutch VARCHAR)
SELECT english FROM table_name_37 WHERE dutch = "maken"
Which position did kevin edwards play for
CREATE TABLE table_16494599_5 (position VARCHAR, player VARCHAR)
SELECT position FROM table_16494599_5 WHERE player = "Kevin Edwards"
Tell me the name for round of e
CREATE TABLE table_name_29 (name VARCHAR, round VARCHAR)
SELECT name FROM table_name_29 WHERE round = "e"
What was 2011, when 2005 was 2R, and when 2003 was 2R?
CREATE TABLE table_name_40 (Id VARCHAR)
SELECT 2011 FROM table_name_40 WHERE 2005 = "2r" AND 2003 = "2r"
What party established in 1797 won an election in 2007?
CREATE TABLE table_name_17 (party VARCHAR, established VARCHAR, election VARCHAR)
SELECT party FROM table_name_17 WHERE established > 1797 AND election = 2007
Who was the game played against on 2004-02-28 at Skytteholms IP?
CREATE TABLE table_name_84 (opponents VARCHAR, venue VARCHAR, date VARCHAR)
SELECT opponents FROM table_name_84 WHERE venue = "skytteholms ip" AND date = "2004-02-28"
What is the home team's score at brunswick street oval?
CREATE TABLE table_name_82 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_82 WHERE venue = "brunswick street oval"
Who was the developer of Wii?
CREATE TABLE table_name_50 (developer_s_ VARCHAR, platform_s_ VARCHAR)
SELECT developer_s_ FROM table_name_50 WHERE platform_s_ = "wii"
What is the Length/Fuel of the bus built between 2000-2003 with a high Floor Styling?
CREATE TABLE table_name_91 (length_fuel VARCHAR, floor_styling VARCHAR, year_built VARCHAR)
SELECT length_fuel FROM table_name_91 WHERE floor_styling = "high" AND year_built = "2000-2003"
What is the US air date when the director is ken girotti?
CREATE TABLE table_30012404_4 (us_air_date VARCHAR, directed_by VARCHAR)
SELECT us_air_date FROM table_30012404_4 WHERE directed_by = "Ken Girotti"
What year was the accolade for Scottish albums of the decade?
CREATE TABLE table_name_83 (year VARCHAR, accolade VARCHAR)
SELECT year FROM table_name_83 WHERE accolade = "scottish albums of the decade"
How many distance places have brisbane at $3.80?
CREATE TABLE table_2923917_4 (distance VARCHAR, brisbane VARCHAR)
SELECT COUNT(distance) FROM table_2923917_4 WHERE brisbane = "$3.80"
What is the total rank for the Netherlands when more than 2 silver medals were won?
CREATE TABLE table_name_8 (rank VARCHAR, nation VARCHAR, silver VARCHAR)
SELECT COUNT(rank) FROM table_name_8 WHERE nation = "netherlands" AND silver > 2
What is the lowest listed number for a player?
CREATE TABLE table_29050051_3 (_number INTEGER)
SELECT MIN(_number) FROM table_29050051_3
Name the high assists for march 14
CREATE TABLE table_27712451_9 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_27712451_9 WHERE date = "March 14"
Who won at course Forlì to Carpi?
CREATE TABLE table_name_47 (winner VARCHAR, course VARCHAR)
SELECT winner FROM table_name_47 WHERE course = "forlì to carpi"
What song is later than place 2 and has a draw number of 1?
CREATE TABLE table_name_77 (song VARCHAR, place VARCHAR, draw VARCHAR)
SELECT song FROM table_name_77 WHERE place > 2 AND draw = 1
What is School Year, when Cross Country is Wooster?
CREATE TABLE table_name_19 (school_year VARCHAR, cross_country VARCHAR)
SELECT school_year FROM table_name_19 WHERE cross_country = "wooster"
Which location is in Oregon, ranked under 121, and contains Mount McLoughlin?
CREATE TABLE table_name_71 (location VARCHAR, mountain_peak VARCHAR, state VARCHAR, rank VARCHAR)
SELECT location FROM table_name_71 WHERE state = "oregon" AND rank < 121 AND mountain_peak = "mount mcloughlin"
Which venue was founded after 1967 and had the league North American Soccer League?
CREATE TABLE table_name_93 (venue VARCHAR, founded VARCHAR, league VARCHAR)
SELECT venue FROM table_name_93 WHERE founded > 1967 AND league = "north american soccer league"
What is the ethnic majority in the only town?
CREATE TABLE table_2562572_11 (largest_ethnic_group__2002_ VARCHAR, type VARCHAR)
SELECT largest_ethnic_group__2002_ FROM table_2562572_11 WHERE type = "town"
Which dogs have not cost their owner more than 1000 for treatment ? List the dog names .
CREATE TABLE dogs (name VARCHAR, dog_id VARCHAR, cost_of_treatment INTEGER); CREATE TABLE treatments (name VARCHAR, dog_id VARCHAR, cost_of_treatment INTEGER)
SELECT name FROM dogs WHERE NOT dog_id IN (SELECT dog_id FROM treatments GROUP BY dog_id HAVING SUM(cost_of_treatment) > 1000)
What is the lowest number in series when U.S. viewers is 0.23 million?
CREATE TABLE table_29803475_2 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
SELECT MIN(no_in_series) FROM table_29803475_2 WHERE us_viewers__million_ = "0.23"
How many wins when the average start is 29.0?
CREATE TABLE table_2182562_1 (wins VARCHAR, avg_start VARCHAR)
SELECT COUNT(wins) FROM table_2182562_1 WHERE avg_start = "29.0"
During the year when Lansing's fare is $433.59, what is the fare to Kalamazoo?
CREATE TABLE table_1637981_7 (kalamazoo__azo_ VARCHAR, lansing__lan_ VARCHAR)
SELECT kalamazoo__azo_ FROM table_1637981_7 WHERE lansing__lan_ = "$433.59"
Name the length for class of gts-2 and date of october 8
CREATE TABLE table_name_27 (length VARCHAR, class VARCHAR, date VARCHAR)
SELECT length FROM table_name_27 WHERE class = "gts-2" AND date = "october 8"
What is Venue, when Date is "7 September"?
CREATE TABLE table_name_45 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_45 WHERE date = "7 september"
How many teams scored 616 points?
CREATE TABLE table_13018091_1 (won VARCHAR, pts_for VARCHAR)
SELECT COUNT(won) FROM table_13018091_1 WHERE pts_for = 616
What was arrows racing team's highest points after 1982?
CREATE TABLE table_name_51 (points INTEGER, entrant VARCHAR, year VARCHAR)
SELECT MAX(points) FROM table_name_51 WHERE entrant = "arrows racing team" AND year > 1982
Name the position for san beda
CREATE TABLE table_15463188_7 (position VARCHAR, school_club_team VARCHAR)
SELECT position FROM table_15463188_7 WHERE school_club_team = "San Beda"
When slblw(b1) is the sspec number what is the mult.?
CREATE TABLE table_18823880_10 (mult VARCHAR, sspec_number VARCHAR)
SELECT mult FROM table_18823880_10 WHERE sspec_number = "SLBLW(B1)"
Find the number of pets whose weight is heavier than 10.
CREATE TABLE pets (weight INTEGER)
SELECT COUNT(*) FROM pets WHERE weight > 10
What 1957 engine has a Chassis of connaught type b?
CREATE TABLE table_name_71 (engine VARCHAR, chassis VARCHAR, year VARCHAR)
SELECT engine FROM table_name_71 WHERE chassis = "connaught type b" AND year > 1957
When 19 is the stage who is the points classification?
CREATE TABLE table_18733814_2 (points_classification VARCHAR, stage VARCHAR)
SELECT points_classification FROM table_18733814_2 WHERE stage = 19
What is the date for the Indianapolis circuit?
CREATE TABLE table_15299235_1 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_15299235_1 WHERE circuit = "Indianapolis"
Tell me the lowest date commissioned for iron rmsrhone and gross tonnage less than 2,738
CREATE TABLE table_name_69 (date_commissioned INTEGER, gross_tonnage VARCHAR, material VARCHAR, ship VARCHAR)
SELECT MIN(date_commissioned) FROM table_name_69 WHERE material = "iron" AND ship = "rmsrhone" AND gross_tonnage < 2 OFFSET 738
WHAT PLACE WAS A SCORE 67-70=137?
CREATE TABLE table_name_48 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_48 WHERE score = 67 - 70 = 137
who is the opponent in the final when the tournament is cagnes-sur-mer?
CREATE TABLE table_name_64 (opponent_in_the_final VARCHAR, tournament VARCHAR)
SELECT opponent_in_the_final FROM table_name_64 WHERE tournament = "cagnes-sur-mer"
What venue is in the city of Durham?
CREATE TABLE table_name_95 (venue VARCHAR, city VARCHAR)
SELECT venue FROM table_name_95 WHERE city = "durham"
What is the Android version is the code name is Lotus?
CREATE TABLE table (android_version VARCHAR, code_name VARCHAR)
SELECT android_version FROM table WHERE code_name = "Lotus"
Which team 1 had a Team 2 of hankook verdes?
CREATE TABLE table_name_19 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_19 WHERE team_2 = "hankook verdes"
Who directed the second episode of "The Homecoming" which was written by Tommy Thompson?
CREATE TABLE table_11075747_3 (directed_by VARCHAR, written_by VARCHAR)
SELECT directed_by FROM table_11075747_3 WHERE written_by = "Tommy Thompson"
How many average games did Nick Rimando have?
CREATE TABLE table_name_99 (games INTEGER, player VARCHAR)
SELECT AVG(games) FROM table_name_99 WHERE player = "nick rimando"
Which Japanese voice actor had the Mecha of airplane?
CREATE TABLE table_name_28 (japanese_voice_actor VARCHAR, mecha VARCHAR)
SELECT japanese_voice_actor FROM table_name_28 WHERE mecha = "airplane"
Which race was the winning team mathiasen motorsports and the pole belonged to jonathan bomarito
CREATE TABLE table_15511178_3 (race VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
SELECT race FROM table_15511178_3 WHERE winning_team = "Mathiasen Motorsports" AND pole_position = "Jonathan Bomarito"
What is the rank when the total is less than 1?
CREATE TABLE table_name_24 (rank INTEGER, total INTEGER)
SELECT MIN(rank) FROM table_name_24 WHERE total < 1
Which React has a Lane smaller than 4, and a Rank larger than 4, and a Time larger than 23.22?
CREATE TABLE table_name_72 (react INTEGER, time VARCHAR, lane VARCHAR, rank VARCHAR)
SELECT AVG(react) FROM table_name_72 WHERE lane < 4 AND rank > 4 AND time > 23.22
What was the finish for Lanny Wadkins of the United States?
CREATE TABLE table_name_83 (finish VARCHAR, country VARCHAR, player VARCHAR)
SELECT finish FROM table_name_83 WHERE country = "united states" AND player = "lanny wadkins"
what is the name of the borough where station uses is 28702?
CREATE TABLE table_14748457_1 (borough VARCHAR, station_users_2008_9 VARCHAR)
SELECT borough FROM table_14748457_1 WHERE station_users_2008_9 = "28702"
What is Moving From, when Ends is before 2011?
CREATE TABLE table_name_65 (moving_from VARCHAR, ends INTEGER)
SELECT moving_from FROM table_name_65 WHERE ends < 2011