instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: tell me the director of the production code ad1d02. ### Response:
SELECT directed_by FROM table_name_32 WHERE production_code = "ad1d02"
### Instruction: Which MSDN integration has a IntelliTrace of yes? ### Response:
SELECT "MSDN integration" FROM table_38392 WHERE "IntelliTrace" = 'yes'
### Instruction: What is the highest total of the player with a 7 to par? ### Response:
SELECT MAX("Total") FROM table_59212 WHERE "To par" = '7'
### Instruction: What is the frequency of the model with sSpec number sl5qj? ### Response:
SELECT frequency FROM table_name_72 WHERE sspec_number = "sl5qj"
### Instruction: Find the total credits of courses provided by different department. Plot them as bar chart. ### Response:
SELECT dept_name, SUM(credits) FROM course GROUP BY dept_name
### Instruction: What is the original air date of 'Cursed'? ### Response:
SELECT "Original air date" FROM table_22861 WHERE "Title" = 'Cursed'
### Instruction: What is the IHSAA class for Muncie Cowan? ### Response:
SELECT ihsaa_class FROM table_name_27 WHERE school = "muncie cowan"
### Instruction: when was the first otafest held ? ### Response:
SELECT "first\nheld" FROM table_204_991 WHERE "name" = 'otafest'
### Instruction: What did the Melbourne team score in their away game? ### Response:
SELECT "Away team score" FROM table_55315 WHERE "Away team" = 'melbourne'
### Instruction: What is Builder, when Date is 1925? ### Response:
SELECT "Builder" FROM table_44382 WHERE "Date" = '1925'
### Instruction: What is the 2007 rating of the channel with a position of 6? ### Response:
SELECT 2007 FROM table_name_28 WHERE position = 6
### Instruction: What is the frequency of the rail with an origin of Ranchi? ### Response:
SELECT frequency__inbound_outbound_ FROM table_name_72 WHERE origin = "ranchi"
### Instruction: What Week 3 has a Week 4 of gina blair? ### Response:
SELECT week_3 FROM table_name_95 WHERE week_4 = "gina blair"
### Instruction: Tell me the team for victorian football league ### Response:
SELECT "Team" FROM table_53551 WHERE "Competition" = 'victorian football league'
### Instruction: Which Team has a Head Coach of michalis pamboris? ### Response:
SELECT team FROM table_name_60 WHERE head_coach = "michalis pamboris"
### Instruction: what's the record with date being december 29 ### Response:
SELECT record FROM table_13762472_4 WHERE date = "December 29"
### Instruction: How many times was #7 Oregon a visiting team? ### Response:
SELECT time FROM table_26842217_6 WHERE visiting_team = "#7 Oregon"
### Instruction: How many games had an assist number greater than 54? ### Response:
SELECT SUM("Games") FROM table_32595 WHERE "Assist" > '54'
### Instruction: What is the Revenue per capita for Vermont? ### Response:
SELECT "Revenue per capita" FROM table_38366 WHERE "State" = 'vermont'
### Instruction: Show the number of movies for each year in a bar chart and ordered by budget. ### Response:
SELECT Year, COUNT(Year) FROM movie GROUP BY Year ORDER BY Budget_million
### Instruction: Who was the winning team in 2008? ### Response:
SELECT "Winning team" FROM table_40443 WHERE "Year" = '2008'
### Instruction: What shows for 2007 at the Olympic Games as tournament. ### Response:
SELECT 2007 FROM table_name_55 WHERE tournament = "olympic games"
### Instruction: which month had the least amount of games ? ### Response:
SELECT "date" FROM table_203_410 GROUP BY "date" ORDER BY COUNT("game") LIMIT 1
### Instruction: How many picks does chad owens have? ### Response:
SELECT COUNT("Pick #") FROM table_34389 WHERE "Name" = 'chad owens'
### Instruction: Switzerland has how many gold and less than 0 silver? ### Response:
SELECT MAX(gold) FROM table_name_61 WHERE nation = "switzerland" AND silver < 0
### Instruction: In what year was the competition at the Pepsi Arena? ### Response:
SELECT "Year" FROM table_64557 WHERE "Arena" = 'pepsi arena'
### Instruction: what is the country for fabiana beltrame? ### Response:
SELECT "Country" FROM table_66212 WHERE "Athlete" = 'fabiana beltrame'
### Instruction: Name the highh points for december 29 ### Response:
SELECT high_points FROM table_17355408_5 WHERE date = "December 29"
### Instruction: Who was the opponents of the 5th Wicket Partnership? ### Response:
SELECT opponents FROM table_name_3 WHERE wicket_partnership = "5th"
### Instruction: which coach had greater than 700 total wins ? ### Response:
SELECT "coach" FROM table_204_469 WHERE "wins" > 700
### Instruction: How many parks are called mt. olympus ### Response:
SELECT COUNT("Name") FROM table_73984 WHERE "Park" = 'Mt. Olympus'
### Instruction: What was the high assist total on May 11? ### Response:
SELECT "High assists" FROM table_17329 WHERE "Date" = 'May 11'
### Instruction: What is the fastest time for the Kentucky Derby race? ### Response:
SELECT "Time" FROM table_33803 WHERE "Race" = 'kentucky derby'
### Instruction: which players are not part of the united states ? ### Response:
SELECT "player" FROM table_204_263 WHERE "country of origin" <> 'united states'
### Instruction: How many times is avg/g 2? ### Response:
SELECT COUNT("Receptions") FROM table_66517 WHERE "Avg/G" = '2'
### Instruction: How many laps did Jacques Villeneuve have? ### Response:
SELECT "Laps" FROM table_57599 WHERE "Driver" = 'jacques villeneuve'
### Instruction: what's the score where year is 2007 ### Response:
SELECT score FROM table_11214772_1 WHERE year = "2007"
### Instruction: Find the number of students that have at least one grade 'B'. ### Response:
SELECT COUNT(DISTINCT StuID) FROM ENROLLED_IN WHERE Grade = "B"
### Instruction: How many 3rd ru does Costa Rica have? ### Response:
SELECT MAX("3rd RU") FROM table_21790 WHERE "Country" = 'Costa Rica'
### Instruction: Which Pick # has a College of concordia? ### Response:
SELECT MAX("Pick #") FROM table_76786 WHERE "College" = 'concordia'
### Instruction: When was Quantum Research's poll conducted? ### Response:
SELECT "Date of opinion poll" FROM table_23811 WHERE "Conductor" = 'Quantum Research'
### Instruction: What was the score of the game where Philadelphia was the visitor? ### Response:
SELECT "Score" FROM table_46459 WHERE "Visitor" = 'philadelphia'
### Instruction: The fighting knights has what type of nickname? ### Response:
SELECT "Type" FROM table_17218 WHERE "Nickname" = 'Fighting Knights'
### Instruction: Who is the conductor when the chicago symphony orchestra is featured? ### Response:
SELECT conductor FROM table_name_3 WHERE orchestra = "chicago symphony orchestra"
### Instruction: Visualize a bar chart for how many authors submit to the workshop, and list bars in asc order. ### Response:
SELECT Author, COUNT(Author) FROM submission GROUP BY Author ORDER BY Author
### Instruction: Which Rank has a Runner -up smaller than 0? ### Response:
SELECT MAX("Rank") FROM table_41260 WHERE "Runner -up" < '0'
### Instruction: Give me a bar chart for the total number of each position, display bars from low to high order please. ### Response:
SELECT Position, COUNT(*) FROM match_season GROUP BY Position ORDER BY Position
### Instruction: how many competitions were something other than a friendly match ? ### Response:
SELECT COUNT(*) FROM table_203_179 WHERE "competition" <> 'friendly match'
### Instruction: What does DeShawn Stevenson weigh? ### Response:
SELECT SUM("Weight") FROM table_68997 WHERE "Player" = 'deshawn stevenson'
### Instruction: What are the maximum and minimum age of students with major 600? ### Response:
SELECT MAX(Age), MIN(Age) FROM STUDENT WHERE Major = 600
### Instruction: What is the lowest Shots with a Point that is larger than 32? ### Response:
SELECT MIN(shots) FROM table_name_38 WHERE points > 32
### Instruction: what is the total number of athletes from japan ? ### Response:
SELECT COUNT("athlete") FROM table_204_556 WHERE "country" = 'japan'
### Instruction: Who is the away team for tie no 11? ### Response:
SELECT "Away team" FROM table_27162 WHERE "Tie no" = '11'
### Instruction: Name the production code by paul lieberstein ### Response:
SELECT "Production code" FROM table_73475 WHERE "Written by" = 'Paul Lieberstein'
### Instruction: Where did the team play the Detroit Lions? ### Response:
SELECT game_site FROM table_14984078_1 WHERE opponent = "Detroit Lions"
### Instruction: what's the individual winners with nation being australia ### Response:
SELECT "Individual winners" FROM table_19404 WHERE "Nation" = 'Australia'
### Instruction: Which player is Pick 33 and has a Nationality of USA? ### Response:
SELECT player FROM table_name_31 WHERE nationality = "usa" AND pick = 33
### Instruction: what are all the type where station number is c08 ### Response:
SELECT type FROM table_11934032_1 WHERE station_number = "C08"
### Instruction: What year did a team from North Dearborn leave? ### Response:
SELECT "Year Left" FROM table_64904 WHERE "School" = 'north dearborn'
### Instruction: Which Opponent has an Attendance of bye? ### Response:
SELECT "Opponent" FROM table_51169 WHERE "Attendance" = 'bye'
### Instruction: What is Party, when Incumbent is 'Rodney Alexander'? ### Response:
SELECT party FROM table_name_52 WHERE incumbent = "rodney alexander"
### Instruction: The stamp was 39 , who was the printer? ### Response:
SELECT printer FROM table_15635768_1 WHERE face_value = "39¢"
### Instruction: which two destinations were available for less than one year ? ### Response:
SELECT "city" FROM table_203_323 WHERE "end" - "begin" < 1
### Instruction: Waht is the Country of the play by Author Aristophanes? ### Response:
SELECT "country" FROM table_66176 WHERE "author" = 'aristophanes'
### Instruction: What was the score when Spennymoor United as the away team? ### Response:
SELECT score FROM table_name_67 WHERE away_team = "spennymoor united"
### Instruction: What is the wheel arrangement made in 1890? ### Response:
SELECT wheel_arrangement FROM table_name_99 WHERE year_made = "1890"
### Instruction: How many goals does mitsuo kato have? ### Response:
SELECT MAX("Goals") FROM table_55326 WHERE "Player" = 'mitsuo kato'
### Instruction: How many Sets did Gary Muller have? ### Response:
SELECT COUNT("Sets") FROM table_41879 WHERE "Player" = 'gary muller'
### Instruction: What is the Opponent on Week 11? ### Response:
SELECT "Opponent" FROM table_62022 WHERE "Week" = '11'
### Instruction: What is the race title of Dick Johnson Racing? ### Response:
SELECT "Race Title" FROM table_64634 WHERE "Team" = 'dick johnson racing'
### Instruction: Who had the high point total on october 20? ### Response:
SELECT "High points" FROM table_3830 WHERE "Date" = 'October 20'
### Instruction: Name the island with age ma of 1.0 ### Response:
SELECT "Island" FROM table_67740 WHERE "Age ( Ma )" = '1.0'
### Instruction: What is the winner in event number 15h? ### Response:
SELECT winner FROM table_22050544_1 WHERE event__number = "15H"
### Instruction: What is Home Team, when Tie No is '7'? ### Response:
SELECT "Home team" FROM table_12435 WHERE "Tie no" = '7'
### Instruction: What is the time of kenya, which is ranked 2? ### Response:
SELECT time FROM table_name_30 WHERE nation = "kenya" AND rank = "2"
### Instruction: Compute the total the average of product price across product name as a pie chart. ### Response:
SELECT Product_Name, AVG(Product_Price) FROM Products GROUP BY Product_Name
### Instruction: List all number of yards with an AST of 8. ### Response:
SELECT "No-Yds" FROM table_18015 WHERE "Ast" = '8'
### Instruction: What class has 0 preserved and 2 made? ### Response:
SELECT class FROM table_name_56 WHERE quantity_preserved = "0" AND quantity_made = "2"
### Instruction: What is south melbourne's home side score? ### Response:
SELECT "Home team score" FROM table_55203 WHERE "Home team" = 'south melbourne'
### Instruction: Which circuit did alfa romeo win? ### Response:
SELECT "Circuit" FROM table_60228 WHERE "Winning constructor" = 'alfa romeo'
### Instruction: which year had the most game releases ? ### Response:
SELECT "release" FROM table_203_583 GROUP BY "release" ORDER BY COUNT("title") DESC LIMIT 1
### Instruction: What IMAP sharing options exist for software with a web UI? ### Response:
SELECT "IMAP shared" FROM table_60904 WHERE "Web UI" = 'web ui'
### Instruction: Who was the driver who had a final position of 14? ### Response:
SELECT "Driver" FROM table_46189 WHERE "Fin. Pos" = '14'
### Instruction: In what round was the circuit Eastern Creek Raceway? ### Response:
SELECT rd FROM table_25531112_2 WHERE circuit = "Eastern Creek Raceway"
### Instruction: What is the Home team score for the Home team of Melbourne? ### Response:
SELECT "Home team score" FROM table_51671 WHERE "Home team" = 'melbourne'
### Instruction: What was the high rebounds from the date of April 14? ### Response:
SELECT high_rebounds FROM table_name_29 WHERE date = "april 14"
### Instruction: What is south africa's margin of victory? ### Response:
SELECT "Margin of victory" FROM table_36107 WHERE "Country" = 'south africa'
### Instruction: how many years was ali saibou president ? ### Response:
SELECT COUNT("year") FROM table_203_528 WHERE "president" = 'ali saibou'
### Instruction: What district is incumbent sid simpson from? ### Response:
SELECT district FROM table_1342233_13 WHERE incumbent = "Sid Simpson"
### Instruction: What was the result when home was fc luzern (asl)? ### Response:
SELECT result FROM table_name_22 WHERE home = "fc luzern (asl)"
### Instruction: Name the market value for rhb capital ### Response:
SELECT market_value__billion_$_ FROM table_19112_3 WHERE company = "RHB Capital"
### Instruction: What Venue has a Past Season of 2nd? ### Response:
SELECT "Venue" FROM table_78870 WHERE "Past Season" = '2nd'
### Instruction: What is the record of the team that lost to Alexander (5-2)? ### Response:
SELECT record FROM table_name_12 WHERE loss = "alexander (5-2)"
### Instruction: How many dates of demolition are located on Wood Street? ### Response:
SELECT COUNT("Date of demolition") FROM table_71985 WHERE "Location" = 'wood street'
### Instruction: What team did they lose to when they had a 28-22 record? ### Response:
SELECT loss FROM table_name_71 WHERE record = "28-22"
### Instruction: How many picks did Jay Bruchak have? ### Response:
SELECT COUNT("Pick") FROM table_65731 WHERE "Player" = 'jay bruchak'
### Instruction: How many records show Utah as the opponent? ### Response:
SELECT COUNT("Record") FROM table_25323 WHERE "Opponent" = 'Utah'
### Instruction: Name the date with resultof w 35-7 ### Response:
SELECT "Date" FROM table_39201 WHERE "Result" = 'w 35-7'
### Instruction: what was the total amount of points earned by ralf woods ? ### Response:
SELECT "points" FROM table_204_344 WHERE "player" = 'ralf woods'
### Instruction: what is the react when the lane is 3 and heat is 2? ### Response:
SELECT react FROM table_name_98 WHERE lane = 3 AND heat = 2