instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: What is the production code of the episode with series #8? ### Response:
SELECT production_code FROM table_28967275_2 WHERE series__number = 8
### Instruction: what is the team when the driver is viktor jensen? ### Response:
SELECT "Team" FROM table_10008 WHERE "Driver" = 'viktor jensen'
### Instruction: For the match that lasted 3:53 minutes, what was the final record? ### Response:
SELECT record FROM table_name_99 WHERE time = "3:53"
### Instruction: which stamp set had the greatest quantity issued ? ### Response:
SELECT "stamp set" FROM table_203_153 ORDER BY "qty. issued" DESC LIMIT 1
### Instruction: What is the highest laps with a 30 finish? ### Response:
SELECT MAX("Laps") FROM table_71112 WHERE "Finish" = '30'
### Instruction: Who are the opponents in Massachusetts5 district? ### Response:
SELECT "Opponent" FROM table_18204 WHERE "District" = 'Massachusetts5'
### Instruction: What was the highest position for the person who performed in 16 races? ### Response:
SELECT position FROM table_21795650_1 WHERE races = 16
### Instruction: What is the total capacity for the city of Trogir? ### Response:
SELECT SUM("Capacity") FROM table_12998 WHERE "City" = 'trogir'
### Instruction: Name the number for simon cellan jones ### Response:
SELECT no FROM table_26914076_2 WHERE directed_by = "Simon Cellan Jones"
### Instruction: Who was the draft pick for Kansas City Chiefs? ### Response:
SELECT "Player" FROM table_27379 WHERE "NFL Team" = 'Kansas City Chiefs'
### Instruction: Return the number of music festivals of each category, show total number from low to high order. ### Response:
SELECT Category, COUNT(*) FROM music_festival GROUP BY Category ORDER BY COUNT(*)
### Instruction: What driving wheels are on the m1 original NER class? ### Response:
SELECT driving_wheels FROM table_name_8 WHERE original_ner_class = "m1"
### Instruction: how many affiliates does galavision have ? ### Response:
SELECT "affiliates" FROM table_204_779 WHERE "network name" = 'galavision'
### Instruction: Java questions with most answeres. ### Response:
SELECT * FROM Posts, PostTags WHERE AnswerCount > 1 AND Posts.Id = PostTags.PostId ORDER BY AnswerCount DESC
### Instruction: What is the first game that has a home team of Detroit? ### Response:
SELECT MIN("Game #") FROM table_37056 WHERE "Home" = 'detroit'
### Instruction: What is every district for incumbent Joseph Desha? ### Response:
SELECT district FROM table_2668352_5 WHERE incumbent = "Joseph Desha"
### Instruction: who had pole position the most times ? ### Response:
SELECT "pole position" FROM table_203_408 GROUP BY "pole position" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: What is the name of the department with the most credits? ### Response:
SELECT dept_name FROM course GROUP BY dept_name ORDER BY SUM(credits) DESC LIMIT 1
### Instruction: What is the pick number for the player(s) drafted in round 8? ### Response:
SELECT pick__number FROM table_name_31 WHERE round = "round 8"
### Instruction: Tell mem the opponent for result of w 31-21 ### Response:
SELECT opponent FROM table_name_52 WHERE result = "w 31-21"
### Instruction: tries against is 29, what is the points against? ### Response:
SELECT points_against FROM table_name_97 WHERE tries_against = "29"
### Instruction: What is the lowest Height (m) on the island of Burray? ### Response:
SELECT MIN(height__m_) FROM table_name_22 WHERE island = "burray"
### Instruction: Who was the candidate in 1791? ### Response:
SELECT candidates FROM table_2668420_12 WHERE first_elected = 1791
### Instruction: What are the cities/towns located in the municipality of Moss? ### Response:
SELECT city_town FROM table_157826_1 WHERE municipality = "Moss"
### Instruction: what is the date of barbagallo raceway? ### Response:
SELECT "Date" FROM table_35844 WHERE "Event Circuit" = 'barbagallo raceway'
### Instruction: What club got 239 points against? ### Response:
SELECT club FROM table_13564702_4 WHERE points_against = "239"
### Instruction: What is the title of the Series 40 Season 5 show? ### Response:
SELECT title FROM table_27911342_1 WHERE season__number = 5
### Instruction: Which mlb team is located in maryland? ### Response:
SELECT team FROM table_name_95 WHERE state_province = "maryland" AND league = "mlb"
### Instruction: what was the total population of seriate ? ### Response:
SELECT "population\n(ab)" FROM table_203_731 WHERE "city" = 'seriate'
### Instruction: Who was the winning driver for the Dutch Grand Prix? ### Response:
SELECT "Winning driver" FROM table_52499 WHERE "Race" = 'dutch grand prix'
### Instruction: I want to know the proportion of the number of counties for each police force. ### Response:
SELECT Police_force, COUNT(*) FROM county_public_safety GROUP BY Police_force
### Instruction: Which Skip will play Joan Mccusker? ### Response:
SELECT "Skip" FROM table_53950 WHERE "Second" = 'joan mccusker'
### Instruction: Which Network has 16.0 million Viewers? ### Response:
SELECT "Network" FROM table_78360 WHERE "Viewers" = '16.0 million'
### Instruction: How many total wins are associated with events with 1 top-10? ### Response:
SELECT SUM(wins) FROM table_name_63 WHERE top_10 = 1
### Instruction: a recent injury to body or limb ### Response:
SELECT * FROM table_train_268 WHERE injury_to_body = 1 OR injury_to_limb = 1
### Instruction: How many seats are contested for independents? ### Response:
SELECT "Seats Contested" FROM table_23863 WHERE "Party" = 'Independents'
### Instruction: what tournament happened on may 2, 2011? ### Response:
SELECT tournament FROM table_name_94 WHERE date = "may 2, 2011"
### Instruction: What game did the Bruins have 56 points? ### Response:
SELECT MAX("Game") FROM table_23882 WHERE "Bruins points" = '56'
### Instruction: Who was the writer when Parkville Pictures Ltd was the recipient? ### Response:
SELECT writer_s_ FROM table_name_57 WHERE recipient = "parkville pictures ltd"
### Instruction: what is the location where the record is 1-0 ### Response:
SELECT ahli FROM table_26173058_2 WHERE ramtha = "1-0"
### Instruction: How many times was banbridge academy the winner? ### Response:
SELECT COUNT("Winners") FROM table_72517 WHERE "School" = 'Banbridge Academy'
### Instruction: What is the lowest Tournaments, when Name is 'Baruto'? ### Response:
SELECT MIN(tournaments) FROM table_name_76 WHERE name = "baruto"
### Instruction: When interjection is the subject how many performers are there? ### Response:
SELECT COUNT("Performed by") FROM table_73081 WHERE "Subject" = 'interjection'
### Instruction: What is the score of the Tournament Players Championship? ### Response:
SELECT "Score" FROM table_34702 WHERE "Tournament" = 'tournament players championship'
### Instruction: During what week was the July 10 game played? ### Response:
SELECT week FROM table_21796261_4 WHERE date = "July 10"
### Instruction: Name the number of assists for 321 minutes ### Response:
SELECT COUNT("Assists") FROM table_25702 WHERE "Minutes" = '321'
### Instruction: What is the highest total when there is less than 1 championship? ### Response:
SELECT MAX("Total") FROM table_12163 WHERE "Championship" < '1'
### Instruction: Which lap number had Olivier Panis as a driver? ### Response:
SELECT "Laps" FROM table_52341 WHERE "Driver" = 'olivier panis'
### Instruction: Which Comparative has a Link of sourcecode webserver? ### Response:
SELECT "Comparative" FROM table_36083 WHERE "Link" = 'sourcecode webserver'
### Instruction: when was the last 2009 utah utes football game ? ### Response:
SELECT "date" FROM table_203_158 ORDER BY id DESC LIMIT 1
### Instruction: how many canals are longer than thirty miles ? ### Response:
SELECT COUNT("canal") FROM table_203_594 WHERE "length (miles)" > 30
### Instruction: Where is longitude 202.9e? ### Response:
SELECT "Name" FROM table_21093 WHERE "Longitude" = '202.9E'
### Instruction: Show me the total number by country in a histogram, and sort in desc by the X-axis. ### Response:
SELECT Country, COUNT(*) FROM airport GROUP BY Country ORDER BY Country DESC
### Instruction: How many authors are present when the original was Carry On? ### Response:
SELECT COUNT("Authors") FROM table_23063 WHERE "Original" = 'Carry On'
### Instruction: What was the competition earlier than 1987? ### Response:
SELECT "Competition" FROM table_58513 WHERE "Year" < '1987'
### Instruction: What was the class of the player who played right tackle? ### Response:
SELECT class FROM table_14342367_13 WHERE position = "Right tackle"
### Instruction: What Playoffs had an Open Cup of 3rd round? ### Response:
SELECT "Playoffs" FROM table_35543 WHERE "Open Cup" = '3rd round'
### Instruction: What week was she safe for a salsa dance? ### Response:
SELECT SUM(week) FROM table_name_8 WHERE result = "safe" AND dance = "salsa"
### Instruction: When the blank ends at 1, what is the PA? ### Response:
SELECT COUNT("PA") FROM table_21225 WHERE "Blank Ends" = '1'
### Instruction: What is the record for the game when the Dallas Mavericks was the home team? ### Response:
SELECT record FROM table_name_24 WHERE home = "dallas mavericks"
### Instruction: What was the home team's score at junction oval? ### Response:
SELECT home_team AS score FROM table_name_17 WHERE venue = "junction oval"
### Instruction: Name the left day 9 finish for eliminated ### Response:
SELECT "Eliminated" FROM table_28177 WHERE "Finish" = 'Left Day 9'
### Instruction: patients receiving partial parenteral nutrition in order to achieve caloric goal ### Response:
SELECT * FROM table_train_64 WHERE receiving_parenteral_nutrition = 1
### Instruction: Name the nominating festival for director of 2004 ### Response:
SELECT nominating_festival FROM table_name_1 WHERE director_s_ = "2004"
### Instruction: What was the Money for Player Ernie Els? ### Response:
SELECT "Money ( $ )" FROM table_43204 WHERE "Player" = 'ernie els'
### Instruction: What is the tries against when the points are 475? ### Response:
SELECT tries_against FROM table_name_70 WHERE points_for = "475"
### Instruction: Who had the high points on January 23? ### Response:
SELECT "High points" FROM table_17298 WHERE "Date" = 'January 23'
### Instruction: Which Natural Wood Keyboard has a CLP380 ? ### Response:
SELECT natural_wood_keyboard FROM table_name_21 WHERE model = "clp380"
### Instruction: what is the home team when the opposition is east coast? ### Response:
SELECT "Home Team" FROM table_29081 WHERE "Opposition" = 'East Coast'
### Instruction: What is the smallest crowd at the Victoria Park Venue? ### Response:
SELECT MIN(crowd) FROM table_name_94 WHERE venue = "victoria park"
### Instruction: which opponent had the largest amount of points scored ? ### Response:
SELECT "opponent#" FROM table_203_126 ORDER BY "result" DESC LIMIT 1
### Instruction: What is the location when founded was 1957? ### Response:
SELECT "Location" FROM table_73630 WHERE "Founded" = '1957'
### Instruction: Which Attendance has an Opponent of carolina panthers? ### Response:
SELECT attendance FROM table_name_27 WHERE opponent = "carolina panthers"
### Instruction: What is the median household income of sacramento? ### Response:
SELECT "Median household income" FROM table_72443 WHERE "County" = 'Sacramento'
### Instruction: What is the share of votes in the 2008 election? ### Response:
SELECT share_of_votes FROM table_name_44 WHERE election = 2008
### Instruction: What is Opponent, when Record is 17-44? ### Response:
SELECT opponent FROM table_name_98 WHERE record = "17-44"
### Instruction: Name the number for 1.96 height ### Response:
SELECT no FROM table_23670057_1 WHERE height__m_ = "1.96"
### Instruction: What date is the circuit at wanneroo park? ### Response:
SELECT "Date" FROM table_58519 WHERE "Circuit" = 'wanneroo park'
### Instruction: Name the block A for shuji kondo ### Response:
SELECT "Block A" FROM table_54895 WHERE "Toshizo" = 'shuji kondo'
### Instruction: What campus was opened in 1977? ### Response:
SELECT "Campus" FROM table_62930 WHERE "Year opened" = '1977'
### Instruction: What was the score for the game on June 30? ### Response:
SELECT "Score" FROM table_70556 WHERE "Date" = 'june 30'
### Instruction: What Team had a 1:25.602 Best? ### Response:
SELECT team FROM table_name_41 WHERE best = "1:25.602"
### Instruction: What was the team that held the race title of Mallala? ### Response:
SELECT "Team" FROM table_52276 WHERE "Race Title" = 'mallala'
### Instruction: what is the discharge location of Jerry Deberry? ### Response:
SELECT demographic.discharge_location FROM demographic WHERE demographic.name = "Jerry Deberry"
### Instruction: which choke has the least constriction ? ### Response:
SELECT "choke" FROM table_203_112 ORDER BY "constriction (inch)" LIMIT 1
### Instruction: What is Kammeon Holsey's height? ### Response:
SELECT height FROM table_24055352_1 WHERE name = "Kammeon Holsey"
### Instruction: How many years was the record 3:40.8? ### Response:
SELECT COUNT(year) FROM table_name_28 WHERE record = "3:40.8"
### Instruction: What is Iceland's total? ### Response:
SELECT COUNT(total) FROM table_150343_3 WHERE country_territory = "Iceland"
### Instruction: What match has Clem Hill (sa) as the player? ### Response:
SELECT "Match" FROM table_40785 WHERE "Player" = 'clem hill (sa)'
### Instruction: What school in Dalefield has a roll less than 81? ### Response:
SELECT name FROM table_name_61 WHERE roll < 81 AND area = "dalefield"
### Instruction: Which frequency is station wlfv-fm? ### Response:
SELECT frequency FROM table_19131921_1 WHERE station = "WLFV-FM"
### Instruction: Who was the writer of the episode number in series 4? ### Response:
SELECT "Written by" FROM table_1490 WHERE "No. in series" = '4'
### Instruction: Where is the place that has a Callsign of DWRJ-FM? ### Response:
SELECT location FROM table_name_77 WHERE callsign = "dwrj-fm"
### Instruction: What is the rank of the gatchaman Jinpei? ### Response:
SELECT "Rank" FROM table_5643 WHERE "Gatchaman" = 'jinpei'
### Instruction: Which Neon has a Argon of 189.6? ### Response:
SELECT neon FROM table_name_95 WHERE argon = "−189.6"
### Instruction: Crockett High School had which number(#)? ### Response:
SELECT _number FROM table_12032893_1 WHERE high_school = "Crockett"
### Instruction: what's the score in canada with place of t8? ### Response:
SELECT score FROM table_name_83 WHERE country = "canada" AND place = "t8"
### Instruction: What is the number of matches for the player in rank 8? ### Response:
SELECT MAX("Matches") FROM table_42555 WHERE "Rank" = '8'
### Instruction: What team does Kenny Smith play for? ### Response:
SELECT "School/Club Team" FROM table_41540 WHERE "Player" = 'kenny smith'
### Instruction: What is the score when the set 3 is 26 28? ### Response:
SELECT score FROM table_name_5 WHERE set_3 = "26–28"