answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT language FROM table_name_80 WHERE origin_of_programming = "india" AND genre = "general" AND network = "ptc punjabi" AND service = "bell fibe tv"
Which language has Programming from India, general genre, a network of ptc punjabi and bell fibe tv service?
CREATE TABLE table_name_80 (language VARCHAR, service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)
SELECT area_km_2 FROM table_name_49 WHERE census_ranking = "2,290 of 5,008"
what is the area when the census ranking is 2,290 of 5,008?
CREATE TABLE table_name_49 (area_km_2 VARCHAR, census_ranking VARCHAR)
SELECT COUNT(prom__m_) FROM table_name_59 WHERE height__m_ < 615
Tell me the total number of prom for height less than 615
CREATE TABLE table_name_59 (prom__m_ VARCHAR, height__m_ INTEGER)
SELECT location FROM table_name_29 WHERE opponent = "aron lofton"
What is the location of the match with Aron Lofton as the opponent?
CREATE TABLE table_name_29 (location VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_26 WHERE date = "july 25"
What score was on July 25?
CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR)
SELECT MIN(pick__number) FROM table_16575609_1 WHERE player = "Brendon LaBatte"
Where did Brendon Labatte get picked?
CREATE TABLE table_16575609_1 (pick__number INTEGER, player VARCHAR)
SELECT producer FROM table_name_60 WHERE year = 1961
Who were the producers in 1961?
CREATE TABLE table_name_60 (producer VARCHAR, year VARCHAR)
SELECT points_against FROM table_13399573_4 WHERE points = "31"
In the 2008/2009 season one team had a season total points of 31, for that team how many total points were scored against them?
CREATE TABLE table_13399573_4 (points_against VARCHAR, points VARCHAR)
SELECT visitor FROM table_name_7 WHERE date = "april 2"
Who was the visitor on April 2?
CREATE TABLE table_name_7 (visitor VARCHAR, date VARCHAR)
SELECT asset_make, asset_model, asset_details FROM Assets ORDER BY asset_disposed_date
List the all the assets make, model, details by the disposed date ascendingly.
CREATE TABLE Assets (asset_make VARCHAR, asset_model VARCHAR, asset_details VARCHAR, asset_disposed_date VARCHAR)
SELECT nationality___opponent FROM table_name_63 WHERE competition = "welsh rugby union challenge trophy" AND result = "38-29"
Name the Nationality / Opponent of the Competition of welsh rugby union challenge trophy and a Result of 38-29?
CREATE TABLE table_name_63 (nationality___opponent VARCHAR, competition VARCHAR, result VARCHAR)
SELECT 2011 FROM table_name_74 WHERE tournament = "miami masters"
WHAT IS THE 2011 PERFORMANCE AT THE MIAMI MASTERS?
CREATE TABLE table_name_74 (tournament VARCHAR)
SELECT finish FROM table_name_7 WHERE chassis = "mclaren"
What is the finish of Mclaren chassis?
CREATE TABLE table_name_7 (finish VARCHAR, chassis VARCHAR)
SELECT location FROM table_name_69 WHERE type = "club trophy"
What is the location for the club trophy?
CREATE TABLE table_name_69 (location VARCHAR, type VARCHAR)
SELECT week_14_nov_24 FROM table_name_44 WHERE week_11_nov_3 = "usc (6-2)"
What is Week 14 Nov 24, that has Week 11 Nov 3 of USC (6-2)?
CREATE TABLE table_name_44 (week_14_nov_24 VARCHAR, week_11_nov_3 VARCHAR)
SELECT shipping_agent_name FROM Ref_Shipping_Agents
What are the shipping agent names?
CREATE TABLE Ref_Shipping_Agents (shipping_agent_name VARCHAR)
SELECT distance FROM table_name_85 WHERE time = "1:46.32"
What is the distance with a 1:46.32 time?
CREATE TABLE table_name_85 (distance VARCHAR, time VARCHAR)
SELECT current_march_20, _2010 FROM table_19487922_2 WHERE country = "Denmark"
How many current drivers, as of March 20, 2010 does Denmark have?
CREATE TABLE table_19487922_2 (current_march_20 VARCHAR, _2010 VARCHAR, country VARCHAR)
SELECT country FROM table_name_26 WHERE player = "dave barr"
WHAT IS THE COUNTRY WITH DAVE BARR?
CREATE TABLE table_name_26 (country VARCHAR, player VARCHAR)
SELECT artist FROM table_name_32 WHERE date = "june 1992"
Which artist has a Spoofed title in June 1992?
CREATE TABLE table_name_32 (artist VARCHAR, date VARCHAR)
SELECT points_for FROM table_13564637_5 WHERE tries_against = "30"
What were the points for when there were 30 tries against?
CREATE TABLE table_13564637_5 (points_for VARCHAR, tries_against VARCHAR)
SELECT AVG(wins) FROM table_name_53 WHERE percent > 0.4 AND teams = "chargers~"
what is the average wins when percent is more than 0.4 and teams is chargers~?
CREATE TABLE table_name_53 (wins INTEGER, percent VARCHAR, teams VARCHAR)
SELECT MIN(silver) FROM table_name_7 WHERE nation = "vietnam"
What is the smallest silver from Vietnam?
CREATE TABLE table_name_7 (silver INTEGER, nation VARCHAR)
SELECT surface FROM table_name_5 WHERE cage_dive = "2"
What surface has 2 as a cage dive?
CREATE TABLE table_name_5 (surface VARCHAR, cage_dive VARCHAR)
SELECT COUNT(points) FROM table_name_2 WHERE chassis = "bmw t269 (f2)"
Name the total number of points for chassis of bmw t269 (f2)
CREATE TABLE table_name_2 (points VARCHAR, chassis VARCHAR)
SELECT MIN(rank) FROM table_name_7 WHERE nation = "spain"
What is the lowest rank that spain got?
CREATE TABLE table_name_7 (rank INTEGER, nation VARCHAR)
SELECT score_in_the_final FROM table_23235546_1 WHERE outcome = "Winner" AND year = 1989
What was the score in the final when the outcome was winner in 1989?
CREATE TABLE table_23235546_1 (score_in_the_final VARCHAR, outcome VARCHAR, year VARCHAR)
SELECT sspec_number FROM table_name_57 WHERE i_o_bus = "ultra-low power"
What's the sSpec number of the processor having an ultra-low power I/O?
CREATE TABLE table_name_57 (sspec_number VARCHAR, i_o_bus VARCHAR)
SELECT high_points FROM table_23248910_9 WHERE team = "Pistons"
Who is every high points for the Pistons team?
CREATE TABLE table_23248910_9 (high_points VARCHAR, team VARCHAR)
SELECT surface FROM table_name_27 WHERE week = "october 21"
On what surface did they play the match in the week of October 21?
CREATE TABLE table_name_27 (surface VARCHAR, week VARCHAR)
SELECT third FROM table_name_60 WHERE nation = "england"
Who came in third in England?
CREATE TABLE table_name_60 (third VARCHAR, nation VARCHAR)
SELECT date FROM table_name_68 WHERE stage = "12"
Which date has a Stage of 12?
CREATE TABLE table_name_68 (date VARCHAR, stage VARCHAR)
SELECT date FROM table_name_34 WHERE circuit = "hockenheimring" AND winning_manufacturer = "mercedes-benz"
What was the date of Circuit Hockenheimring and the winning manufacturer being Mercedes-Benz?
CREATE TABLE table_name_34 (date VARCHAR, circuit VARCHAR, winning_manufacturer VARCHAR)
SELECT date FROM table_name_81 WHERE record = "4–0–0"
On what date was the record 4–0–0?
CREATE TABLE table_name_81 (date VARCHAR, record VARCHAR)
SELECT nickname FROM table_name_62 WHERE institution = "columbia university"
What is the nickname of Columbia University?
CREATE TABLE table_name_62 (nickname VARCHAR, institution VARCHAR)
SELECT traditional_chinese FROM table_name_14 WHERE standard_order > 9 AND simplified_chinese = "国殇"
What is the Traditional Chinese of 国殇 which is over 9?
CREATE TABLE table_name_14 (traditional_chinese VARCHAR, standard_order VARCHAR, simplified_chinese VARCHAR)
SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code WHERE T2.Product_Price > 100
What are the descriptions of the service types with product price above 100?
CREATE TABLE Services (Service_Type_Code VARCHAR, Product_Price INTEGER); CREATE TABLE Ref_Service_Types (Service_Type_Description VARCHAR, Service_Type_Code VARCHAR)
SELECT amiga_demo FROM table_2490289_1 WHERE pc_demo = "Alto Knallo (Free Electric Band)"
What won best amiga demo when alto knallo (free electric band) won best pc demo?
CREATE TABLE table_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR)
SELECT data FROM table_name_41 WHERE percent_gain = "28.4%"
Name the data with a percent gain of 28.4%
CREATE TABLE table_name_41 (data VARCHAR, percent_gain VARCHAR)
SELECT ihsaa_class FROM table_name_80 WHERE mascot = "rebels"
What is the IHSAA class for the school where the mascot is the Rebels?
CREATE TABLE table_name_80 (ihsaa_class VARCHAR, mascot VARCHAR)
SELECT MIN(year) FROM table_name_7 WHERE time = "12:49:08"
When was the time of 12:49:08 first set?
CREATE TABLE table_name_7 (year INTEGER, time VARCHAR)
SELECT 2013 FROM table_name_64 WHERE 2006 = "grand slam tournaments"
Which 2013 has a 2006 of grand slam tournaments?
CREATE TABLE table_name_64 (Id VARCHAR)
SELECT attendance FROM table_name_32 WHERE visitor = "san jose" AND date = "may 4"
What is the attendance at the game where San Jose was the visitor on May 4?
CREATE TABLE table_name_32 (attendance VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT MIN(area__km_2__) FROM table_name_47 WHERE type = "apostolic administration"
What Area (km 2) is lowest with a type being Apostolic Administration?
CREATE TABLE table_name_47 (area__km_2__ INTEGER, type VARCHAR)
SELECT date FROM table_name_54 WHERE score = "0 - 0"
On which date was the score 0 - 0?
CREATE TABLE table_name_54 (date VARCHAR, score VARCHAR)
SELECT name FROM table_name_79 WHERE transfer_window = "winter" AND moving_from = "roma"
What is the name of the player with a winter transfer window moving from Roma?
CREATE TABLE table_name_79 (name VARCHAR, transfer_window VARCHAR, moving_from VARCHAR)
SELECT AVG(losses) FROM table_name_58 WHERE played > 34
Which mean number of losses had a played number that was bigger than 34?
CREATE TABLE table_name_58 (losses INTEGER, played INTEGER)
SELECT MIN(year_s_) FROM table_1368649_9 WHERE spokesperson = "Thierry Beccaro"
What year was Thierry Beccaro the spokesperson?
CREATE TABLE table_1368649_9 (year_s_ INTEGER, spokesperson VARCHAR)
SELECT wins FROM table_27631002_1 WHERE position = "7th"
What are the wins for the 7th position?
CREATE TABLE table_27631002_1 (wins VARCHAR, position VARCHAR)
SELECT city FROM table_16046689_29 WHERE stadium = "Citrus Bowl" AND television = "ABC"
What city in the Citrus Bowl aired on ABC?
CREATE TABLE table_16046689_29 (city VARCHAR, stadium VARCHAR, television VARCHAR)
SELECT recording FROM table_name_86 WHERE year = "2012"
Name the recording for 2012
CREATE TABLE table_name_86 (recording VARCHAR, year VARCHAR)
SELECT T2.Season, T2.Player, T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country
Show the season, the player, and the name of the country that player belongs to.
CREATE TABLE match_season (Season VARCHAR, Player VARCHAR, Country VARCHAR); CREATE TABLE country (Country_name VARCHAR, Country_id VARCHAR)
SELECT long_term_gain_on_collectibles FROM table_name_48 WHERE ordinary_income_rate = "15%"
What long-term gain for collectibles coincides with ordinary income rate 15%?
CREATE TABLE table_name_48 (long_term_gain_on_collectibles VARCHAR, ordinary_income_rate VARCHAR)
SELECT example FROM table_name_56 WHERE type = "associative"
What is the example with the associative type?
CREATE TABLE table_name_56 (example VARCHAR, type VARCHAR)
SELECT position FROM table_name_62 WHERE game_1 = "colin scott"
What position has colin scott as game 1?
CREATE TABLE table_name_62 (position VARCHAR, game_1 VARCHAR)
SELECT term_in_office FROM table_name_42 WHERE member = "hon peter morris"
What was the term of Hon Peter Morris?
CREATE TABLE table_name_42 (term_in_office VARCHAR, member VARCHAR)
SELECT MAX(average_score) FROM table_name_29 WHERE artist = "black milk"
What is the highest score for Black Milk?
CREATE TABLE table_name_29 (average_score INTEGER, artist VARCHAR)
SELECT MAX(attendance) FROM table_name_85 WHERE date = "september 27, 1964"
What is the attendance of the game that was played on September 27, 1964?
CREATE TABLE table_name_85 (attendance INTEGER, date VARCHAR)
SELECT MIN(races) FROM table_name_67 WHERE podiums < 2 AND flaps > 0 AND season > 2008
Which team after 2008, with less than 2 podium finished and more than 0 FLAPS, had the lowest numberof races?
CREATE TABLE table_name_67 (races INTEGER, season VARCHAR, podiums VARCHAR, flaps VARCHAR)
SELECT COUNT(pick__number) FROM table_10960039_6 WHERE position = "FB"
How many fb players were drafted?
CREATE TABLE table_10960039_6 (pick__number VARCHAR, position VARCHAR)
SELECT title FROM table_18054886_1 WHERE viewers__millions_ = "3.7" AND directed_by = "David Kendall"
Which title, directed by David Kendall, had 3.7 million viewers?
CREATE TABLE table_18054886_1 (title VARCHAR, viewers__millions_ VARCHAR, directed_by VARCHAR)
SELECT europe FROM table_name_68 WHERE head_coach = "vainauskas , sakalauskas" AND regional_competitions = "nebl finalist"
WHAT IS THE ERUPE WITH HEAD COACH vainauskas , sakalauskas AND WITH NEBL FINALIST?
CREATE TABLE table_name_68 (europe VARCHAR, head_coach VARCHAR, regional_competitions VARCHAR)
SELECT shuttle_time__seconds_ FROM table_1751142_2 WHERE speed__km_h_ = "15.5"
What is the shuttle time for the level where the speed is 15.5 km/h?
CREATE TABLE table_1751142_2 (shuttle_time__seconds_ VARCHAR, speed__km_h_ VARCHAR)
SELECT result FROM table_name_34 WHERE opponent = "bye"
What's the result of the game against Bye?
CREATE TABLE table_name_34 (result VARCHAR, opponent VARCHAR)
SELECT verb_meaning FROM table_name_5 WHERE part_2 = "blēot"
What is the verb meaning when the part 2 is blēot?
CREATE TABLE table_name_5 (verb_meaning VARCHAR, part_2 VARCHAR)
SELECT category FROM table_name_56 WHERE director_s_ = "tom shankland"
what category is for tom shankland, director?
CREATE TABLE table_name_56 (category VARCHAR, director_s_ VARCHAR)
SELECT season FROM table_29697744_1 WHERE position = "9th"
in what year the position was the 9th
CREATE TABLE table_29697744_1 (season VARCHAR, position VARCHAR)
SELECT COUNT(population__2010_) FROM table_255812_1 WHERE area__km²_ = "134.51"
What is the total quantity of populace (2010) where location (km²) is 134.51
CREATE TABLE table_255812_1 (population__2010_ VARCHAR, area__km²_ VARCHAR)
SELECT years FROM table_name_91 WHERE area = "marton" AND decile = 3 AND name = "turakina maori girls' college"
Name the years for marton and decile of 3 for turakina maori girls' college?
CREATE TABLE table_name_91 (years VARCHAR, name VARCHAR, area VARCHAR, decile VARCHAR)
SELECT home FROM table_name_45 WHERE score = "2:1"
Who played hte home team when the score was 2:1?
CREATE TABLE table_name_45 (home VARCHAR, score VARCHAR)
SELECT nationality FROM table_name_51 WHERE position = "center" AND player = "mark eaton"
What nationality is mark eaton, center position?
CREATE TABLE table_name_51 (nationality VARCHAR, position VARCHAR, player VARCHAR)
SELECT T1.flno FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid = T2.aid WHERE T2.name = "Airbus A340-300"
Show all flight numbers with aircraft Airbus A340-300.
CREATE TABLE Flight (flno VARCHAR, aid VARCHAR); CREATE TABLE Aircraft (aid VARCHAR, name VARCHAR)
SELECT catalog FROM table_name_61 WHERE region = "canada" AND format = "cd/dvd"
Which Catalog has a Region of Canada and a Format of cd/dvd?
CREATE TABLE table_name_61 (catalog VARCHAR, region VARCHAR, format VARCHAR)
SELECT stadium FROM table_name_13 WHERE visiting_team = "new england patriots"
In what stadium were the New England Patriots the visiting team?
CREATE TABLE table_name_13 (stadium VARCHAR, visiting_team VARCHAR)
SELECT SUM(wins) FROM table_name_82 WHERE draws > 1 AND losses < 4 AND conceded = 20
What's the sum of WIns with Draws that's larger than 1, Losses that's smaller than 4, and Conceded of 20?
CREATE TABLE table_name_82 (wins INTEGER, conceded VARCHAR, draws VARCHAR, losses VARCHAR)
SELECT MIN(goals_for) FROM table_name_25 WHERE wins > 15 AND goal_difference > 35
What were the lowest goals when there were mor than 15 wins and the goal difference was larger than 35?
CREATE TABLE table_name_25 (goals_for INTEGER, wins VARCHAR, goal_difference VARCHAR)
SELECT nhl_team_s_ FROM table_1205598_1 WHERE nba_team_s_ = "Nuggets"
What is the the name of the NHL team that is in the same market as the NBA team, Nuggets?
CREATE TABLE table_1205598_1 (nhl_team_s_ VARCHAR, nba_team_s_ VARCHAR)
SELECT episode FROM table_11274401_3 WHERE viewers__m_ = "2.05"
What episode was seen by 2.05 million viewers?
CREATE TABLE table_11274401_3 (episode VARCHAR, viewers__m_ VARCHAR)
SELECT stage FROM table_name_93 WHERE mountains_classification = "mariano piccoli" AND points_classification = "mario cipollini" AND winner = "laudelino cubino"
Which stage has a mountains classification of Mariano Piccoli, a points classification of Mario Cipollini and was won by Laudelino Cubino?
CREATE TABLE table_name_93 (stage VARCHAR, winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR)
SELECT school FROM table_name_60 WHERE location = "rochester"
what is the school when the location is rochester?
CREATE TABLE table_name_60 (school VARCHAR, location VARCHAR)
SELECT MIN(lost) FROM table_name_46 WHERE games > 6
How many games lost for teams with over 6 games?
CREATE TABLE table_name_46 (lost INTEGER, games INTEGER)
SELECT points FROM table_name_96 WHERE lost = "19"
Name the points with lost of 19
CREATE TABLE table_name_96 (points VARCHAR, lost VARCHAR)
SELECT opponent FROM table_name_4 WHERE date = "november 11, 2001"
Who was the opponent on November 11, 2001?
CREATE TABLE table_name_4 (opponent VARCHAR, date VARCHAR)
SELECT directed_by FROM table_12419515_4 WHERE written_by = "Adam Milch"
Who directed the title that was written by Adam Milch?
CREATE TABLE table_12419515_4 (directed_by VARCHAR, written_by VARCHAR)
SELECT candidates FROM table_1342256_11 WHERE first_elected = 1924
Who ran for the House in the 1924 election?
CREATE TABLE table_1342256_11 (candidates VARCHAR, first_elected VARCHAR)
SELECT COUNT(young_rider_classification) FROM table_28538368_2 WHERE winner = "Diego Ulissi"
Who was the young rider classification when Diego Ulissi won?
CREATE TABLE table_28538368_2 (young_rider_classification VARCHAR, winner VARCHAR)
SELECT population__on_the_census_also_called_censo_2010_ FROM table_name_47 WHERE deputies_required_ignoring_the_limits < -6
According to the 2010 census, what was the population for the federal state that had less than -6 deputies required ignoring the limits?
CREATE TABLE table_name_47 (population__on_the_census_also_called_censo_2010_ VARCHAR, deputies_required_ignoring_the_limits INTEGER)
SELECT MIN(against) FROM table_name_93 WHERE drawn < 5 AND lost = 3 AND position = 3
Which Against has a Drawn smaller than 5, a Lost of 3, and a Position of 3?
CREATE TABLE table_name_93 (against INTEGER, position VARCHAR, drawn VARCHAR, lost VARCHAR)
SELECT in_service FROM table_name_12 WHERE origin = "brazil" AND versions = "c-95"
How many C-95 aircrafts originating in Brazil are currently in service?
CREATE TABLE table_name_12 (in_service VARCHAR, origin VARCHAR, versions VARCHAR)
SELECT feature FROM table_name_60 WHERE name = "bird ridge"
what is the feature named bird ridge?
CREATE TABLE table_name_60 (feature VARCHAR, name VARCHAR)
SELECT district FROM table_25030512_41 WHERE first_elected = 1994
Name the district for 1994
CREATE TABLE table_25030512_41 (district VARCHAR, first_elected VARCHAR)
SELECT senior_high_school__15_18_yrs_ FROM table_13555999_1 WHERE junior_high_school__12_15_yrs_ = "114cm"
What amount of senior high school where junior high school is 114cm?
CREATE TABLE table_13555999_1 (senior_high_school__15_18_yrs_ VARCHAR, junior_high_school__12_15_yrs_ VARCHAR)
SELECT region FROM table_name_15 WHERE date = "24 march 2006"
Which regio has a date of 24 march 2006?
CREATE TABLE table_name_15 (region VARCHAR, date VARCHAR)
SELECT clubs FROM table_name_59 WHERE position_in_1959_1960 = "1"
Which club was in Position 1 in 1959-1960?
CREATE TABLE table_name_59 (clubs VARCHAR, position_in_1959_1960 VARCHAR)
SELECT location_attendance FROM table_name_29 WHERE game = 63
What is the location and attendance of game 63?
CREATE TABLE table_name_29 (location_attendance VARCHAR, game VARCHAR)
SELECT COUNT(wins) FROM table_name_85 WHERE games < 7 AND goals_for > 2 AND goals_against < 6 AND draws = 1
what's the total win count for Games smaller than 7, and a Goals For larger than 2, and a Goals Against smaller than 6, and Draws of 1
CREATE TABLE table_name_85 (wins VARCHAR, draws VARCHAR, goals_against VARCHAR, games VARCHAR, goals_for VARCHAR)
SELECT place FROM table_name_2 WHERE player = "emmet french"
In which place is Emmet French?
CREATE TABLE table_name_2 (place VARCHAR, player VARCHAR)
SELECT state_ranked_in_partisan_order FROM table_name_66 WHERE percentage_democrats = "25%" AND republican__democratic = "6/2"
What state is 25% Democrats has a ratio of 6/2 of Republicans to Democrats?
CREATE TABLE table_name_66 (state_ranked_in_partisan_order VARCHAR, percentage_democrats VARCHAR, republican__democratic VARCHAR)
SELECT platform_ & _frequency_[mhz] FROM table_name_46 WHERE model = "whr-g54s"
What is the platform & frequency [MHz] of the whr-g54s model?
CREATE TABLE table_name_46 (platform_ VARCHAR, _frequency_ VARCHAR, mhz VARCHAR, model VARCHAR)
SELECT COUNT(title) FROM table_15431251_1 WHERE no_in_season = 7
What is the title for episode number 7 in the season?
CREATE TABLE table_15431251_1 (title VARCHAR, no_in_season VARCHAR)