question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the release date by Editions EG in the Netherlands?
CREATE TABLE table_name_46 (release_date INTEGER, music_label VARCHAR, country VARCHAR)
SELECT AVG(release_date) FROM table_name_46 WHERE music_label = "editions eg" AND country = "netherlands"
What is the average year that the medical school in dominican republic was established?
CREATE TABLE table_name_86 (established INTEGER, country_territory VARCHAR)
SELECT AVG(established) FROM table_name_86 WHERE country_territory = "dominican republic"
How many totals does Chile have when the number of silvers is more than 0?
CREATE TABLE table_name_73 (total VARCHAR, nation VARCHAR, silver VARCHAR)
SELECT COUNT(total) FROM table_name_73 WHERE nation = "chile" AND silver > 0
Where the ship is Dahlgren what is the build as?
CREATE TABLE table_name_28 (built_as VARCHAR, ship VARCHAR)
SELECT built_as FROM table_name_28 WHERE ship = "dahlgren"
how many party with district being tennessee 1
CREATE TABLE table_1341865_44 (party VARCHAR, district VARCHAR)
SELECT COUNT(party) FROM table_1341865_44 WHERE district = "Tennessee 1"
Who was the winning team in the 1989 season?
CREATE TABLE table_12028543_3 (winningteam VARCHAR, season VARCHAR)
SELECT winningteam FROM table_12028543_3 WHERE season = "1989"
What channels first aired on 31 December 1990 in the Southern Downs region?
CREATE TABLE table_name_91 (channels___analog___digital__ VARCHAR, first_air_date VARCHAR, region_served VARCHAR)
SELECT channels___analog___digital__ FROM table_name_91 WHERE first_air_date = "31 december 1990" AND region_served = "southern downs"
Which home team has the Brunswick Street Oval venue?
CREATE TABLE table_name_8 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_8 WHERE venue = "brunswick street oval"
WHAT GOAL HAS A TIME OF 39:37?
CREATE TABLE table_name_45 (goal VARCHAR, time VARCHAR)
SELECT goal FROM table_name_45 WHERE time = "39:37"
What is the country seat for the license plate code 5c?
CREATE TABLE table_name_72 (county VARCHAR, license_plate_code VARCHAR)
SELECT county AS seat FROM table_name_72 WHERE license_plate_code = "5c"
What is the 2007 value of the US Open?
CREATE TABLE table_name_16 (tournament VARCHAR)
SELECT 2007 FROM table_name_16 WHERE tournament = "us open"
What was the score of the game when the record was 22–46?
CREATE TABLE table_name_36 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_36 WHERE record = "22–46"
What was the loss of the Mariners game that had an attendance of 9,065?
CREATE TABLE table_name_91 (loss VARCHAR, attendance VARCHAR)
SELECT loss FROM table_name_91 WHERE attendance = "9,065"
When shinya nakano's kawasaki ninja zx-rr is the example what is the graphical?
CREATE TABLE table_22915134_2 (graphical VARCHAR, example VARCHAR)
SELECT graphical FROM table_22915134_2 WHERE example = "Shinya Nakano's Kawasaki Ninja ZX-RR"
What was the result of game 1?
CREATE TABLE table_name_26 (result VARCHAR, game VARCHAR)
SELECT result FROM table_name_26 WHERE game = "game 1"
What is the average total in 1969?
CREATE TABLE table_name_27 (total INTEGER, year_s__won VARCHAR)
SELECT AVG(total) FROM table_name_27 WHERE year_s__won = "1969"
What is Position, when Nationality is "Canada", and when Round is greater than 3?
CREATE TABLE table_name_31 (position VARCHAR, nationality VARCHAR, round VARCHAR)
SELECT position FROM table_name_31 WHERE nationality = "canada" AND round > 3
What was the college for the player with the cfl team of Edmonton Eskimos (via calgary)?
CREATE TABLE table_10812938_3 (college VARCHAR, cfl_team VARCHAR)
SELECT college FROM table_10812938_3 WHERE cfl_team = "Edmonton Eskimos (via Calgary)"
How many events does the tournament with a top-10 of 2 and more than 5 cuts have?
CREATE TABLE table_name_77 (events INTEGER, top_10 VARCHAR, cuts_made VARCHAR)
SELECT SUM(events) FROM table_name_77 WHERE top_10 = 2 AND cuts_made > 5
Which National League is in 1969-70 season?
CREATE TABLE table_name_7 (national_league VARCHAR, season VARCHAR)
SELECT national_league FROM table_name_7 WHERE season = "1969-70"
What is Prize Money, when Matches is less than 73, and when Round is Third Round Proper?
CREATE TABLE table_name_79 (prize_money VARCHAR, matches VARCHAR, round VARCHAR)
SELECT prize_money FROM table_name_79 WHERE matches < 73 AND round = "third round proper"
What was the home teams score at Western Oval?
CREATE TABLE table_name_74 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_74 WHERE venue = "western oval"
Which pick number was there for Jason French?
CREATE TABLE table_name_20 (pick__number VARCHAR, player VARCHAR)
SELECT pick__number FROM table_name_20 WHERE player = "jason french"
Find the kind of program which most number of students are enrolled in?
CREATE TABLE Student_Enrolment (degree_program_id VARCHAR); CREATE TABLE Degree_Programs (degree_summary_name VARCHAR, degree_program_id VARCHAR)
SELECT T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_summary_name ORDER BY COUNT(*) DESC LIMIT 1
Find the number of students in total.
CREATE TABLE STUDENT (Id VARCHAR)
SELECT COUNT(*) FROM STUDENT
What is the Record for a game smaller than 24, Lundqvist was the decision, November less than 8, and opponent Was New York Islanders?
CREATE TABLE table_name_57 (record VARCHAR, opponent VARCHAR, november VARCHAR, game VARCHAR, decision VARCHAR)
SELECT record FROM table_name_57 WHERE game < 24 AND decision = "lundqvist" AND november < 8 AND opponent = "new york islanders"
what is the result when the week is earlier than 9 and attendance is 25,188?
CREATE TABLE table_name_42 (result VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_42 WHERE week < 9 AND attendance = "25,188"
What is the title of the album that has Popup has the original label?
CREATE TABLE table_name_25 (album_title VARCHAR, original_label VARCHAR)
SELECT album_title FROM table_name_25 WHERE original_label = "popup"
What's the singer part number of the buttonholer whose storage case is a green plastic box?
CREATE TABLE table_28652521_1 (singer_part_number VARCHAR, storage_case VARCHAR)
SELECT singer_part_number FROM table_28652521_1 WHERE storage_case = "green plastic box"
What is the average age of the members of the club "Bootup Baltimore"?
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (age INTEGER, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)
SELECT AVG(t3.age) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore"
What is the total number that 0 silver?
CREATE TABLE table_name_14 (total VARCHAR, silver INTEGER)
SELECT COUNT(total) FROM table_name_14 WHERE silver < 0
What is the total combined weight of players from minnetonka, mn?
CREATE TABLE table_name_22 (weight INTEGER, home_town VARCHAR)
SELECT SUM(weight) FROM table_name_22 WHERE home_town = "minnetonka, mn"
On how many different dates did schools from Chestnut Hill, Massachusetts join the conference?
CREATE TABLE table_1973842_1 (joined VARCHAR, location VARCHAR)
SELECT COUNT(joined) FROM table_1973842_1 WHERE location = "Chestnut Hill, Massachusetts"
What was the titles of the episodes written by ken lazebnik?
CREATE TABLE table_11111116_7 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_11111116_7 WHERE written_by = "Ken LaZebnik"
What is the fielding team with 155 runs?
CREATE TABLE table_11303072_5 (fielding_team VARCHAR, runs VARCHAR)
SELECT fielding_team FROM table_11303072_5 WHERE runs = "155"
whare are al of the launche dates where th carrier is orange and the up is 5.76 mbit/s
CREATE TABLE table_19246_2 (launch_date__ddmmyyyy_ VARCHAR, _up_ VARCHAR, carrier VARCHAR)
SELECT launch_date__ddmmyyyy_ FROM table_19246_2 WHERE _up_ = "5.76 Mbit/s" AND carrier = "Orange"
On what date was the score 0-0?
CREATE TABLE table_name_33 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_33 WHERE score = "0-0"
Who used Eurobrun er189b after 1989?
CREATE TABLE table_name_2 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_2 WHERE year > 1989 AND chassis = "eurobrun er189b"
Who was the director that had a film titled "Floating Life"?
CREATE TABLE table_name_5 (director VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT director FROM table_name_5 WHERE film_title_used_in_nomination = "floating life"
How many inhabitants does Sweden have per square kilometer?
CREATE TABLE table_24066938_1 (pop_density_people_km_2 VARCHAR, member_state VARCHAR)
SELECT pop_density_people_km_2 FROM table_24066938_1 WHERE member_state = "Sweden"
What is Date, when City / State is "Mallala , South Australia", and when Team is "R.J.MacArthur Onslow"?
CREATE TABLE table_name_19 (date VARCHAR, city___state VARCHAR, team VARCHAR)
SELECT date FROM table_name_19 WHERE city___state = "mallala , south australia" AND team = "r.j.macarthur onslow"
Who built the ship that is 42.8 m long and was delivered in 2007?
CREATE TABLE table_name_83 (builder VARCHAR, length VARCHAR, delivery VARCHAR)
SELECT builder FROM table_name_83 WHERE length = "42.8 m" AND delivery = 2007
how heavy is the maximum
CREATE TABLE table_13950065_1 (per_lift INTEGER)
SELECT MAX(per_lift) FROM table_13950065_1
When the duration was 11 min, 34 sec, what was the feathered (Fxx)?
CREATE TABLE table_name_37 (feathered__fxx_ VARCHAR, duration VARCHAR)
SELECT feathered__fxx_ FROM table_name_37 WHERE duration = "11 min, 34 sec"
In what place did Phil Mickelson finish with a total of 282?
CREATE TABLE table_name_96 (finish VARCHAR, total VARCHAR, player VARCHAR)
SELECT finish FROM table_name_96 WHERE total = 282 AND player = "phil mickelson"
What is the highest loss with a long more than 61?
CREATE TABLE table_name_1 (loss INTEGER, long INTEGER)
SELECT MAX(loss) FROM table_name_1 WHERE long > 61
What is the lowest attendance of a game that has the result of 2-0?
CREATE TABLE table_name_59 (attendance INTEGER, result VARCHAR)
SELECT MIN(attendance) FROM table_name_59 WHERE result = "2-0"
What is High Assists, when Date is "March 10"?
CREATE TABLE table_name_93 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_name_93 WHERE date = "march 10"
Tell me the affiliation for diego walsh
CREATE TABLE table_name_87 (affiliation VARCHAR, player VARCHAR)
SELECT affiliation FROM table_name_87 WHERE player = "diego walsh"
For R. Magjistari scores over 12, what is the highest number of points?
CREATE TABLE table_name_33 (points INTEGER, r_magjistari INTEGER)
SELECT MAX(points) FROM table_name_33 WHERE r_magjistari > 12
What is the maximum fastest lap speed in race named 'Monaco Grand Prix' in 2008 ?
CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (raceid VARCHAR, year VARCHAR, name VARCHAR)
SELECT MAX(T2.fastestlapspeed) FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year = 2008 AND T1.name = "Monaco Grand Prix"
What is the lowest value for SP+FS for Miljan Begovic with a greater than 189 place?
CREATE TABLE table_name_64 (fs VARCHAR, sp INTEGER, name VARCHAR, placings VARCHAR)
SELECT MIN(sp) + fs FROM table_name_64 WHERE name = "miljan begovic" AND placings > 189
When was varvara lepchenko the opponent?
CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_7 WHERE opponent = "varvara lepchenko"
Name the guest 2 for colin murray 6 april
CREATE TABLE table_20466963_13 (guest_2 VARCHAR, presenter VARCHAR, date VARCHAR)
SELECT COUNT(guest_2) FROM table_20466963_13 WHERE presenter = "Colin Murray" AND date = "6 April"
How many episodes did Matthew Penn direct before season 22?
CREATE TABLE table_name_20 (series__number VARCHAR, season__number VARCHAR, directed_by VARCHAR)
SELECT COUNT(series__number) FROM table_name_20 WHERE season__number < 22 AND directed_by = "matthew penn"
Which tournament had a 2009 result of 1R?
CREATE TABLE table_name_77 (tournament VARCHAR)
SELECT tournament FROM table_name_77 WHERE 2009 = "1r"
Which GPU has the cushaw application?
CREATE TABLE table_name_31 (gpu‡ VARCHAR, application VARCHAR)
SELECT gpu‡ FROM table_name_31 WHERE application = "cushaw"
Which attendance number was taken on november 21, 2004?
CREATE TABLE table_name_54 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_54 WHERE date = "november 21, 2004"
Which event was in round 1, resulted in a win, and a record of 15-4?
CREATE TABLE table_name_70 (event VARCHAR, record VARCHAR, round VARCHAR, res VARCHAR)
SELECT event FROM table_name_70 WHERE round = 1 AND res = "win" AND record = "15-4"
What is the overall number of the player from Utah with a pick # higher than 7?
CREATE TABLE table_name_54 (overall INTEGER, college VARCHAR, pick__number VARCHAR)
SELECT SUM(overall) FROM table_name_54 WHERE college = "utah" AND pick__number < 7
Which Team classification has a General classification of Vladimir Karpets and a Mountains classification of No Award?
CREATE TABLE table_name_88 (team_classification VARCHAR, general_classification VARCHAR, mountains_classification VARCHAR)
SELECT team_classification FROM table_name_88 WHERE general_classification = "vladimir karpets" AND mountains_classification = "no award"
Who's the Republican ticket with a Communist ticket of elizabeth gurley flynn?
CREATE TABLE table_name_32 (republican_ticket VARCHAR, communist_ticket VARCHAR)
SELECT republican_ticket FROM table_name_32 WHERE communist_ticket = "elizabeth gurley flynn"
What is the date of vacancy of team fc bayern munich, which had a date of appointment on 27 April 2009?
CREATE TABLE table_name_24 (date_of_vacancy VARCHAR, team VARCHAR, date_of_appointment VARCHAR)
SELECT date_of_vacancy FROM table_name_24 WHERE team = "fc bayern munich" AND date_of_appointment = "27 april 2009"
What is the value in 1997 when the value in 1989 is A, 1995 is QF, 1996 is 3R and the career SR is 0 / 8?
CREATE TABLE table_name_63 (career_sr VARCHAR)
SELECT 1997 FROM table_name_63 WHERE 1989 = "a" AND 1995 = "qf" AND 1996 = "3r" AND career_sr = "0 / 8"
How many nations do the FMS international team represent?
CREATE TABLE table_19312274_3 (nation VARCHAR, name VARCHAR)
SELECT COUNT(nation) FROM table_19312274_3 WHERE name = "FMS International"
Which Leader has Spoilt Votes as % of Seats?
CREATE TABLE table_name_26 (leader VARCHAR, _percentage_of_seats VARCHAR)
SELECT leader FROM table_name_26 WHERE _percentage_of_seats = "spoilt votes"
Which number was Patrick O'Bryant?
CREATE TABLE table_10015132_14 (no VARCHAR, player VARCHAR)
SELECT no FROM table_10015132_14 WHERE player = "Patrick O'Bryant"
What competition has the club villareal?
CREATE TABLE table_name_89 (competition VARCHAR, club VARCHAR)
SELECT competition FROM table_name_89 WHERE club = "villareal"
What is the area in acres (ha) for the park bald eagle state park?
CREATE TABLE table_name_20 (area_in_acres__ha_ VARCHAR, park_name VARCHAR)
SELECT area_in_acres__ha_ FROM table_name_20 WHERE park_name = "bald eagle state park"
How many location attendance was recorded for December 5?
CREATE TABLE table_17326036_6 (location_attendance VARCHAR, date VARCHAR)
SELECT COUNT(location_attendance) FROM table_17326036_6 WHERE date = "December 5"
Who is the opponent when the attendance is 57,331?
CREATE TABLE table_name_41 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_41 WHERE attendance = "57,331"
Which Prominence (m) has a Col (m) of 350?
CREATE TABLE table_name_21 (prominence__m_ INTEGER, col__m_ VARCHAR)
SELECT AVG(prominence__m_) FROM table_name_21 WHERE col__m_ = 350
Which Played has a Position of 3, and a Points smaller than 15?
CREATE TABLE table_name_85 (played VARCHAR, position VARCHAR, points VARCHAR)
SELECT COUNT(played) FROM table_name_85 WHERE position = 3 AND points < 15
Which mountain range contains Sierra Blanca Peak?
CREATE TABLE table_name_68 (mountain_range VARCHAR, mountain_peak VARCHAR)
SELECT mountain_range FROM table_name_68 WHERE mountain_peak = "sierra blanca peak"
Find the average elevation of all airports for each country.
CREATE TABLE airports (country VARCHAR, elevation INTEGER)
SELECT AVG(elevation), country FROM airports GROUP BY country
What year did the Nashville Metros have the Regular Season 2nd, central?
CREATE TABLE table_name_74 (year VARCHAR, regular_season VARCHAR)
SELECT year FROM table_name_74 WHERE regular_season = "2nd, central"
Which river had 26 points?
CREATE TABLE table_name_72 (driver VARCHAR, points VARCHAR)
SELECT driver FROM table_name_72 WHERE points = 26
How many games were played against when the team played more than 22 total?
CREATE TABLE table_name_97 (against INTEGER, played INTEGER)
SELECT SUM(against) FROM table_name_97 WHERE played > 22
What date did the episode that had 1.023 million u.s. viewers originally air?
CREATE TABLE table_24223834_3 (original_air_date VARCHAR, us_viewers__in_millions_ VARCHAR)
SELECT original_air_date FROM table_24223834_3 WHERE us_viewers__in_millions_ = "1.023"
What score has amblecote as the venue?
CREATE TABLE table_name_97 (score VARCHAR, venue VARCHAR)
SELECT score FROM table_name_97 WHERE venue = "amblecote"
What was the box score for the game that had the Townsville Crocodiles as home team?
CREATE TABLE table_name_95 (Box VARCHAR, home_team VARCHAR)
SELECT Box AS score FROM table_name_95 WHERE home_team = "townsville crocodiles"
Name the year with the best female pop vocal album and result of won
CREATE TABLE table_name_43 (year VARCHAR, category VARCHAR, result VARCHAR)
SELECT year FROM table_name_43 WHERE category = "best female pop vocal album" AND result = "won"
what is the method when the result is loss on january 19, 2008?
CREATE TABLE table_name_30 (method VARCHAR, result VARCHAR, date VARCHAR)
SELECT method FROM table_name_30 WHERE result = "loss" AND date = "january 19, 2008"
With the Winter Olympics was 1960, what was the country?
CREATE TABLE table_name_53 (country VARCHAR, winter_olympics VARCHAR)
SELECT country FROM table_name_53 WHERE winter_olympics = "1960"
How many middlesex principals were there in 2000-2001?
CREATE TABLE table_25037577_1 (middlesex_principal VARCHAR, year VARCHAR)
SELECT COUNT(middlesex_principal) FROM table_25037577_1 WHERE year = "2000-2001"
What is the Gross Revenue (1979) of the Venue, lyceum theatre?
CREATE TABLE table_name_83 (gross_revenue__1979_ VARCHAR, venue VARCHAR)
SELECT gross_revenue__1979_ FROM table_name_83 WHERE venue = "lyceum theatre"
Name the most number in season
CREATE TABLE table_26168687_5 (no_in_season INTEGER)
SELECT MIN(no_in_season) FROM table_26168687_5
What is Team, when Replaced By is "Omar Arellano"?
CREATE TABLE table_name_5 (team VARCHAR, replaced_by VARCHAR)
SELECT team FROM table_name_5 WHERE replaced_by = "omar arellano"
Who is the coach of the 2010 Gold Coast Titans season?
CREATE TABLE table_name_8 (coach VARCHAR, details VARCHAR)
SELECT coach FROM table_name_8 WHERE details = "2010 gold coast titans season"
What is the lowest rank for a nation with 29 total medals, over 5 silvers, and under 16 bronze?
CREATE TABLE table_name_71 (rank INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)
SELECT MIN(rank) FROM table_name_71 WHERE silver > 5 AND total = 29 AND bronze < 16
What is the pick of Charley Taylor, who has an overall greater than 3?
CREATE TABLE table_name_58 (pick INTEGER, name VARCHAR, overall VARCHAR)
SELECT SUM(pick) FROM table_name_58 WHERE name = "charley taylor" AND overall > 3
On what date was a friendly match held at Auckland?
CREATE TABLE table_name_32 (date VARCHAR, competition VARCHAR, venue VARCHAR)
SELECT date FROM table_name_32 WHERE competition = "friendly match" AND venue = "auckland"
What is the average wins with a 20th position and more than 0 f/laps?
CREATE TABLE table_name_31 (wins INTEGER, position VARCHAR, f_laps VARCHAR)
SELECT AVG(wins) FROM table_name_31 WHERE position = "20th" AND f_laps > 0
WHAT CANDIDATE HAD A MARGIN OF ERROR OF ± 4.5%, WHEN PAT TOOMEY WAS 45% AND JOE SESTAK WAS 38%?
CREATE TABLE table_name_84 (other VARCHAR, joe_sestak__d_ VARCHAR, margin_of_error VARCHAR, pat_toomey__r_ VARCHAR)
SELECT other FROM table_name_84 WHERE margin_of_error = "± 4.5%" AND pat_toomey__r_ = "45%" AND joe_sestak__d_ = "38%"
What was the production code of the episode directed by Rondell Sheridan?
CREATE TABLE table_29102100_1 (prod_code INTEGER, directed_by VARCHAR)
SELECT MAX(prod_code) FROM table_29102100_1 WHERE directed_by = "Rondell Sheridan"
WHat kind of 2009 season has a City of panama city, and a Group of group b?
CREATE TABLE table_name_21 (city VARCHAR, group VARCHAR)
SELECT 2009 AS _season FROM table_name_21 WHERE city = "panama city" AND group = "group b"
If the WS points is 947, what is the 08-09 gp/jgp 2nd ?
CREATE TABLE table_24990183_7 (ws_points VARCHAR)
SELECT 08 AS _09_gp_jgp_2nd FROM table_24990183_7 WHERE ws_points = 947
What is the Name for 1997–99?
CREATE TABLE table_name_76 (name VARCHAR, year VARCHAR)
SELECT name FROM table_name_76 WHERE year = "1997–99"
What is the 2012 club for the Billy Miller Category:Articles with hcards (Name)?
CREATE TABLE table_name_55 (name VARCHAR)
SELECT 2012 AS _club FROM table_name_55 WHERE name = "billy miller category:articles with hcards"
What percentage of browsers were using Chrome during the period in which 0.30% were using Opera and 6.77% were using Safari?
CREATE TABLE table_name_22 (chrome VARCHAR, opera VARCHAR, safari VARCHAR)
SELECT chrome FROM table_name_22 WHERE opera = "0.30%" AND safari = "6.77%"