instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: How many pages were in the book by Stefano D'Arrigo? ### Response:
SELECT "Page count" FROM table_56184 WHERE "Author" = 'stefano d''arrigo'
### Instruction: What reference, written by Nelson Riddle, suggests 2 violas? ### Response:
SELECT reference FROM table_2414_1 WHERE violas = 2 AND author = "Nelson Riddle"
### Instruction: In what city or town is Stratford (limited service)? ### Response:
SELECT "Town/City" FROM table_3404 WHERE "Station" = 'Stratford (Limited service)'
### Instruction: Name the leagues entering this round for 4 ### Response:
SELECT leagues_entering_this_round FROM table_19089486_1 WHERE clubs_involved = 4
### Instruction: What was the original air date (atv) of episode 1? ### Response:
SELECT "Original Air Date (ATV)" FROM table_19327 WHERE "Episode no." = '1'
### Instruction: What is the average crowd size when the home team is North Melbourne? ### Response:
SELECT AVG("Crowd") FROM table_33773 WHERE "Home team" = 'north melbourne'
### Instruction: Find the name of companies whose revenue is between 100 and 150. ### Response:
SELECT name FROM manufacturers WHERE revenue BETWEEN 100 AND 150
### Instruction: What is the L2 cache for the Mobile Pentium 333? ### Response:
SELECT l2_cache FROM table_name_48 WHERE model_number = "mobile pentium 333"
### Instruction: When was the marriage of the person who died on 17 December 1471? ### Response:
SELECT marriage FROM table_name_90 WHERE death = "17 december 1471"
### Instruction: What was the voting order when bunny carr was the commentator? ### Response:
SELECT SUM(voting_order) FROM table_name_50 WHERE commentator = "bunny carr"
### Instruction: What is the Latin equivalent for the Phagspa of ? ### Response:
SELECT "Latin" FROM table_47937 WHERE "\u2019Phagspa" = 'ꡙ'
### Instruction: how many times has christel boeljon had a top-10 finish in the ladies european tour ? ### Response:
SELECT SUM("top 10s") FROM table_204_940
### Instruction: what is the total number of years the event was not held ? ### Response:
SELECT ABS("year" - "year") FROM table_203_367 WHERE "report" = 'not held'
### Instruction: What date is the crowd larger than 20,000? ### Response:
SELECT "Date" FROM table_55879 WHERE "Crowd" > '20,000'
### Instruction: What was the final score of the game against the Dallas Cowboys? ### Response:
SELECT "Result" FROM table_19720 WHERE "Opponent" = 'Dallas Cowboys'
### Instruction: What is the Cache with a Capacity that is 600 gb? ### Response:
SELECT "Cache" FROM table_34316 WHERE "Capacity" = '600 gb'
### Instruction: total amount of goals scored by chris tadrosse ? ### Response:
SELECT "goals scored" FROM table_203_221 WHERE "name" = 'chris tadrosse'
### Instruction: For upper Arlington, what was the median household income? ### Response:
SELECT "Median House- hold Income" FROM table_22318 WHERE "Place" = 'Upper Arlington'
### Instruction: What did the away team score when the home team was south melbourne? ### Response:
SELECT "Away team score" FROM table_78411 WHERE "Home team" = 'south melbourne'
### Instruction: Which Finish has a Start of 15, and a Team of bahari? ### Response:
SELECT finish FROM table_name_49 WHERE start = "15" AND team = "bahari"
### Instruction: Name the route number for santa rosa avenue ### Response:
SELECT route_number FROM table_25692955_1 WHERE north_east_terminal = "Santa Rosa Avenue"
### Instruction: the top elevation measured for this station is 2591m ### Response:
SELECT "station" FROM table_203_839 WHERE "el. (m)" = 2591
### Instruction: What was the manner in which Petrik Sander departed? ### Response:
SELECT "Manner of departure" FROM table_21272 WHERE "Outgoing manager" = 'Petrik Sander'
### Instruction: What is the highest weight for the Farnley Stakes race? ### Response:
SELECT MAX("Weight (kg)") FROM table_35144 WHERE "Race" = 'farnley stakes'
### Instruction: What is the Date when the Set 2 is 13 25? ### Response:
SELECT "Date" FROM table_7301 WHERE "Set 2" = '13–25'
### Instruction: Name the most gdp per capita latvian ### Response:
SELECT MAX("GDP per capita (US$)") FROM table_24166 WHERE "Languages" = 'Latvian'
### Instruction: What's the Total (kg) of a Snatch of 132.5? ### Response:
SELECT total__kg_ FROM table_name_86 WHERE snatch = 132.5
### Instruction: Who are the incumbents elected in 1974? ### Response:
SELECT "Incumbent" FROM table_18227 WHERE "Elected" = '1974'
### Instruction: Name the stadium with final score of 20-10 ### Response:
SELECT "Stadium" FROM table_67109 WHERE "Final Score" = '20-10'
### Instruction: What was the manner of departure of Nicolae Manea? ### Response:
SELECT "Manner of departure" FROM table_1609 WHERE "Outgoing manager" = 'Nicolae Manea'
### Instruction: What is the name of the yacht where 12 is the overall place? ### Response:
SELECT "Yacht name" FROM table_70306 WHERE "Overall place" = '12'
### Instruction: Show different teams of technicians and the number of technicians in each team, I want to display by the total number in asc. ### Response:
SELECT Team, COUNT(*) FROM technician GROUP BY Team ORDER BY COUNT(*)
### Instruction: What is the color code with a temperature classification of ordinary? ### Response:
SELECT "Color Code (with Fusible Link)" FROM table_43031 WHERE "Temperature Classification" = 'ordinary'
### Instruction: What country had an anti-ship missile that had a solid rocket propulsion? ### Response:
SELECT "Country" FROM table_35042 WHERE "Propulsion" = 'solid rocket'
### Instruction: If the points is 15, what is the fin. pos? ### Response:
SELECT COUNT(fin_pos) FROM table_17330069_1 WHERE points = "15"
### Instruction: Number of suggested edit votes in the last year. ### Response:
SELECT COUNT(*) FROM SuggestedEditVotes WHERE CreationDate > DATEADD(year, -1, GETDATE()) AND UserId > -1
### Instruction: how many high schools had a league leave to big nine conference ? ### Response:
SELECT COUNT("high school") FROM table_203_591 WHERE "league left to" = 'big nine conference'
### Instruction: What is the Total of Set 2 of 24:22? ### Response:
SELECT "Total" FROM table_59004 WHERE "Set 2" = '24:22'
### Instruction: What are the comments when the implementation is software running on central processor module? ### Response:
SELECT comments FROM table_1206114_2 WHERE implementation = "Software running on Central Processor Module"
### Instruction: Which Notes have a Date of 2008-01-27? ### Response:
SELECT notes FROM table_name_21 WHERE date = "2008-01-27"
### Instruction: Show the relationship between card id and customer id and group by card type code in a group scatter chart. ### Response:
SELECT card_id, customer_id FROM Customers_Cards GROUP BY card_type_code
### Instruction: What was the average scoring the the top 10s is 4? ### Response:
SELECT AVG(scoring_average) FROM table_name_51 WHERE top_10s = 4
### Instruction: Farr Yacht Design designed boats for how many country/flags? ### Response:
SELECT COUNT("Flag") FROM table_23388 WHERE "Design Firm" = 'Farr Yacht Design'
### Instruction: What was the attendance of the game that had a score of l 35 14? ### Response:
SELECT attendance FROM table_name_8 WHERE result = "l 35–14"
### Instruction: What were the points in the 1958-59 season? ### Response:
SELECT points FROM table_2110959_1 WHERE season = "1958-59"
### Instruction: What's Fitchburg State University's LEC sport? ### Response:
SELECT lec_sport FROM table_1974545_2 WHERE institution = "Fitchburg State University"
### Instruction: what is olle ahlunds club and his position ? ### Response:
SELECT "club", "pos." FROM table_203_692 WHERE "name" = 'olle ahlund'
### Instruction: Who had the fastest lap in bowmanville, ontario? ### Response:
SELECT "Fastest lap" FROM table_31520 WHERE "Location" = 'Bowmanville, Ontario'
### Instruction: What year was the athletic nickname blue crusaders founded? ### Response:
SELECT founded FROM table_22171978_1 WHERE athletic_nickname = "Blue Crusaders"
### Instruction: What was the district who had their first elected in 1966? ### Response:
SELECT district FROM table_1341843_44 WHERE first_elected = 1966
### Instruction: What is the total rank with more than 0 silver and less than 2 medals total? ### Response:
SELECT COUNT(rank) FROM table_name_88 WHERE total < 2 AND silver > 0
### Instruction: What is the NBA Draft for the School Bishop O'Connell High School? ### Response:
SELECT nba_draft FROM table_name_10 WHERE school = "bishop o'connell high school"
### Instruction: Name the minimum tiesplayed for 6 years ### Response:
SELECT MIN(ties_played) FROM table_10295819_2 WHERE years_played = 6
### Instruction: what's the result with incumbent being jack z. anderson ### Response:
SELECT "Result" FROM table_18580 WHERE "Incumbent" = 'Jack Z. Anderson'
### Instruction: how many parks are name beltzville state park? ### Response:
SELECT COUNT("Date founded") FROM table_57009 WHERE "Park name" = 'beltzville state park'
### Instruction: What was the crowd population for Footscray as an away team? ### Response:
SELECT MAX("Crowd") FROM table_32435 WHERE "Away team" = 'footscray'
### Instruction: how many hospital 's have at least 600 beds ? ### Response:
SELECT COUNT("hospital") FROM table_203_216 WHERE "# beds" >= 600
### Instruction: What date was the game when 45,943 attended? ### Response:
SELECT "Date" FROM table_46644 WHERE "Attendance" = '45,943'
### Instruction: Who is from south korea and has a heat less than 3? ### Response:
SELECT name FROM table_name_44 WHERE heat < 3 AND nationality = "south korea"
### Instruction: When was the Metallica: Escape from the Studio show? ### Response:
SELECT "Date" FROM table_31802 WHERE "Event" = 'metallica: escape from the studio'
### Instruction: Which opponent has a Record of 54-38? ### Response:
SELECT "Opponent" FROM table_68228 WHERE "Record" = '54-38'
### Instruction: What was the Loss when the Record was 50-54? ### Response:
SELECT "Loss" FROM table_68537 WHERE "Record" = '50-54'
### Instruction: What are the open source movies with planned releases in 2013? ### Response:
SELECT open_source_movie FROM table_name_67 WHERE planned_release = "2013"
### Instruction: How often are there ads during American Top 40? ### Response:
SELECT "Ad Freq" FROM table_62543 WHERE "Show Name" = 'american top 40'
### Instruction: What nominated work has seattle international film festival as the award? ### Response:
SELECT "Nominated work" FROM table_34927 WHERE "Award" = 'seattle international film festival'
### Instruction: What is the score of the game that had 359 people in attendance? ### Response:
SELECT "Score" FROM table_39887 WHERE "Attendance" = '359'
### Instruction: What is the total number for the week with a record of 0-11? ### Response:
SELECT COUNT("Week") FROM table_9433 WHERE "Record" = '0-11'
### Instruction: who is first team when dimitris diamantidis play. ### Response:
SELECT COUNT("First Team") FROM table_3468 WHERE "Player" = 'Dimitris Diamantidis'
### Instruction: Tell me the name with s r-tr ndelag ### Response:
SELECT "Name" FROM table_32097 WHERE "County" = 'sør-trøndelag'
### Instruction: What was the maximum crowd size against St Kilda? ### Response:
SELECT MAX(crowd) FROM table_16387653_1 WHERE away_team = "St Kilda"
### Instruction: What size was the biggest crowd that watched the home team Hawthorn play? ### Response:
SELECT MAX(crowd) FROM table_name_95 WHERE home_team = "hawthorn"
### Instruction: How many games did the team play when they were 1-3? ### Response:
SELECT COUNT(score) FROM table_13619053_4 WHERE record = "1-3"
### Instruction: What's the percentage when the state delegate is 1662? ### Response:
SELECT "Percentage" FROM table_1424 WHERE "State Delegate" = '1662'
### Instruction: Show different locations and the number of performances at each location Visualize by bar chart, display the total number from low to high order. ### Response:
SELECT Location, COUNT(*) FROM performance GROUP BY Location ORDER BY COUNT(*)
### Instruction: What is the lowest student GPA for every department? Return a pie chart. ### Response:
SELECT DEPT_CODE, MIN(STU_GPA) FROM STUDENT GROUP BY DEPT_CODE
### Instruction: What opponent does she fight when she is 10-1? ### Response:
SELECT "Opponent" FROM table_77904 WHERE "Record" = '10-1'
### Instruction: What is the ab ripper x when exercise is x stretch? ### Response:
SELECT ab_ripper_x FROM table_27512025_1 WHERE exercise = "X Stretch"
### Instruction: what ist he total number of ages where the start date is 6 november? ### Response:
SELECT COUNT(age) FROM table_17596418_5 WHERE started = "6 November"
### Instruction: What is the listing for the US Open in 1977? ### Response:
SELECT "1977" FROM table_51818 WHERE "Tournament" = 'us open'
### Instruction: What is the lowest Week when the result was l 6 0? ### Response:
SELECT MIN("Week") FROM table_76130 WHERE "Result" = 'l 6–0'
### Instruction: WHAT TEAM HAS A PICK LARGER THAN 29? ### Response:
SELECT "Team" FROM table_61865 WHERE "Pick" > '29'
### Instruction: WHAT IS THE SECOND WITH A TENTH OF DAN BLACK? ### Response:
SELECT "Second" FROM table_50985 WHERE "Tenth" = 'dan black'
### Instruction: How many kit makers are there for Louis Carey's team? ### Response:
SELECT COUNT("Kit maker") FROM table_3591 WHERE "Team captain" = 'Louis Carey'
### Instruction: Name the surface for february 25, 1996 ### Response:
SELECT surface FROM table_name_58 WHERE date = "february 25, 1996"
### Instruction: how many contestants were below 1.75 mts ? ### Response:
SELECT COUNT("contestant") FROM table_204_144 WHERE "height" < 1.75
### Instruction: If grid is 2, what is the minimum fin. pos number? ### Response:
SELECT MIN(fin_pos) FROM table_17330069_1 WHERE grid = 2
### Instruction: What was the score for the away team when they played collingwood? ### Response:
SELECT "Away team score" FROM table_32575 WHERE "Home team" = 'collingwood'
### Instruction: Which Division does the City being jacksonville, florida belong to? ### Response:
SELECT "Division" FROM table_36704 WHERE "City" = 'jacksonville, florida'
### Instruction: what opponent has the record of 78-63? ### Response:
SELECT "Opponent" FROM table_75163 WHERE "Record" = '78-63'
### Instruction: What year was incumbent phil crane first elected? ### Response:
SELECT first_elected FROM table_1341640_14 WHERE incumbent = "Phil Crane"
### Instruction: What is the IATA for Ringway Airport in the United Kingdom? ### Response:
SELECT iata FROM table_name_1 WHERE country = "united kingdom" AND airport = "ringway airport"
### Instruction: What was the result of 10/18/1947? ### Response:
SELECT result FROM table_name_84 WHERE date = "10/18/1947"
### Instruction: When was the first cap associated with 39 caps and under 33 goals? ### Response:
SELECT first_cap FROM table_name_29 WHERE goals < 33 AND caps = 39
### Instruction: Which Top-25 has a Top-5 smaller than 0? ### Response:
SELECT SUM("Top-25") FROM table_35979 WHERE "Top-5" < '0'
### Instruction: What's the series number of the episode titled 'The Quest'? ### Response:
SELECT MAX("Number in series") FROM table_17622 WHERE "Title" = 'The Quest'
### Instruction: How many games were against the los angeles rams? ### Response:
SELECT MIN(game) FROM table_15984957_2 WHERE opponent = "Los Angeles Rams"
### Instruction: Where was the tournament played on Oct. 8, 2006? ### Response:
SELECT tournament FROM table_name_56 WHERE date = "oct. 8, 2006"
### Instruction: How many rounds had a race name of anglia tv trophy? ### Response:
SELECT COUNT("Round") FROM table_46471 WHERE "Name" = 'anglia tv trophy'
### Instruction: What is the production code for episode 3 in the season? ### Response:
SELECT MAX(production_code) FROM table_2453243_3 WHERE no_in_season = 3
### Instruction: What is the launched date of the destroyer completed 1 July 1936? ### Response:
SELECT launched FROM table_name_28 WHERE completed = "1 july 1936"