question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What displacement has the code yd22ddt?
CREATE TABLE table_name_22 (displacement VARCHAR, code VARCHAR)
SELECT displacement FROM table_name_22 WHERE code = "yd22ddt"
What label released a record on December 19, 2001?
CREATE TABLE table_name_83 (label VARCHAR, date VARCHAR)
SELECT label FROM table_name_83 WHERE date = "december 19, 2001"
Which date has a Kickoff [a] of 4:00, and an Opponent of detroit lions?
CREATE TABLE table_name_34 (date VARCHAR, opponent VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)
SELECT date FROM table_name_34 WHERE kickoff_[a_] = "4:00" AND opponent = "detroit lions"
What is the location of the match on February 29, 2012?
CREATE TABLE table_name_47 (location VARCHAR, date VARCHAR)
SELECT location FROM table_name_47 WHERE date = "february 29, 2012"
What year was Jordan Hill picked overall number 8?
CREATE TABLE table_name_70 (year INTEGER, overall_pick VARCHAR, name VARCHAR)
SELECT MIN(year) FROM table_name_70 WHERE overall_pick = "8" AND name = "jordan hill"
What is the tournament with a 2006 value of A and a 2011 value of 1r?
CREATE TABLE table_name_13 (tournament VARCHAR)
SELECT tournament FROM table_name_13 WHERE 2006 = "a" AND 2011 = "1r"
How was the player in the position of Center acquired?
CREATE TABLE table_name_26 (acquisition_via VARCHAR, position VARCHAR)
SELECT acquisition_via FROM table_name_26 WHERE position = "center"
In what venue did the Boston Red Sox play in?
CREATE TABLE table_name_49 (venue VARCHAR, team VARCHAR)
SELECT venue FROM table_name_49 WHERE team = "boston red sox"
What is the constructor where the circuit is Silverstone?
CREATE TABLE table_name_8 (constructor VARCHAR, circuit VARCHAR)
SELECT constructor FROM table_name_8 WHERE circuit = "silverstone"
What are the catalogs of releases from Sony Music Direct?
CREATE TABLE table_name_72 (catalog VARCHAR, label VARCHAR)
SELECT catalog FROM table_name_72 WHERE label = "sony music direct"
Name the total number of years for talbot-lago t26c and points less than 3
CREATE TABLE table_name_52 (year VARCHAR, chassis VARCHAR, points VARCHAR)
SELECT COUNT(year) FROM table_name_52 WHERE chassis = "talbot-lago t26c" AND points < 3
Which city is listed first when Okinawa is listed as the second city?
CREATE TABLE table_16066063_1 (city_1 VARCHAR, city_2 VARCHAR)
SELECT city_1 FROM table_16066063_1 WHERE city_2 = "Okinawa"
What is the number of laps for the Time/Retired of +16.445?
CREATE TABLE table_name_76 (laps VARCHAR, time_retired VARCHAR)
SELECT laps FROM table_name_76 WHERE time_retired = "+16.445"
How many rounds were there in the 2006 davis cup europe/africa group I?
CREATE TABLE table_22853654_10 (round VARCHAR, edition VARCHAR)
SELECT COUNT(round) FROM table_22853654_10 WHERE edition = "2006 Davis Cup Europe/Africa Group I"
Which Ulster player has fewer than 49 caps and plays the wing position?
CREATE TABLE table_name_4 (player VARCHAR, club_province VARCHAR, caps VARCHAR, position VARCHAR)
SELECT player FROM table_name_4 WHERE caps < 49 AND position = "wing" AND club_province = "ulster"
What date was 53-75 recorded?
CREATE TABLE table_name_16 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_16 WHERE record = "53-75"
Name the 2012 for 2011 being 1r
CREATE TABLE table_name_5 (Id VARCHAR)
SELECT 2012 FROM table_name_5 WHERE 2011 = "1r"
How many were the viewers (in millions) of the series no. 45?
CREATE TABLE table_27847088_1 (viewers__millions_ VARCHAR, series_no VARCHAR)
SELECT viewers__millions_ FROM table_27847088_1 WHERE series_no = 45
When was the University founded that joined in 1978?
CREATE TABLE table_255188_1 (founded INTEGER, joined VARCHAR)
SELECT MAX(founded) FROM table_255188_1 WHERE joined = 1978
what's the health score with justice being 80.7
CREATE TABLE table_145439_1 (health VARCHAR, justice VARCHAR)
SELECT health FROM table_145439_1 WHERE justice = "80.7"
What is Melbourne's home venue?
CREATE TABLE table_name_74 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_74 WHERE home_team = "melbourne"
How many authors are there?
CREATE TABLE authors (Id VARCHAR)
SELECT COUNT(*) FROM authors
Which Date has a Record of 29–47?
CREATE TABLE table_name_4 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_4 WHERE record = "29–47"
What is the Location of the Stadium where Job Dragtsma is Manager?
CREATE TABLE table_name_5 (location VARCHAR, manager VARCHAR)
SELECT location FROM table_name_5 WHERE manager = "job dragtsma"
Name the place for south africa and retief goosen
CREATE TABLE table_name_98 (place VARCHAR, country VARCHAR, player VARCHAR)
SELECT place FROM table_name_98 WHERE country = "south africa" AND player = "retief goosen"
Can you tell me the highest Ofsted number that has the Type of infants, and the Intake larger than 60?
CREATE TABLE table_name_36 (ofsted_number INTEGER, type VARCHAR, intake VARCHAR)
SELECT MAX(ofsted_number) FROM table_name_36 WHERE type = "infants" AND intake > 60
What were the notes when his position was 10th?
CREATE TABLE table_name_2 (notes VARCHAR, position VARCHAR)
SELECT notes FROM table_name_2 WHERE position = "10th"
How many tries against for the team with 67 tries for?
CREATE TABLE table_name_83 (tries_against VARCHAR, tries_for VARCHAR)
SELECT tries_against FROM table_name_83 WHERE tries_for = "67"
What is the total for set 2 of 25-19?
CREATE TABLE table_name_55 (total VARCHAR, set_2 VARCHAR)
SELECT total FROM table_name_55 WHERE set_2 = "25-19"
On what Date is the Crowd larger than 17,000?
CREATE TABLE table_name_8 (date VARCHAR, crowd INTEGER)
SELECT date FROM table_name_8 WHERE crowd > 17 OFFSET 000
What are all the locations with a cinema?
CREATE TABLE cinema (LOCATION VARCHAR)
SELECT DISTINCT LOCATION FROM cinema
period between 1985 - 1990 have minimum infant mortality rate of what.
CREATE TABLE table_21258_1 (infant_mortality_rate INTEGER, period VARCHAR)
SELECT MIN(infant_mortality_rate) FROM table_21258_1 WHERE period = "1985 - 1990"
Tell me the date of stade des martyrs, dr congo
CREATE TABLE table_name_89 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_89 WHERE venue = "stade des martyrs, dr congo"
Name the most maidens when e.r. 5.11
CREATE TABLE table_15700367_4 (maidens INTEGER, er VARCHAR)
SELECT MAX(maidens) FROM table_15700367_4 WHERE er = "5.11"
What city has the A Class licence?
CREATE TABLE table_name_20 (city_of_license VARCHAR, class VARCHAR)
SELECT city_of_license FROM table_name_20 WHERE class = "a"
What was the lowest year for TCU?
CREATE TABLE table_name_79 (year INTEGER, winner VARCHAR)
SELECT MIN(year) FROM table_name_79 WHERE winner = "tcu"
What is the Score of the match on a clay surface with an outcome of winner, at the tournament ciudad juárez, and an Opponent in the final of estefania craciún?
CREATE TABLE table_name_48 (score VARCHAR, opponent_in_the_final VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR)
SELECT score FROM table_name_48 WHERE surface = "clay" AND outcome = "winner" AND tournament = "ciudad juárez" AND opponent_in_the_final = "estefania craciún"
What Social AO has an External CO of elena buscher, and a President of harm van leeuwen?
CREATE TABLE table_name_39 (social_ao VARCHAR, external_co VARCHAR, president VARCHAR)
SELECT social_ao FROM table_name_39 WHERE external_co = "elena buscher" AND president = "harm van leeuwen"
How many goals have been scored by Tiago Gomes?
CREATE TABLE table_12321870_32 (goals VARCHAR, player_name VARCHAR)
SELECT goals FROM table_12321870_32 WHERE player_name = "Tiago Gomes"
Name the record for prudential center - 12,880
CREATE TABLE table_27539272_4 (record VARCHAR, location_attendance VARCHAR)
SELECT record FROM table_27539272_4 WHERE location_attendance = "Prudential Center - 12,880"
What are the 2nd round results for the match with Girondins de Bordeaux (d1) as Team 2?
CREATE TABLE table_name_63 (team_2 VARCHAR)
SELECT 2 AS nd_round FROM table_name_63 WHERE team_2 = "girondins de bordeaux (d1)"
What is the average First Elected, when District is "Massachusetts 3"?
CREATE TABLE table_name_49 (first_elected INTEGER, district VARCHAR)
SELECT AVG(first_elected) FROM table_name_49 WHERE district = "massachusetts 3"
what's runner-up with season being season 13
CREATE TABLE table_13036251_1 (runner_up VARCHAR, season VARCHAR)
SELECT runner_up FROM table_13036251_1 WHERE season = "season 13"
What type of government does Kyrgyzstan have?
CREATE TABLE table_1604579_2 (country VARCHAR)
SELECT 2012 AS _democracy_index FROM table_1604579_2 WHERE country = "Kyrgyzstan"
Which team hosted the Kansas City Chiefs?
CREATE TABLE table_name_53 (host_team VARCHAR, visiting_team VARCHAR)
SELECT host_team FROM table_name_53 WHERE visiting_team = "kansas city chiefs"
Which date has a Tournament of la quinta?
CREATE TABLE table_name_14 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_14 WHERE tournament = "la quinta"
Name the base 10 for peletier for bi llion
CREATE TABLE table_260938_1 (base_10 VARCHAR, peletier VARCHAR)
SELECT base_10 FROM table_260938_1 WHERE peletier = "Bi llion"
What is the total number of losses for less than 48 games, and less than 7 draws?
CREATE TABLE table_name_56 (loss VARCHAR, total_games VARCHAR, draw VARCHAR)
SELECT COUNT(loss) FROM table_name_56 WHERE total_games < 48 AND draw < 7
How many points were there when the average was 0.763 and the played was less than 76?
CREATE TABLE table_name_85 (points VARCHAR, played VARCHAR, average VARCHAR)
SELECT points FROM table_name_85 WHERE played < 76 AND average = 0.763
Show the price ranges of hotels with 5 star ratings.
CREATE TABLE HOTELS (price_range VARCHAR, star_rating_code VARCHAR)
SELECT price_range FROM HOTELS WHERE star_rating_code = "5"
For airlines named Aeroflot Group, what is the alliance?
CREATE TABLE table_name_11 (alliance__association VARCHAR, airline_holding VARCHAR)
SELECT alliance__association FROM table_name_11 WHERE airline_holding = "aeroflot group"
how many time was points 6675?
CREATE TABLE table_26218783_7 (points VARCHAR)
SELECT COUNT(points) AS won FROM table_26218783_7 WHERE points = 6675
What is the Population of the Place with an Area (km 2) larger than 498.77?
CREATE TABLE table_name_51 (population VARCHAR, area__km_2__ INTEGER)
SELECT COUNT(population) FROM table_name_51 WHERE area__km_2__ > 498.77
At which track did the event Daytona Arca 200 take place?
CREATE TABLE table_name_64 (track VARCHAR, event_name VARCHAR)
SELECT track FROM table_name_64 WHERE event_name = "daytona arca 200"
When the crowd was larger than 20,915 what did the Away team score?
CREATE TABLE table_name_87 (away_team VARCHAR, crowd INTEGER)
SELECT away_team AS score FROM table_name_87 WHERE crowd > 20 OFFSET 915
What is the average Lap of damon hill, with a Grid smaller than 1?
CREATE TABLE table_name_66 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT AVG(laps) FROM table_name_66 WHERE driver = "damon hill" AND grid < 1
What is the average number for Northgate which commenced its construction before 1951?
CREATE TABLE table_name_42 (number_on_map INTEGER, name VARCHAR, construction_commenced VARCHAR)
SELECT AVG(number_on_map) FROM table_name_42 WHERE name = "northgate" AND construction_commenced < 1951
What was the team's record when they played at Rheinenergiestadion?
CREATE TABLE table_24989925_2 (team_record VARCHAR, game_site VARCHAR)
SELECT team_record FROM table_24989925_2 WHERE game_site = "RheinEnergieStadion"
How many figures are given for the New Democratic for the polling range May 11–31, 2010?
CREATE TABLE table_24778847_2 (new_democratic VARCHAR, date_of_polling VARCHAR)
SELECT COUNT(new_democratic) FROM table_24778847_2 WHERE date_of_polling = "May 11–31, 2010"
What is the county with an AA IHSAA class in ferdinand?
CREATE TABLE table_name_90 (county VARCHAR, ihsaa_class VARCHAR, location VARCHAR)
SELECT county FROM table_name_90 WHERE ihsaa_class = "aa" AND location = "ferdinand"
What tournament took place after 1973?
CREATE TABLE table_name_37 (tournament VARCHAR, year INTEGER)
SELECT tournament FROM table_name_37 WHERE year > 1973
Which Socialist Labor ticket has a Office of secretary of state?
CREATE TABLE table_name_78 (socialist_labor_ticket VARCHAR, office VARCHAR)
SELECT socialist_labor_ticket FROM table_name_78 WHERE office = "secretary of state"
What was the BBI for the bowler whose average is 24.50?
CREATE TABLE table_27922491_20 (bbi VARCHAR, average VARCHAR)
SELECT bbi FROM table_27922491_20 WHERE average = "24.50"
Name the opponent with decision
CREATE TABLE table_name_59 (opponent VARCHAR, method VARCHAR)
SELECT opponent FROM table_name_59 WHERE method = "decision"
what's the fuel delivery where power is hp (kw) @6500 rpm
CREATE TABLE table_11167610_1 (fuel_delivery VARCHAR, power VARCHAR)
SELECT fuel_delivery FROM table_11167610_1 WHERE power = "hp (kW) @6500 rpm"
what is the largest city where the population is 6620100?
CREATE TABLE table_17416221_1 (largest_city VARCHAR, population__2013_ VARCHAR)
SELECT largest_city FROM table_17416221_1 WHERE population__2013_ = 6620100
What year did the team make conference semifinals?
CREATE TABLE table_name_15 (year VARCHAR, playoffs VARCHAR)
SELECT COUNT(year) FROM table_name_15 WHERE playoffs = "conference semifinals"
Who wrote the title that received 1.211 million total viewers?
CREATE TABLE table_12419515_4 (written_by VARCHAR, total_viewers__in_millions_ VARCHAR)
SELECT written_by FROM table_12419515_4 WHERE total_viewers__in_millions_ = "1.211"
What are the lowest lost has 111 as the goals against?
CREATE TABLE table_name_9 (lost INTEGER, goals_against VARCHAR)
SELECT MIN(lost) FROM table_name_9 WHERE goals_against = 111
What is the earliest years any of the incumbents were first elected?
CREATE TABLE table_1342249_5 (first_elected INTEGER)
SELECT MIN(first_elected) FROM table_1342249_5
Anuya Bhagvath was nominated for what award?
CREATE TABLE table_name_60 (award VARCHAR, outcome VARCHAR, name VARCHAR)
SELECT award FROM table_name_60 WHERE outcome = "nominated" AND name = "anuya bhagvath"
What was the pole position for the belgian grand prix?
CREATE TABLE table_name_87 (pole_position VARCHAR, race VARCHAR)
SELECT pole_position FROM table_name_87 WHERE race = "belgian grand prix"
Find the name and level of catalog structure with level between 5 and 10.
CREATE TABLE Catalog_Structure (catalog_level_name VARCHAR, catalog_level_number INTEGER)
SELECT catalog_level_name, catalog_level_number FROM Catalog_Structure WHERE catalog_level_number BETWEEN 5 AND 10
If extremely adventures is the category what is the height from sea level in meters?
CREATE TABLE table_1430913_1 (height_from_sea_level_in_meters VARCHAR, category VARCHAR)
SELECT height_from_sea_level_in_meters FROM table_1430913_1 WHERE category = "Extremely Adventures"
What is the average drop zone time in the N drop zone for the 1st Pathfinder Prov.?
CREATE TABLE table_name_22 (drop_zone INTEGER, troop_carrier_group VARCHAR)
SELECT AVG(drop_zone) AS Time FROM table_name_22 WHERE drop_zone = "n" AND troop_carrier_group = "1st pathfinder prov."
What's the name of the person in the CF Pos?
CREATE TABLE table_name_43 (name VARCHAR, pos VARCHAR)
SELECT name FROM table_name_43 WHERE pos = "cf"
Can you tell me the Nation that has the Bronze of 1, and the Gold of 0?
CREATE TABLE table_name_68 (nation VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT nation FROM table_name_68 WHERE bronze = 1 AND gold = 0
What is the name of the athlete with a time of 30:48?
CREATE TABLE table_name_9 (athlete VARCHAR, time VARCHAR)
SELECT athlete FROM table_name_9 WHERE time = "30:48"
What's the result for the clay surface edition on july 17, 1992?
CREATE TABLE table_name_97 (result VARCHAR, surface VARCHAR, date VARCHAR)
SELECT result FROM table_name_97 WHERE surface = "clay" AND date = "july 17, 1992"
What is the Current status of Callander Coal company grey?
CREATE TABLE table_name_70 (current_status VARCHAR, livery VARCHAR)
SELECT current_status FROM table_name_70 WHERE livery = "callander coal company grey"
What is the title of the track with lyricist ROZ and arranger Yongmin Lee?
CREATE TABLE table_name_17 (title VARCHAR, lyricist_s_ VARCHAR, arranger_s_ VARCHAR)
SELECT title FROM table_name_17 WHERE lyricist_s_ = "roz" AND arranger_s_ = "yongmin lee"
what ist he output where the short description is massive?
CREATE TABLE table_17157367_1 (output VARCHAR, short_description VARCHAR)
SELECT output FROM table_17157367_1 WHERE short_description = "massive"
What was North Melbourne's score when they were the home team?
CREATE TABLE table_name_52 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_52 WHERE away_team = "north melbourne"
What is the highest number in series with director as Phil Abraham?
CREATE TABLE table_26736040_1 (no_in_series INTEGER, directed_by VARCHAR)
SELECT MAX(no_in_series) FROM table_26736040_1 WHERE directed_by = "Phil Abraham"
Which Copa del Rey has a Name of guti, and a FIFA Club World Championship smaller than 0?
CREATE TABLE table_name_63 (copa_del_rey INTEGER, name VARCHAR, fifa_club_world_championship VARCHAR)
SELECT SUM(copa_del_rey) FROM table_name_63 WHERE name = "guti" AND fifa_club_world_championship < 0
Which team had a finish position of 8?
CREATE TABLE table_name_90 (team VARCHAR, fin_pos VARCHAR)
SELECT team FROM table_name_90 WHERE fin_pos = "8"
What is the sum of Maidens with a number of Matches that is 2?
CREATE TABLE table_name_36 (maidens INTEGER, matches VARCHAR)
SELECT SUM(maidens) FROM table_name_36 WHERE matches = 2
What was the population of сурдук in 2011?
CREATE TABLE table_2562572_53 (population__2011_ VARCHAR, cyrillic_name VARCHAR)
SELECT COUNT(population__2011_) FROM table_2562572_53 WHERE cyrillic_name = "Сурдук"
What is the population maximum?
CREATE TABLE table_22815568_6 (population INTEGER)
SELECT MAX(population) FROM table_22815568_6
When is the Opponent of new england patriots?
CREATE TABLE table_name_3 (time___et__ VARCHAR, opponent VARCHAR)
SELECT time___et__ FROM table_name_3 WHERE opponent = "new england patriots"
What's the mutated having a patent number of US plant patent 9645?
CREATE TABLE table_name_39 (mutated_from VARCHAR, plant_patent_number VARCHAR)
SELECT mutated_from FROM table_name_39 WHERE plant_patent_number = "us plant patent 9645"
Which was the highest crowd drawn by an Away team in Richmond?
CREATE TABLE table_name_6 (crowd INTEGER, away_team VARCHAR)
SELECT MAX(crowd) FROM table_name_6 WHERE away_team = "richmond"
What is the name of the team that has 307 attempts?
CREATE TABLE table_name_7 (team VARCHAR, attempts VARCHAR)
SELECT team FROM table_name_7 WHERE attempts = "307"
Which nationality's distance was 200m and had a year more recent than 1994 when the record was 33.778s?
CREATE TABLE table_name_10 (nationality VARCHAR, record VARCHAR, distance VARCHAR, year VARCHAR)
SELECT nationality FROM table_name_10 WHERE distance = "200m" AND year > 1994 AND record = "33.778s"
How many different cities are they from?
CREATE TABLE Person (city VARCHAR)
SELECT COUNT(DISTINCT city) FROM Person
The nation of denmark has what average total nad more than 0 gold?
CREATE TABLE table_name_70 (total INTEGER, nation VARCHAR, gold VARCHAR)
SELECT AVG(total) FROM table_name_70 WHERE nation = "denmark" AND gold > 0
What is the high total for algeria with over 2 bronzes?
CREATE TABLE table_name_82 (total INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT MAX(total) FROM table_name_82 WHERE nation = "algeria" AND bronze > 2
Who did the Blue Jays lose to when their record was 36-20?
CREATE TABLE table_name_3 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_3 WHERE record = "36-20"
What was the highest attendance?
CREATE TABLE table_14945608_1 (attendance INTEGER)
SELECT MAX(attendance) FROM table_14945608_1
Which win has 38.67% wins?
CREATE TABLE table_name_71 (wins VARCHAR, win__percentage VARCHAR)
SELECT wins FROM table_name_71 WHERE win__percentage = "38.67%"