instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: what are the total number of singles in 1974 ? ### Response:
SELECT COUNT("single") FROM table_203_877 WHERE "year" = 1974
### Instruction: A bar graph listing the services and how many services provided by all stations, list in desc by the x axis. ### Response:
SELECT services, COUNT(services) FROM station GROUP BY services ORDER BY services DESC
### Instruction: What movie won with a date of 12/11/03 ### Response:
SELECT recipient FROM table_name_78 WHERE date = "12/11/03"
### Instruction: Which Crowd has an Away team of st kilda? ### Response:
SELECT "Crowd" FROM table_51358 WHERE "Away team" = 'st kilda'
### Instruction: Name the general classification for steven kruijswijk ### Response:
SELECT "General classification" FROM table_30922 WHERE "Winner" = 'Steven Kruijswijk'
### Instruction: Which method was used in round 1 with a record of 1-0? ### Response:
SELECT method FROM table_name_89 WHERE round = 1 AND record = "1-0"
### Instruction: When playing at the Kardinia Park; what was the home teams score? ### Response:
SELECT home_team AS score FROM table_name_39 WHERE venue = "kardinia park"
### Instruction: What was the average attendance on October 12? ### Response:
SELECT AVG("Attendance") FROM table_14722 WHERE "Date" = 'october 12'
### Instruction: What's Italy's time when the notes were SA/B? ### Response:
SELECT time FROM table_name_96 WHERE notes = "sa/b" AND country = "italy"
### Instruction: Loss of gonz lez (0 3) had what attendance? ### Response:
SELECT attendance FROM table_name_32 WHERE loss = "gonzález (0–3)"
### Instruction: Who was the opponent at the game when the record was 22-13? ### Response:
SELECT opponent FROM table_name_95 WHERE record = "22-13"
### Instruction: How many channels are there in the Greater Tokyo area? ### Response:
SELECT COUNT(channel) FROM table_2638104_1 WHERE broadcast_area = "Greater Tokyo"
### Instruction: Who came in 3rd when Matej agar won? ### Response:
SELECT "3rd place" FROM table_70987 WHERE "Winners" = 'matej žagar'
### Instruction: Tell me the location for altitude being less thaan 6102 ### Response:
SELECT location FROM table_name_31 WHERE altitude__metres_ < 6102
### Instruction: Can you tell me the manufacturer behind Race Hill Farm Team? ### Response:
SELECT "Manufacturer" FROM table_25242 WHERE "Team" = 'Race Hill Farm Team'
### Instruction: The Club of Ekranas was an away with a score of what? ### Response:
SELECT "Away" FROM table_70041 WHERE "Club" = 'ekranas'
### Instruction: What scores did grand finalist hawthorn have? ### Response:
SELECT "Scores" FROM table_53156 WHERE "Grand Finalist" = 'hawthorn'
### Instruction: What is Lost, when Points For is '257'? ### Response:
SELECT "Lost" FROM table_46999 WHERE "Points for" = '257'
### Instruction: What was the number of wins with goals against of less than 32? ### Response:
SELECT COUNT(wins) FROM table_name_96 WHERE goals_against < 32
### Instruction: What label is in CD format in Australia? ### Response:
SELECT "Label" FROM table_59364 WHERE "Format" = 'cd' AND "Region" = 'australia'
### Instruction: which contestant wore their dress only in the color pink ? ### Response:
SELECT "finalist" FROM table_203_129 WHERE "dress colour" = 'pink'
### Instruction: What was the number of game that was played on March 19? ### Response:
SELECT "Game" FROM table_47585 WHERE "Date" = 'march 19'
### Instruction: In district North Carolina 10, what are the candidates? ### Response:
SELECT candidates FROM table_2668336_17 WHERE district = "North Carolina 10"
### Instruction: Who was the opponent of the game on August 8? ### Response:
SELECT "Opponent" FROM table_70969 WHERE "Date" = 'august 8'
### Instruction: under which president was gunther volz executed? ### Response:
SELECT under_president FROM table_2861364_1 WHERE executed_person = "Gunther Volz"
### Instruction: What is the capital of Uasin Gishu county? ### Response:
SELECT capital FROM table_16278894_1 WHERE county = "Uasin Gishu"
### Instruction: What is the first year of the European Championships competition? ### Response:
SELECT MIN("Year") FROM table_68767 WHERE "Competition" = 'european championships'
### Instruction: Which Segment A has a Segment B of s awning? ### Response:
SELECT "Segment A" FROM table_5431 WHERE "Segment B" = 's awning'
### Instruction: What is Pick, when Player is 'Dexter Bailey'? ### Response:
SELECT "Pick" FROM table_44206 WHERE "Player" = 'dexter bailey'
### Instruction: What is the bowling style of chris harris? ### Response:
SELECT bowling_style FROM table_11950720_4 WHERE player = "Chris Harris"
### Instruction: how many titles did bob balsar direct ? ### Response:
SELECT COUNT("title") FROM table_201_39 WHERE "directed by" = 'bob balsar'
### Instruction: What did Essendon score as the Away team? ### Response:
SELECT "Away team score" FROM table_10720 WHERE "Away team" = 'essendon'
### Instruction: What is the home leg who are opponents of rotor volgograd ### Response:
SELECT home_leg FROM table_name_88 WHERE opponents = "rotor volgograd"
### Instruction: what is the title when the writer(s) is jack turley? ### Response:
SELECT "Title" FROM table_24173 WHERE "Writer(s)" = 'Jack Turley'
### Instruction: What is the highest playoffs that has tampa bay as the team? ### Response:
SELECT MAX("Playoffs") FROM table_5876 WHERE "Teams" = 'tampa bay'
### Instruction: What is Upstream, when Price is '14 EUR'? ### Response:
SELECT "Upstream" FROM table_50858 WHERE "Price" = '14 eur'
### Instruction: how many clubs entered competition after 1945 ? ### Response:
SELECT COUNT("club") FROM table_204_959 WHERE "entered competition" > 1945
### Instruction: what is the lowest round pole position of satoshi motoyama ### Response:
SELECT MIN(round) FROM table_name_22 WHERE pole_position = "satoshi motoyama"
### Instruction: What was the tie number for the round against visiting opponent Newcastle United? ### Response:
SELECT tie_no FROM table_name_53 WHERE away_team = "newcastle united"
### Instruction: What was the result for the award for best current affairs presenter? ### Response:
SELECT "Result" FROM table_63093 WHERE "Award" = 'best current affairs presenter'
### Instruction: What format was released in August 1996? ### Response:
SELECT "Format" FROM table_77114 WHERE "Release Date" = 'august 1996'
### Instruction: What was the location of the accident that led to 50/50 fatalities? ### Response:
SELECT location FROM table_name_84 WHERE fatalities = "50/50"
### Instruction: Search comments by keyword and user id. ### Response:
SELECT Id AS "comment_link", Text, CreationDate FROM Comments WHERE Text LIKE '%##Keyword##%' ORDER BY CreationDate DESC
### Instruction: Who is the sprint classification where Francisco Ventoso wins? ### Response:
SELECT "Sprint Classification" FROM table_31100 WHERE "Winner" = 'Francisco Ventoso'
### Instruction: Who was the opponent of carlton at their home game? ### Response:
SELECT "Away team" FROM table_52060 WHERE "Home team" = 'carlton'
### Instruction: How many games had Montreal Canadiens as an opponent? ### Response:
SELECT SUM("Game") FROM table_9086 WHERE "Opponent" = 'montreal canadiens'
### Instruction: What is the career SR with a 1r in 1985? ### Response:
SELECT career_sr FROM table_name_43 WHERE 1985 = "1r"
### Instruction: Which Total Apps (sub) has 6 goals total? ### Response:
SELECT "Total Apps (Sub)" FROM table_40822 WHERE "Total Goals" = '6'
### Instruction: What company focuses on Engine Overhaul for their principal activity? ### Response:
SELECT "Company" FROM table_42520 WHERE "Principal activities" = 'engine overhaul'
### Instruction: Who wrote the episode titled 'Trojan Horst'? ### Response:
SELECT "Written by" FROM table_22357 WHERE "Title" = 'Trojan Horst'
### Instruction: What is the away team for the tie no. 29? ### Response:
SELECT "Away team" FROM table_46068 WHERE "Tie no" = '29'
### Instruction: Which kind of release type is the most popular? ### Response:
SELECT releasetype FROM torrents GROUP BY releasetype ORDER BY SUM(totalsnatched) DESC LIMIT 1
### Instruction: if the geez is libb, what is the akkadian? ### Response:
SELECT akkadian FROM table_26919_7 WHERE geez = "libb"
### Instruction: What is the title of the episode with production code 305? ### Response:
SELECT title FROM table_26448179_4 WHERE production_code = 305
### Instruction: How tall is the structure built in 1907? ### Response:
SELECT "Height ft (m)" FROM table_59946 WHERE "Year" = '1907'
### Instruction: how many swimmers from china participated in the race ? ### Response:
SELECT COUNT("name") FROM table_204_422 WHERE "nationality" = 'china'
### Instruction: Which First Pref votes have a % of seats of 0.8? ### Response:
SELECT "First Pref votes" FROM table_7973 WHERE "% of seats" = '0.8'
### Instruction: What is the biggended for 1947? ### Response:
SELECT MAX("Biggenden") FROM table_17704 WHERE "Year" = '1947'
### Instruction: What format has a catalogue of asw 40362? ### Response:
SELECT format FROM table_name_81 WHERE catalogue = "asw 40362"
### Instruction: What is the leg for c. atkinson ### Response:
SELECT leg FROM table_13050822_2 WHERE rally_leader = "C. Atkinson"
### Instruction: Who wrote the episode titled 'The Morning After Job'? ### Response:
SELECT "Written by" FROM table_23832 WHERE "Title" = 'The Morning After Job'
### Instruction: What's the lowest Year with the Location of Bangkok? ### Response:
SELECT MIN("Year") FROM table_74887 WHERE "Location" = 'bangkok'
### Instruction: Name the archive for run time of 23:55 ### Response:
SELECT "Archive" FROM table_24055 WHERE "Run time" = '23:55'
### Instruction: What is Bandwidth Included, when Price is '50 EUR'? ### Response:
SELECT bandwidth_included FROM table_name_45 WHERE price = "50 eur"
### Instruction: If finishes is 10, what is the POS minimum? ### Response:
SELECT MIN("Pos") FROM table_26009 WHERE "Finishes" = '10'
### Instruction: Who was the brother of Edward VIII? ### Response:
SELECT name FROM table_name_41 WHERE relationship_with_predecessor_s_ = "brother of edward viii"
### Instruction: What was the run 3 for the team in rank 12? ### Response:
SELECT "Run 3" FROM table_47138 WHERE "Rank" = '12'
### Instruction: What is the average Heat for anjelika solovieva? ### Response:
SELECT AVG(heat) FROM table_name_38 WHERE name = "anjelika solovieva"
### Instruction: what is the tournament when the score is 2-6, 4-6? ### Response:
SELECT tournament FROM table_name_1 WHERE score = "2-6, 4-6"
### Instruction: How tall is contestant Alexandra D az Bello? ### Response:
SELECT height FROM table_22447251_2 WHERE contestant = "Alexandra Díaz Bello"
### Instruction: Tell me the sum of pick number for kenny arena ### Response:
SELECT SUM("Pick #") FROM table_31691 WHERE "Player" = 'kenny arena'
### Instruction: What is the place number for the player with a To Par score of 'E'? ### Response:
SELECT "Place" FROM table_78619 WHERE "To par" = 'e'
### Instruction: What is the Finish for the 1950 51? season? ### Response:
SELECT finish FROM table_name_22 WHERE season = "1950–51"
### Instruction: what is the affiliation of the hilltoppers mascot? ### Response:
SELECT affiliation FROM table_20887670_1 WHERE mascot = "Hilltoppers"
### Instruction: What is the name of the church that is located in flor ? ### Response:
SELECT church_name FROM table_name_29 WHERE location_of_the_church = "florø"
### Instruction: What the since year of the player with a transfer fee of 75k? ### Response:
SELECT since FROM table_name_76 WHERE transfer_fee = "£ 75k"
### Instruction: What are the names and year of construction for the mills of 'Grondzeiler' type? ### Response:
SELECT name, built_year FROM mill WHERE TYPE = 'Grondzeiler'
### Instruction: What is the name origin of Morrigan Linea? ### Response:
SELECT name AS origin FROM table_16799784_9 WHERE name = "Morrigan Linea"
### Instruction: how many television channels in nambor , queensland are in hd ? ### Response:
SELECT COUNT("channel") FROM table_203_51 WHERE "definition" = 'hd'
### Instruction: What team does Seth Sinovic play for? ### Response:
SELECT mls_team FROM table_25518547_2 WHERE player = "Seth Sinovic"
### Instruction: Which Record has an Event of tpf 5: stars and strikes? ### Response:
SELECT record FROM table_name_21 WHERE event = "tpf 5: stars and strikes"
### Instruction: What is the Capacity of Ernst-Abbe-Sportfeld? ### Response:
SELECT capacity FROM table_name_25 WHERE stadium = "ernst-abbe-sportfeld"
### Instruction: The los angeles kings drafted what player in the 7th round ### Response:
SELECT "Player" FROM table_1099 WHERE "NHL team" = 'Los Angeles Kings'
### Instruction: Who is the opponent(s) in round 6? ### Response:
SELECT "Opponents" FROM table_61140 WHERE "Round" = 'round 6'
### Instruction: What is the series 4 with sarah newman in series 1? ### Response:
SELECT series_4 FROM table_name_70 WHERE series_1 = "sarah newman"
### Instruction: What was the result of the race where the jockey was J. Marshall? ### Response:
SELECT "Result" FROM table_23770 WHERE "Jockey" = 'J. Marshall'
### Instruction: What player is associated with soenderjyske.dk? ### Response:
SELECT "Name" FROM table_59925 WHERE "Source" = 'soenderjyske.dk'
### Instruction: What is the content of the rai 1 television service? ### Response:
SELECT content FROM table_15887683_1 WHERE television_service = "Rai 1"
### Instruction: Which rank has a team of Suzuki with under 16 points? ### Response:
SELECT rank FROM table_name_96 WHERE team = "suzuki" AND points < 16
### Instruction: new users' short(ish) answers to old(ish) questions. ### Response:
SELECT CreationDate FROM Posts WHERE CreationDate > 2020 - 10 - 1
### Instruction: Who was the opponent when Devin Gardner was the player? ### Response:
SELECT opponent FROM table_26108103_2 WHERE player = "Devin Gardner"
### Instruction: What is the most recent year that Iftiraas was the winner? ### Response:
SELECT MAX("Year") FROM table_49901 WHERE "Winner" = 'iftiraas'
### Instruction: What was the date of the game when St. Louis was the home team? ### Response:
SELECT "Date" FROM table_6085 WHERE "Home" = 'st. louis'
### Instruction: What is the birth date for Mervyn Dillon? ### Response:
SELECT "Date of Birth" FROM table_58421 WHERE "Player" = 'mervyn dillon'
### Instruction: how many hometowns for faisal aden? ### Response:
SELECT COUNT("Hometown") FROM table_31261 WHERE "Name" = 'Faisal Aden'
### Instruction: Which award was given to Lianhe Zaobao? ### Response:
SELECT "Award" FROM table_63094 WHERE "Organisation" = 'lianhe zaobao'
### Instruction: What's the highest Year with the Record of 18-12? ### Response:
SELECT MAX(year) FROM table_name_23 WHERE record = "18-12"
### Instruction: What was the lowest attendance by the game that had an away team of Vida? ### Response:
SELECT MIN(attendance) FROM table_name_47 WHERE away = "vida"
### Instruction: How may players have a passing yard score of 208? ### Response:
SELECT COUNT("Player") FROM table_30689 WHERE "Passing yards" = '208'
### Instruction: Who is the Arkansas player associated with Ken Stabler? ### Response:
SELECT "Arkansas" FROM table_80223 WHERE "Alabama" = 'ken stabler'