instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: How many head coaches named Darius Mikaeili? ### Response:
SELECT COUNT("Head coach") FROM table_29473 WHERE "Team captain" = 'Darius Mikaeili'
### Instruction: Name the record for score of w 76-67 ### Response:
SELECT "Record" FROM table_21317 WHERE "Score" = 'W 76-67'
### Instruction: What is the traditional Chinese name for the record Beautiful? ### Response:
SELECT "Chinese (Traditional)" FROM table_65167 WHERE "English Title" = 'beautiful'
### Instruction: When was the song by Andy Gibb issued? ### Response:
SELECT "Issue Date(s)" FROM table_39490 WHERE "Artist" = 'andy gibb'
### Instruction: Which player wears the number 2 on his jersey? ### Response:
SELECT "Player" FROM table_47226 WHERE "Jersey Number(s)" = '2'
### Instruction: What's the type of printer ports in the model number EX Plus3? ### Response:
SELECT "Printer ports" FROM table_609 WHERE "Model number" = 'EX Plus3'
### Instruction: What is the class of the locomotive with a 0-4-0st type? ### Response:
SELECT class FROM table_name_23 WHERE type = "0-4-0st"
### Instruction: Show school id vs acc_percent as scatter plot use a different color for each ACC_Home ### Response:
SELECT School_ID, ACC_Percent FROM basketball_match GROUP BY ACC_Home
### Instruction: Who is the winner of the tournament in Georgia on Oct 3? ### Response:
SELECT winner FROM table_name_90 WHERE location = "georgia" AND date = "oct 3"
### Instruction: Which club has a capacity of 25138? ### Response:
SELECT "Club" FROM table_58084 WHERE "Capacity" = '25138'
### Instruction: What is the type of glycosylase that has an E. coli of Muty? ### Response:
SELECT type FROM table_name_11 WHERE e_coli = "muty"
### Instruction: What is the number of minutes when there are more than 4 goals and 3 assists? ### Response:
SELECT minutes FROM table_name_8 WHERE goals > 4 AND assists = 3
### Instruction: Which 1997 has sf as the 2002? ### Response:
SELECT 1997 FROM table_name_74 WHERE 2002 = "sf"
### Instruction: what is the stage when the winner is charly mottet? ### Response:
SELECT "Stage" FROM table_78050 WHERE "Winner" = 'charly mottet'
### Instruction: What is the position of the player on the Los Angeles Kings? ### Response:
SELECT "Position" FROM table_70177 WHERE "NHL team" = 'los angeles kings'
### Instruction: What is the Format for the alca-487 catalog? ### Response:
SELECT "Format" FROM table_7667 WHERE "Catalog" = 'alca-487'
### Instruction: List the names of people that have not been on the affirmative side of debates. ### Response:
SELECT Name FROM people WHERE NOT People_id IN (SELECT Affirmative FROM debate_people)
### Instruction: which team has a record of 13-18? ### Response:
SELECT "Opponent" FROM table_5117 WHERE "Record" = '13-18'
### Instruction: Number of upvotes and downvotes by a given user. ### Response:
SELECT Id AS "user_link", UpVotes, DownVotes FROM Users WHERE Id = '##id##'
### Instruction: How many touchdowns did the player took which gained 25 points? ### Response:
SELECT touchdowns FROM table_25711913_2 WHERE points = 25
### Instruction: What is the margin of victory of the Dodge Intrepid? ### Response:
SELECT margin_of_victory FROM table_name_37 WHERE make = "dodge intrepid"
### Instruction: How many air dates were there when Morgan was eliminated? ### Response:
SELECT COUNT("Air date") FROM table_73070 WHERE "Eliminated" = 'Morgan'
### Instruction: what is the number of stories directed by jim ryan ? ### Response:
SELECT COUNT("title") FROM table_203_338 WHERE "story" = 'jim ryan'
### Instruction: Name the position for 23.7 avg start ### Response:
SELECT COUNT("Position") FROM table_24632 WHERE "Avg. Start" = '23.7'
### Instruction: Show the names of phones with carrier either 'Sprint' or 'TMobile'. ### Response:
SELECT name FROM phone WHERE carrier = "Sprint" OR carrier = "TMobile"
### Instruction: What team was the away team at Junction Oval? ### Response:
SELECT "Away team" FROM table_52608 WHERE "Venue" = 'junction oval'
### Instruction: Name the reporters for howard cosell ### Response:
SELECT reporters FROM table_22514845_5 WHERE s_analyst = "Howard Cosell"
### Instruction: What is the location of the kanyakumari government medical college? ### Response:
SELECT location FROM table_name_59 WHERE college_name = "kanyakumari government medical college"
### Instruction: Who was the runner-up of the competition played at Minikahda Club? ### Response:
SELECT runner_up FROM table_name_55 WHERE venue = "minikahda club"
### Instruction: how many tournaments were in 1967 ? ### Response:
SELECT COUNT("tournament") FROM table_204_621 WHERE "date" = 1967
### Instruction: What was the pick # for a center picked before round 6? ### Response:
SELECT COUNT(pick__number) FROM table_name_87 WHERE position = "center" AND round < 6
### Instruction: Draw a scatter chart for what are the different customer ids, and how many cards does each one hold? ### Response:
SELECT customer_id, COUNT(*) FROM Customers_Cards GROUP BY customer_id
### Instruction: What is the number of starts for 1987? ### Response:
SELECT COUNT(starts) FROM table_13026799_3 WHERE year = 1987
### Instruction: What is the table when the team is slovan bratislava? ### Response:
SELECT "Table" FROM table_29718 WHERE "Team" = 'Slovan Bratislava'
### Instruction: On August 22, how many people came to the game? ### Response:
SELECT "Attendance" FROM table_67152 WHERE "Date" = 'august 22'
### Instruction: what is marital status of subject name joseph dillman? ### Response:
SELECT demographic.marital_status FROM demographic WHERE demographic.name = "Joseph Dillman"
### Instruction: how many were released in march or april of any year ? ### Response:
SELECT COUNT(*) FROM table_203_570 WHERE "tpb release date" IN (3, 4)
### Instruction: What is the crowd total for glenferrie oval? ### Response:
SELECT COUNT(crowd) FROM table_name_77 WHERE venue = "glenferrie oval"
### Instruction: What is Tournament, when Date is '6 October 2008'? ### Response:
SELECT tournament FROM table_name_82 WHERE date = "6 october 2008"
### Instruction: what year was the last pylon in germany built ? ### Response:
SELECT MAX("year built") FROM table_203_375 WHERE "country" = 'germany'
### Instruction: How many years did number 25 play for the Jazz? ### Response:
SELECT years_for_jazz FROM table_11545282_7 WHERE no = 25
### Instruction: What school has a county of 69 ripley? ### Response:
SELECT "School" FROM table_63747 WHERE "County" = '69 ripley'
### Instruction: What is Astrid Gruber's email and phone number? ### Response:
SELECT email, phone FROM customers WHERE first_name = "Astrid" AND last_name = "Gruber"
### Instruction: What batting style does player Shahid Afridi have? ### Response:
SELECT "Batting Style" FROM table_10707 WHERE "Player" = 'shahid afridi'
### Instruction: What nation are carolina hermann / daniel hermann from? ### Response:
SELECT nation FROM table_name_64 WHERE name = "carolina hermann / daniel hermann"
### Instruction: Show me how many destination by destination in a histogram, sort y-axis in ascending order. ### Response:
SELECT destination, COUNT(destination) FROM flight GROUP BY destination ORDER BY COUNT(destination)
### Instruction: What district is ruben hinojosa from? ### Response:
SELECT district FROM table_1341453_45 WHERE incumbent = "Ruben Hinojosa"
### Instruction: What is the highest population of the region with a rank bigger than 9? ### Response:
SELECT MAX("Population") FROM table_68904 WHERE "Rank" > '9'
### Instruction: what diocese has the least area ? ### Response:
SELECT "ecclesiastical jurisdictions" FROM table_204_10 ORDER BY "area (km2)" LIMIT 1
### Instruction: What is the longest number of weeks any 1 song was at number #1? ### Response:
SELECT MAX(whole_weeks) FROM table_19542477_9
### Instruction: Name the number of year for june 30 ### Response:
SELECT COUNT(year) FROM table_23015396_1 WHERE date = "June 30"
### Instruction: What was the installation date in El Paso, Texas? ### Response:
SELECT installation_date FROM table_21821014_1 WHERE location = "El Paso, Texas"
### Instruction: What was the latest year of release for the greatest hits title? ### Response:
SELECT MAX("Year of Release") FROM table_64237 WHERE "Title" = 'greatest hits'
### Instruction: What district does edward everett eslick represent? ### Response:
SELECT district FROM table_1342379_41 WHERE incumbent = "Edward Everett Eslick"
### Instruction: What chassis has 2012 as the year? ### Response:
SELECT "Chassis" FROM table_35881 WHERE "Year" = '2012'
### Instruction: How tall is the player from farmington, ky? ### Response:
SELECT "Height" FROM table_29129 WHERE "Home Town" = 'Farmington, KY'
### Instruction: how many league goals walter langton made ? ### Response:
SELECT "league\ngoals" FROM table_204_27 WHERE "name" = 'walter langton'
### Instruction: How many DVD volumes was identified by Skippy Johnson? ### Response:
SELECT "DVD volume" FROM table_71466 WHERE "Identity(ies)" = 'skippy johnson'
### Instruction: What is the Diligence Virtues Gloss? ### Response:
SELECT "Gloss" FROM table_36362 WHERE "Virtue" = 'diligence'
### Instruction: Which width had an entered service year of 2010? ### Response:
SELECT "Width" FROM table_53869 WHERE "Entered service" = '2010'
### Instruction: What is the catalog number of the album whose region is the United Kingdom? ### Response:
SELECT "Catalog #" FROM table_56704 WHERE "Region" = 'united kingdom'
### Instruction: What is the count of enzymes without any interactions? ### Response:
SELECT COUNT(*) FROM enzyme WHERE NOT id IN (SELECT enzyme_id FROM medicine_enzyme_interaction)
### Instruction: What was the nationality of the athlete with a final result of 4.50? ### Response:
SELECT nationality FROM table_name_92 WHERE result = "4.50"
### Instruction: Who was the opponent with attendance at 64,002? ### Response:
SELECT opponent FROM table_name_87 WHERE attendance = "64,002"
### Instruction: What is the weight of the player from the vk primorac kotor club? ### Response:
SELECT weight FROM table_name_42 WHERE club = "vk primorac kotor"
### Instruction: Who was the finalist when the final venue was Varese? ### Response:
SELECT finalist FROM table_19651669_1 WHERE final_venue = "Varese"
### Instruction: What is the numeral where the English name is Florin? ### Response:
SELECT numeral FROM table_1682865_1 WHERE english_name = "Florin"
### Instruction: What is the highest game that has January 5 as the date? ### Response:
SELECT MAX("Game") FROM table_50989 WHERE "Date" = 'january 5'
### Instruction: tell me the only player from new zealand on the list . ### Response:
SELECT "name" FROM table_204_650 WHERE "nationality" = 'new zealand'
### Instruction: What was the Week on September 5, 1993? ### Response:
SELECT week FROM table_name_37 WHERE date = "september 5, 1993"
### Instruction: How many Goals against have Played more than 34? ### Response:
SELECT COUNT("Goals against") FROM table_78555 WHERE "Played" > '34'
### Instruction: What is Charleston, SC ERP W? ### Response:
SELECT "ERP W" FROM table_38629 WHERE "City of license" = 'charleston, sc'
### Instruction: Name the office running for for anthony mussara ### Response:
SELECT office_running_for FROM table_1855841_1 WHERE candidate = "Anthony Mussara"
### Instruction: Most controversial posts on the site. Looks for posts with more than half the amount of downvotes as they have upvotes Ordered by upvotes ### Response:
SELECT * FROM Votes
### Instruction: what's the first elected with district illinois 18 ### Response:
SELECT "First elected" FROM table_18187 WHERE "District" = 'Illinois 18'
### Instruction: specify the procedural long title for icd9 code 4601 ### Response:
SELECT procedures.long_title FROM procedures WHERE procedures.icd9_code = "4601"
### Instruction: How many areas are named West Isles? ### Response:
SELECT COUNT(area_km_2) FROM table_170969_2 WHERE official_name = "West Isles"
### Instruction: List the names and decor of rooms that have a king bed. Sort the list by their price. ### Response:
SELECT roomname, decor FROM rooms WHERE bedtype = 'King' ORDER BY baseprice
### Instruction: Which team was hosted at Adelaide Oval? ### Response:
SELECT "Away Team" FROM table_53612 WHERE "Stadium" = 'adelaide oval'
### Instruction: What position does the player from the Toronto Argonauts play? ### Response:
SELECT "Position" FROM table_42403 WHERE "CFL Team" = 'toronto argonauts'
### Instruction: What was the sum of laps in 1954? ### Response:
SELECT SUM("Laps") FROM table_14818 WHERE "Year" = '1954'
### Instruction: Who was the away team when the home team was Norwich City? ### Response:
SELECT "Away team" FROM table_60838 WHERE "Home team" = 'norwich city'
### Instruction: Name the total number of opponent for october 3 ### Response:
SELECT COUNT("Opponent") FROM table_26605 WHERE "Date" = 'October 3'
### Instruction: Which Platform is the one that has a Stop number of 99014? ### Response:
SELECT platform FROM table_name_28 WHERE stop_no = "99014"
### Instruction: What co-singer has sukhwinder singh as the composer? ### Response:
SELECT co_singer FROM table_name_26 WHERE composer = "sukhwinder singh"
### Instruction: Date of november 3, 2008 had what score? ### Response:
SELECT score FROM table_name_15 WHERE date = "november 3, 2008"
### Instruction: What is the regular season info that had a record of 20-10? ### Response:
SELECT reg_season FROM table_name_87 WHERE record = "20-10"
### Instruction: what was the venue on 7 october 2011? ### Response:
SELECT venue FROM table_name_11 WHERE date = "7 october 2011"
### Instruction: what was the only season where kevin martin was the skip ? ### Response:
SELECT "season" FROM table_204_747 WHERE "skip" = 'kevin martin'
### Instruction: Tell me the result for 1979-01-17 ### Response:
SELECT result FROM table_name_5 WHERE date = "1979-01-17"
### Instruction: Show me a scatter chart for what are the ids of the trips that lasted the longest and how long did they last? ### Response:
SELECT id, duration FROM trip ORDER BY duration DESC LIMIT 3
### Instruction: Who is the opponent after week 9 at rich stadium? ### Response:
SELECT opponent FROM table_name_29 WHERE week > 9 AND game_site = "rich stadium"
### Instruction: What was the score in the match against Sanaz Marand? ### Response:
SELECT "Score" FROM table_78350 WHERE "Opponent" = 'sanaz marand'
### Instruction: What was the total for christina liebherr? ### Response:
SELECT MIN("Total") FROM table_52540 WHERE "Rider" = 'christina liebherr'
### Instruction: the episode entitled 'ward 8' was what number in the series? ### Response:
SELECT "Series no." FROM table_74228 WHERE "Title" = 'Ward 8'
### Instruction: Who was the writer of the episode titled 'Pier Pressure'? ### Response:
SELECT "Written by" FROM table_1492 WHERE "Title" = 'Pier Pressure'
### Instruction: how many compilation albums did yg entertainment release in 2011 ? ### Response:
SELECT COUNT(*) FROM table_204_680 WHERE "format" = 'compilation'
### Instruction: name the only pillow pal that is a dalmatian . ### Response:
SELECT "name" FROM table_204_111 WHERE "animal type" = 'dalmatian'
### Instruction: What is the Country of the Championship with a Score of 293? ### Response:
SELECT "Country" FROM table_44720 WHERE "Score" = '293'
### Instruction: When was the historic place listed that's in canyon county? ### Response:
SELECT "Listed" FROM table_44964 WHERE "County" = 'canyon'