instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: Which builder has a fleet series of s057-s061? ### Response:
SELECT builder FROM table_name_30 WHERE fleet_series = "s057-s061"
### Instruction: What is Race 2, when Race 1 is 30? ### Response:
SELECT "Race 2" FROM table_49950 WHERE "Race 1" = '30'
### Instruction: Who was the director of the episode with a season after 8 and an episode of XVI? ### Response:
SELECT directed_by FROM table_name_77 WHERE season > 8 AND episode = "xvi"
### Instruction: What Constructor did Michael Schumacher have with a Grid smaller than 5? ### Response:
SELECT constructor FROM table_name_62 WHERE grid < 5 AND driver = "michael schumacher"
### Instruction: What is the total capacity of venues that opened in 1999? ### Response:
SELECT COUNT("Capacity") FROM table_5337 WHERE "Opened" = '1999'
### Instruction: Which Game has a Score of 122 125? ### Response:
SELECT "Game" FROM table_45800 WHERE "Score" = '122–125'
### Instruction: Which ESPN international sports owner speaks English? ### Response:
SELECT "Owner" FROM table_55556 WHERE "Language" = 'english' AND "Name" = 'espn international sports'
### Instruction: Which driver had less than 65 laps for Sigma Autosport? ### Response:
SELECT driver FROM table_name_64 WHERE laps < 65 AND team = "sigma autosport"
### Instruction: WHAT IS THE DATE WITH AN AWAY TEAM OF WORKINGTON? ### Response:
SELECT "Date" FROM table_9929 WHERE "Away team" = 'workington'
### Instruction: What is the highest attendance at a game with a result of 5-1? ### Response:
SELECT MAX("Attendance") FROM table_78774 WHERE "Result" = '5-1'
### Instruction: What is the city containing the KDKA-TV station? ### Response:
SELECT "City of License /Market" FROM table_42972 WHERE "Station" = 'kdka-tv'
### Instruction: When michele pirro is the pole position what is the date? ### Response:
SELECT date FROM table_21191496_1 WHERE pole_position = "Michele Pirro"
### Instruction: what is drug dose of drug name phenytoin? ### Response:
SELECT prescriptions.drug_dose FROM prescriptions WHERE prescriptions.drug = "Phenytoin"
### Instruction: What is the total combined weight of players from minnetonka, mn? ### Response:
SELECT SUM("Weight") FROM table_9864 WHERE "Home Town" = 'minnetonka, mn'
### Instruction: What are the Votes for the Song by Artist Filipa Batista? ### Response:
SELECT "Votes" FROM table_63019 WHERE "Artist" = 'filipa batista'
### Instruction: What was the conference matchup for the bowl game played in Glendale, Arizona? ### Response:
SELECT conference_matchups FROM table_name_66 WHERE city = "glendale, arizona"
### Instruction: Name the total number of qualifiying for race 3 being 3 ### Response:
SELECT COUNT(qualifying) FROM table_15530244_5 WHERE race_3 = "3"
### Instruction: What is the total number of heat for Chinyere Pigot? ### Response:
SELECT COUNT("Heat") FROM table_64944 WHERE "Name" = 'chinyere pigot'
### Instruction: What date had an opponent of Sweden and a friendly type game? ### Response:
SELECT date FROM table_name_44 WHERE type_of_game = "friendly" AND opponent = "sweden"
### Instruction: When the attendance was 24,406 who lost? ### Response:
SELECT "Loss" FROM table_68243 WHERE "Attendance" = '24,406'
### Instruction: how many times is the jewel malachite? ### Response:
SELECT COUNT(birthday) FROM table_26615633_1 WHERE jewel = "Malachite"
### Instruction: What's the place of 1989 with a comp of ECH? ### Response:
SELECT place FROM table_name_94 WHERE comp = "ech" AND date = "1989"
### Instruction: What is the accession number of the protein with the common name Purple Sea Urchin? ### Response:
SELECT accession_number FROM table_name_5 WHERE common_name = "purple sea urchin"
### Instruction: What is the human gene that has a mouse ortholog of LIG1? ### Response:
SELECT human_gene__protein_ FROM table_name_27 WHERE mouse_ortholog = "lig1"
### Instruction: what is the number of christian radio stations broadcasted by mxr yorkshire ? ### Response:
SELECT COUNT(*) FROM table_203_603 WHERE "description" = 'christian'
### Instruction: List all those first elected in the California 22 voting district. ### Response:
SELECT first_elected FROM table_1342149_6 WHERE district = "California 22"
### Instruction: what is drug type of drug name norepinephrine? ### Response:
SELECT prescriptions.drug_type FROM prescriptions WHERE prescriptions.drug = "NORepinephrine"
### Instruction: In what season was the pct % 0.552? ### Response:
SELECT "Season" FROM table_24149 WHERE "Pct %" = '0.552'
### Instruction: Which Network has Bill Weber for the Lap-by-lap? ### Response:
SELECT "Network" FROM table_57267 WHERE "Lap-by-lap" = 'bill weber'
### Instruction: Show the phone, room, and building for the faculty named Jerry Prince. ### Response:
SELECT phone, room, building FROM faculty WHERE fname = "Jerry" AND lname = "Prince"
### Instruction: Which date contained Aubrey O'Day as the cover model? ### Response:
SELECT date FROM table_1566852_10 WHERE cover_model = "Aubrey O'Day"
### Instruction: In Tangier Zone, what is the PCT route availibility? ### Response:
SELECT pct_route_available FROM table_2279413_1 WHERE country = "Tangier Zone"
### Instruction: Name the result/games for 54741 ### Response:
SELECT result_games FROM table_21436373_11 WHERE attendance = 54741
### Instruction: What is the total number of UEFA Cup(s), when Total is greater than 3? ### Response:
SELECT COUNT("UEFA Cup") FROM table_60547 WHERE "Total" > '3'
### Instruction: What movie was 'anti pettukundhuna' in? ### Response:
SELECT "Movie" FROM table_56055 WHERE "Song Title" = 'anti pettukundhuna'
### Instruction: Tell me the eastern #2 for western #2 of oakland ### Response:
SELECT "Eastern #2" FROM table_56898 WHERE "Western #2" = 'oakland'
### Instruction: Which team has an up/down of + 3479? ### Response:
SELECT team FROM table_2472711_31 WHERE up_down = "+ 3479"
### Instruction: Which artist created the silver dollar for the 400th anniversary of Quebec? ### Response:
SELECT artist FROM table_name_80 WHERE theme = "400th anniversary of quebec"
### Instruction: When has an Opponent of at Seattle mariners? ### Response:
SELECT "Date" FROM table_38927 WHERE "Opponent" = 'at seattle mariners'
### Instruction: Who was the game played against on October 9, 1966? ### Response:
SELECT opponent FROM table_name_18 WHERE date = "october 9, 1966"
### Instruction: Count the Prominence (m) of Col (m) smaller than 0? ### Response:
SELECT AVG(prominence__m_) FROM table_name_9 WHERE col__m_ < 0
### Instruction: Which player from England finished in T41? ### Response:
SELECT "Player" FROM table_59250 WHERE "Finish" = 't41' AND "Country" = 'england'
### Instruction: What is the score of the B.C. Open in New York? ### Response:
SELECT score FROM table_name_65 WHERE location = "new york" AND tournament = "b.c. open"
### Instruction: What is the 1st leg of the Al Fahaheel Team 1? ### Response:
SELECT 1 AS st_leg FROM table_name_11 WHERE team_1 = "al fahaheel"
### Instruction: tg ( triglyceride ) greater than 400 mg / dl ### Response:
SELECT * FROM table_train_113 WHERE triglyceride_tg >= 400
### Instruction: What is the Japanese orthography for the abbreviation of ndmc? ### Response:
SELECT "Japanese orthography" FROM table_52947 WHERE "abbreviation" = 'ndmc'
### Instruction: Which tournament was held on 9 Jun 2002? ### Response:
SELECT "Tournament" FROM table_34539 WHERE "Date" = '9 jun 2002'
### Instruction: what is the power when the name is 1.2 16v lpg? ### Response:
SELECT power FROM table_name_13 WHERE name = "1.2 16v lpg"
### Instruction: How many teams have 62 tries against? ### Response:
SELECT COUNT(points_difference) FROM table_15467476_3 WHERE tries_against = "62"
### Instruction: what is the date of birth and primary disease of Hector Blair? ### Response:
SELECT demographic.dob, demographic.diagnosis FROM demographic WHERE demographic.name = "Hector Blair"
### Instruction: What number game of the season was played on April 12? ### Response:
SELECT MAX(game) FROM table_13619135_8 WHERE date = "April 12"
### Instruction: What team was the away team for the game with 916 in attendance? ### Response:
SELECT "Away" FROM table_46562 WHERE "Attendance" = '916'
### Instruction: What is the average Week, when Result is l 37 34? ### Response:
SELECT AVG(week) FROM table_name_80 WHERE result = "l 37–34"
### Instruction: Which Oberliga Bayern has a Season of 1981-82? ### Response:
SELECT oberliga_bayern FROM table_name_24 WHERE season = "1981-82"
### Instruction: what are the previous performance details for games involving the montreal canadiens? ### Response:
SELECT "Record" FROM table_25964 WHERE "Opponent" = 'Montreal Canadiens'
### Instruction: How many wins have more than 1 loss and a team of chiefs? ### Response:
SELECT SUM(wins) FROM table_name_26 WHERE teams = "chiefs" AND losses > 1
### Instruction: Which Second has a Skip of barbora vojtusova? ### Response:
SELECT "Second" FROM table_36916 WHERE "Skip" = 'barbora vojtusova'
### Instruction: What was the aircraft damage for the accident that had fatalities of 30/30? ### Response:
SELECT aircraft AS damage FROM table_name_35 WHERE fatalities = "30/30"
### Instruction: What is the Birth Name of the Archbishop with a Current End of Reign? ### Response:
SELECT "Birth Name" FROM table_7485 WHERE "End of Reign" = 'current'
### Instruction: What year had a Ford engine and 13 points? ### Response:
SELECT "Year" FROM table_68740 WHERE "Engine" = 'ford' AND "Pts." = '13'
### Instruction: On which day did the person who is known for the only way is essex star enter? ### Response:
SELECT entered FROM table_name_42 WHERE known_for = "the only way is essex star"
### Instruction: Show me about the distribution of login_name and author_id in a bar chart. ### Response:
SELECT login_name, author_id FROM Course_Authors_and_Tutors ORDER BY personal_name
### Instruction: What are the sum of points in 1989 with 0 wins? ### Response:
SELECT SUM(points) FROM table_name_85 WHERE wins = 0 AND year = 1989
### Instruction: The Maserati 4cl's minimum no was? ### Response:
SELECT MIN("No") FROM table_24682 WHERE "Chassis" = 'Maserati 4CL'
### Instruction: What is the coinage metal for KM numbers of S45? ### Response:
SELECT "Coinage metal" FROM table_28597 WHERE "KM number" = 'S45'
### Instruction: With a Championship of 1959 USAC Championship Car Season what is the event? ### Response:
SELECT event FROM table_name_32 WHERE championship = "1959 usac championship car season"
### Instruction: How many results for incumbent Noble Jones Gregory? ### Response:
SELECT COUNT(district) FROM table_1342198_17 WHERE incumbent = "Noble Jones Gregory"
### Instruction: how many wiaa classifications does fort vancouver high school have? ### Response:
SELECT COUNT("WIAA Classification") FROM table_2546 WHERE "High School" = 'Fort Vancouver'
### Instruction: What is the prize money for Virginia? ### Response:
SELECT 1 AS st_prize__$__ FROM table_11622496_1 WHERE location = "Virginia"
### Instruction: Where was the location and attendance when they played milwaukee? ### Response:
SELECT location_attendance FROM table_27882867_9 WHERE team = "Milwaukee"
### Instruction: Who was the opposing team in the game(s) that started at 7:30pm? ### Response:
SELECT opponent FROM table_name_97 WHERE time = "7:30pm"
### Instruction: What is the nationality of the Team Georgia Tech? ### Response:
SELECT "Nationality" FROM table_48319 WHERE "School/Club Team" = 'georgia tech'
### Instruction: Give me the comparison about author_tutor_ATB over the password . ### Response:
SELECT password, author_tutor_ATB FROM Course_Authors_and_Tutors ORDER BY personal_name
### Instruction: What was the method for the resolution of nc where the fight lasted less than 3 rounds? ### Response:
SELECT method FROM table_name_72 WHERE round < 3 AND res = "nc"
### Instruction: Who is the player from Round 3 from Russia? ### Response:
SELECT "Player" FROM table_6157 WHERE "Round" = '3' AND "Nationality" = 'russia'
### Instruction: How many people attended on december 26, 1982? ### Response:
SELECT attendance FROM table_name_78 WHERE date = "december 26, 1982"
### Instruction: What is the destination of the Garib nwaz exp train? ### Response:
SELECT "Destination" FROM table_37382 WHERE "Train Name" = 'garib nwaz exp'
### Instruction: Visualize a pie chart with what is the average price of the products for each category? ### Response:
SELECT product_category_code, AVG(product_price) FROM Products GROUP BY product_category_code
### Instruction: What was the result for the incumbent Milton H. West? ### Response:
SELECT "Result" FROM table_18559 WHERE "Incumbent" = 'Milton H. West'
### Instruction: Who was the incumbent when henry e. barbour ran? ### Response:
SELECT candidates FROM table_1342379_5 WHERE incumbent = "Henry E. Barbour"
### Instruction: Who won when the presenter was Tatiana Stefanidou? ### Response:
SELECT "The Winner" FROM table_15001 WHERE "The Presenter" = 'tatiana stefanidou'
### Instruction: How many total are there when actor/actress is pam ferris? ### Response:
SELECT "Total" FROM table_3446 WHERE "Actor/Actress" = 'Pam Ferris'
### Instruction: What is the alternate of the nation with Piotras Gerasimovici as the second? ### Response:
SELECT alternate FROM table_name_19 WHERE second = "piotras gerasimovici"
### Instruction: Show all allergy types and the number of allergies in each type. Plot them as bar chart. ### Response:
SELECT AllergyType, COUNT(*) FROM Allergy_Type GROUP BY AllergyType
### Instruction: What club did the championship player come from who had 10 goals? ### Response:
SELECT "Club(s)" FROM table_30449 WHERE "Goal(s)" = '10'
### Instruction: When gray wolves is the team nickname how many institutions are there? ### Response:
SELECT COUNT("Institution") FROM table_30392 WHERE "Team Nickname" = 'Gray Wolves'
### Instruction: Who directed a film for Cracking Film Productions? ### Response:
SELECT "Director(s)" FROM table_79930 WHERE "Recipient" = 'cracking film productions'
### Instruction: If the special weapon is glass egg, what is the close ranged weapon? ### Response:
SELECT "Close ranged weapons" FROM table_74165 WHERE "Special weapon" = 'Glass egg'
### Instruction: how many summer olympics has yelena slesarenko participated in ? ### Response:
SELECT COUNT(*) FROM table_203_300 WHERE "tournament" = 'summer olympics'
### Instruction: What is the Name of the Historic House of the 18th Century? ### Response:
SELECT name FROM table_name_79 WHERE type = "historic house" AND date = "18th century"
### Instruction: What is the Author of the Title with a First Issue of September 2010? ### Response:
SELECT author FROM table_name_87 WHERE first_issue = "september 2010"
### Instruction: where was the location for the fastest test done ? ### Response:
SELECT "location" FROM table_204_821 ORDER BY "speed [km/h (mph)]" DESC LIMIT 1
### Instruction: Which Score has a Tournament of san jose, us (2)? ### Response:
SELECT "Score" FROM table_6970 WHERE "Tournament" = 'san jose, us (2)'
### Instruction: How many rounds have School/club team of pan american? ### Response:
SELECT SUM("Round") FROM table_57183 WHERE "School/club team" = 'pan american'
### Instruction: What is the Score with a Hoe that is etobicoke kangaroos? ### Response:
SELECT score FROM table_name_60 WHERE home = "etobicoke kangaroos"
### Instruction: What is the name of the diety for the river of sone? ### Response:
SELECT name_of_deity FROM table_name_16 WHERE name_of_the_river = "sone"
### Instruction: What is the Home team of the Kidderminster Harriers Away game? ### Response:
SELECT home_team FROM table_name_20 WHERE away_team = "kidderminster harriers"
### Instruction: what is the tourney where the winner is kevin mckinlay? ### Response:
SELECT "League Cup" FROM table_17766 WHERE "Player" = 'Kevin McKinlay'
### Instruction: What is the largest rank with 2,080 area? ### Response:
SELECT MAX(rank) FROM table_name_34 WHERE area__sqmi_ = 2 OFFSET 080
### Instruction: What is the English title of the film Directed by Jayme Monjardim? ### Response:
SELECT english_title FROM table_name_21 WHERE director = "jayme monjardim"