instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: How many were in the crowd when the score was 97-80? ### Response:
SELECT COUNT(crowd) FROM table_name_48 WHERE score = "97-80"
### Instruction: How many people watched a Glenferrie Oval? ### Response:
SELECT COUNT("Crowd") FROM table_32311 WHERE "Venue" = 'glenferrie oval'
### Instruction: What is the Q1 time for the driver with Q1 order of 6? ### Response:
SELECT "Q1 time" FROM table_21251 WHERE "Q1 order" = '6'
### Instruction: Name the writers for swedish sailor ### Response:
SELECT writer_s_ FROM table_19852975_3 WHERE arties_disguises = "Swedish sailor"
### Instruction: Which Location has an Event of king of the cage: flash point? ### Response:
SELECT "Location" FROM table_5033 WHERE "Event" = 'king of the cage: flash point'
### Instruction: Who was the conference player of the year from an independent conference? ### Response:
SELECT "Conference Player of the Year" FROM table_30823 WHERE "Conference" = 'Independent'
### Instruction: Was it a win or a loss for Wanganui in Paeroa? ### Response:
SELECT "Win/Loss" FROM table_29091 WHERE "Location" = 'Paeroa'
### Instruction: What is the Time with a Score that is 80-34? ### Response:
SELECT "Time" FROM table_75856 WHERE "Score" = '80-34'
### Instruction: What was the winning score when there were 9 strokes advantage? ### Response:
SELECT "Winning score" FROM table_74728 WHERE "Margin of victory" = '9 strokes'
### Instruction: What was the result of the election with incumbent john lewis? ### Response:
SELECT result FROM table_27487712_1 WHERE incumbent = "John Lewis"
### Instruction: Name the number of nationalities for ryan mckie ### Response:
SELECT COUNT(nationality) FROM table_2840500_8 WHERE player = "Ryan Mckie"
### Instruction: What was the box score during a game that had a score of 86-96? ### Response:
SELECT Box AS score FROM table_name_20 WHERE score = "86-96"
### Instruction: What is the Theme of the coin with an Issue Price of $89.95? ### Response:
SELECT theme FROM table_name_95 WHERE issue_price = "$89.95"
### Instruction: What is the Location of the Frequency with a Callsign of DXBL? ### Response:
SELECT "Location" FROM table_48363 WHERE "Callsign" = 'dxbl'
### Instruction: What are the rounds for champion New Zealand (130 points)? ### Response:
SELECT AVG(rounds) FROM table_name_1 WHERE champion = "new zealand (130 points)"
### Instruction: How many NFL teams does Stevie Brown play for? ### Response:
SELECT COUNT(nfl_team) FROM table_20996923_25 WHERE player = "Stevie Brown"
### Instruction: Name the del pueblo for centennial 1988 ### Response:
SELECT "del Pueblo" FROM table_20445 WHERE "Centennial" = '1988'
### Instruction: What was the score to par in 1960? ### Response:
SELECT "To par" FROM table_71861 WHERE "Year(s) won" = '1960'
### Instruction: Which Category in Brown has a Frequency of 0.08%? ### Response:
SELECT "Brown" FROM table_42075 WHERE "Frequency" = '0.08%'
### Instruction: What is the production code for episode 31 in the series? ### Response:
SELECT MIN("Prod. code") FROM table_26406 WHERE "Series #" = '31'
### Instruction: which type of drug is ferrous sulfate? ### Response:
SELECT prescriptions.drug_type FROM prescriptions WHERE prescriptions.drug = "Ferrous Sulfate"
### Instruction: Which channel was on 28 December 2008? ### Response:
SELECT "Channel" FROM table_43294 WHERE "Date" = '28 december 2008'
### Instruction: HOw many points where there when the number of goals scored was 47? ### Response:
SELECT MAX("Points") FROM table_22076 WHERE "Goals scored" = '47'
### Instruction: What is the total number of round values that had opponents named Paul Sutherland? ### Response:
SELECT COUNT(round) FROM table_name_93 WHERE opponent = "paul sutherland"
### Instruction: What is the frequency of 104.3 business radio? ### Response:
SELECT "Frequency" FROM table_36864 WHERE "Name" = '104.3 business radio'
### Instruction: What was the 2nd Party in the 1918 Election? ### Response:
SELECT 2 AS nd_party FROM table_name_66 WHERE election = "1918"
### Instruction: Who was the entrant for all the round with Jean Alesi? ### Response:
SELECT entrant FROM table_name_46 WHERE rounds = "all" AND driver = "jean alesi"
### Instruction: what's the season with regionalliga nord being vfb oldenburg ### Response:
SELECT "Season" FROM table_957 WHERE "Regionalliga Nord" = 'VfB Oldenburg'
### Instruction: Show home city where at least two drivers older than 40 are from. ### Response:
SELECT home_city FROM driver WHERE age > 40 GROUP BY home_city HAVING COUNT(*) >= 2
### Instruction: Visualize a bar chart about the distribution of Time and meter_100 , and list by the X in ascending please. ### Response:
SELECT Time, meter_100 FROM swimmer ORDER BY Time
### Instruction: What is the name for 30 september 1943? ### Response:
SELECT "Name" FROM table_465 WHERE "Launched" = '30 September 1943'
### Instruction: Tags a user questions/answers involved in. ### Response:
SELECT Users.Id, Posts.Id, Posts.Tags FROM Posts INNER JOIN Users ON Users.Id = Posts.OwnerUserId
### Instruction: What circuit was the FR3.5 11 series on? ### Response:
SELECT circuit FROM table_25572068_1 WHERE series = "FR3.5 11"
### Instruction: What is the Studio of the Film directed by Paul Greengrass? ### Response:
SELECT "Studio(s)" FROM table_13742 WHERE "Director" = 'paul greengrass'
### Instruction: What is the date of birth of Henry Qiodravu? ### Response:
SELECT date_of_birth__age_ FROM table_name_49 WHERE player = "henry qiodravu"
### Instruction: Who was the incumbent for the election in 1978? ### Response:
SELECT incumbent FROM table_27487712_1 WHERE elected = 1978
### Instruction: What is the status for 07/01/1961? ### Response:
SELECT status FROM table_name_91 WHERE date = "07/01/1961"
### Instruction: What is the lowest number of league cups with 4 championships? ### Response:
SELECT MIN("League Cup") FROM table_67083 WHERE "Championship" = '4'
### Instruction: How few losses were the least number of losses and points higher than 23? ### Response:
SELECT MIN("Lost") FROM table_42939 WHERE "Points" > '23'
### Instruction: What is Duration, when Test Flight is Taxi Test #2? ### Response:
SELECT "Duration" FROM table_48193 WHERE "Test flight" = 'taxi test #2'
### Instruction: What is every number for the hometown of Canton, Illinois? ### Response:
SELECT no FROM table_22824297_1 WHERE hometown = "Canton, Illinois"
### Instruction: Which Round has an Opponent of jorge magalhaes? ### Response:
SELECT AVG(round) FROM table_name_83 WHERE opponent = "jorge magalhaes"
### Instruction: What is the ethernet ports of the u10 appliance? ### Response:
SELECT "Ethernet Ports" FROM table_43383 WHERE "Name" = 'u10'
### Instruction: What is the chinese name of the province whose capital is hangzhou? ### Response:
SELECT chinese_name FROM table_254234_1 WHERE capital = "Hangzhou"
### Instruction: What is the percentage of Android use when Windows is 1.15%? ### Response:
SELECT android FROM table_11381701_3 WHERE windows = "1.15%"
### Instruction: What is the total amount of trees when district is leninsky? ### Response:
SELECT MAX("Total amount of trees") FROM table_72093 WHERE "District" = 'Leninsky'
### Instruction: Which stadiums have an average attendance of 13840? ### Response:
SELECT "Stadium" FROM table_157 WHERE "Average" = '13840'
### Instruction: What is the Language that has sky tg 24 active as the Television service? ### Response:
SELECT language FROM table_name_83 WHERE television_service = "sky tg 24 active"
### Instruction: What is the target market of the station with call sign KFXS? ### Response:
SELECT "Target city/ market" FROM table_18759 WHERE "Call sign" = 'KFXS'
### Instruction: what is the reader's vote for 2011? ### Response:
SELECT "Reader's Vote" FROM table_46015 WHERE "Year" = '2011'
### Instruction: Where was the tournament won by Hale Irwin (19)? ### Response:
SELECT "Location" FROM table_36619 WHERE "Winner" = 'hale irwin (19)'
### Instruction: Which parishes have a railroad length of 51.8 meters? ### Response:
SELECT "Parish" FROM table_20626 WHERE "Length meters" = '51.8'
### Instruction: Which orchestra has a recording year of 1951? ### Response:
SELECT "Orchestra" FROM table_73365 WHERE "Year of Recording" = '1951'
### Instruction: Which 20-29 had a season of 1997? ### Response:
SELECT 20 AS _29 FROM table_name_11 WHERE season = "1997"
### Instruction: what is the result on september 10, 2008? ### Response:
SELECT result FROM table_name_43 WHERE date = "september 10, 2008"
### Instruction: What round did the match go to when tko (cut) was the method? ### Response:
SELECT "Round" FROM table_49968 WHERE "Method" = 'tko (cut)'
### Instruction: What is the postion when the nhl team is los angeles kings? ### Response:
SELECT "Position" FROM table_30581 WHERE "NHL team" = 'Los Angeles Kings'
### Instruction: Find the number of accounts with a savings balance that is higher than the average savings balance. ### Response:
SELECT COUNT(*) FROM savings WHERE balance > (SELECT AVG(balance) FROM savings)
### Instruction: What is the Places amount of the United States Ranking 8? ### Response:
SELECT AVG(places) FROM table_name_71 WHERE nation = "united states" AND rank = 8
### Instruction: What is the 17th c. pronunciation when the british is ? ### Response:
SELECT 17 AS th_c FROM table_name_68 WHERE british = "əʊ"
### Instruction: Who had the most assists and how many did they have in the game against Miami? ### Response:
SELECT "High assists" FROM table_21199 WHERE "Team" = 'Miami'
### Instruction: What is the average money ($) that Tom Weiskopf made? ### Response:
SELECT AVG(money___) AS $__ FROM table_name_54 WHERE player = "tom weiskopf"
### Instruction: how many first elected with district is kansas 3 ### Response:
SELECT COUNT(first_elected) FROM table_1342359_15 WHERE district = "Kansas 3"
### Instruction: What is the home team of the game with the Raptors as the visitor team? ### Response:
SELECT "Home" FROM table_11363 WHERE "Visitor" = 'raptors'
### Instruction: How many episodes are numbered 14 in the series? ### Response:
SELECT COUNT(episode) FROM table_27081956_1 WHERE series_no = 14
### Instruction: What date was the Set 3 of 12 25? ### Response:
SELECT "Date" FROM table_45191 WHERE "Set 3" = '12–25'
### Instruction: What is the status in the district with the incumbent Bob Barr? ### Response:
SELECT status FROM table_26336739_1 WHERE incumbent = "Bob Barr"
### Instruction: What are all the dsl type offered by the M-Net telecom company? ### Response:
SELECT "DSL Type" FROM table_72931 WHERE "Provider" = 'M-net'
### Instruction: When was the episode written by Albert Kim aired for the first time? ### Response:
SELECT "Original air date" FROM table_23829 WHERE "Written by" = 'Albert Kim'
### Instruction: Score of 108-85 is what lowest game? ### Response:
SELECT MIN("Game") FROM table_5181 WHERE "Score" = '108-85'
### Instruction: Can you tell me the average Conference Finals that has Finals smaller than 5? ### Response:
SELECT AVG(conference_finals) FROM table_name_32 WHERE finals < 5
### Instruction: If the third name is Bruno Bonifacio, what is the champion? ### Response:
SELECT "Champion" FROM table_3302 WHERE "Third" = 'Bruno Bonifacio'
### Instruction: what are the total number of non friendly competitions ? ### Response:
SELECT COUNT(DISTINCT "date") FROM table_203_138 WHERE "competition" <> 'friendly'
### Instruction: What is the total enrollment of the aa IHSAA class? ### Response:
SELECT COUNT("Enrollment") FROM table_64512 WHERE "IHSAA Class" = 'aa'
### Instruction: How many episodes in the series has a production code of 111? ### Response:
SELECT COUNT("Series") FROM table_26836 WHERE "Production code" = '111'
### Instruction: What's the season number of the episode titled 'Quitters'? ### Response:
SELECT MIN("No. in season") FROM table_660 WHERE "Title" = 'Quitters'
### Instruction: what is age and gender of subject id 2560? ### Response:
SELECT demographic.age, demographic.gender FROM demographic WHERE demographic.subject_id = "2560"
### Instruction: What is Tries Against, when Tries For is 20? ### Response:
SELECT "Tries against" FROM table_45357 WHERE "Tries for" = '20'
### Instruction: What is the Week of the game against Minnesota Vikings? ### Response:
SELECT MAX("Week") FROM table_13710 WHERE "Opponent" = 'minnesota vikings'
### Instruction: What location was listed on 1977-11-23? ### Response:
SELECT location FROM table_name_25 WHERE listed = "1977-11-23"
### Instruction: what are patient 031-1337's gender? ### Response:
SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '031-1337'
### Instruction: What is Status, when Opposing Teams is 'Scotland'? ### Response:
SELECT "Status" FROM table_62617 WHERE "Opposing Teams" = 'scotland'
### Instruction: what is the record for years 2006-11? ### Response:
SELECT "Record" FROM table_9760 WHERE "Years" = '2006-11'
### Instruction: What is the total number of Weight(s), when Block is 300? ### Response:
SELECT COUNT("Weight") FROM table_7544 WHERE "Block" = '300'
### Instruction: Who wrote the episode titled 'Red's Birthday'? ### Response:
SELECT "Written by" FROM table_30181 WHERE "Title" = 'Red''s Birthday'
### Instruction: who is the home team when the away team is rivercity rage? ### Response:
SELECT "Home Team" FROM table_63517 WHERE "Away Team" = 'rivercity rage'
### Instruction: Which Rank has a Scorer of lee sang-cheol? ### Response:
SELECT "Rank" FROM table_37161 WHERE "Scorer" = 'lee sang-cheol'
### Instruction: What did the home team score when South Melbourne was the away team? ### Response:
SELECT "Home team score" FROM table_56652 WHERE "Away team" = 'south melbourne'
### Instruction: Find me top 10 albums ranked by their popularity. ### Response:
SELECT groupname FROM torrents WHERE releasetype = "album" ORDER BY totalsnatched DESC LIMIT 10
### Instruction: What's the exposure fusion of Panoramaplus x4? ### Response:
SELECT exposure_fusion FROM table_name_38 WHERE name = "panoramaplus x4"
### Instruction: What is the earliest year Stuart Janney III was an owner? ### Response:
SELECT MIN("Year") FROM table_46915 WHERE "Owner" = 'stuart janney iii'
### Instruction: What is the ICAO in France with an IATA of Ory? ### Response:
SELECT icao FROM table_name_79 WHERE country = "france" AND iata = "ory"
### Instruction: What is the highest round number with a time of 4:39? ### Response:
SELECT MAX("Round") FROM table_78353 WHERE "Time" = '4:39'
### Instruction: Name the number of ends lost for 6 stolen ends ### Response:
SELECT COUNT(Ends) AS lost FROM table_26745426_2 WHERE stolen_ends = 6
### Instruction: What is the smallest lane number of Xue Ruipeng? ### Response:
SELECT MIN("Lane") FROM table_79600 WHERE "Name" = 'xue ruipeng'
### Instruction: Which Poll source has Pat Toomey of 23%? ### Response:
SELECT "Poll source" FROM table_76368 WHERE "Pat Toomey" = '23%'
### Instruction: Which Score has High points of raymond felton (32)? ### Response:
SELECT "Score" FROM table_7931 WHERE "High points" = 'raymond felton (32)'
### Instruction: What record was reached when the Eagles played the Phoenix Cardinals? ### Response:
SELECT "Record" FROM table_1502 WHERE "Opponent" = 'Phoenix Cardinals'
### Instruction: What is the height of the building built by architects Ross and Macfarlane? ### Response:
SELECT height_ AS "m" FROM table_name_27 WHERE architect = "ross and macfarlane"
### Instruction: What are some useful courses to take before taking CAAS 348 ? ### Response:
SELECT DISTINCT advisory_requirement FROM course WHERE department = 'CAAS' AND number = 348