instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_72379 ( "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. -- Name the party for jack thomas brinkley ### Response:
SELECT "Party" FROM table_72379 WHERE "Incumbent" = 'Jack Thomas Brinkley'
### Instruction: CREATE TABLE table_203_228 ( id number, "#" number, "title" text, "songwriters" text, "producer(s)" text, "performer (s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many tracks in word ... life have at most two songwriters ? ### Response:
SELECT COUNT("title") FROM table_203_228 WHERE "songwriters" <= 2
### Instruction: CREATE TABLE table_71383 ( "Name" text, "Street address" text, "Years as tallest" text, "Height ft / m" text, "Floors" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the years as tallest when floors are larger than 18 ### Response:
SELECT "Years as tallest" FROM table_71383 WHERE "Floors" > '18'
### Instruction: CREATE TABLE table_71414 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Score of the 2008 Africa Cup of Nations Competition? ### Response:
SELECT "Score" FROM table_71414 WHERE "Competition" = '2008 africa cup of nations'
### Instruction: CREATE TABLE table_20483 ( "Office" text, "Type" text, "Location" text, "Elected" real, "Term began" text, "Term ended" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year did the term end for the office elected in 1984 ### Response:
SELECT "Term ended" FROM table_20483 WHERE "Elected" = '1984'
### Instruction: CREATE TABLE table_57319 ( "Game" real, "Date" text, "Score" text, "Location" text, "Time" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest game that had 42,707 attending? ### Response:
SELECT MIN("Game") FROM table_57319 WHERE "Attendance" = '42,707'
### Instruction: CREATE TABLE table_38177 ( "Round" text, "Venue" text, "Discipline" text, "Date" text, "Winner" text, "Second" text, "Third" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was third in round 14? ### Response:
SELECT "Third" FROM table_38177 WHERE "Round" = '14'
### Instruction: CREATE TABLE table_name_31 ( score VARCHAR, opponent VARCHAR, decision VARCHAR, november VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Score of the game with a decision of Lundqvist, the November less than 28, and opponent was Boston Bruins? ### Response:
SELECT score FROM table_name_31 WHERE decision = "lundqvist" AND november < 28 AND opponent = "boston bruins"
### Instruction: CREATE TABLE table_name_14 ( assist_pass VARCHAR, score VARCHAR, competition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Assist/pass has a Score of 1-0,a Competition of 2010 concacaf world cup qualifying group stage? ### Response:
SELECT assist_pass FROM table_name_14 WHERE score = "1-0" AND competition = "2010 concacaf world cup qualifying – group stage"
### Instruction: CREATE TABLE table_25474 ( "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 number of location for 22-1 ### Response:
SELECT COUNT("Location") FROM table_25474 WHERE "Record" = '22-1'
### Instruction: CREATE TABLE table_69073 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was score of the game when the record was 72-74? ### Response:
SELECT "Score" FROM table_69073 WHERE "Record" = '72-74'
### Instruction: CREATE TABLE table_204_337 ( id number, "festival" text, "year" number, "award" text, "nominee" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was their award at the janison short sharp film festival ? ### Response:
SELECT "award" FROM table_204_337 WHERE "festival" = 'janison short sharp film festival'
### Instruction: CREATE TABLE table_name_26 ( cbs_airdate VARCHAR, episode VARCHAR, airdate__usa_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the CBS airdate of the episode with a number under 70 with a USA airdate of 1 April 2005? ### Response:
SELECT cbs_airdate FROM table_name_26 WHERE episode < 70 AND airdate__usa_ = "1 april 2005"
### Instruction: CREATE TABLE table_29672 ( "Week #" text, "Theme" text, "Song Choice" text, "Original Artist" text, "Order #" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the theme when original artist Rosana's song was performed? ### Response:
SELECT "Theme" FROM table_29672 WHERE "Original Artist" = 'Rosana'
### Instruction: CREATE TABLE table_34474 ( "Rank" real, "Player" text, "Country" text, "Earnings ( $ )" real, "Events" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many earnings have Wins larger than 3? ### Response:
SELECT SUM("Earnings ( $ )") FROM table_34474 WHERE "Wins" > '3'
### Instruction: CREATE TABLE table_204_489 ( id number, "rank" number, "name" text, "height" text, "floors" number, "year" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which building has the most floors according to this chart ? ### Response:
SELECT "name" FROM table_204_489 ORDER BY "floors" DESC LIMIT 1
### Instruction: CREATE TABLE table_49585 ( "Nat." text, "Name" text, "Moving to" text, "Type" text, "Transfer window" text, "Transfer fee" text, "Source" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the name of MKD? ### Response:
SELECT "Name" FROM table_49585 WHERE "Nat." = 'mkd'
### Instruction: CREATE TABLE table_65119 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what week was the December 21, 1969 game? ### Response:
SELECT AVG("Week") FROM table_65119 WHERE "Date" = 'december 21, 1969'
### Instruction: CREATE TABLE ship ( ship_id number, name text, type text, nationality text, tonnage number ) CREATE TABLE mission ( mission_id number, ship_id number, code text, launched_year number, location text, speed_knots number, fate text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of ships? ### Response:
SELECT COUNT(*) FROM ship
### Instruction: CREATE TABLE table_name_13 ( pick INTEGER, player VARCHAR, position VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest pick number for Arturo McDowell, who plays the OF position for the San Francisco Giants? ### Response:
SELECT MIN(pick) FROM table_name_13 WHERE position = "of" AND team = "san francisco giants" AND player = "arturo mcdowell"
### Instruction: CREATE TABLE table_12302 ( "Year" real, "Award Ceremony" text, "Category" text, "Nominee" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the years that had someone nominated for best supporting actress? ### Response:
SELECT COUNT("Year") FROM table_12302 WHERE "Result" = 'nominated' AND "Category" = 'best supporting actress'
### Instruction: CREATE TABLE table_16654 ( "Season" text, "Group A Winner" text, "Group B Winner" text, "Group C Winner" text, "Group D Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the group a winner for vis pesaro? ### Response:
SELECT "Group A Winner" FROM table_16654 WHERE "Group C Winner" = 'Vis Pesaro'
### Instruction: CREATE TABLE table_646 ( "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. -- Name the record with opponent atlanta falcons ### Response:
SELECT "Record" FROM table_646 WHERE "Opponent" = 'Atlanta Falcons'
### Instruction: CREATE TABLE table_name_46 ( opponent VARCHAR, record VARCHAR, week VARCHAR, game_site VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponent has a Week larger than 3, and a Game site of mile high stadium, and a Record of 3 3? ### Response:
SELECT opponent FROM table_name_46 WHERE week > 3 AND game_site = "mile high stadium" AND record = "3–3"
### Instruction: CREATE TABLE table_33470 ( "Year" real, "Network" text, "Play-by-play" text, "Color commentator(s)" text, "Sideline reporter(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the 2004 color commentator? ### Response:
SELECT "Color commentator(s)" FROM table_33470 WHERE "Year" = '2004'
### Instruction: CREATE TABLE table_18129 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the candidates in district Pennsylvania 3? ### Response:
SELECT "Candidates" FROM table_18129 WHERE "District" = 'Pennsylvania 3'
### Instruction: CREATE TABLE table_2086 ( "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 country is Alain Labrecque from? ### Response:
SELECT "Nationality" FROM table_2086 WHERE "Player" = 'Alain Labrecque'
### Instruction: CREATE TABLE table_18278 ( "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. -- Which district shows a first elected of 1980? ### Response:
SELECT "District" FROM table_18278 WHERE "First elected" = '1980'
### Instruction: CREATE TABLE table_name_11 ( grid VARCHAR, laps VARCHAR, manufacturer VARCHAR, rider VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many grids does Ducati have with Casey Stoner as a rider with fewer than 27 laps? ### Response:
SELECT COUNT(grid) FROM table_name_11 WHERE manufacturer = "ducati" AND rider = "casey stoner" AND laps < 27
### Instruction: CREATE TABLE table_18275 ( "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 is the party for district ohio 11? ### Response:
SELECT "Party" FROM table_18275 WHERE "District" = 'Ohio 11'
### Instruction: CREATE TABLE table_name_28 ( july__avg_low_ VARCHAR, january__avg_high_°f_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the july average low associated with a january average high of 30.4? ### Response:
SELECT COUNT(july__avg_low_) AS °f_ FROM table_name_28 WHERE january__avg_high_°f_ = "30.4"
### Instruction: CREATE TABLE table_1865 ( "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. -- How many series did John Banas direct? ### Response:
SELECT "No. in series" FROM table_1865 WHERE "Directed by" = 'John Banas'
### Instruction: CREATE TABLE table_80196 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game when their record was 62-67 ### Response:
SELECT "Score" FROM table_80196 WHERE "Record" = '62-67'
### Instruction: CREATE TABLE table_18576 ( "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 is the party for new york 20? ### Response:
SELECT "Party" FROM table_18576 WHERE "District" = 'New York 20'
### Instruction: CREATE TABLE table_28659 ( "Name / designation" text, "Year of introduction" text, "Country of origin" text, "Primary cartridge" text, "primary user" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the country of origin is switzerland, what is the name/ designation? ### Response:
SELECT "Name / designation" FROM table_28659 WHERE "Country of origin" = 'Switzerland'
### Instruction: CREATE TABLE table_34000 ( "Rank" text, "Runs" text, "Player" text, "Opponent" text, "Venue" text, "Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the venue that had 274 runs? ### Response:
SELECT "Venue" FROM table_34000 WHERE "Runs" = '274'
### Instruction: CREATE TABLE table_1473672_2 ( nhl_team VARCHAR, college_junior_club_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Jack Lynch played for the oshawa generals (omjhl) before playing for what nhl team? ### Response:
SELECT nhl_team FROM table_1473672_2 WHERE college_junior_club_team = "Oshawa Generals (OMJHL)"
### Instruction: CREATE TABLE table_18455 ( "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 is the first elected for georgia 4? ### Response:
SELECT "First elected" FROM table_18455 WHERE "District" = 'Georgia 4'
### Instruction: CREATE TABLE table_37127 ( "Episode No." text, "Episode Title" text, "UK Broadcast Date" text, "Presenter" text, "Details of Journey" text, "Countries Visited" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which episode number visited India? ### Response:
SELECT "Episode No." FROM table_37127 WHERE "Countries Visited" = 'india'
### Instruction: CREATE TABLE table_4607 ( "Team" text, "Chassis" text, "Engine" text, "Tires" text, "Drivers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who drove the Chevrolet with the Eagle chassis? ### Response:
SELECT "Drivers" FROM table_4607 WHERE "Engine" = 'chevrolet' AND "Chassis" = 'eagle'
### Instruction: CREATE TABLE table_204_760 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- tell me the number of times they competed in guatamala . ### Response:
SELECT COUNT(*) FROM table_204_760 WHERE "venue" = 'guatemala'
### Instruction: CREATE TABLE table_name_50 ( time_retired VARCHAR, grid VARCHAR, laps VARCHAR, constructor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Time/Retired value for constructor Jordan - Peugeot with 66 laps and grid value 5? ### Response:
SELECT time_retired FROM table_name_50 WHERE laps = "66" AND constructor = "jordan - peugeot" AND grid = "5"
### Instruction: CREATE TABLE employees ( id VARCHAR, first_name VARCHAR, last_name VARCHAR ) CREATE TABLE customers ( support_rep_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many customers does Steve Johnson support? ### Response:
SELECT COUNT(*) FROM employees AS T1 JOIN customers AS T2 ON T2.support_rep_id = T1.id WHERE T1.first_name = "Steve" AND T1.last_name = "Johnson"
### Instruction: CREATE TABLE table_6551 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the road team of game 6 with Philadelphia as the home team? ### Response:
SELECT "Road Team" FROM table_6551 WHERE "Home Team" = 'philadelphia' AND "Game" = 'game 6'
### Instruction: CREATE TABLE table_14659 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of laps that were completed in 1949? ### Response:
SELECT COUNT("Laps") FROM table_14659 WHERE "Year" = '1949'
### Instruction: CREATE TABLE table_29306 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who replaced the previous manager of Altay? ### Response:
SELECT "Replaced by" FROM table_29306 WHERE "Team" = 'Altay'
### Instruction: CREATE TABLE table_64521 ( "Position" real, "Name" text, "Played" real, "Drawn" real, "Lost" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of games drawn among teams that played over 14 games? ### Response:
SELECT AVG("Drawn") FROM table_64521 WHERE "Played" > '14'
### Instruction: CREATE TABLE table_name_89 ( grand_finalist VARCHAR, winners VARCHAR, year VARCHAR, margin VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What grand finalist had a year after 1979, a margin smaller than 30, and winners of essendon? ### Response:
SELECT grand_finalist FROM table_name_89 WHERE year > 1979 AND margin < 30 AND winners = "essendon"
### Instruction: CREATE TABLE table_name_24 ( points INTEGER, name VARCHAR, drawn VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Points have a Drawn smaller than 2, and a Lost of 12, and a Name of ev bad w rishofen? ### Response:
SELECT MAX(points) FROM table_name_24 WHERE drawn < 2 AND lost = 12 AND name = "ev bad wörishofen"
### Instruction: CREATE TABLE table_32940 ( "name" text, "pos." text, "caps" real, "goals" real, "club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many goals for the player with 2 caps at degerfors if? ### Response:
SELECT "goals" FROM table_32940 WHERE "caps" = '2' AND "club" = 'degerfors if'
### Instruction: CREATE TABLE table_68459 ( "Outcome" text, "Date" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the surface of the match against bethanie mattek-sands? ### Response:
SELECT "Surface" FROM table_68459 WHERE "Opponent" = 'bethanie mattek-sands'
### Instruction: CREATE TABLE table_20941 ( "Year" text, "Division" real, "League" text, "Regular Season" text, "Playoffs" text, "Open Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the team's playoff status in 2011? ### Response:
SELECT "Playoffs" FROM table_20941 WHERE "Year" = '2011'
### Instruction: CREATE TABLE table_43611 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the opponent the Portland Trail Blazers? ### Response:
SELECT "Date" FROM table_43611 WHERE "Opponent" = 'portland trail blazers'
### Instruction: CREATE TABLE table_40786 ( "Date" text, "Result" text, "Score" text, "Brazil scorers" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who played on December 25, 1925? ### Response:
SELECT "Competition" FROM table_40786 WHERE "Date" = 'december 25, 1925'
### Instruction: CREATE TABLE table_9726 ( "Tournament" text, "Surface" text, "Week" text, "Winner" text, "Finalist" text, "Semi finalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Semi finalists had a Week of may 15? ### Response:
SELECT "Semi finalists" FROM table_9726 WHERE "Week" = 'may 15'
### Instruction: CREATE TABLE table_80392 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record at the game that had a score of 7-10? ### Response:
SELECT "Record" FROM table_80392 WHERE "Score" = '7-10'
### Instruction: CREATE TABLE table_23458 ( "Number" real, "Registration" text, "First flew" text, "Last flew" text, "Flying hours" real, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many number is located at registration f-bvff? ### Response:
SELECT COUNT("Number") FROM table_23458 WHERE "Registration" = 'F-BVFF'
### Instruction: CREATE TABLE table_name_21 ( venue VARCHAR, tickets_sold___available VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Venue has an amount of Tickets Sold/ Available of 4,700 / 4,700 (100%)? ### Response:
SELECT venue FROM table_name_21 WHERE tickets_sold___available = "4,700 / 4,700 (100%)"
### Instruction: CREATE TABLE table_38118 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has 136-134 as the score? ### Response:
SELECT "Date" FROM table_38118 WHERE "Score" = '136-134'
### Instruction: CREATE TABLE table_12386 ( "Year" real, "Gold" text, "Silver" text, "Bronze" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Year, when Bronze is 'Jamie Stevenson'? ### Response:
SELECT COUNT("Year") FROM table_12386 WHERE "Bronze" = 'jamie stevenson'
### Instruction: CREATE TABLE table_203_764 ( id number, "name" text, "date" number, "nation" text, "displacement" text, "speed" text, "number" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the top speed ? ### Response:
SELECT "speed" FROM table_203_764 ORDER BY "speed" DESC LIMIT 1
### Instruction: CREATE TABLE table_58522 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the highest laps for toyota and grid of 13 ### Response:
SELECT MAX("Laps") FROM table_58522 WHERE "Constructor" = 'toyota' AND "Grid" = '13'
### Instruction: CREATE TABLE table_57998 ( "Rank" text, "Name" text, "Height ft / m" text, "Floors" real, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the oldest year listed with the 1500 Louisiana Street name? ### Response:
SELECT MIN("Year") FROM table_57998 WHERE "Name" = '1500 louisiana street'
### Instruction: CREATE TABLE table_73344 ( "Team" text, "Stadium" text, "Match played" text, "Highest" real, "Lowest" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest when pohang steelers is the team? ### Response:
SELECT "Highest" FROM table_73344 WHERE "Team" = 'Pohang Steelers'
### Instruction: CREATE TABLE table_47784 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Money ($) player Loren Roberts has made? ### Response:
SELECT MAX("Money ( $ )") FROM table_47784 WHERE "Player" = 'loren roberts'
### Instruction: CREATE TABLE table_32201 ( "Round" real, "Overall" real, "Player" text, "Position" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of a running back in a round before round 3? ### Response:
SELECT "Player" FROM table_32201 WHERE "Round" < '3' AND "Position" = 'running back'
### Instruction: CREATE TABLE table_47850 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Week(s), when Attendance is 61,603? ### Response:
SELECT COUNT("Week") FROM table_47850 WHERE "Attendance" = '61,603'
### Instruction: CREATE TABLE table_203_724 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many total medals did belarus win ? ### Response:
SELECT "total" FROM table_203_724 WHERE "nation" = 'belarus'
### Instruction: CREATE TABLE table_33297 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the game on august 30, 1968? ### Response:
SELECT "Result" FROM table_33297 WHERE "Date" = 'august 30, 1968'
### Instruction: CREATE TABLE table_64893 ( "Size" text, "Density" text, "Tracks" real, "Coercivity" text, "Unformatted capacity per side" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the unformatted capacity per side if the size is 8in? ### Response:
SELECT "Unformatted capacity per side" FROM table_64893 WHERE "Size" = '8in'
### Instruction: CREATE TABLE table_12995 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the game played against on October 9, 1966? ### Response:
SELECT "Opponent" FROM table_12995 WHERE "Date" = 'october 9, 1966'
### Instruction: CREATE TABLE table_203_305 ( id number, "round" number, "#" number, "player" text, "nationality" text, "college/junior/club team (league)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many canadian players are listed ? ### Response:
SELECT COUNT("player") FROM table_203_305 WHERE "nationality" = 'canada'
### Instruction: CREATE TABLE table_204_128 ( id number, "region" text, "date" text, "label" text, "format" text, "catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the date of the first vinyl lp release ? ### Response:
SELECT "date" FROM table_204_128 WHERE "format" = 'vinyl lp' ORDER BY "date" LIMIT 1
### Instruction: CREATE TABLE table_68395 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result when the date is August 27, 1980? ### Response:
SELECT "Result" FROM table_68395 WHERE "Date" = 'august 27, 1980'
### Instruction: CREATE TABLE table_62216 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many bronzes were won by the country with a total higher than 5? ### Response:
SELECT SUM("Bronze") FROM table_62216 WHERE "Total" > '5'
### Instruction: CREATE TABLE table_67418 ( "Name" text, "First captaincy" text, "Games as captain" real, "Wins" real, "Draws" real, "Losses" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many losses does Alex Wilkinson have? ### Response:
SELECT COUNT("Losses") FROM table_67418 WHERE "Name" = 'alex wilkinson'
### Instruction: CREATE TABLE table_name_82 ( opening_weekend_net_gross VARCHAR, year VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Total number of Opening Weekend Net Gross that occured after the year 2012 with a Rank of 1? ### Response:
SELECT COUNT(opening_weekend_net_gross) FROM table_name_82 WHERE year > 2012 AND rank = 1
### Instruction: CREATE TABLE table_29263 ( "No. in series" text, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the episode written by Michael Price? ### Response:
SELECT "Title" FROM table_29263 WHERE "Written by" = 'Michael Price'
### Instruction: CREATE TABLE table_25425 ( "Date" text, "Location" text, "Opponent" text, "Cards Points" real, "Opp. Points" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the opponent for 11-1 ### Response:
SELECT "Opponent" FROM table_25425 WHERE "Record" = '11-1'
### Instruction: CREATE TABLE table_36190 ( "Season" text, "Winner" text, "Score" text, "Runner-up" text, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the venue during the Season of 2010 11? ### Response:
SELECT "Venue" FROM table_36190 WHERE "Season" = '2010–11'
### Instruction: CREATE TABLE table_70478 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the years for elsthorpe school ### Response:
SELECT "Years" FROM table_70478 WHERE "Name" = 'elsthorpe school'
### Instruction: CREATE TABLE table_203_574 ( id number, "track number" number, "russian title" text, "english title" text, "music" text, "lyrics" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the song title of the first track on the album smile ! ? ### Response:
SELECT "english title" FROM table_203_574 WHERE "track number" = 1
### Instruction: CREATE TABLE table_17631 ( "State" text, "Preliminaries" text, "Interview" text, "Swimsuit" text, "Evening Gown" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the interview score for the state of Virginia? ### Response:
SELECT "Interview" FROM table_17631 WHERE "State" = 'Virginia'
### Instruction: CREATE TABLE table_76275 ( "Game" real, "Date" text, "Team" text, "Score" text, "Record" text, "Streak" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Game had a Score of 129 105? ### Response:
SELECT MIN("Game") FROM table_76275 WHERE "Score" = '129–105'
### Instruction: CREATE TABLE table_name_10 ( l2_cache VARCHAR, idle_power VARCHAR, model_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw? ### Response:
SELECT l2_cache FROM table_name_10 WHERE idle_power = "100mw" AND model_number = "nano u3400"
### Instruction: CREATE TABLE mailshot_customers ( customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR ) CREATE TABLE customers ( customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the name and phone of the customer without any mailshot. ### Response:
SELECT customer_name, customer_phone FROM customers WHERE NOT customer_id IN (SELECT customer_id FROM mailshot_customers)
### Instruction: CREATE TABLE table_58097 ( "Year" real, "Winner" text, "Jockey" text, "Trainer" text, "Owner" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who trained the horse with time of 1:09.40? ### Response:
SELECT "Trainer" FROM table_58097 WHERE "Time" = '1:09.40'
### Instruction: CREATE TABLE table_7470 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the lowest points for an engine with a Dallara F303 chassis? ### Response:
SELECT MIN("Points") FROM table_7470 WHERE "Chassis" = 'dallara f303'
### Instruction: CREATE TABLE table_59721 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date for the catalog CDZAP22 in the United Kingdom? ### Response:
SELECT "Date" FROM table_59721 WHERE "Country" = 'united kingdom' AND "Catalog" = 'cdzap22'
### Instruction: CREATE TABLE table_40242 ( "Call sign" text, "Frequency MHz" text, "City of license" text, "ERP W" real, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Call sign k216fo has what average ERP W? ### Response:
SELECT AVG("ERP W") FROM table_40242 WHERE "Call sign" = 'k216fo'
### Instruction: CREATE TABLE table_32404 ( "Incident No." text, "Date" text, "Place" text, "Killed" real, "Injured" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest number of people injured in incidents in Vaishali, Bihar? ### Response:
SELECT MAX("Injured") FROM table_32404 WHERE "Place" = 'vaishali, bihar'
### Instruction: CREATE TABLE table_74352 ( "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 position did the #94 pick play? ### Response:
SELECT "Position" FROM table_74352 WHERE "Pick #" = '94'
### Instruction: CREATE TABLE table_28856 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result for district pennsylvania 6? ### Response:
SELECT "Result" FROM table_28856 WHERE "District" = 'Pennsylvania 6'
### Instruction: CREATE TABLE table_28805 ( "English" text, "Galician ( Official )" text, "Galician ( Reintegrationist )" text, "Portuguese" text, "Spanish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Portuguese word for the English word 'grandfather'? ### Response:
SELECT "Portuguese" FROM table_28805 WHERE "English" = 'Grandfather'
### Instruction: CREATE TABLE table_23958944_5 ( no_by_season INTEGER, us_viewers__in_millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode was watched by 10.81 million US viewers? ### Response:
SELECT MIN(no_by_season) FROM table_23958944_5 WHERE us_viewers__in_millions_ = "10.81"
### Instruction: CREATE TABLE table_2906 ( "Episode" text, "First broadcast" text, "Davids team" text, "Lees team" text, "Scores" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the episode number that was first broadcast on 3 September 2010? ### Response:
SELECT "Episode" FROM table_2906 WHERE "First broadcast" = '3 September 2010'
### Instruction: CREATE TABLE table_52920 ( "Year" real, "Show" text, "Season" real, "Episode title" text, "Episode" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which show had a part 3 before 2011? ### Response:
SELECT "Show" FROM table_52920 WHERE "Year" < '2011' AND "Episode title" = 'part 3'
### Instruction: CREATE TABLE table_29101 ( "Series #" real, "Episode #" real, "Title" text, "Director" text, "Writer" text, "Original airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the original air date for episode number 96 in the series? ### Response:
SELECT "Original airdate" FROM table_29101 WHERE "Series #" = '96'
### Instruction: CREATE TABLE table_71997 ( "Region" text, "Date" real, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the label's format LP and catalog of CH-9192? ### Response:
SELECT "Label" FROM table_71997 WHERE "Format" = 'lp' AND "Catalog" = 'ch-9192'
### Instruction: CREATE TABLE table_18222 ( "District" text, "Incumbent" text, "Party" text, "Elected" real, "Status" text, "Opponent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Larry Combest's district? ### Response:
SELECT "District" FROM table_18222 WHERE "Incumbent" = 'Larry Combest'