instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_26261072_1 ( series__number INTEGER, written_by VARCHAR, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least series number written by brenda hampton and directed by burt brinckerhoff ### Response:
SELECT MIN(series__number) FROM table_26261072_1 WHERE written_by = "Brenda Hampton" AND directed_by = "Burt Brinckerhoff"
### Instruction: CREATE TABLE table_45267 ( "Railway" text, "Built" real, "Wheels" text, "Location" text, "ObjectNumber" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the UK Railway with an ObjectNumber of 1975-7023? ### Response:
SELECT "Railway" FROM table_45267 WHERE "ObjectNumber" = '1975-7023'
### Instruction: CREATE TABLE table_name_27 ( winning_score VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the winning score where the runner-up is Robert-Jan Derksen and the margin of victory is 1 stroke? ### Response:
SELECT winning_score FROM table_name_27 WHERE margin_of_victory = "1 stroke" AND runner_s__up = "robert-jan derksen"
### Instruction: CREATE TABLE table_71913 ( "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Partner Tomas Behrend's Score in the final? ### Response:
SELECT "Score in the final" FROM table_71913 WHERE "Partner" = 'tomas behrend'
### Instruction: CREATE TABLE table_39632 ( "Score" text, "Opposition" text, "Venue" text, "City" text, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score has Leicestershire as the opponent after 1906? ### Response:
SELECT "Score" FROM table_39632 WHERE "Opposition" = 'leicestershire' AND "Year" > '1906'
### Instruction: CREATE TABLE table_31906 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In less than 58 laps, what is the highest grid for Alexander Wurz? ### Response:
SELECT MAX("Grid") FROM table_31906 WHERE "Driver" = 'alexander wurz' AND "Laps" < '58'
### Instruction: CREATE TABLE table_59217 ( "Physical property" text, "Helium" text, "Neon" text, "Argon" text, "Krypton" text, "Xenon" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Neon has a Argon of 189.6? ### Response:
SELECT "Neon" FROM table_59217 WHERE "Argon" = '−189.6'
### Instruction: CREATE TABLE table_26167 ( "Represented" text, "Contestant" text, "Age" real, "Height (in.)" text, "Height (cm.)" real, "Hometown" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the height in inches if the represented is Erongo? ### Response:
SELECT "Height (in.)" FROM table_26167 WHERE "Represented" = 'Erongo'
### Instruction: CREATE TABLE table_17118006_2 ( bid_pronar_investment__us$_ VARCHAR, farmers VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the BID/PRONAR investment (in $) in the department that included 1326 farmers in its projects? ### Response:
SELECT bid_pronar_investment__us$_ FROM table_17118006_2 WHERE farmers = 1326
### Instruction: CREATE TABLE table_59033 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Country of the Player with a Score of 71-73-71=215? ### Response:
SELECT "Country" FROM table_59033 WHERE "Score" = '71-73-71=215'
### Instruction: CREATE TABLE table_27501 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote episode number 149 in the series? ### Response:
SELECT "Written by" FROM table_27501 WHERE "No. in series" = '149'
### Instruction: CREATE TABLE table_43593 ( "Outcome" text, "Date" text, "Championship" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date of the game against Christo Van Rensburg? ### Response:
SELECT "Date" FROM table_43593 WHERE "Opponent" = 'christo van rensburg'
### Instruction: CREATE TABLE table_3257 ( "Information" text, "James E. Holmes" text, "Reidsville" text, "Rockingham County" text, "Western Rockingham Middle School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the james e. holmes for joe baez ### Response:
SELECT "James E. Holmes" FROM table_3257 WHERE "Rockingham County" = 'Joe Baez'
### Instruction: CREATE TABLE table_53757 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the 2nd leg where the team 2 was budoni (sardinia)? ### Response:
SELECT "2nd leg" FROM table_53757 WHERE "Team 2" = 'budoni (sardinia)'
### Instruction: CREATE TABLE table_48623 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2nd leg score for the match with a team 2 of Werder Bremen? ### Response:
SELECT "2nd leg" FROM table_48623 WHERE "Team 2" = 'werder bremen'
### Instruction: CREATE TABLE table_40468 ( "Pos." text, "Player" text, "Team" text, "Height" text, "Weight" real, "First round" text, "Final round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position does the player with a first round score of 35.7 play? ### Response:
SELECT "Pos." FROM table_40468 WHERE "First round" = '35.7'
### Instruction: CREATE TABLE table_203_758 ( id number, "no." number, "dub no." number, "english dubbed title / english subbed title\noriginal japanese title" text, "original air date" text, "english air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- episodes have been dubbed ? ### Response:
SELECT COUNT(DISTINCT "dub no.") FROM table_203_758
### Instruction: CREATE TABLE table_1099 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The los angeles kings drafted what player in the 7th round ### Response:
SELECT "Player" FROM table_1099 WHERE "NHL team" = 'Los Angeles Kings'
### Instruction: CREATE TABLE table_name_15 ( actual_title VARCHAR, writer VARCHAR, artist VARCHAR, issue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the actual title of the show that had an issue number less than 508, was written by Desmond Devlin, and for which Tom Richmond was the artist? ### Response:
SELECT actual_title FROM table_name_15 WHERE artist = "tom richmond" AND issue < 508 AND writer = "desmond devlin"
### Instruction: CREATE TABLE table_18305 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the election when someone was first elected in 1960? ### Response:
SELECT "Result" FROM table_18305 WHERE "First elected" = '1960'
### Instruction: CREATE TABLE table_22051 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is riverfront stadium the game site for the week? ### Response:
SELECT MIN("Week") FROM table_22051 WHERE "Game site" = 'Riverfront Stadium'
### Instruction: CREATE TABLE table_31604 ( "Year" real, "Team/Chassis" text, "Engine" text, "Tyres" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of points team Alfa Romeo 184T won? ### Response:
SELECT SUM("Points") FROM table_31604 WHERE "Team/Chassis" = 'alfa romeo 184t'
### Instruction: CREATE TABLE table_17221 ( "Institution" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Nickname" text, "Joined" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Barry University had a maximum enrollment of what? ### Response:
SELECT MAX("Enrollment") FROM table_17221 WHERE "Institution" = 'Barry University'
### Instruction: CREATE TABLE tryout ( cName VARCHAR, pID VARCHAR, decision VARCHAR ) CREATE TABLE player ( pName VARCHAR, pID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name and college of students whose decisions are yes in the tryout. ### Response:
SELECT T1.pName, T2.cName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes'
### Instruction: CREATE TABLE table_203_531 ( id number, "date" text, "tournament" text, "location" text, "winner" text, "score" text, "1st prize ($)" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which state hosted the most pga tour tournaments ? ### Response:
SELECT "location" FROM table_203_531 GROUP BY "location" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_25476 ( "Date" text, "Location" text, "Opponent" text, "Irish Points" real, "Opp. Points" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the max irish points for eastern michigan ### Response:
SELECT MAX("Irish Points") FROM table_25476 WHERE "Opponent" = 'Eastern Michigan'
### Instruction: CREATE TABLE table_16758 ( "Race Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the circuit in which the race name is ii danish grand prix? ### Response:
SELECT "Circuit" FROM table_16758 WHERE "Race Name" = 'II Danish Grand Prix'
### Instruction: CREATE TABLE table_2236 ( "No" real, "Season" real, "Ep" real, "Title" text, "Writer" text, "Director" text, "Original airdate" text, "Archive" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of directors for number 6 ### Response:
SELECT COUNT("Director") FROM table_2236 WHERE "No" = '6'
### Instruction: CREATE TABLE table_37612 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the opponent of the game with the record 64-51? ### Response:
SELECT "Opponent" FROM table_37612 WHERE "Record" = '64-51'
### Instruction: CREATE TABLE table_8536 ( "Discipline" text, "Championship" text, "Circuit" text, "Event" text, "Session" text, "Cause" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What race even has NASCAR Featherlite Modified Series as the championship? ### Response:
SELECT "Event" FROM table_8536 WHERE "Championship" = 'nascar featherlite modified series'
### Instruction: CREATE TABLE table_203_392 ( id number, "rank" text, "belt alternate 1" text, "belt alternate 2" text, "belt alternate 3" text, "belt alternate 4" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of different colored belts available ? ### Response:
SELECT COUNT(DISTINCT "belt alternate 1") FROM table_203_392
### Instruction: CREATE TABLE table_189893_1 ( population__2006_ INTEGER, percentage__2011_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest population(2006) when there is a 1.06% in 2011? ### Response:
SELECT MIN(population__2006_) FROM table_189893_1 WHERE percentage__2011_ = "1.06%"
### Instruction: CREATE TABLE table_20189 ( "Player" text, "No." real, "Nationality" text, "Position" text, "Years in Orlando" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the years in orlando for penn state ### Response:
SELECT "Years in Orlando" FROM table_20189 WHERE "School/Club Team" = 'Penn State'
### Instruction: CREATE TABLE table_204_385 ( id number, "round" number, "pick" number, "player" text, "nationality" text, "college/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what nationality picked the most players ? ### Response:
SELECT "nationality" FROM table_204_385 GROUP BY "nationality" ORDER BY COUNT("player") DESC LIMIT 1
### Instruction: CREATE TABLE table_29626 ( "Game" real, "October" real, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games did they play on october 9? ### Response:
SELECT COUNT("Opponent") FROM table_29626 WHERE "October" = '9'
### Instruction: CREATE TABLE table_10007 ( "Position" real, "Driver / Passenger" text, "Equipment" text, "Points" real, "Wins" text, "Second" text, "Third" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many wins does the driver with 217 points have? ### Response:
SELECT "Wins" FROM table_10007 WHERE "Points" = '217'
### Instruction: CREATE TABLE table_71442 ( "Election" text, "1st Member" text, "1st Party" text, "2nd Member" text, "2nd Party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the 1st member in the 1884 by-election? ### Response:
SELECT "1st Member" FROM table_71442 WHERE "Election" = '1884 by-election'
### Instruction: CREATE TABLE table_1144 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of record when attendance is 44023 ### Response:
SELECT COUNT("Record") FROM table_1144 WHERE "Attendance" = '44023'
### Instruction: CREATE TABLE table_27484208_1 ( world_rank_by_qs_ VARCHAR, _2013 VARCHAR, members VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the world rank by QS in 2013 for the University of Otago? ### Response:
SELECT world_rank_by_qs_, _2013 FROM table_27484208_1 WHERE members = "University of Otago"
### Instruction: CREATE TABLE table_30001 ( "Entry Date [A ]" text, "Single" text, "Artist" text, "Peak" real, "Peak Reached [A ]" text, "Weeks in top 10" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How long has the longest song spent in the top 10? ### Response:
SELECT MAX("Weeks in top 10") FROM table_30001
### Instruction: CREATE TABLE table_25914 ( "Episode" text, "First broadcast" text, "Seans team" text, "Daves team" text, "Scores" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many daves team entries are there on 27 october 2006? ### Response:
SELECT COUNT("Daves team") FROM table_25914 WHERE "First broadcast" = '27 October 2006'
### Instruction: CREATE TABLE table_63386 ( "TIME" text, "ATHLETE" text, "SCHOOL" text, "CITY" text, "DATE" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the School of the Player with a Date of June 4, 2011? ### Response:
SELECT "SCHOOL" FROM table_63386 WHERE "DATE" = 'june 4, 2011'
### Instruction: CREATE TABLE table_3093 ( "Season" real, "Regular Season" text, "Playoffs" text, "U.S. Open Cup" text, "CONCACAF" text, "MLS Regular Season Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of playoffs for semifinals ### Response:
SELECT COUNT("Playoffs") FROM table_3093 WHERE "CONCACAF" = 'Semifinals'
### Instruction: CREATE TABLE table_55012 ( "Date" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of set 3 when the total is 45 31? ### Response:
SELECT "Set 3" FROM table_55012 WHERE "Total" = '45–31'
### Instruction: CREATE TABLE table_9707 ( "Date" text, "Home team" text, "Score" text, "Away team" text, "Venue" text, "Box Score" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which date had a venue of the Gold Coast Convention Centre? ### Response:
SELECT "Date" FROM table_9707 WHERE "Venue" = 'gold coast convention centre'
### Instruction: CREATE TABLE table_40333 ( "Sport" text, "Record" text, "Nation \u2013 athlete(s)" text, "Date" text, "Time (seconds)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Date has a time of (seconds) 42.172? ### Response:
SELECT "Date" FROM table_40333 WHERE "Time (seconds)" = '42.172'
### Instruction: CREATE TABLE table_31708 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" text, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the city of license for call sign of k215es ### Response:
SELECT "City of license" FROM table_31708 WHERE "Call sign" = 'k215es'
### Instruction: CREATE TABLE table_61407 ( "Year (Ceremony)" text, "Film title used in nomination" text, "Original title" text, "Director" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Director of Gulf Stream Under the Iceberg? ### Response:
SELECT "Director" FROM table_61407 WHERE "Film title used in nomination" = 'gulf stream under the iceberg'
### Instruction: CREATE TABLE table_56501 ( "Wind farm" text, "Capacity (MW)" real, "Country" text, "State/Province" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What special notes are included for the windfarm with a capacity (MW) of 343? ### Response:
SELECT "Notes" FROM table_56501 WHERE "Capacity (MW)" = '343'
### Instruction: CREATE TABLE table_203_615 ( id number, "district" text, "incumbent" text, "party" text, "first\nelected" number, "result" text, "candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what number of elections were a democratic gain ? ### Response:
SELECT COUNT(*) FROM table_203_615 WHERE "result" = 'democratic gain'
### Instruction: CREATE TABLE table_31686 ( "Rank" real, "Player" text, "Career" text, "Caps" real, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum cap number where 0 goals were scored with a rank of 15? ### Response:
SELECT MAX("Caps") FROM table_31686 WHERE "Goals" = '0' AND "Rank" = '15'
### Instruction: CREATE TABLE table_36066 ( "Rank" real, "Name" text, "Team" text, "Games" real, "Rebounds" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which game has more than 112 rebounds and a rank greater than 3? ### Response:
SELECT MAX("Games") FROM table_36066 WHERE "Rank" > '3' AND "Rebounds" = '112'
### Instruction: CREATE TABLE table_78301 ( "Player" text, "Position" text, "Date of Birth (Age)" text, "Caps" real, "Club/province" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player Munster from Munster is a fly-half? ### Response:
SELECT "Player" FROM table_78301 WHERE "Position" = 'fly-half' AND "Club/province" = 'munster'
### Instruction: CREATE TABLE table_48937 ( "Opposing Team" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has an Against smaller than 21, and a Status of second test? ### Response:
SELECT "Date" FROM table_48937 WHERE "Against" < '21' AND "Status" = 'second test'
### Instruction: CREATE TABLE table_40937 ( "Pilot" text, "Original Airdate" text, "Musical Guest/Song performed" text, "YouTube Hero" text, "MySpace Band" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Original Airdate for the YouTube Hero greg pattillo? ### Response:
SELECT "Original Airdate" FROM table_40937 WHERE "YouTube Hero" = 'greg pattillo'
### Instruction: CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you compute the number of people with different job titles? Plot them as a bar graph. ### Response:
SELECT job, COUNT(job) FROM Person GROUP BY job ORDER BY name
### Instruction: CREATE TABLE table_78586 ( "Rank" real, "Name" text, "Season" text, "Club" text, "minutes" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the minutes of the Player from Real Madrid Club with a Rank of 7 or larger? ### Response:
SELECT SUM("minutes") FROM table_78586 WHERE "Rank" > '7' AND "Club" = 'real madrid'
### Instruction: CREATE TABLE table_57105 ( "Rd #" real, "Pick #" real, "Player" text, "Team (League)" text, "Reg GP" real, "Pl GP" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the reg gp of the player with a round number less than 2? ### Response:
SELECT SUM("Reg GP") FROM table_57105 WHERE "Rd #" < '2'
### Instruction: CREATE TABLE table_64602 ( "Name" text, "La Liga" real, "Copa del Rey" real, "UEFA Champions League" real, "FIFA Club World Championship" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Copa del Rey has a La Liga smaller than 0? ### Response:
SELECT SUM("Copa del Rey") FROM table_64602 WHERE "La Liga" < '0'
### Instruction: CREATE TABLE table_75939 ( "Draw" real, "Song" text, "Performer" text, "Points" real, "Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of points when the ranking is 7th and the draw is less than 4? ### Response:
SELECT AVG("Points") FROM table_75939 WHERE "Rank" = '7th' AND "Draw" < '4'
### Instruction: CREATE TABLE table_2607 ( "Rank" real, "Athlete" text, "Nation" text, "Olympics" text, "Gold" real, "Silver" real, "Bronze" real, "Total(min. 2 medals)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many silver medalist was won? ### Response:
SELECT MAX("Silver") FROM table_2607
### Instruction: CREATE TABLE table_6729 ( "Season" real, "Team" text, "Wins" real, "Losses" real, "Draws" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Wins when draws shows 0 in 1964? ### Response:
SELECT SUM("Wins") FROM table_6729 WHERE "Draws" = '0' AND "Season" = '1964'
### Instruction: CREATE TABLE table_29162856_1 ( pole_position VARCHAR, winning_rider VARCHAR, fastest_lap VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the pole position(s) when rob guiver won and kyle ryde had the fastest lap? ### Response:
SELECT pole_position FROM table_29162856_1 WHERE winning_rider = "Rob Guiver" AND fastest_lap = "Kyle Ryde"
### Instruction: CREATE TABLE table_30127 ( "Year(s)" real, "Television commentator" text, "Dual Television commentator" text, "Radio commentator" text, "Spokesperson" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the dual television commentator in 1990? ### Response:
SELECT "Dual Television commentator" FROM table_30127 WHERE "Year(s)" = '1990'
### Instruction: CREATE TABLE table_203_376 ( id number, "no." number, "name" text, "term of office" text, "president(s) served under" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what were the total number of years bob martinez served in office ? ### Response:
SELECT "term of office" - "term of office" FROM table_203_376 WHERE "name" = 'bob martinez'
### Instruction: CREATE TABLE table_5898 ( "Game" real, "February" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponent has a Game larger than 56 and February of 24? ### Response:
SELECT "Opponent" FROM table_5898 WHERE "Game" > '56' AND "February" = '24'
### Instruction: CREATE TABLE table_75669 ( "Call sign" text, "Frequency MHz" text, "City of license" text, "ERP W" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which ERP W has a Frequency MHz of 88.5 FM? ### Response:
SELECT "ERP W" FROM table_75669 WHERE "Frequency MHz" = '88.5 fm'
### Instruction: CREATE TABLE table_75737 ( "Name" text, "Space Agency" text, "Launch Date" text, "Terminated" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did NASA launch the wide field infrared explorer (wire)? ### Response:
SELECT "Launch Date" FROM table_75737 WHERE "Space Agency" = 'nasa' AND "Name" = 'wide field infrared explorer (wire)'
### Instruction: CREATE TABLE table_45149 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Country of the Player with a Score of 69-71-66=206? ### Response:
SELECT "Country" FROM table_45149 WHERE "Score" = '69-71-66=206'
### Instruction: CREATE TABLE table_203_590 ( id number, "date" text, "venue" text, "opponents" text, "score" text, "competition" text, "scotland scorer(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in which two games did scotland not score a goal ? ### Response:
SELECT "date" FROM table_203_590 WHERE "score" = 0
### Instruction: CREATE TABLE table_46420 ( "Name" text, "Country" text, "Loan Club" text, "Started" text, "Ended" text, "Start Source" text, "End Source" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the loan start source when the loan club is fulham? ### Response:
SELECT "Start Source" FROM table_46420 WHERE "Loan Club" = 'fulham'
### Instruction: CREATE TABLE table_name_96 ( episode INTEGER, performer_4 VARCHAR, performer_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the episodes where chip esten was the 4th performer and jim meskimen was the 1st performer? ### Response:
SELECT SUM(episode) FROM table_name_96 WHERE performer_4 = "chip esten" AND performer_1 = "jim meskimen"
### Instruction: CREATE TABLE table_43764 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the leading scorer on April 7? ### Response:
SELECT "Leading scorer" FROM table_43764 WHERE "Date" = 'april 7'
### Instruction: CREATE TABLE table_26064 ( "Place came" text, "Artist" text, "Category" text, "Act" text, "Semi-final" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- During the act, Playing on Glasses, what was the semi-final? ### Response:
SELECT "Semi-final" FROM table_26064 WHERE "Act" = 'Playing on Glasses'
### Instruction: CREATE TABLE table_68327 ( "Year" text, "Human Resources & Operations" text, "Local Affairs" text, "Academic & University Affairs" text, "External Affairs" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was in Academic & University Affairs when Andrew Langille was in local affairs? ### Response:
SELECT "Academic & University Affairs" FROM table_68327 WHERE "Local Affairs" = 'andrew langille'
### Instruction: CREATE TABLE table_74377 ( "Rk" real, "Name" text, "Country" text, "Matches Played" real, "Matches Won" real, "Points" real, "Prize Money (USD)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many countries had 21 points ### Response:
SELECT COUNT("Country") FROM table_74377 WHERE "Points" = '21'
### Instruction: CREATE TABLE table_3098 ( "Theatre name" text, "Digital Screens" real, "IMAX Screens" real, "Location" text, "Language of films" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the location for democratic m ga-plex taschereau imax ### Response:
SELECT "Location" FROM table_3098 WHERE "Theatre name" = 'Méga-Plex Taschereau IMAX'
### Instruction: CREATE TABLE table_12501 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Place of the Player with a Score of 69-72-72=213? ### Response:
SELECT "Place" FROM table_12501 WHERE "Score" = '69-72-72=213'
### Instruction: CREATE TABLE table_29030 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What club is associated with draft number 155? ### Response:
SELECT "NHL team" FROM table_29030 WHERE "Pick #" = '155'
### Instruction: CREATE TABLE table_29056 ( "Date" text, "Time" text, "Visiting team" text, "Home team" text, "Site" text, "Broadcast" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the time for georgia ### Response:
SELECT "Time" FROM table_29056 WHERE "Visiting team" = 'Georgia'
### Instruction: CREATE TABLE table_75292 ( "Medal" text, "Name" text, "Games" text, "Sport" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which wrestling event was at the 2008 Beijing games? ### Response:
SELECT "Event" FROM table_75292 WHERE "Sport" = 'wrestling' AND "Games" = '2008 beijing'
### Instruction: CREATE TABLE table_70339 ( "Title" text, "Studio" text, "Role" text, "Leading lady" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the title for marion burns leading lady and role of john mason ### Response:
SELECT "Title" FROM table_70339 WHERE "Leading lady" = 'marion burns' AND "Role" = 'john mason'
### Instruction: CREATE TABLE table_58119 ( "Cyclist" text, "Nation" text, "Team" text, "Time" text, "UCI ProTour Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nation is the cyclist hat has a UCI ProTour Points of 25? ### Response:
SELECT "Nation" FROM table_58119 WHERE "UCI ProTour Points" = '25'
### Instruction: CREATE TABLE table_39990 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" text, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did the match with opponent Laverne Clark occur? ### Response:
SELECT "Location" FROM table_39990 WHERE "Opponent" = 'laverne clark'
### Instruction: CREATE TABLE table_67792 ( "Date" text, "Venue" text, "Score" text, "Competition" text, "Match report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was the score 1-2 at Athens Olympic Stadium? ### Response:
SELECT "Date" FROM table_67792 WHERE "Score" = '1-2' AND "Venue" = 'athens olympic stadium'
### Instruction: CREATE TABLE table_55824 ( "Year" real, "Championship" text, "54 holes" text, "Winning score" text, "Margin" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years had 54 holes and a 2 shot lead? ### Response:
SELECT COUNT("Year") FROM table_55824 WHERE "54 holes" = '2 shot lead'
### Instruction: CREATE TABLE table_25514 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did 'dungaree justice' originally air? ### Response:
SELECT "Original air date" FROM table_25514 WHERE "Title" = 'Dungaree Justice'
### Instruction: CREATE TABLE table_204_309 ( id number, "model" text, "released" number, "usage" text, "features" text, "storage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which was released earlier , mark 1 or distributor ? ### Response:
SELECT "model" FROM table_204_309 WHERE "model" IN ('mark 1', 'distributor') ORDER BY "released" LIMIT 1
### Instruction: CREATE TABLE table_50785 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Location has a Record of 0-1? ### Response:
SELECT "Location" FROM table_50785 WHERE "Record" = '0-1'
### Instruction: CREATE TABLE table_23916 ( "Year" text, "Head Coach" text, "Regular Season Record (W-L)" text, "NEC Record" text, "Standing" text, "NEC Tournament Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the nec record for 11th standing ### Response:
SELECT "NEC Record" FROM table_23916 WHERE "Standing" = '11th'
### Instruction: CREATE TABLE table_79803 ( "Volume:Issue" text, "Issue Date(s)" text, "Weeks on Top" text, "Song" text, "Artist" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Volume:Issue of 5:16 has what song listed? ### Response:
SELECT "Song" FROM table_79803 WHERE "Volume:Issue" = '5:16'
### Instruction: CREATE TABLE table_43512 ( "Season" text, "Competition" text, "Round" text, "Opponent" text, "Home" text, "Away" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home when the opponent was slovan liberec? ### Response:
SELECT "Home" FROM table_43512 WHERE "Opponent" = 'slovan liberec'
### Instruction: CREATE TABLE table_name_40 ( total_region VARCHAR, eidsvold VARCHAR, biggenden VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Total Region number of hte one that has Eidsvold at 970 and Biggenden larger than 1,570? ### Response:
SELECT COUNT(total_region) FROM table_name_40 WHERE eidsvold = 970 AND biggenden > 1 OFFSET 570
### Instruction: CREATE TABLE table_81 ( "Particulars and Characteristics" text, "Shivalik Zone" text, "Mid-Hill Zone" text, "High hill zone" text, "Trance- n Himalaya Zone" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For mid-hill zone what is the altitude? ### Response:
SELECT "Mid-Hill Zone" FROM table_81 WHERE "Particulars and Characteristics" = 'Altitude'
### Instruction: CREATE TABLE table_204_617 ( id number, "date" text, "opponent#" text, "rank#" text, "site" text, "tv" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many consecutive times was the rank # 2 ? ### Response:
SELECT COUNT(*) FROM table_204_617 WHERE "rank#" = 2
### Instruction: CREATE TABLE table_7507 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Location" text, "Record" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the game played when the Buffalo Bills had a record of 8-8? ### Response:
SELECT "Location" FROM table_7507 WHERE "Record" = '8-8'
### Instruction: CREATE TABLE table_62572 ( "Actor in original production" text, "Actor required" text, "GamePlan" text, "FlatSpin" text, "RolePlay" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the GamePlan when Jacqueline King is the actor in the original production? ### Response:
SELECT "GamePlan" FROM table_62572 WHERE "Actor in original production" = 'jacqueline king'
### Instruction: CREATE TABLE table_58564 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where does St Kilda play? ### Response:
SELECT "Venue" FROM table_58564 WHERE "Home team" = 'st kilda'
### Instruction: CREATE TABLE table_68039 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average decile for state authority and area of fernridge ### Response:
SELECT AVG("Decile") FROM table_68039 WHERE "Authority" = 'state' AND "Area" = 'fernridge'
### Instruction: CREATE TABLE table_name_96 ( champion VARCHAR, runner_up VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Champion has a Runner-up of florian mayer, and a Score of 7 6(6), 4 6, 7 5? ### Response:
SELECT champion FROM table_name_96 WHERE runner_up = "florian mayer" AND score = "7–6(6), 4–6, 7–5"