answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT municipality FROM table_216776_2 WHERE pop_density__per_km²_ = "757.5"
In what municipality were there 757.5 people per km2?
CREATE TABLE table_216776_2 (municipality VARCHAR, pop_density__per_km²_ VARCHAR)
SELECT MAX(weight) FROM table_20860739_1 WHERE player = "Eben Britton"
What is the weight of Eben Britton?
CREATE TABLE table_20860739_1 (weight INTEGER, player VARCHAR)
SELECT lost FROM table_name_28 WHERE points_against = "231"
what is lost when the points against is 231?
CREATE TABLE table_name_28 (lost VARCHAR, points_against VARCHAR)
SELECT home_team FROM table_name_14 WHERE tie_no = "10"
What home team has 10 as the tie no?
CREATE TABLE table_name_14 (home_team VARCHAR, tie_no VARCHAR)
SELECT opponent FROM table_17104539_10 WHERE score = "L 68-60"
Who was the oppenent what the score was L 68-60?
CREATE TABLE table_17104539_10 (opponent VARCHAR, score VARCHAR)
SELECT position FROM table_name_7 WHERE fa_cup_apps = "0" AND name = "gary barnett"
Gary Barnett who has been in 0 FA Cups plays what position?
CREATE TABLE table_name_7 (position VARCHAR, fa_cup_apps VARCHAR, name VARCHAR)
SELECT COUNT(touchdowns) FROM table_name_65 WHERE net_yds < 4495 AND long < 80 AND yds_att < 5.5
How many touchdowns did the player with less than 4495 yards, long of less than 80, and yds/att less than 5.5 have?
CREATE TABLE table_name_65 (touchdowns VARCHAR, yds_att VARCHAR, net_yds VARCHAR, long VARCHAR)
SELECT date FROM table_name_46 WHERE serial = "10b"
What is the date for the 10b serial?
CREATE TABLE table_name_46 (date VARCHAR, serial VARCHAR)
SELECT title FROM table_17810099_3 WHERE episode__number = "21a"
what was the title of the episode 21a?
CREATE TABLE table_17810099_3 (title VARCHAR, episode__number VARCHAR)
SELECT number_of_teams FROM table_name_66 WHERE top_goalscorer_s_ = "not awarded" AND year = "2007 details"
How many teams were at the 2007 details tournament where there a top goalscorer was not awarded?
CREATE TABLE table_name_66 (number_of_teams VARCHAR, top_goalscorer_s_ VARCHAR, year VARCHAR)
SELECT position FROM table_name_7 WHERE notes = "2:12:53"
What position has notes of 2:12:53?
CREATE TABLE table_name_7 (position VARCHAR, notes VARCHAR)
SELECT SUM(total) FROM table_name_88 WHERE t_score < 6.8
What is the total of the team with a T score less than 6.8?
CREATE TABLE table_name_88 (total INTEGER, t_score INTEGER)
SELECT hometown FROM table_11677691_9 WHERE college = "Louisiana State"
Which hometown has the college Louisiana State?
CREATE TABLE table_11677691_9 (hometown VARCHAR, college VARCHAR)
SELECT result FROM table_name_77 WHERE date = "9 october 2009"
Which Result has a Date of 9 october 2009?
CREATE TABLE table_name_77 (result VARCHAR, date VARCHAR)
SELECT location FROM table_name_95 WHERE name_in_malay = "kolej kemahiran belia nasional, pontian"
What is the location of the institution whose name in Malay is kolej kemahiran belia nasional, pontian?
CREATE TABLE table_name_95 (location VARCHAR, name_in_malay VARCHAR)
SELECT official_website FROM table_name_33 WHERE number_of_episodes > 22 AND english_title__chinese_title_ = "burning flame 烈火雄心"
What's the official website of Burning Flame 烈火雄心 with 22 episodes?
CREATE TABLE table_name_33 (official_website VARCHAR, number_of_episodes VARCHAR, english_title__chinese_title_ VARCHAR)
SELECT season FROM table_name_86 WHERE player = "bob pratt"
In what season did Bob Pratt play?
CREATE TABLE table_name_86 (season VARCHAR, player VARCHAR)
SELECT playoffs FROM table_1427998_1 WHERE team_name = "Bay Area Seals"
What was the playoff result for the team name of bay area seals
CREATE TABLE table_1427998_1 (playoffs VARCHAR, team_name VARCHAR)
SELECT date FROM table_name_10 WHERE score = "66-62"
What is the date with score of 66-62?
CREATE TABLE table_name_10 (date VARCHAR, score VARCHAR)
SELECT region FROM table_name_82 WHERE village = "chassagne-montrachet"
Which Reigon has a Village of Chassagne-Montrachet?
CREATE TABLE table_name_82 (region VARCHAR, village VARCHAR)
SELECT competition FROM table_name_96 WHERE year < 1982 AND score = "2:3"
Which competition before 1982 had a score of 2:3?
CREATE TABLE table_name_96 (competition VARCHAR, year VARCHAR, score VARCHAR)
SELECT MAX(draft) FROM table_name_89 WHERE round > 2 AND nationality = "united states" AND pick < 113
What is the highest draft after round 2, is from the United States and has picked less than 113?
CREATE TABLE table_name_89 (draft INTEGER, pick VARCHAR, round VARCHAR, nationality VARCHAR)
SELECT project_name FROM table_name_36 WHERE country = "opec"
What is the Project Name with a Country that is opec?
CREATE TABLE table_name_36 (project_name VARCHAR, country VARCHAR)
SELECT SUM(rank) FROM table_name_36 WHERE notes = "fb" AND time = "6:47.30"
What is the rank of the athletes that have Notes of fb, and a Time of 6:47.30?
CREATE TABLE table_name_36 (rank INTEGER, notes VARCHAR, time VARCHAR)
SELECT SUM(crowd) FROM table_name_88 WHERE away_team = "south melbourne"
What was the attendance when South Melbourne was the away team?
CREATE TABLE table_name_88 (crowd INTEGER, away_team VARCHAR)
SELECT number_of_votes FROM table_name_79 WHERE election = 1941
How many people voted in the election of 1941?
CREATE TABLE table_name_79 (number_of_votes VARCHAR, election VARCHAR)
SELECT written_by FROM table_23528223_2 WHERE us_viewers__millions_ = "10.64"
Who wrote the episode seen by 10.64 million people in the US?
CREATE TABLE table_23528223_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT english_translation FROM table_1805919_1 WHERE traditional_chinese = "哀郢"
What is the English translation of 哀郢?
CREATE TABLE table_1805919_1 (english_translation VARCHAR, traditional_chinese VARCHAR)
SELECT tries FROM table_name_98 WHERE points = "008 8" AND games = "27 27"
Name the tries that has a points of 008 8 and games of 27 27
CREATE TABLE table_name_98 (tries VARCHAR, points VARCHAR, games VARCHAR)
SELECT score FROM table_name_60 WHERE game > 76 AND march > 26
Game larger than 76, and a March larger than 26 involves what score?
CREATE TABLE table_name_60 (score VARCHAR, game VARCHAR, march VARCHAR)
SELECT MIN(touchdowns) FROM table_name_88 WHERE player = "total" AND field_goals > 0
What is the smallest amount of touchdowns when there is a total player and a number of field goals of more than 0?
CREATE TABLE table_name_88 (touchdowns INTEGER, player VARCHAR, field_goals VARCHAR)
SELECT network FROM table_name_86 WHERE title = "epik high's love and delusion"
What is the Network, when Title is "Epik High's Love And Delusion"?
CREATE TABLE table_name_86 (network VARCHAR, title VARCHAR)
SELECT speed FROM table_name_98 WHERE time = "1:24.23.0"
What is Speed, when Time is 1:24.23.0?
CREATE TABLE table_name_98 (speed VARCHAR, time VARCHAR)
SELECT COUNT(score) FROM table_26458137_2 WHERE opponents_in_the_final = "Beti Sekulovski Cindy Watson"
How many times is the opponents in the final is beti sekulovski cindy watson?
CREATE TABLE table_26458137_2 (score VARCHAR, opponents_in_the_final VARCHAR)
SELECT 2 AS nd_runner_up FROM table_name_59 WHERE season_number = "season 7"
Name the 2nd runner-up for season 7
CREATE TABLE table_name_59 (season_number VARCHAR)
SELECT date FROM table_name_3 WHERE venue = "bucharest"
Which Date has a Venue of bucharest?
CREATE TABLE table_name_3 (date VARCHAR, venue VARCHAR)
SELECT mixed_doubles FROM table_13857700_1 WHERE year = 1972
who is the the mixed doubles with year being 1972
CREATE TABLE table_13857700_1 (mixed_doubles VARCHAR, year VARCHAR)
SELECT MIN(against) FROM table_name_35 WHERE wins > 11 AND geelong_fl = "st josephs"
Which Against has more than 11 wins, and a Geelong FL of st josephs?
CREATE TABLE table_name_35 (against INTEGER, wins VARCHAR, geelong_fl VARCHAR)
SELECT AVG(cup_goals) FROM table_name_9 WHERE league_apps > 34
How many cup goals for the season with more than 34 league apps?
CREATE TABLE table_name_9 (cup_goals INTEGER, league_apps INTEGER)
SELECT result FROM table_name_98 WHERE method = "tko (low kicks)"
What is the result of the fight that had a tko (low kicks)?
CREATE TABLE table_name_98 (result VARCHAR, method VARCHAR)
SELECT opponent FROM table_27539535_5 WHERE score = "5-4"
Against what opponent did the game end 5-4?
CREATE TABLE table_27539535_5 (opponent VARCHAR, score VARCHAR)
SELECT race_name FROM table_1140116_5 WHERE circuit = "Monza"
What is the race name in the Monza circuit?
CREATE TABLE table_1140116_5 (race_name VARCHAR, circuit VARCHAR)
SELECT date FROM table_name_14 WHERE fastest_lap = "jody scheckter" AND race = "french grand prix"
Tell me the date for jody scheckter being the fastest lap at the french grand prix
CREATE TABLE table_name_14 (date VARCHAR, fastest_lap VARCHAR, race VARCHAR)
SELECT COUNT(district) FROM table_1805191_33 WHERE incumbent = "Charles Rangel"
How many districts have the incumbent, Charles Rangel?
CREATE TABLE table_1805191_33 (district VARCHAR, incumbent VARCHAR)
SELECT COUNT(province) FROM table_29012710_1 WHERE number_of_dairy_cows = 13000
what is the most number where cattle is 13000
CREATE TABLE table_29012710_1 (province VARCHAR, number_of_dairy_cows VARCHAR)
SELECT format FROM table_name_84 WHERE catalog = "887 847-1" AND date = "september 1990"
What was the format in September 1990 for Catalog 887 847-1?
CREATE TABLE table_name_84 (format VARCHAR, catalog VARCHAR, date VARCHAR)
SELECT english_translation FROM table_name_77 WHERE artist = "svetlana loboda"
What was the english translation for the song by svetlana loboda?
CREATE TABLE table_name_77 (english_translation VARCHAR, artist VARCHAR)
SELECT instrumental FROM table_name_15 WHERE dative = "shen"
What is the instrumental for the dative shen?
CREATE TABLE table_name_15 (instrumental VARCHAR, dative VARCHAR)
SELECT tv_time FROM table_name_63 WHERE date = "december 26, 1999"
Which TV Time has a Date of december 26, 1999?
CREATE TABLE table_name_63 (tv_time VARCHAR, date VARCHAR)
SELECT MAX(crowd) FROM table_name_74 WHERE venue = "victoria park"
What was the highest crowd in Victoria Park?
CREATE TABLE table_name_74 (crowd INTEGER, venue VARCHAR)
SELECT winning_team FROM table_name_43 WHERE date = "22 july"
With a Date of 22 July, what is the Winning team?
CREATE TABLE table_name_43 (winning_team VARCHAR, date VARCHAR)
SELECT region_served FROM table_name_1 WHERE transmitter_location = "mount sugarloaf"
What region has a transmitter located at Mount Sugarloaf?
CREATE TABLE table_name_1 (region_served VARCHAR, transmitter_location VARCHAR)
SELECT score_time FROM table_name_10 WHERE date = "june 10"
What was the score of the game on June 10?
CREATE TABLE table_name_10 (score_time VARCHAR, date VARCHAR)
SELECT AVG(number_of_households) FROM table_name_71 WHERE median_household_income = "$43,889"
How many households have a Median household income of $43,889?
CREATE TABLE table_name_71 (number_of_households INTEGER, median_household_income VARCHAR)
SELECT conflict FROM table_1921_1 WHERE location = "Iraq"
What is every conflict in Iraq?
CREATE TABLE table_1921_1 (conflict VARCHAR, location VARCHAR)
SELECT final_score FROM table_name_23 WHERE visiting_team = "indianapolis colts" AND date = "november 24"
What was the final score of the game on November 24 with the visiting team the Indianapolis Colts?
CREATE TABLE table_name_23 (final_score VARCHAR, visiting_team VARCHAR, date VARCHAR)
SELECT pick__number FROM table_name_82 WHERE round < 7 AND overall < 127 AND name = "robert alford"
Which pick number had a round of less than 7, an overall of less than 127, and where the name was Robert Alford?
CREATE TABLE table_name_82 (pick__number VARCHAR, name VARCHAR, round VARCHAR, overall VARCHAR)
SELECT score FROM table_name_39 WHERE loss = "mcdowell (12-7)"
What was the score for the loss of McDowell (12-7)?
CREATE TABLE table_name_39 (score VARCHAR, loss VARCHAR)
SELECT SUM(goal) FROM table_name_13 WHERE date = "november 22, 1994"
How many goals were scored on November 22, 1994?
CREATE TABLE table_name_13 (goal INTEGER, date VARCHAR)
SELECT adelaide FROM table_name_30 WHERE sydney = "yes" AND perth = "no" AND melbourne = "yes" AND auckland = "no"
Which Adelaide has a Sydney of yes, a Perth of no, a Melbourne of yes, and an Auckland of no?
CREATE TABLE table_name_30 (adelaide VARCHAR, auckland VARCHAR, melbourne VARCHAR, sydney VARCHAR, perth VARCHAR)
SELECT MAX(rank) FROM table_name_97 WHERE country = "israel"
What is the rank of Israel?
CREATE TABLE table_name_97 (rank INTEGER, country VARCHAR)
SELECT 2003 FROM table_name_10 WHERE 1994 = "1r" AND tournament = "french open"
What is the 2003 value for the french open, which has a 1r in 1994?
CREATE TABLE table_name_10 (tournament VARCHAR)
SELECT total_score FROM table_name_90 WHERE champion = "gay brewer category:articles with hcards"
When the champion was Gay Brewer Category:Articles with hCards what was the total score?
CREATE TABLE table_name_90 (total_score VARCHAR, champion VARCHAR)
SELECT to_par FROM table_name_5 WHERE player = "bunky henry"
What is the to par of player bunky henry?
CREATE TABLE table_name_5 (to_par VARCHAR, player VARCHAR)
SELECT team FROM table_name_44 WHERE points < 1 AND chassis = "zakspeed 871"
What Team had less than 1 point with a Zakspeed 871 chassis?
CREATE TABLE table_name_44 (team VARCHAR, points VARCHAR, chassis VARCHAR)
SELECT SUM(att) FROM table_name_65 WHERE yards = 43 AND long > 43
How many Atts that have Yards of 43 and a Long larger than 43?
CREATE TABLE table_name_65 (att INTEGER, yards VARCHAR, long VARCHAR)
SELECT week FROM table_name_64 WHERE date = "bye"
What week is a bye week?
CREATE TABLE table_name_64 (week VARCHAR, date VARCHAR)
SELECT COUNT(round) FROM table_name_13 WHERE pick > 148 AND player = "pierre bland"
How many rounds did Pierre Bland have a pick larger than 148?
CREATE TABLE table_name_13 (round VARCHAR, pick VARCHAR, player VARCHAR)
SELECT MAX(roll) FROM table_name_79 WHERE authority = "state" AND decile < 8
What is the highest roll number of the school with a state authority and a decile smaller than 8?
CREATE TABLE table_name_79 (roll INTEGER, authority VARCHAR, decile VARCHAR)
SELECT COUNT(draws) FROM table_name_38 WHERE losses = 10 AND wins > 6
How many draws occured with a record of 10 losses, and 6 wins?
CREATE TABLE table_name_38 (draws VARCHAR, losses VARCHAR, wins VARCHAR)
SELECT total FROM table_name_33 WHERE slalom_points = "3.18"
What are the total points for the skier with 3.18 slalom points?
CREATE TABLE table_name_33 (total VARCHAR, slalom_points VARCHAR)
SELECT affiliation FROM table_27961684_1 WHERE state = "Indiana"
What kind of institute is in Indiana?
CREATE TABLE table_27961684_1 (affiliation VARCHAR, state VARCHAR)
SELECT T2.id, T2.name FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id GROUP BY T2.id ORDER BY COUNT(*) DESC LIMIT 1
What is the ship id and name that caused most total injuries?
CREATE TABLE death (caused_by_ship_id VARCHAR); CREATE TABLE ship (Id VARCHAR)
SELECT high_assists FROM table_17102076_10 WHERE score = "L 98–118 (OT)"
Name the high assists for score being l 98–118 (ot)
CREATE TABLE table_17102076_10 (high_assists VARCHAR, score VARCHAR)
SELECT area_km_2 FROM table_171361_2 WHERE official_name = "Balmoral"
Name the area km 2 for balmoral
CREATE TABLE table_171361_2 (area_km_2 VARCHAR, official_name VARCHAR)
SELECT LOCATION FROM performance GROUP BY LOCATION HAVING COUNT(*) >= 2
Show the locations that have at least two performances.
CREATE TABLE performance (LOCATION VARCHAR)
SELECT touchdowns FROM table_20906175_3 WHERE qb_rating = "66.6"
How many touchdowns were there with QB rating of 66.6?
CREATE TABLE table_20906175_3 (touchdowns VARCHAR, qb_rating VARCHAR)
SELECT frequency FROM table_24018112_1 WHERE model__list_ = "L34xx"
What frequency does model L34xx use?
CREATE TABLE table_24018112_1 (frequency VARCHAR, model__list_ VARCHAR)
SELECT name_of_tournament FROM table_name_84 WHERE champions = "boris becker" AND score = "7–6, 6–4"
In What Tournament did Boris Becker have a Score of 7–6, 6–4?
CREATE TABLE table_name_84 (name_of_tournament VARCHAR, champions VARCHAR, score VARCHAR)
SELECT name FROM table_name_45 WHERE assists = "lake (154) lake (5.1 apg)"
Can you tell me the Name that has the Assists of lake (154) lake (5.1 apg)?
CREATE TABLE table_name_45 (name VARCHAR, assists VARCHAR)
SELECT version FROM table_name_77 WHERE title = "alarm clock"
What Version has a Title of alarm clock?
CREATE TABLE table_name_77 (version VARCHAR, title VARCHAR)
SELECT score FROM table_name_12 WHERE date = "april 6, 2008"
What was the score on April 6, 2008?
CREATE TABLE table_name_12 (score VARCHAR, date VARCHAR)
SELECT writer FROM table_15026994_2 WHERE viewing_figure = "7.01 million"
What writers are associated with a viewing figure of 7.01 million?
CREATE TABLE table_15026994_2 (writer VARCHAR, viewing_figure VARCHAR)
SELECT MAX(goals) FROM table_name_18 WHERE name = "gilmar" AND caps < 94
Name of gilmar, and a Caps smaller than 94 had how many highest goals?
CREATE TABLE table_name_18 (goals INTEGER, name VARCHAR, caps VARCHAR)
SELECT AVG(round) FROM table_name_64 WHERE club_team = "garmisch-partenkirchen riessersee sc (germany 2)"
What is the average round for Club team of garmisch-partenkirchen riessersee sc (germany 2)?
CREATE TABLE table_name_64 (round INTEGER, club_team VARCHAR)
SELECT student_id FROM student_course_attendance WHERE course_id = 301 ORDER BY date_of_attendance DESC LIMIT 1
What is the id of the student who most recently registered course 301?
CREATE TABLE student_course_attendance (student_id VARCHAR, course_id VARCHAR, date_of_attendance VARCHAR)
SELECT method FROM table_name_25 WHERE round = "1" AND location = "aruba"
What method was there in round 1 when the location was Aruba?
CREATE TABLE table_name_25 (method VARCHAR, round VARCHAR, location VARCHAR)
SELECT Allergy, COUNT(*) FROM Has_allergy GROUP BY Allergy
Show all allergies with number of students affected.
CREATE TABLE Has_allergy (Allergy VARCHAR)
SELECT MAX(runners) FROM table_name_68 WHERE jockey = "frankie dettori" AND placing > 1
what is the highest runners when the jockey is frankie dettori and the placing is higher than 1?
CREATE TABLE table_name_68 (runners INTEGER, jockey VARCHAR, placing VARCHAR)
SELECT country FROM table_name_37 WHERE to_par = "+11"
What is Country, when To Par is "+11"?
CREATE TABLE table_name_37 (country VARCHAR, to_par VARCHAR)
SELECT memory FROM table_name_13 WHERE release_date = "january 2010" AND socket = "bga-1288"
What is the memory when release date is January 2010 and socket is BGA-1288?
CREATE TABLE table_name_13 (memory VARCHAR, release_date VARCHAR, socket VARCHAR)
SELECT speed___iops__ FROM table_27615520_1 WHERE storage_medium = "eMLC Flash"
What is the Input/output operations per second for the emlc flash?
CREATE TABLE table_27615520_1 (speed___iops__ VARCHAR, storage_medium VARCHAR)
SELECT date FROM table_28898948_3 WHERE incumbent = "Ihaia Tainui"
When ihaia tainui is the incumbent what is the date?
CREATE TABLE table_28898948_3 (date VARCHAR, incumbent VARCHAR)
SELECT date FROM table_name_71 WHERE competition = "friendly" AND venue = "rheinpark stadion, vaduz"
Name the date that has a friendly competition at rheinpark stadion, vaduz
CREATE TABLE table_name_71 (date VARCHAR, competition VARCHAR, venue VARCHAR)
SELECT score FROM table_name_31 WHERE record = "0-1"
What was the Score of the game with a Record of 0-1?
CREATE TABLE table_name_31 (score VARCHAR, record VARCHAR)
SELECT high_points FROM table_name_85 WHERE location_attendance = "time warner cable arena 12,096"
At Time Warner Cable Arena 12,096, what was the high points?
CREATE TABLE table_name_85 (high_points VARCHAR, location_attendance VARCHAR)
SELECT transmission FROM table_name_29 WHERE production = "2002-2005"
What is the transmission when the production was 2002-2005?
CREATE TABLE table_name_29 (transmission VARCHAR, production VARCHAR)
SELECT partner FROM table_name_45 WHERE surface = "clay" AND outcome = "runner-up" AND score = "1–6, 6–4, [10–12]"
Which Partner with the surface of Clay ended up as a runner-up with a score of 1–6, 6–4, [10–12]?
CREATE TABLE table_name_45 (partner VARCHAR, score VARCHAR, surface VARCHAR, outcome VARCHAR)
SELECT MIN(rank) FROM table_1682026_7 WHERE assets__billion_$_ = "248.44"
What is the lowest rank of a company with 248.44 billions of dollars in assets?
CREATE TABLE table_1682026_7 (rank INTEGER, assets__billion_$_ VARCHAR)
SELECT partner FROM table_29163303_2 WHERE championship = "US Open (2)"
Who was Bob Bryan's partner in the Championship where the result is US Open (2)?
CREATE TABLE table_29163303_2 (partner VARCHAR, championship VARCHAR)