instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: Name the least podiums for 2009 ### Response:
SELECT MIN("Podiums") FROM table_29379 WHERE "Season" = '2009'
### Instruction: What average goals have matches less than 228? ### Response:
SELECT AVG("Goals") FROM table_76136 WHERE "Matches" < '228'
### Instruction: What Season had Dundee United as a Winner? ### Response:
SELECT "Season" FROM table_58380 WHERE "Winners" = 'dundee united'
### Instruction: What is home team Chelsea's Tie no? ### Response:
SELECT "Tie no" FROM table_46988 WHERE "Home team" = 'chelsea'
### Instruction: Which Season 1 has a Season 7 of david chilton? ### Response:
SELECT season_1 FROM table_name_5 WHERE season_7 = "david chilton"
### Instruction: On what date was a game played, which left the team with a record of 5-7? ### Response:
SELECT date FROM table_name_16 WHERE record = "5-7"
### Instruction: When 790 am is the frequency what is the format? ### Response:
SELECT "Format" FROM table_23017 WHERE "Frequency" = '790 AM'
### Instruction: what was the section where the winner is william hoge ### Response:
SELECT district FROM table_2668378_13 WHERE incumbent = "William Hoge"
### Instruction: How many rounds had an overall of 211? ### Response:
SELECT COUNT("Round") FROM table_39343 WHERE "Overall" = '211'
### Instruction: Who were the visitors when the Atlanta Falcons were the home team? ### Response:
SELECT designated_visitors FROM table_name_42 WHERE designated_home = "atlanta falcons"
### Instruction: How did the season with 7-2 conference record ed? ### Response:
SELECT result FROM table_20319085_2 WHERE conference_record = "7-2"
### Instruction: What Venue had Carlton has the Away team? ### Response:
SELECT "Venue" FROM table_55964 WHERE "Away team" = 'carlton'
### Instruction: What were the round results when Hanne Skak Jensen faced Austria? ### Response:
SELECT "Result" FROM table_3278 WHERE "Against" = 'Austria'
### Instruction: Where was home with a record of 7 5 2? ### Response:
SELECT "Home" FROM table_37585 WHERE "Record" = '7–5–2'
### Instruction: What score did the home team of north melbourne get? ### Response:
SELECT "Home team score" FROM table_78191 WHERE "Home team" = 'north melbourne'
### Instruction: What is the drawn that has 16 as the trys bonus? ### Response:
SELECT "Drawn" FROM table_37170 WHERE "Try bonus" = '16'
### Instruction: Who had the high assists on March 26? ### Response:
SELECT "High assists" FROM table_29750 WHERE "Date" = 'March 26'
### Instruction: How big was the crowd of the Home team of Collingwood? ### Response:
SELECT MAX(crowd) FROM table_name_92 WHERE home_team = "collingwood"
### Instruction: Name the high assists for january 15 ### Response:
SELECT "High assists" FROM table_25509 WHERE "Date" = 'January 15'
### Instruction: which state had the most points in the swimsuit competition ? ### Response:
SELECT "state" FROM table_204_757 ORDER BY "swimsuit" DESC LIMIT 1
### Instruction: Search posts with string after some date. ### Response:
SELECT Id AS "post_link" FROM Posts WHERE CreationDate >= '##datefrom##' AND Body LIKE '%##string##%'
### Instruction: Which drug administration route is used for the drug CefePIME? ### Response:
SELECT prescriptions.route FROM prescriptions WHERE prescriptions.drug = "CefePIME"
### Instruction: How many losses did the Michigan State Spartans have? ### Response:
SELECT MAX(loss) FROM table_1672976_2 WHERE institution = "Michigan State Spartans"
### Instruction: how many were in 2003 ? ### Response:
SELECT COUNT(DISTINCT "date") FROM table_204_52 WHERE "date" = 2003
### Instruction: What was the date of the game at Junction Oval? ### Response:
SELECT "Date" FROM table_56222 WHERE "Venue" = 'junction oval'
### Instruction: What is the series name where cram competition is the team champion? ### Response:
SELECT "Series Name" FROM table_55686 WHERE "Team Champion" = 'cram competition'
### Instruction: What week did September 29 fall in? ### Response:
SELECT COUNT(week) FROM table_23601267_2 WHERE date = "September 29"
### Instruction: What year was the team with the nickname pride established? ### Response:
SELECT COUNT("Established") FROM table_50924 WHERE "Nickname" = 'pride'
### Instruction: What team is sponsored by chameleon sunglasses? ### Response:
SELECT team FROM table_name_63 WHERE sponsor = "chameleon sunglasses"
### Instruction: Which athlete had a score of 236.023? ### Response:
SELECT athlete FROM table_name_55 WHERE score = "236.023"
### Instruction: Which Lead has Katarina Radonic as Skip? ### Response:
SELECT "Lead" FROM table_75268 WHERE "Skip" = 'katarina radonic'
### Instruction: In which division did they compete in 2012? ### Response:
SELECT division___section FROM table_1816947_2 WHERE season = 2012
### Instruction: What is the ICAO when the IATA shows cts? ### Response:
SELECT "ICAO" FROM table_38158 WHERE "IATA" = 'cts'
### Instruction: How many losses were there with 103 tries for? ### Response:
SELECT "Lost" FROM table_15259 WHERE "Tries for" = '103'
### Instruction: Who were the candidates in district Pennsylvania 3? ### Response:
SELECT "Candidates" FROM table_18129 WHERE "District" = 'Pennsylvania 3'
### Instruction: what is the grid when the laps is more than 20? ### Response:
SELECT SUM("Grid") FROM table_53541 WHERE "Laps" > '20'
### Instruction: Find the accreditation level that more than 3 phones use. ### Response:
SELECT Accreditation_level FROM phone GROUP BY Accreditation_level HAVING COUNT(*) > 3
### Instruction: What is the total number of Gold medals for the Nation with more than 3 Bronze? ### Response:
SELECT COUNT(gold) FROM table_name_15 WHERE bronze > 3
### Instruction: What class before 1990 has points of 33? ### Response:
SELECT class FROM table_name_66 WHERE year < 1990 AND points = 33
### Instruction: WHAT IS THE TEAM WITH DAVE COGGIN? ### Response:
SELECT "Team" FROM table_61860 WHERE "Player" = 'dave coggin'
### Instruction: Which ship was launched from Devonport, Devon? ### Response:
SELECT "Ship" FROM table_65523 WHERE "Location" = 'devonport, devon'
### Instruction: what is the attendance in 2011 records ### Response:
SELECT "Attendance" FROM table_24350 WHERE "Date/Year" = '2011'
### Instruction: What place did Jimmy Reece start from when he ranked 12? ### Response:
SELECT "Start" FROM table_79819 WHERE "Rank" = '12'
### Instruction: Which line offers Fast to Norwood Junction? ### Response:
SELECT line FROM table_1612760_1 WHERE service_pattern = "Fast to Norwood Junction"
### Instruction: How many games were played in the 1989 season? ### Response:
SELECT "Played" FROM table_2550 WHERE "Season" = '1989'
### Instruction: Who directed 'Torn Between Two Lovers'? ### Response:
SELECT "Directed by" FROM table_26541 WHERE "Title" = 'Torn Between Two Lovers'
### Instruction: What week was the result of l 38 21? ### Response:
SELECT MAX(week) FROM table_name_63 WHERE result = "l 38–21"
### Instruction: what is the division east when division north was milano ### Response:
SELECT division_east FROM table_17881033_1 WHERE division_north = "Milano"
### Instruction: what is the date when the opponent is real espa a? ### Response:
SELECT "Date" FROM table_13868 WHERE "Opponent" = 'real españa'
### Instruction: where did hancock get 3.09% ### Response:
SELECT "County" FROM table_23145 WHERE "Hancock %" = '3.09%'
### Instruction: Name the gamecenter that has attendance of 65,212 ### Response:
SELECT gamecenter FROM table_name_17 WHERE attendance = "65,212"
### Instruction: What is the total number of points of the honda hr-1 engine? ### Response:
SELECT COUNT(points) FROM table_name_41 WHERE engine = "honda hr-1"
### Instruction: List the distinct police forces of counties whose location is not on east side. ### Response:
SELECT DISTINCT police_force FROM county_public_safety WHERE location <> "East"
### Instruction: What is the total number of top-25s for events with 0 wins? ### Response:
SELECT COUNT(top_25) FROM table_name_45 WHERE wins < 0
### Instruction: Who is the original artist of 'Use Somebody'? ### Response:
SELECT original_artist FROM table_28715942_6 WHERE track = "Use Somebody"
### Instruction: If the college is Vanderbilt, what is the position? ### Response:
SELECT position FROM table_27132791_3 WHERE college = "Vanderbilt"
### Instruction: Which finalist played in the week of October 21? ### Response:
SELECT "Finalist" FROM table_44687 WHERE "Week" = 'october 21'
### Instruction: Name the year location for haruna fukuoka ### Response:
SELECT "Year Location" FROM table_30324 WHERE "Womens Singles" = 'Haruna Fukuoka'
### Instruction: What is the Italian word for the Mexican word frijol? ### Response:
SELECT "Italian" FROM table_38134 WHERE "Mexican" = 'frijol'
### Instruction: Which Third has a Lead of zanda bik e? ### Response:
SELECT "Third" FROM table_5350 WHERE "Lead" = 'zanda bikše'
### Instruction: hiv or hepatitis c positive status; ### Response:
SELECT * FROM table_train_171 WHERE hiv_infection = 1 OR hepatitis_c = 1
### Instruction: What brand is model I7-8xx? ### Response:
SELECT "Brand name" FROM table_73605 WHERE "Model (list)" = 'i7-8xx'
### Instruction: What was the score for home team AFC Hornchurch? ### Response:
SELECT "Score" FROM table_78761 WHERE "Home team" = 'afc hornchurch'
### Instruction: What is the name of the newspaper with the website liderinformativo.com ? ### Response:
SELECT name FROM table_name_17 WHERE website = "liderinformativo.com"
### Instruction: What is Local Position, when Mission is 'Paraguay'? ### Response:
SELECT "Local Position" FROM table_62106 WHERE "Mission" = 'paraguay'
### Instruction: Find the name and email of the users who have more than 1000 followers. ### Response:
SELECT name, email FROM user_profiles WHERE followers > 1000
### Instruction: What is Points Against, when Try Diff is +22? ### Response:
SELECT points_against FROM table_name_88 WHERE try_diff = "+22"
### Instruction: what is the notes for andre vonarburg? ### Response:
SELECT "Notes" FROM table_66001 WHERE "Athlete" = 'andre vonarburg'
### Instruction: what film grossed the most money . ### Response:
SELECT "film" FROM table_203_762 GROUP BY "film" ORDER BY SUM("gross") DESC LIMIT 1
### Instruction: When was shippensburg university Colonized? ### Response:
SELECT "Colonized" FROM table_32983 WHERE "School" = 'shippensburg university'
### Instruction: what shows for 3rd place in 1990? ### Response:
SELECT 3 AS rd_place FROM table_name_60 WHERE year = "1990"
### Instruction: What was the name of the episode directed by Jessica Yu? ### Response:
SELECT "Title" FROM table_26110 WHERE "Directed by" = 'Jessica Yu'
### Instruction: in what year did the eighth place team have no wins ? ### Response:
SELECT "year" FROM table_204_110 WHERE "llws" = 'eighth place'
### Instruction: What was the name of the opposing team on the May 6 game? ### Response:
SELECT "Team" FROM table_29759 WHERE "Date" = 'May 6'
### Instruction: What date is associated with the Loss of Farrell (6-13)? ### Response:
SELECT date FROM table_name_20 WHERE loss = "farrell (6-13)"
### Instruction: What type of format was released after 1979? ### Response:
SELECT "Release format" FROM table_52196 WHERE "Release date" > '1979'
### Instruction: In what year was John Bell Williams first elected? ### Response:
SELECT first_elected FROM table_1341930_24 WHERE incumbent = "John Bell Williams"
### Instruction: What was the date when the attendance was 48,041? ### Response:
SELECT date FROM table_name_84 WHERE attendance = "48,041"
### Instruction: what is discharge time of subject id 8440? ### Response:
SELECT demographic.dischtime FROM demographic WHERE demographic.subject_id = "8440"
### Instruction: What is the Lead in the 2004-05 Season? ### Response:
SELECT lead FROM table_name_19 WHERE season = "2004-05"
### Instruction: Which dam type was completed in 1961? ### Response:
SELECT "Dam type" FROM table_62075 WHERE "Year completed" = '1961'
### Instruction: Chicago fire has a total of a total of how many #s? ### Response:
SELECT COUNT(pick__number) FROM table_name_5 WHERE mls_team = "chicago fire"
### Instruction: Name the total number of position for don clegg ### Response:
SELECT COUNT(position) FROM table_19730892_1 WHERE name = "Don Clegg"
### Instruction: Which CONMEBOL 1995 has river plate team? ### Response:
SELECT conmebol_1995 FROM table_name_61 WHERE team = "river plate"
### Instruction: What is every value for cores if TDP is 17 W? ### Response:
SELECT cores FROM table_2467150_2 WHERE tdp = "17 W"
### Instruction: What is Jillian Evans highest number of seats? ### Response:
SELECT MAX(number_of_seats) FROM table_name_45 WHERE leader = "jillian evans"
### Instruction: What did the away team score when playing North Melbourne? ### Response:
SELECT "Away team score" FROM table_77739 WHERE "Home team" = 'north melbourne'
### Instruction: Who was the visiting team on January 27? ### Response:
SELECT "Visitor" FROM table_35765 WHERE "Date" = 'january 27'
### Instruction: How much has dave stockton earned? ### Response:
SELECT MAX("Earnings( $ )") FROM table_11861 WHERE "Player" = 'dave stockton'
### Instruction: display the employee ID for each employee and the date on which he ended his previous job. ### Response:
SELECT employee_id, MAX(end_date) FROM job_history GROUP BY employee_id
### Instruction: Give me a bar chart for the number of year of each year, and rank total number in desc order. ### Response:
SELECT Year, COUNT(Year) FROM wine ORDER BY COUNT(Year) DESC
### Instruction: What are the total number of laps for Tom Bridger? ### Response:
SELECT COUNT("Laps") FROM table_37482 WHERE "Driver" = 'tom bridger'
### Instruction: What was the date that ended in a record of 8-25-7? ### Response:
SELECT date FROM table_name_21 WHERE record = "8-25-7"
### Instruction: How many writers where there for episode # 06? ### Response:
SELECT COUNT(writer) FROM table_2560677_1 WHERE episode__number = "06"
### Instruction: Name the opponent for 7-1-0 ### Response:
SELECT "Opponent" FROM table_24052 WHERE "Record" = '7-1-0'
### Instruction: Which major has least number of students? List the major and the number of students. ### Response:
SELECT Major, COUNT(*) FROM Student GROUP BY Major ORDER BY COUNT(Major) LIMIT 1
### Instruction: What was the amount of grain in 2001? ### Response:
SELECT "2001" FROM table_56390 WHERE "Product" = 'grain'
### Instruction: What was the score of the home team when they played carlton? ### Response:
SELECT home_team AS score FROM table_name_77 WHERE away_team = "carlton"
### Instruction: Name the number of location for 22-1 ### Response:
SELECT COUNT(location) FROM table_22875369_3 WHERE record = "22-1"
### Instruction: What is the date of appointment of nejat biyedi ? ### Response:
SELECT date_of_appointment FROM table_name_80 WHERE name = "nejat biyedić"