instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: Who directed the title 'the razor's edge'? ### Response:
SELECT "Directed by" FROM table_24877 WHERE "Title" = 'The Razor''s Edge'
### Instruction: Which Year jennifer tarol barrientos is in? ### Response:
SELECT MAX(year) FROM table_name_50 WHERE delegate = "jennifer tarol barrientos"
### Instruction: Makio Inoue dubbed on which character? ### Response:
SELECT character FROM table_2160215_1 WHERE original_japanese = "Makio Inoue"
### Instruction: What is the imperfect stem of the word that means 'take away, remove'? ### Response:
SELECT imperfect_stem FROM table_name_74 WHERE meaning = "'take away, remove'"
### Instruction: what are the number of times taito is listed as the manufacturer ? ### Response:
SELECT COUNT(*) FROM table_204_480 WHERE "manufacturer" = 'taito'
### Instruction: In the match where south melbourne was the away team, who was the home team? ### Response:
SELECT home_team FROM table_name_34 WHERE away_team = "south melbourne"
### Instruction: Which Set 1 has a Set 2 of 26 24? ### Response:
SELECT set_1 FROM table_name_77 WHERE set_2 = "26–24"
### Instruction: What was the result of the Euro '64 qualifying game? ### Response:
SELECT results¹ FROM table_name_65 WHERE type_of_game = "euro '64 qualifying"
### Instruction: how many arrays are not in hauppauge ? ### Response:
SELECT SUM("number of arrays") FROM table_204_185 WHERE "town" <> 'hauppauge'
### Instruction: what is the total population for yanglin ? ### Response:
SELECT "population (2005)" FROM table_204_891 WHERE "name" = 'yanglin'
### Instruction: How many clubs have a try bonus value of 5? ### Response:
SELECT COUNT(club) FROM table_14070062_3 WHERE try_bonus = "5"
### Instruction: Where in Tongyong is Hanyu Sanmin? ### Response:
SELECT "Tongyong" FROM table_44881 WHERE "Hanyu" = 'sanmin'
### Instruction: What is the date of birth for the player in the Inglewood club? ### Response:
SELECT dob FROM table_26847237_2 WHERE club = "Inglewood"
### Instruction: Create a bar chart showing mean amount of transaction across transaction type code ### Response:
SELECT transaction_type_code, AVG(amount_of_transaction) FROM Transactions GROUP BY transaction_type_code
### Instruction: how many destinations does america west express serve ? ### Response:
SELECT "destination(s)" FROM table_204_215 WHERE "airline" = 'america west express'
### Instruction: How man students were from Maryland in Fall 05? ### Response:
SELECT "Fall 05" FROM table_19822 WHERE "States" = 'Maryland'
### Instruction: Which writer is named mongolbittacus? ### Response:
SELECT "Authors" FROM table_39886 WHERE "Name" = 'mongolbittacus'
### Instruction: Which class more recent than 1988 has G tyres? ### Response:
SELECT class FROM table_name_24 WHERE tyres = "g" AND year > 1988
### Instruction: Who played Men's singles in 2007? ### Response:
SELECT "Men's singles" FROM table_15620 WHERE "Year" = '2007'
### Instruction: Which employees were hired after September 7th, 1987? ### Response:
SELECT * FROM employees WHERE hire_date > '1987-09-07'
### Instruction: Which First public release has a Name of rational software modeler? ### Response:
SELECT "First public release" FROM table_38279 WHERE "Name" = 'rational software modeler'
### Instruction: What's the Proto-Germanic when the Old English is /d/? ### Response:
SELECT proto_germanic FROM table_name_3 WHERE old_english = "/d/"
### Instruction: Name the incumbent for virginia 4 ### Response:
SELECT incumbent FROM table_2668387_18 WHERE district = "Virginia 4"
### Instruction: What is the Style of the dance by Choreographer Luda and Oliver? ### Response:
SELECT style FROM table_name_59 WHERE choreographer = "luda and oliver"
### Instruction: Tell me the WL doubles with a debut of 1999 ### Response:
SELECT w_l__doubles_ FROM table_name_73 WHERE debut = 1999
### Instruction: what are all the registrations where station number is c26 ### Response:
SELECT registrations FROM table_11934032_1 WHERE station_number = "C26"
### Instruction: Date of 1 october 2003 had what attendance? ### Response:
SELECT attendance FROM table_name_18 WHERE date = "1 october 2003"
### Instruction: what is the weight of a shot that is xx-inch? ### Response:
SELECT weight_of_shot FROM table_name_51 WHERE designation__bore_ = "xx-inch"
### Instruction: On what date did Portland play game 5 at home? ### Response:
SELECT date FROM table_name_98 WHERE home_team = "portland" AND game = "game 5"
### Instruction: What is the home team that Bradford City is playing against? ### Response:
SELECT "Home team" FROM table_58818 WHERE "Away team" = 'bradford city'
### Instruction: Which event was Tatyana Lebedeva in? ### Response:
SELECT "Event" FROM table_55224 WHERE "Athlete" = 'tatyana lebedeva'
### Instruction: Is there lab for 543 ? ### Response:
SELECT COUNT(*) > 0 FROM course WHERE department = 'EECS' AND has_lab = 'Y' AND number = 543
### Instruction: University of Minnesota of had what Deloria & Boas? ### Response:
SELECT deloria_ & _boas FROM table_name_66 WHERE university_of_minnesota = "ṭ"
### Instruction: A bar chart shows the distribution of family_name and author_id . ### Response:
SELECT family_name, author_id FROM Course_Authors_and_Tutors ORDER BY personal_name
### Instruction: What was the score of the away team at the MCG? ### Response:
SELECT "Away team score" FROM table_56627 WHERE "Venue" = 'mcg'
### Instruction: what is elevation of tanzania? ### Response:
SELECT COUNT(elevation_ft) FROM table_27435931_1 WHERE country = "Tanzania"
### Instruction: In which civil parish is ballymacandrick? ### Response:
SELECT "Civil parish" FROM table_74464 WHERE "Townland" = 'Ballymacandrick'
### Instruction: Who is the artist of the Seattle Seahawks track? ### Response:
SELECT artist_s_ FROM table_name_39 WHERE team_s_ = "seattle seahawks"
### Instruction: Visualize a bar chart for how many books fall into each category?, show by the names from high to low. ### Response:
SELECT Category, COUNT(*) FROM book_club GROUP BY Category ORDER BY Category DESC
### Instruction: What is the Pick # with an Overall of 19? ### Response:
SELECT MAX("Pick #") FROM table_36615 WHERE "Overall" = '19'
### Instruction: What was the location and attendance of the game against Portland? ### Response:
SELECT location_attendance FROM table_13619135_5 WHERE team = "Portland"
### Instruction: How much does the Independencia weight? ### Response:
SELECT MIN("tons ( L.ton )") FROM table_26174 WHERE "Warship" = 'Independencia'
### Instruction: Name the episode for run time in 24:44 ### Response:
SELECT "Episode" FROM table_24093 WHERE "Run time" = '24:44'
### Instruction: What is the W.A. of the 1 1st built? ### Response:
SELECT "W.A." FROM table_7492 WHERE "1st built" = '1'
### Instruction: what is the total number of drivers that are from japan ? ### Response:
SELECT COUNT("diver") FROM table_203_780 WHERE "diver" = 'jpn'
### Instruction: How many colleges did pick number 269 attend? ### Response:
SELECT COUNT("College") FROM table_19483 WHERE "Pick #" = '269'
### Instruction: What was the Loser of the Game with a Result of 35-27? ### Response:
SELECT loser FROM table_name_32 WHERE result = "35-27"
### Instruction: When Geelong is the Away team, what did the Home team score? ### Response:
SELECT home_team AS score FROM table_name_2 WHERE away_team = "geelong"
### Instruction: Who is the original artist with a theme of N/A? ### Response:
SELECT original_artist FROM table_21501565_1 WHERE theme = "N/A"
### Instruction: Name the unemployment rate for botetourt ### Response:
SELECT unemployment_rate FROM table_22815568_12 WHERE county = "Botetourt"
### Instruction: Which round was a player from the Long Island Lizards drafted in first? ### Response:
SELECT MAX(round) FROM table_name_26 WHERE team = "long island lizards"
### Instruction: What was the average game with a record of 4-4-0? ### Response:
SELECT AVG(game) FROM table_name_58 WHERE record = "4-4-0"
### Instruction: Which Constructor has the Winning Driver, Jo Siffert? ### Response:
SELECT "Constructor" FROM table_51985 WHERE "Winning driver" = 'jo siffert'
### Instruction: what is drug name of subject id 3343? ### Response:
SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.subject_id = "3343"
### Instruction: What is the IATA of gale o airport? ### Response:
SELECT "IATA" FROM table_80193 WHERE "Airport" = 'galeão airport'
### Instruction: What years did Eddie Hughes play for the Jazz? ### Response:
SELECT "Years for Jazz" FROM table_52828 WHERE "Player" = 'eddie hughes'
### Instruction: Which terminations correspond with headphone model SR80I? ### Response:
SELECT "Termination" FROM table_20477 WHERE "Headphone Model" = 'SR80i'
### Instruction: What is the LOA of Brindabella? ### Response:
SELECT "LOA (Metres)" FROM table_27818 WHERE "Yacht" = 'Brindabella'
### Instruction: What was the home team score when south melbourne was the home team? ### Response:
SELECT home_team AS score FROM table_name_49 WHERE home_team = "south melbourne"
### Instruction: What is the name of the machine that ranked 4th and has 2 wins? ### Response:
SELECT machine FROM table_name_59 WHERE rank = "4th" AND wins = 2
### Instruction: Display a bar chart for how many credits does the department offer? ### Response:
SELECT DEPT_CODE, SUM(CRS_CREDIT) FROM COURSE GROUP BY DEPT_CODE
### Instruction: What is the Length (m) of the Koppenberg course? ### Response:
SELECT "Length (m)" FROM table_49222 WHERE "Name" = 'koppenberg'
### Instruction: On which day was there a record of 36-39? ### Response:
SELECT "Date" FROM table_72030 WHERE "Record" = '36-39'
### Instruction: What is the verb for the Proto-Austronesian word *diri? ### Response:
SELECT verb FROM table_name_86 WHERE proto_austronesian = "*diri"
### Instruction: what is the average silver when the total is more than 20? ### Response:
SELECT AVG("Silver") FROM table_50716 WHERE "Total" > '20'
### Instruction: Bar chart x axis year y axis the number of year, sort y-axis in descending order. ### Response:
SELECT year, COUNT(year) FROM home_game ORDER BY COUNT(year) DESC
### Instruction: What week did the dallas cowboys play? ### Response:
SELECT SUM("Week") FROM table_65452 WHERE "Opponent" = 'dallas cowboys'
### Instruction: Which skip's lead is Gordon McDougall? ### Response:
SELECT "Skip" FROM table_34728 WHERE "Lead" = 'gordon mcdougall'
### Instruction: What's the February for the game against the Montreal Canadiens? ### Response:
SELECT SUM(february) FROM table_name_88 WHERE opponent = "montreal canadiens"
### Instruction: What was the total amount of matches for Alan Shearer? ### Response:
SELECT COUNT("Matches") FROM table_41596 WHERE "Name" = 'alan shearer'
### Instruction: What is the lowest crowd when essendon is the away team? ### Response:
SELECT MIN(crowd) FROM table_name_78 WHERE away_team = "essendon"
### Instruction: How many people watched the game at Lake Oval? ### Response:
SELECT SUM("Crowd") FROM table_52866 WHERE "Venue" = 'lake oval'
### Instruction: What's the L3 cache that has a low power part number? ### Response:
SELECT l3_cache FROM table_name_84 WHERE part_number_s_ = "low power"
### Instruction: What are the different states that have students trying out? ### Response:
SELECT DISTINCT state FROM college AS T1 JOIN tryout AS T2 ON T1.cname = T2.cname
### Instruction: Which Series 1 has a Series 11 of peter jones? ### Response:
SELECT series_1 FROM table_name_13 WHERE series_11 = "peter jones"
### Instruction: Name the para for 1.5% commewijne ### Response:
SELECT para FROM table_16886076_1 WHERE commewijne = "1.5%"
### Instruction: What was the date of the game that had a loss of Reed (0 2)? ### Response:
SELECT date FROM table_name_29 WHERE loss = "reed (0–2)"
### Instruction: Name the total number of positions for race 1 being 2 ### Response:
SELECT COUNT(pos) FROM table_15530244_5 WHERE race_1 = "2"
### Instruction: What was the drawn when the tries against was 89? ### Response:
SELECT drawn FROM table_12792876_3 WHERE tries_against = "89"
### Instruction: What aircraft was introduced in 2004 and has a retired of ? ### Response:
SELECT aircraft FROM table_name_83 WHERE retired = "—" AND introduced = 2004
### Instruction: What was the score that made the record 47-49? ### Response:
SELECT "Score" FROM table_69984 WHERE "Record" = '47-49'
### Instruction: Which site/stadium was the score 1-2? ### Response:
SELECT "Site/Stadium" FROM table_11884 WHERE "Score" = '1-2'
### Instruction: What was the result on October 8, 1985? ### Response:
SELECT result FROM table_name_58 WHERE date = "october 8, 1985"
### Instruction: Who is the Original west end performer for the character Martha? ### Response:
SELECT "Original West End performer" FROM table_22750 WHERE "Character" = 'Martha'
### Instruction: What is the computation for 5 or less TD's? ### Response:
SELECT AVG("Comp%") FROM table_58586 WHERE "TD's" < '5'
### Instruction: What title did the film from Colombia use in its nomination? ### Response:
SELECT film_title_used_in_nomination FROM table_name_33 WHERE country = "colombia"
### Instruction: which film had the least opening weekend ? ### Response:
SELECT "film" FROM table_203_174 ORDER BY "opening weekend\n(three day)" LIMIT 1
### Instruction: What Entrant has 0 points and from 1997? ### Response:
SELECT entrant FROM table_name_67 WHERE points = 0 AND year = 1997
### Instruction: Where did they play the San Diego Chargers? ### Response:
SELECT "Game site" FROM table_18037 WHERE "Opponent" = 'San Diego Chargers'
### Instruction: What is the number of sikhs in Japan? ### Response:
SELECT no_of_sikhs FROM table_11800185_1 WHERE country = "Japan"
### Instruction: WHAT IS THE LOWEST ROUND FOR CB POSITION? ### Response:
SELECT MIN("Round") FROM table_44221 WHERE "Position" = 'cb'
### Instruction: What was the finish for the golfer with a To par of +2? ### Response:
SELECT "Finish" FROM table_50677 WHERE "To par" = '+2'
### Instruction: how many years did the greek league have a finalist ? ### Response:
SELECT COUNT("season") FROM table_203_391 WHERE "greek league" = 'finalist'
### Instruction: Where is runner-up Betsy Rawls from? ### Response:
SELECT "Location" FROM table_9048 WHERE "Runner(s)-up" = 'betsy rawls'
### Instruction: Name the number for fox news channel ### Response:
SELECT "N\u00b0" FROM table_1366 WHERE "Television service" = 'Fox News Channel'
### Instruction: What is the Position of the Player from the Toronto Raptors? ### Response:
SELECT "Position" FROM table_13107 WHERE "Current Club" = 'toronto raptors'
### Instruction: Name the regions for usf45 ### Response:
SELECT region_s_ FROM table_21530474_1 WHERE chassis_code = "USF45"
### Instruction: On what Week was the Result W 34 24? ### Response:
SELECT AVG(week) FROM table_name_22 WHERE result = "w 34–24"
### Instruction: What is the surface when the partner was Robert Haybittel? ### Response:
SELECT "Surface" FROM table_59628 WHERE "Partner" = 'robert haybittel'
### Instruction: Find the number of male students (with sex M) from each city in a bar chart. ### Response:
SELECT city_code, COUNT(*) FROM Student WHERE Sex = 'M' GROUP BY city_code