question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which Opponent has a Game site of heinz field, and a Record of 3–1?
CREATE TABLE table_name_7 (opponent VARCHAR, game_site VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_7 WHERE game_site = "heinz field" AND record = "3–1"
Name the languages for estonia
CREATE TABLE table_21133193_1 (languages VARCHAR, member_countries VARCHAR)
SELECT languages FROM table_21133193_1 WHERE member_countries = "Estonia"
what is the college/junior/club team (league) when the round is higher than 1, the nationality is canada and the position is (d)?
CREATE TABLE table_name_27 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR, nationality VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_27 WHERE round > 1 AND nationality = "canada" AND position = "(d)"
What is the height of the home with stories greater than 22 and built in 2009?
CREATE TABLE table_name_34 (height VARCHAR, stories VARCHAR, built VARCHAR)
SELECT height FROM table_name_34 WHERE stories > 22 AND built = "2009"
Which city of license has an independent network affiliation, a variety format and is station KKUP?
CREATE TABLE table_name_9 (city_of_license VARCHAR, station VARCHAR, network_affiliation VARCHAR, format VARCHAR)
SELECT city_of_license FROM table_name_9 WHERE network_affiliation = "independent" AND format = "variety" AND station = "kkup"
Who were the semifinalists when the runner-up was Pat Du Pré?
CREATE TABLE table_29302781_12 (semifinalists VARCHAR, runner_up VARCHAR)
SELECT semifinalists FROM table_29302781_12 WHERE runner_up = "Pat Du Pré"
What was the time when Shinya Aoki was the opponent?
CREATE TABLE table_name_57 (time VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_57 WHERE opponent = "shinya aoki"
Which date has a Goal of deacon 4/4, withers 1 dg?
CREATE TABLE table_name_32 (date VARCHAR, goals VARCHAR)
SELECT date FROM table_name_32 WHERE goals = "deacon 4/4, withers 1 dg"
How many played has an against greater than 57 and a lost bigger than 14?
CREATE TABLE table_name_83 (played VARCHAR, against VARCHAR, lost VARCHAR)
SELECT COUNT(played) FROM table_name_83 WHERE against > 57 AND lost > 14
What was the result and score of the game on February 22?
CREATE TABLE table_name_5 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_5 WHERE date = "february 22"
What is the title of the episode with production code 3x5405?
CREATE TABLE table_24938621_2 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_24938621_2 WHERE production_code = "3X5405"
For the episode(s) aired in the U.S. on 4 april 2008, what were the names?
CREATE TABLE table_10935205_1 (title VARCHAR, us_airdate VARCHAR)
SELECT title FROM table_10935205_1 WHERE us_airdate = "4 April 2008"
What is the minimum 2010 population of Edgewater?
CREATE TABLE table_249512_2 (population__2010_ INTEGER, place_name VARCHAR)
SELECT MIN(population__2010_) FROM table_249512_2 WHERE place_name = "Edgewater"
Name the least amount of losses for 23 points
CREATE TABLE table_18703133_1 (losses INTEGER, points VARCHAR)
SELECT MIN(losses) FROM table_18703133_1 WHERE points = 23
Who has a time of 3:50.90?
CREATE TABLE table_name_35 (name VARCHAR, time VARCHAR)
SELECT name FROM table_name_35 WHERE time = "3:50.90"
Tell me the 2nd leg for alemannia aachen
CREATE TABLE table_name_61 (team__number1 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_61 WHERE team__number1 = "alemannia aachen"
How many women speak German?
CREATE TABLE table_name_67 (females VARCHAR, language VARCHAR)
SELECT females FROM table_name_67 WHERE language = "german"
Which Sydney has Gold Coast no, Adelaide no< and Auckland no?
CREATE TABLE table_name_39 (sydney VARCHAR, auckland VARCHAR, gold_coast VARCHAR, adelaide VARCHAR)
SELECT sydney FROM table_name_39 WHERE gold_coast = "no" AND adelaide = "no" AND auckland = "no"
What played has 3 as the losing bonus?
CREATE TABLE table_name_91 (played VARCHAR, losing_bonus VARCHAR)
SELECT played FROM table_name_91 WHERE losing_bonus = "3"
What name has a qual 2 of 1:43.374?
CREATE TABLE table_name_97 (name VARCHAR, qual_2 VARCHAR)
SELECT name FROM table_name_97 WHERE qual_2 = "1:43.374"
List categories that have at least two books after year 1989.
CREATE TABLE book_club (category VARCHAR, YEAR INTEGER)
SELECT category FROM book_club WHERE YEAR > 1989 GROUP BY category HAVING COUNT(*) >= 2
Name the score for october 9
CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_35 WHERE date = "october 9"
Where was the game when Collingwood was the home team?
CREATE TABLE table_name_19 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_19 WHERE away_team = "collingwood"
Which Manufacturer has a Style of steel sit down, and an Opened larger than 2008?
CREATE TABLE table_name_31 (manufacturer VARCHAR, style VARCHAR, opened VARCHAR)
SELECT manufacturer FROM table_name_31 WHERE style = "steel sit down" AND opened > 2008
How many artists do not have any album?
CREATE TABLE ARTIST (artistid VARCHAR); CREATE TABLE ALBUM (artistid VARCHAR)
SELECT COUNT(*) FROM ARTIST WHERE NOT artistid IN (SELECT artistid FROM ALBUM)
What group on the island of Faray has a Height (m) of 32 and a Population of 0?
CREATE TABLE table_name_99 (group VARCHAR, island VARCHAR, height__m_ VARCHAR, population VARCHAR)
SELECT group FROM table_name_99 WHERE height__m_ = 32 AND population = "0" AND island = "faray"
What is the largest week number for the venue of League Park for the date of November 25, 1920?
CREATE TABLE table_name_63 (week INTEGER, venue VARCHAR, date VARCHAR)
SELECT MAX(week) FROM table_name_63 WHERE venue = "league park" AND date = "november 25, 1920"
How many entries are shown for first elected for district 41?
CREATE TABLE table_11948857_1 (first_elected VARCHAR, district VARCHAR)
SELECT COUNT(first_elected) FROM table_11948857_1 WHERE district = 41
Which High rebounds have High points of chris bosh (18)?
CREATE TABLE table_name_50 (high_rebounds VARCHAR, high_points VARCHAR)
SELECT high_rebounds FROM table_name_50 WHERE high_points = "chris bosh (18)"
What is the Country of the Half Marathon Event?
CREATE TABLE table_name_97 (country VARCHAR, event VARCHAR)
SELECT country FROM table_name_97 WHERE event = "half marathon"
WhichScore has a Location Attendance of seattle center coliseum 11,497?
CREATE TABLE table_name_15 (score VARCHAR, location_attendance VARCHAR)
SELECT score FROM table_name_15 WHERE location_attendance = "seattle center coliseum 11,497"
What's the standard of the country who won its first title in 1992?
CREATE TABLE table_10682862_68 (standard INTEGER, first_title VARCHAR)
SELECT MAX(standard) FROM table_10682862_68 WHERE first_title = 1992
What is 2007, when Tournament is "Madrid"?
CREATE TABLE table_name_27 (tournament VARCHAR)
SELECT 2007 FROM table_name_27 WHERE tournament = "madrid"
Who was the winner of the season before 2010 with Lietuvos Rytas as a finalist?
CREATE TABLE table_name_39 (winner VARCHAR, finalist VARCHAR, season VARCHAR)
SELECT winner FROM table_name_39 WHERE finalist = "lietuvos rytas" AND season < 2010
What venue features geelong as the away side?
CREATE TABLE table_name_29 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_29 WHERE away_team = "geelong"
Name the class for makoto tamada and races is 17
CREATE TABLE table_15327489_1 (class VARCHAR, riders VARCHAR, races VARCHAR)
SELECT class FROM table_15327489_1 WHERE riders = "Makoto Tamada" AND races = "17"
Road Team of utah jazz, and a Result of 81-83 (3-2) involved what game?
CREATE TABLE table_name_27 (game VARCHAR, road_team VARCHAR, result VARCHAR)
SELECT game FROM table_name_27 WHERE road_team = "utah jazz" AND result = "81-83 (3-2)"
What did the home team score against Richmond?
CREATE TABLE table_16387653_1 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_16387653_1 WHERE away_team = "Richmond"
Who were the guests on a show where the production code is 6152?
CREATE TABLE table_25691838_12 (guest VARCHAR, production_code VARCHAR)
SELECT guest FROM table_25691838_12 WHERE production_code = 6152
How many different items appear in the high rebounds column in game 80?
CREATE TABLE table_27713030_12 (high_rebounds VARCHAR, game VARCHAR)
SELECT COUNT(high_rebounds) FROM table_27713030_12 WHERE game = 80
Who made the comments for radio broadcast when Jan Gabrielsson made them for television broadcast?
CREATE TABLE table_2794180_11 (radio_commentator VARCHAR, television_commentator VARCHAR)
SELECT radio_commentator FROM table_2794180_11 WHERE television_commentator = "Jan Gabrielsson"
Which Apogee has a Mission of maxus 3?
CREATE TABLE table_name_46 (apogee VARCHAR, mission VARCHAR)
SELECT apogee FROM table_name_46 WHERE mission = "maxus 3"
What player scored 70-73-69-72=284?
CREATE TABLE table_name_39 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_39 WHERE score = 70 - 73 - 69 - 72 = 284
What number is Fall 06 from the state with 34 for Fall 09?
CREATE TABLE table_name_97 (fall_06 INTEGER, fall_09 VARCHAR)
SELECT AVG(fall_06) FROM table_name_97 WHERE fall_09 = 34
What is the track whent the vocal percussionist is unknown?
CREATE TABLE table_28715942_5 (track VARCHAR, vocal_percussionist VARCHAR)
SELECT track FROM table_28715942_5 WHERE vocal_percussionist = "unknown"
What is Case Suffix (Case), when English Meaning is "to Georgia, in Georgia"?
CREATE TABLE table_name_54 (case_suffix__case_ VARCHAR, english_meaning VARCHAR)
SELECT case_suffix__case_ FROM table_name_54 WHERE english_meaning = "to georgia, in georgia"
Who was the opponent in UFC 66 who lasted for more than 1 round?
CREATE TABLE table_name_75 (opponent VARCHAR, round VARCHAR, event VARCHAR)
SELECT opponent FROM table_name_75 WHERE round > 1 AND event = "ufc 66"
On what date did episode 2 air?
CREATE TABLE table_2343740_1 (original_air_date VARCHAR, episode_number VARCHAR)
SELECT original_air_date FROM table_2343740_1 WHERE episode_number = 2
What is the enrollment at Lanesville?
CREATE TABLE table_name_21 (enrollment INTEGER, school VARCHAR)
SELECT AVG(enrollment) FROM table_name_21 WHERE school = "lanesville"
What label does Germany have?
CREATE TABLE table_name_24 (label VARCHAR, region VARCHAR)
SELECT label FROM table_name_24 WHERE region = "germany"
Find the names of catalog entries with level number 8.
CREATE TABLE Catalog_Contents_Additional_Attributes (catalog_entry_id VARCHAR, catalog_level_number VARCHAR); CREATE TABLE Catalog_Contents (catalog_entry_name VARCHAR, catalog_entry_id VARCHAR)
SELECT t1.catalog_entry_name FROM Catalog_Contents AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.catalog_entry_id = t2.catalog_entry_id WHERE t2.catalog_level_number = "8"
Where did Michael Eric Bibat win bronze?
CREATE TABLE table_name_29 (location VARCHAR, bronze VARCHAR)
SELECT location FROM table_name_29 WHERE bronze = "michael eric bibat"
what is the county when the latitude is more than 48.581299, ansi code is more than 1037103 and the geo id is 3801985060?
CREATE TABLE table_name_74 (county VARCHAR, geo_id VARCHAR, latitude VARCHAR, ansi_code VARCHAR)
SELECT county FROM table_name_74 WHERE latitude > 48.581299 AND ansi_code > 1037103 AND geo_id = 3801985060
What is the round of the defense player from the United States?
CREATE TABLE table_name_32 (round VARCHAR, position VARCHAR, nationality VARCHAR)
SELECT round FROM table_name_32 WHERE position = "defense" AND nationality = "united states"
Which are the car makers which produce at least 2 models and more than 3 car makers ? List the id and the maker .
CREATE TABLE car_makers (id VARCHAR, maker VARCHAR); CREATE TABLE model_list (maker VARCHAR, model VARCHAR); CREATE TABLE car_names (model VARCHAR)
SELECT t1.id, t1.maker FROM car_makers AS t1 JOIN model_list AS t2 ON t1.id = t2.maker GROUP BY t1.id HAVING COUNT(*) >= 2 INTERSECT SELECT t1.id, t1.maker FROM car_makers AS t1 JOIN model_list AS t2 ON t1.id = t2.maker JOIN car_names AS t3 ON t2.model = t3.model GROUP BY t1.id HAVING COUNT(*) > 3
What is the 3rd Liga from Game 1 of 0-1 between the years 2008-09?
CREATE TABLE table_name_36 (game_1 VARCHAR, date VARCHAR)
SELECT 3 AS rd_liga_3rd FROM table_name_36 WHERE game_1 = "0-1" AND date = "2008-09"
What's the season number of the episode originally aired on October 14, 2008?
CREATE TABLE table_19401346_1 (no_in_season VARCHAR, original_air_date VARCHAR)
SELECT no_in_season FROM table_19401346_1 WHERE original_air_date = "October 14, 2008"
What is the truck used by Brett Moffitt, from Hattori Racing Enterprises?
CREATE TABLE table_name_23 (truck_s_ VARCHAR, driver_s_ VARCHAR, team VARCHAR)
SELECT truck_s_ FROM table_name_23 WHERE driver_s_ = "brett moffitt" AND team = "hattori racing enterprises"
Name the average earnings for rank of 3 and wins less than 3
CREATE TABLE table_name_34 (earnings___ INTEGER, rank VARCHAR, wins VARCHAR)
SELECT AVG(earnings___) AS $__ FROM table_name_34 WHERE rank = 3 AND wins < 3
Which date has a score of 2-1?
CREATE TABLE table_name_6 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_6 WHERE score = "2-1"
Name the enrollment with cougars
CREATE TABLE table_24216139_2 (enrollment VARCHAR, nickname VARCHAR)
SELECT enrollment FROM table_24216139_2 WHERE nickname = "Cougars"
Which Character has a Category of favourite naya sadasya?
CREATE TABLE table_name_68 (character VARCHAR, category VARCHAR)
SELECT character FROM table_name_68 WHERE category = "favourite naya sadasya"
What is the smallest numbered episode in the series listed?
CREATE TABLE table_27547668_3 (_number INTEGER)
SELECT MIN(_number) FROM table_27547668_3
What is the call sign for the translator with an ERP W larger than 10?
CREATE TABLE table_name_38 (call_sign VARCHAR, erp_w INTEGER)
SELECT call_sign FROM table_name_38 WHERE erp_w > 10
What is shown for fri 26 aug when mon 22 aug is —— no time?
CREATE TABLE table_30058355_2 (fri_26_aug VARCHAR, mon_22_aug VARCHAR)
SELECT fri_26_aug FROM table_30058355_2 WHERE mon_22_aug = "—— No Time"
What is the name of the visitor team who played home team Chicago Black Hawks on March 20?
CREATE TABLE table_name_77 (visitor VARCHAR, home VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_77 WHERE home = "chicago black hawks" AND date = "march 20"
What stadium does FK Jedinstvo play in?
CREATE TABLE table_28668784_1 (stadium VARCHAR, home_team VARCHAR)
SELECT stadium FROM table_28668784_1 WHERE home_team = "FK Jedinstvo"
What was the highest week when the record was 1-3?
CREATE TABLE table_name_48 (week INTEGER, record VARCHAR)
SELECT MAX(week) FROM table_name_48 WHERE record = "1-3"
What is the nationality of the School/Club team of Louisville?
CREATE TABLE table_name_43 (nationality VARCHAR, school_club_team VARCHAR)
SELECT nationality FROM table_name_43 WHERE school_club_team = "louisville"
What is the download of the varies catch-up period?
CREATE TABLE table_name_55 (download VARCHAR, catch_up_period VARCHAR)
SELECT download FROM table_name_55 WHERE catch_up_period = "varies"
Who was the home team when the record was 27–14–6?
CREATE TABLE table_name_15 (home VARCHAR, record VARCHAR)
SELECT home FROM table_name_15 WHERE record = "27–14–6"
Which player is ranked number 3?
CREATE TABLE table_name_83 (player VARCHAR, rank VARCHAR)
SELECT player FROM table_name_83 WHERE rank = 3
When they were playing the detroit lions at tampa stadium, what was the score?
CREATE TABLE table_name_49 (result VARCHAR, game_site VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_49 WHERE game_site = "tampa stadium" AND opponent = "detroit lions"
what is the score when the opponent is ann grossman?
CREATE TABLE table_name_79 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_79 WHERE opponent = "ann grossman"
What is the date that has a winning score of 67-70-68-67=272?
CREATE TABLE table_name_84 (date VARCHAR, winning_score VARCHAR)
SELECT date FROM table_name_84 WHERE winning_score = 67 - 70 - 68 - 67 = 272
What year was Patricia Mcgourty nominated for a Tony award?
CREATE TABLE table_name_41 (year VARCHAR, nominee VARCHAR, award VARCHAR)
SELECT year FROM table_name_41 WHERE nominee = "patricia mcgourty" AND award = "tony award"
Name the country for athens
CREATE TABLE table_28281704_1 (country VARCHAR, city VARCHAR)
SELECT COUNT(country) FROM table_28281704_1 WHERE city = "Athens"
What is the premier league number when the position is forward, and the total is more than 22?
CREATE TABLE table_name_16 (premier_league VARCHAR, position VARCHAR, total VARCHAR)
SELECT COUNT(premier_league) FROM table_name_16 WHERE position = "forward" AND total > 22
What GLF Premiership did the Magpies have?
CREATE TABLE table_name_70 (gfl_premierships VARCHAR, nickname VARCHAR)
SELECT gfl_premierships FROM table_name_70 WHERE nickname = "magpies"
Which codes have subdivision names (BE) (BGN) of Homyel'skaya Voblasts'?
CREATE TABLE table_290017_1 (code VARCHAR, subdivision_name___be____bgn_pcgn_ VARCHAR)
SELECT code FROM table_290017_1 WHERE subdivision_name___be____bgn_pcgn_ = "Homyel'skaya voblasts'"
What is Headquarter, when Type is Independent Online News Portal?
CREATE TABLE table_name_49 (headquarter VARCHAR, type VARCHAR)
SELECT headquarter FROM table_name_49 WHERE type = "independent online news portal"
Who directed 414?
CREATE TABLE table_23483182_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_23483182_1 WHERE production_code = 414
How many rounds were there in Karlskoga Motorstadion with Roger Eriksson at the pole position?
CREATE TABLE table_20079931_4 (round VARCHAR, circuit_location VARCHAR, pole_position VARCHAR)
SELECT COUNT(round) FROM table_20079931_4 WHERE circuit_location = "Karlskoga Motorstadion" AND pole_position = "Roger Eriksson"
What is the lowest number of bronze a short track athlete with 0 gold medals has?
CREATE TABLE table_name_47 (bronze INTEGER, sport VARCHAR, gold VARCHAR)
SELECT MIN(bronze) FROM table_name_47 WHERE sport = "short track" AND gold = 0
What's the overall average that has a round less than 7, and a Pick # of 4?
CREATE TABLE table_name_63 (overall INTEGER, round VARCHAR, pick__number VARCHAR)
SELECT AVG(overall) FROM table_name_63 WHERE round < 7 AND pick__number = 4
Where does the common of Galliate rank in population?
CREATE TABLE table_1449169_1 (rank VARCHAR, common VARCHAR)
SELECT rank FROM table_1449169_1 WHERE common = "Galliate"
What's the minimal enrollment of any of the schools?
CREATE TABLE table_1969577_3 (enrollment INTEGER)
SELECT MIN(enrollment) FROM table_1969577_3
When was Dickinson College founded?
CREATE TABLE table_254776_1 (founded VARCHAR, institution VARCHAR)
SELECT founded FROM table_254776_1 WHERE institution = "Dickinson College"
What is the designation of material or non-material for either positional or automatic with no rectified count and either opponent?
CREATE TABLE table_name_36 (material_or_non_material VARCHAR, opponents VARCHAR, positional_or_automatic VARCHAR, count_rectified VARCHAR)
SELECT material_or_non_material FROM table_name_36 WHERE positional_or_automatic = "either" AND count_rectified = "no" AND opponents = "either"
What is the total number of bronze medals with a total of 4 medals and 1 gold medal?
CREATE TABLE table_name_90 (bronze VARCHAR, total VARCHAR, gold VARCHAR)
SELECT COUNT(bronze) FROM table_name_90 WHERE total = 4 AND gold = 1
What actor was nominated for or won an award before 1971?
CREATE TABLE table_name_94 (actor VARCHAR, year INTEGER)
SELECT actor FROM table_name_94 WHERE year < 1971
Which Venue has a Competition of pl group b, and a Score of 2-2?
CREATE TABLE table_name_82 (venue VARCHAR, competition VARCHAR, score VARCHAR)
SELECT venue FROM table_name_82 WHERE competition = "pl group b" AND score = "2-2"
Which visitor lives in Minnesota?
CREATE TABLE table_name_23 (visitor VARCHAR, home VARCHAR)
SELECT visitor FROM table_name_23 WHERE home = "minnesota"
For the car with a qual of 134.288, what was the rank?
CREATE TABLE table_name_72 (rank VARCHAR, qual VARCHAR)
SELECT rank FROM table_name_72 WHERE qual = "134.288"
How many entries feature a year built of 2010?
CREATE TABLE table_name_24 (total VARCHAR, year_built VARCHAR)
SELECT COUNT(total) FROM table_name_24 WHERE year_built = 2010
In which civil parish is ballymacandrick?
CREATE TABLE table_30120605_1 (civil_parish VARCHAR, townland VARCHAR)
SELECT civil_parish FROM table_30120605_1 WHERE townland = "Ballymacandrick"
What is To par, when Score is "70-68-68-71=277"?
CREATE TABLE table_name_18 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_18 WHERE score = 70 - 68 - 68 - 71 = 277
Which engine has a 2435 cm displacement and is named 2.4 (2001-2007)?
CREATE TABLE table_name_84 (engine_code VARCHAR, displacement__cm³_ VARCHAR, model_name VARCHAR)
SELECT engine_code FROM table_name_84 WHERE displacement__cm³_ = 2435 AND model_name = "2.4 (2001-2007)"
Which First elected has a Incumbent of none (new seat)?
CREATE TABLE table_name_15 (first_elected VARCHAR, incumbent VARCHAR)
SELECT first_elected FROM table_name_15 WHERE incumbent = "none (new seat)"
What is the team name for the racer who had a first qualification time of 1:22.655?
CREATE TABLE table_name_17 (team VARCHAR, qual_1 VARCHAR)
SELECT team FROM table_name_17 WHERE qual_1 = "1:22.655"