question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What's the Dolphin Points when the attendance was less than 69,313 and had an opponent of the Buffalo Bills?
CREATE TABLE table_name_88 (dolphins_points INTEGER, opponent VARCHAR, attendance VARCHAR)
SELECT AVG(dolphins_points) FROM table_name_88 WHERE opponent = "buffalo bills" AND attendance < 69 OFFSET 313
Which planet has the transcription of wan suk?
CREATE TABLE table_180802_3 (planet VARCHAR, transcription VARCHAR)
SELECT planet FROM table_180802_3 WHERE transcription = "wan suk"
What score has hull city as the away team?
CREATE TABLE table_name_9 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_9 WHERE away_team = "hull city"
Record of 3–3 has what result?
CREATE TABLE table_name_83 (result VARCHAR, record VARCHAR)
SELECT result FROM table_name_83 WHERE record = "3–3"
Name the bulgarian for jullie hadden gehoord
CREATE TABLE table_1841901_1 (bulgarian VARCHAR, dutch VARCHAR)
SELECT bulgarian FROM table_1841901_1 WHERE dutch = "jullie hadden gehoord"
What was the score of tie number 15?
CREATE TABLE table_name_6 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_6 WHERE tie_no = "15"
Show all cities without a branch having more than 100 memberships.
CREATE TABLE branch (city VARCHAR, membership_amount INTEGER)
SELECT city FROM branch EXCEPT SELECT city FROM branch WHERE membership_amount > 100
In what county is the Canyon Padre Bridge?
CREATE TABLE table_name_33 (county VARCHAR, name VARCHAR)
SELECT county FROM table_name_33 WHERE name = "canyon padre bridge"
How many millions of U.S. viewers watched the episode with the production code of 3AJN01?
CREATE TABLE table_23242958_1 (us_viewers__millions_ VARCHAR, production_code VARCHAR)
SELECT us_viewers__millions_ FROM table_23242958_1 WHERE production_code = "3AJN01"
What was the earliest date an institution was founded that joined in 1977?
CREATE TABLE table_261913_1 (founded INTEGER, joined VARCHAR)
SELECT MIN(founded) FROM table_261913_1 WHERE joined = "1977"
What is the long value for the year with an average/game of 160.9?
CREATE TABLE table_name_17 (long VARCHAR, avg_g VARCHAR)
SELECT long FROM table_name_17 WHERE avg_g = "160.9"
How many were in Attendance on October 8?
CREATE TABLE table_name_65 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_65 WHERE date = "october 8"
In what Region is the Native American museum in Anchorage?
CREATE TABLE table_name_8 (region VARCHAR, type VARCHAR, town_city VARCHAR)
SELECT region FROM table_name_8 WHERE type = "native american" AND town_city = "anchorage"
What is the average first elected for the district South Carolina 2?
CREATE TABLE table_name_75 (first_elected INTEGER, district VARCHAR)
SELECT AVG(first_elected) FROM table_name_75 WHERE district = "south carolina 2"
What To par has a Place of t10, and a Score of 67-73=140?
CREATE TABLE table_name_74 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_74 WHERE place = "t10" AND score = 67 - 73 = 140
Where were the New York Jets visiting?
CREATE TABLE table_name_65 (stadium VARCHAR, visiting_team VARCHAR)
SELECT stadium FROM table_name_65 WHERE visiting_team = "new york jets"
Where was the epicenter of the quake on December 1, 2012?
CREATE TABLE table_name_54 (epicenter VARCHAR, date VARCHAR)
SELECT epicenter FROM table_name_54 WHERE date = "december 1, 2012"
What is Permanent Account, when Updated In Past 30 Days is 10324?
CREATE TABLE table_name_96 (permanent_account VARCHAR, updated_in_past_30_days VARCHAR)
SELECT permanent_account FROM table_name_96 WHERE updated_in_past_30_days = "10324"
What is the Remark of Airline of Dutch Antilles Express?
CREATE TABLE table_name_79 (remarks VARCHAR, airline VARCHAR)
SELECT remarks FROM table_name_79 WHERE airline = "dutch antilles express"
what is the region when the reported age is 111 years, 107 days?
CREATE TABLE table_name_50 (region VARCHAR, reported_age VARCHAR)
SELECT region FROM table_name_50 WHERE reported_age = "111 years, 107 days"
What is other when registered voters is 50.7%?
CREATE TABLE table_27003186_3 (other VARCHAR, registered_voters VARCHAR)
SELECT other FROM table_27003186_3 WHERE registered_voters = "50.7%"
What was the longest carry for kevin clemens with under 31 yards total?
CREATE TABLE table_name_72 (long INTEGER, player VARCHAR, yards VARCHAR)
SELECT MAX(long) FROM table_name_72 WHERE player = "kevin clemens" AND yards < 31
Name the least number of seasons in top division with position in 2012-13 of 001 1st
CREATE TABLE table_name_46 (number_of_seasons_in_top_division INTEGER, position_in_2012_13 VARCHAR)
SELECT MIN(number_of_seasons_in_top_division) FROM table_name_46 WHERE position_in_2012_13 = "001 1st"
What model type has model designation 97500?
CREATE TABLE table_20866024_2 (model_type VARCHAR, model_designation VARCHAR)
SELECT model_type FROM table_20866024_2 WHERE model_designation = "97500"
What was round 7's lowest overall?
CREATE TABLE table_name_72 (overall INTEGER, round VARCHAR)
SELECT MIN(overall) FROM table_name_72 WHERE round = 7
What is the surface of the match with Brian Gottfried as the runner-up?
CREATE TABLE table_name_47 (surface VARCHAR, runner_up VARCHAR)
SELECT surface FROM table_name_47 WHERE runner_up = "brian gottfried"
What venue features hawthorn as the away team?
CREATE TABLE table_name_64 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_64 WHERE away_team = "hawthorn"
What film did Pen-Ek Ratanaruang direct?
CREATE TABLE table_name_62 (title VARCHAR, director VARCHAR)
SELECT title FROM table_name_62 WHERE director = "pen-ek ratanaruang"
What is the original air date when the director is Rowan Woods and the writer is Peter Duncan?
CREATE TABLE table_29494395_3 (originalair_date VARCHAR, director VARCHAR, writer VARCHAR)
SELECT originalair_date FROM table_29494395_3 WHERE director = "Rowan Woods" AND writer = "Peter Duncan"
Name the first elected for the republican party
CREATE TABLE table_1341865_23 (first_elected VARCHAR, party VARCHAR)
SELECT first_elected FROM table_1341865_23 WHERE party = "Republican"
When is Cadott Rock Fest taken place?
CREATE TABLE table_name_65 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_65 WHERE venue = "cadott rock fest"
What is the developer when the 1.2 is 341s0297 thru 300?
CREATE TABLE table_name_70 (kinka_developer VARCHAR, kinka_12 VARCHAR)
SELECT kinka_developer FROM table_name_70 WHERE kinka_12 = "341s0297 thru 300"
What was date when the time was 2:26 and the location was Riverfront Stadium?
CREATE TABLE table_name_62 (date VARCHAR, time VARCHAR, location VARCHAR)
SELECT date FROM table_name_62 WHERE time = "2:26" AND location = "riverfront stadium"
How many viewers were there on 1august1964?
CREATE TABLE table_1723080_1 (viewers__in_millions_ VARCHAR, broadcast_date VARCHAR)
SELECT viewers__in_millions_ FROM table_1723080_1 WHERE broadcast_date = "1August1964"
What was the record after the game on May 1, 2004?
CREATE TABLE table_name_62 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_62 WHERE date = "may 1, 2004"
What is the Score of the T3 Place Player?
CREATE TABLE table_name_33 (score VARCHAR, place VARCHAR)
SELECT score FROM table_name_33 WHERE place = "t3"
How many candidates were elected first in 1980?
CREATE TABLE table_1341453_20 (candidates VARCHAR, first_elected VARCHAR)
SELECT COUNT(candidates) FROM table_1341453_20 WHERE first_elected = 1980
Which constructor makes the ej15 ej15b chassis?
CREATE TABLE table_name_98 (constructor VARCHAR, chassis VARCHAR)
SELECT constructor FROM table_name_98 WHERE chassis = "ej15 ej15b"
What semi-finalists has 2 (1993, 2003) as the fourth-place?
CREATE TABLE table_name_1 (semi_finalists VARCHAR, fourth_place VARCHAR)
SELECT semi_finalists FROM table_name_1 WHERE fourth_place = "2 (1993, 2003)"
What is the since year for the player with more than 3 goals and a transfer fee of £400k?
CREATE TABLE table_name_24 (since VARCHAR, goals VARCHAR, transfer_fee VARCHAR)
SELECT since FROM table_name_24 WHERE goals > 3 AND transfer_fee = "£400k"
What is the total number of Draws, when Against is "1134", and when Byes is less than 2?
CREATE TABLE table_name_21 (draws VARCHAR, against VARCHAR, byes VARCHAR)
SELECT COUNT(draws) FROM table_name_21 WHERE against = 1134 AND byes < 2
How many casualties were in the earthquake with an unknown intensity and an epicenter in the bouïra province?
CREATE TABLE table_name_3 (casualties VARCHAR, intensity VARCHAR, epicenter VARCHAR)
SELECT casualties FROM table_name_3 WHERE intensity = "unknown" AND epicenter = "bouïra province"
What was the lowest total of medals won by Croatia?
CREATE TABLE table_name_12 (total INTEGER, nation VARCHAR)
SELECT MIN(total) FROM table_name_12 WHERE nation = "croatia"
What is the location/attendance with a 26-11 record?
CREATE TABLE table_name_95 (location_attendance VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_name_95 WHERE record = "26-11"
Which Country is the show aired on Fox?
CREATE TABLE table_14523485_9 (country VARCHAR, channel VARCHAR)
SELECT country FROM table_14523485_9 WHERE channel = "Fox"
Which opponent has 36102 is the attendance?
CREATE TABLE table_23466021_4 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_23466021_4 WHERE attendance = 36102
Where did North Melbourne play as the away team?
CREATE TABLE table_name_56 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_56 WHERE away_team = "north melbourne"
Name the 2013 club which has a Name of ana grbac category:articles with hcards?
CREATE TABLE table_name_62 (name VARCHAR)
SELECT 2013 AS _club FROM table_name_62 WHERE name = "ana grbac category:articles with hcards"
How many colleges has more than 15000 students?
CREATE TABLE College (enr INTEGER)
SELECT COUNT(*) FROM College WHERE enr > 15000
Which 2008-12 has a 2013 of A, and a Tournament of wimbledon?
CREATE TABLE table_name_77 (tournament VARCHAR)
SELECT 2008 AS _12 FROM table_name_77 WHERE 2013 = "a" AND tournament = "wimbledon"
When 2005 is the date/year how many measurements of attendance are there?
CREATE TABLE table_21436373_7 (attendance VARCHAR, date_year VARCHAR)
SELECT COUNT(attendance) FROM table_21436373_7 WHERE date_year = "2005"
Which Venue has a Home team of essendon?
CREATE TABLE table_name_47 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_47 WHERE home_team = "essendon"
What is the name of the venue that they away team Collingwood played at?
CREATE TABLE table_name_95 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_95 WHERE away_team = "collingwood"
What is the Score for the Date of April 23?
CREATE TABLE table_name_69 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_69 WHERE date = "april 23"
Which Played has a Scored larger than 25 and a Position of 1, and Draws smaller than 5?
CREATE TABLE table_name_85 (played INTEGER, draws VARCHAR, scored VARCHAR, position VARCHAR)
SELECT MAX(played) FROM table_name_85 WHERE scored > 25 AND position = 1 AND draws < 5
Tell me the average gross tonnage for april 1919 entered service
CREATE TABLE table_name_57 (gross_tonnage INTEGER, entered_service VARCHAR)
SELECT AVG(gross_tonnage) FROM table_name_57 WHERE entered_service = "april 1919"
What is the game average that has a rank larger than 2 with team Olympiacos and points larger than 113?
CREATE TABLE table_name_76 (games INTEGER, points VARCHAR, rank VARCHAR, team VARCHAR)
SELECT AVG(games) FROM table_name_76 WHERE rank > 2 AND team = "olympiacos" AND points > 113
What is the highest number of points against the boston bruins on game 77?
CREATE TABLE table_name_1 (points INTEGER, opponent VARCHAR, game VARCHAR)
SELECT MAX(points) FROM table_name_1 WHERE opponent = "boston bruins" AND game = 77
What is the result of round 4?
CREATE TABLE table_name_39 (result VARCHAR, round VARCHAR)
SELECT result FROM table_name_39 WHERE round = 4
Where did Bob Murphy of the United States place?
CREATE TABLE table_name_74 (place VARCHAR, country VARCHAR, player VARCHAR)
SELECT place FROM table_name_74 WHERE country = "united states" AND player = "bob murphy"
How many directors were there for the film with the original title of The Moises Padilla Story?
CREATE TABLE table_17919342_1 (director VARCHAR, original_title VARCHAR)
SELECT COUNT(director) FROM table_17919342_1 WHERE original_title = "The Moises Padilla Story"
What loss has 10-16 as the record?
CREATE TABLE table_name_83 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_83 WHERE record = "10-16"
When was there a result of w 65-20 after week 6?
CREATE TABLE table_name_43 (date VARCHAR, week VARCHAR, result VARCHAR)
SELECT date FROM table_name_43 WHERE week > 6 AND result = "w 65-20"
What is the total attendance on April 25?
CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_28 WHERE date = "april 25"
What college is getting a player that attends Wichita Heights High School?
CREATE TABLE table_name_32 (college VARCHAR, school VARCHAR)
SELECT college FROM table_name_32 WHERE school = "wichita heights high school"
What is Lisladeen poor law union?
CREATE TABLE table_30120566_1 (poor_law_union VARCHAR, townland VARCHAR)
SELECT poor_law_union FROM table_30120566_1 WHERE townland = "Lisladeen"
Who is the Ice level reporter after 1992 with the color commentator John Davidson and the play-by-play Marv Albert?
CREATE TABLE table_name_58 (ice_level_reporters VARCHAR, year VARCHAR, color_commentator_s_ VARCHAR, play_by_play VARCHAR)
SELECT ice_level_reporters FROM table_name_58 WHERE color_commentator_s_ = "john davidson" AND play_by_play = "marv albert" AND year > 1992
What is the number of wins when the number of third was 1, points were less than 572 and had less than 16 races?
CREATE TABLE table_name_92 (wins VARCHAR, races VARCHAR, third VARCHAR, points VARCHAR)
SELECT wins FROM table_name_92 WHERE third = "1" AND points < 572 AND races < 16
What is the transfer fee for the country of Nir?
CREATE TABLE table_name_53 (transfer_fee VARCHAR, country VARCHAR)
SELECT transfer_fee FROM table_name_53 WHERE country = "nir"
What is the average Start term with a 1912 end term?
CREATE TABLE table_name_58 (start_term INTEGER, end_term VARCHAR)
SELECT AVG(start_term) FROM table_name_58 WHERE end_term = 1912
How many KEI catagories are listed when the economic incentive regime is 2.56?
CREATE TABLE table_23050383_1 (kei VARCHAR, economic_incentive_regime VARCHAR)
SELECT COUNT(kei) FROM table_23050383_1 WHERE economic_incentive_regime = "2.56"
Which rider had more than 23 laps, a manufacturer of Aprilia, and a grid of 14
CREATE TABLE table_name_95 (rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR)
SELECT rider FROM table_name_95 WHERE laps > 23 AND manufacturer = "aprilia" AND grid = 14
what is the country when the bie recognised is no and years(s) is 2014?
CREATE TABLE table_name_83 (country VARCHAR, bie_recognised VARCHAR, year_s_ VARCHAR)
SELECT country FROM table_name_83 WHERE bie_recognised = "no" AND year_s_ = "2014"
What is the lowest Title Playoff, when Total is less than 3, and when League is greater than "2"?
CREATE TABLE table_name_93 (title_playoff INTEGER, total VARCHAR, league VARCHAR)
SELECT MIN(title_playoff) FROM table_name_93 WHERE total < 3 AND league > 2
Did the Falcons have a win or loss in the game when their record was 3-7?
CREATE TABLE table_16710742_3 (result VARCHAR, record VARCHAR)
SELECT result FROM table_16710742_3 WHERE record = "3-7"
Which school's round was 24?
CREATE TABLE table_name_41 (school VARCHAR, round VARCHAR)
SELECT school FROM table_name_41 WHERE round = "24"
Where did jamie cox & daniel marsh play against queensland?
CREATE TABLE table_name_71 (venue VARCHAR, opponent VARCHAR, batsmen VARCHAR)
SELECT venue FROM table_name_71 WHERE opponent = "queensland" AND batsmen = "jamie cox & daniel marsh"
What is the Laid down for the Hyperion ship?
CREATE TABLE table_name_55 (laid_down VARCHAR, ship VARCHAR)
SELECT laid_down FROM table_name_55 WHERE ship = "hyperion"
What is the season number of the episode written by Matt Witten , Richard Sweren?
CREATE TABLE table_2618152_1 (no_in_season VARCHAR, written_by VARCHAR)
SELECT no_in_season FROM table_2618152_1 WHERE written_by = "Matt Witten , Richard Sweren"
How many episodes had their first air date on March 6, 2008?
CREATE TABLE table_11220799_2 (episode_titles VARCHAR, first_air_date VARCHAR)
SELECT COUNT(episode_titles) FROM table_11220799_2 WHERE first_air_date = "March 6, 2008"
What is shown on Tuesday when Monday is showing Fox Sports Primetime?
CREATE TABLE table_name_77 (tuesday VARCHAR, monday VARCHAR)
SELECT tuesday FROM table_name_77 WHERE monday = "fox sports primetime"
How many drivers on the williams team had a margin of defeat of 2?
CREATE TABLE table_10753917_1 (driver VARCHAR, team VARCHAR, margin_of_defeat VARCHAR)
SELECT COUNT(driver) FROM table_10753917_1 WHERE team = "Williams" AND margin_of_defeat = "2"
What score has 15.0% as the 2012?
CREATE TABLE table_name_87 (score VARCHAR)
SELECT score FROM table_name_87 WHERE 2012 = "15.0%"
What year was the winners vote 55.99%?
CREATE TABLE table_18106841_1 (year INTEGER, winners__percentage_votes VARCHAR)
SELECT MIN(year) FROM table_18106841_1 WHERE winners__percentage_votes = "55.99%"
What is the highest S number with a capital of Shekhsar?
CREATE TABLE table_name_5 (sno INTEGER, capital VARCHAR)
SELECT MAX(sno) FROM table_name_5 WHERE capital = "shekhsar"
For which tournaments was the score 135 (-7)?
CREATE TABLE table_11622829_1 (tournament VARCHAR, score VARCHAR)
SELECT tournament FROM table_11622829_1 WHERE score = "135 (-7)"
What is the lowest Place, when Televotes is 15424?
CREATE TABLE table_name_50 (place INTEGER, televotes VARCHAR)
SELECT MIN(place) FROM table_name_50 WHERE televotes = 15424
For the athletic nickname of golden knights how many entries are shown for enrollment?
CREATE TABLE table_22171978_1 (enrollment VARCHAR, athletic_nickname VARCHAR)
SELECT COUNT(enrollment) FROM table_22171978_1 WHERE athletic_nickname = "Golden Knights"
What is the total amount of freight produced of u28c?
CREATE TABLE table_name_49 (total_produced VARCHAR, service VARCHAR, builder’s_model VARCHAR)
SELECT total_produced FROM table_name_49 WHERE service = "freight" AND builder’s_model = "u28c"
What is the date for the game with an opponent of the Houston Oilers from before week 3?
CREATE TABLE table_name_11 (date VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_11 WHERE week < 3 AND opponent = "houston oilers"
What is the average Rank for a lane smaller than 3 with a nationality of Australia?
CREATE TABLE table_name_55 (rank INTEGER, lane VARCHAR, nationality VARCHAR)
SELECT AVG(rank) FROM table_name_55 WHERE lane < 3 AND nationality = "australia"
What is the Launched which is on 3 may 2001?
CREATE TABLE table_name_31 (launched VARCHAR, date_of_commission VARCHAR)
SELECT launched FROM table_name_31 WHERE date_of_commission = "3 may 2001"
Who was the winner when the third place was fernando meligeni?
CREATE TABLE table_name_11 (winner VARCHAR, third_place VARCHAR)
SELECT winner FROM table_name_11 WHERE third_place = "fernando meligeni"
What was the margin of victory at the LPGA Championship?
CREATE TABLE table_name_65 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT margin_of_victory FROM table_name_65 WHERE tournament = "lpga championship"
What is the date when streak was won 8?
CREATE TABLE table_name_50 (date VARCHAR, streak VARCHAR)
SELECT date FROM table_name_50 WHERE streak = "won 8"
Which Result has a Score of 2 – 0, and a Competition of 2006 fifa world cup qualification?
CREATE TABLE table_name_74 (result VARCHAR, score VARCHAR, competition VARCHAR)
SELECT result FROM table_name_74 WHERE score = "2 – 0" AND competition = "2006 fifa world cup qualification"
What is the Gold for the Nation in Rank 4 with less than 1 Silver?
CREATE TABLE table_name_37 (gold INTEGER, rank VARCHAR, silver VARCHAR)
SELECT MIN(gold) FROM table_name_37 WHERE rank = 4 AND silver < 1
What is the smallest possible radius?
CREATE TABLE table_10432351_1 (radius__r___ INTEGER)
SELECT MIN(radius__r___) FROM table_10432351_1
Who was home at Princes Park?
CREATE TABLE table_name_55 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_55 WHERE venue = "princes park"
How many games had Robin Lopez (10) for the most rebounds?
CREATE TABLE table_27733258_2 (game VARCHAR, high_rebounds VARCHAR)
SELECT COUNT(game) FROM table_27733258_2 WHERE high_rebounds = "Robin Lopez (10)"