instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_70529 ( "Name" text, "Country" text, "Status" text, "Transfer window" text, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the transfer window for the country of ESP and the name of de la red? ### Response:
SELECT "Transfer window" FROM table_70529 WHERE "Country" = 'esp' AND "Name" = 'de la red'
### Instruction: CREATE TABLE table_36866 ( "Name" text, "Faith" text, "Type" text, "Intake" real, "DCSF number" real, "Ofsted number" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a DCSF number of 3373? ### Response:
SELECT "Name" FROM table_36866 WHERE "DCSF number" = '3373'
### Instruction: CREATE TABLE table_46898 ( "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 Date of Game 5 with Road Team St. Louis? ### Response:
SELECT "Date" FROM table_46898 WHERE "Road Team" = 'st. louis' AND "Game" = 'game 5'
### Instruction: CREATE TABLE person ( name text, age number, city text, gender text, job text ) CREATE TABLE personfriend ( name text, friend text, year number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the names of all of Bob's friends? ### Response:
SELECT T1.name FROM person AS T1 JOIN personfriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Bob'
### Instruction: CREATE TABLE table_1146 ( "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 record when attendance 42827 ### Response:
SELECT "Record" FROM table_1146 WHERE "Attendance" = '42827'
### Instruction: CREATE TABLE table_80124 ( "Title" text, "Year" real, "Developer" text, "Publisher" text, "Platform" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which title has xbox as the platform with a year prior to 2006? ### Response:
SELECT "Title" FROM table_80124 WHERE "Platform" = 'xbox' AND "Year" < '2006'
### Instruction: CREATE TABLE table_18401 ( "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 district did Donald Ray Matthews belong to? ### Response:
SELECT "District" FROM table_18401 WHERE "Incumbent" = 'Donald Ray Matthews'
### Instruction: CREATE TABLE table_12812 ( "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. -- Who was the opponent at the week 4 game? ### Response:
SELECT "Opponent" FROM table_12812 WHERE "Week" = '4'
### Instruction: CREATE TABLE table_18213 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Status" text, "Opponent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What district had someone first elected in 1982? ### Response:
SELECT "District" FROM table_18213 WHERE "First elected" = '1982'
### Instruction: CREATE TABLE table_204_670 ( id number, "week" number, "date" text, "opponent" text, "result" text, "record" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which is the previous attendance for week 10 ### Response:
SELECT "attendance" FROM table_204_670 WHERE "week" = 10 - 1
### Instruction: CREATE TABLE table_name_25 ( area__km²_ INTEGER, capital VARCHAR, population___percentage_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average area that has a Capital of camag ey, with a Population (%) larger than 7.02? ### Response:
SELECT AVG(area__km²_) FROM table_name_25 WHERE capital = "camagüey" AND population___percentage_ > 7.02
### Instruction: CREATE TABLE race ( Race_ID int, Name text, Class text, Date text, Track_ID text ) CREATE TABLE track ( Track_ID int, Name text, Location text, Seating real, Year_Opened real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the proportion of classes of all races? Give me a pie chart. ### Response:
SELECT Class, COUNT(Class) FROM race GROUP BY Class
### Instruction: CREATE TABLE table_50883 ( "Date" text, "Home captain" text, "Away captain" text, "Venue" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the home captain of the match that resulted [[|]] by 151 runs? ### Response:
SELECT "Home captain" FROM table_50883 WHERE "Result" = '[[|]] by 151 runs'
### Instruction: CREATE TABLE table_37921 ( "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. -- Which Total has a Set 1 of 25 22? ### Response:
SELECT "Total" FROM table_37921 WHERE "Set 1" = '25–22'
### Instruction: CREATE TABLE STUDENT ( Major VARCHAR, StuID VARCHAR ) CREATE TABLE VOTING_RECORD ( Treasurer_Vote VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the distinct majors of students who have treasurer votes. ### Response:
SELECT DISTINCT T1.Major FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.Treasurer_Vote
### Instruction: CREATE TABLE table_19531 ( "No. in series" real, "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. -- Which series numbers were directed by Monte Young? ### Response:
SELECT "No. in series" FROM table_19531 WHERE "Directed by" = 'Monte Young'
### Instruction: CREATE TABLE table_31211 ( "Episode" text, "Theme / Date" text, "Song title" text, "Original performer" text, "Result (Placement)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What the title of the song when the result is to the live shows? ### Response:
SELECT "Song title" FROM table_31211 WHERE "Result (Placement)" = 'to the Live Shows'
### Instruction: CREATE TABLE table_1783 ( "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. -- What is the record when the game was at the San Diego Stadium? ### Response:
SELECT "Record" FROM table_1783 WHERE "Game site" = 'San Diego Stadium'
### Instruction: CREATE TABLE table_56063 ( "Round" text, "Date" text, "Opponent" text, "Score" text, "Attendance" real, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what Date was the Opponent Panathinaikos? ### Response:
SELECT "Date" FROM table_56063 WHERE "Opponent" = 'panathinaikos'
### Instruction: CREATE TABLE table_48313 ( "Wicket" text, "Runs" text, "Batsmen" text, "Opponent" text, "Venue" text, "Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the batsmen paired for wicket 7? ### Response:
SELECT "Batsmen" FROM table_48313 WHERE "Wicket" = '7'
### Instruction: CREATE TABLE table_70069 ( "Rank" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many bronze had a total less than 4 and gold bigger than 1? ### Response:
SELECT COUNT("Bronze") FROM table_70069 WHERE "Total" < '4' AND "Gold" > '1'
### Instruction: CREATE TABLE table_51613 ( "Date" text, "Opponents" text, "Score" text, "Competition" text, "Match Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which competition was held on September 10, 2005? ### Response:
SELECT "Competition" FROM table_51613 WHERE "Date" = 'september 10, 2005'
### Instruction: CREATE TABLE table_71877 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Venue has a Date of january 9, 2011? ### Response:
SELECT "Venue" FROM table_71877 WHERE "Date" = 'january 9, 2011'
### Instruction: CREATE TABLE table_name_51 ( record VARCHAR, score VARCHAR, location_attendance VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Record has a Location/Attendance of ford center, a Game larger than 30, and a Score of 87 79? ### Response:
SELECT record FROM table_name_51 WHERE location_attendance = "ford center" AND game > 30 AND score = "87–79"
### Instruction: CREATE TABLE table_42404 ( "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 1st leg for Team 2 Concepto Egile? ### Response:
SELECT "1st leg" FROM table_42404 WHERE "Team 2" = 'concepto egile'
### Instruction: CREATE TABLE table_46620 ( "Player" text, "Nationality" text, "Position" text, "Years for Grizzlies" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school/club did the player who layed shooting guard attend? ### Response:
SELECT "School/Club Team" FROM table_46620 WHERE "Position" = 'shooting guard'
### Instruction: CREATE TABLE table_44689 ( "Tournament" text, "Surface" text, "Week" text, "Winner and score" text, "Finalist" text, "Semifinalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the finalist in the Monte Carlo Tournament? ### Response:
SELECT "Finalist" FROM table_44689 WHERE "Tournament" = 'monte carlo'
### Instruction: CREATE TABLE table_name_29 ( share INTEGER, viewers__m_ VARCHAR, timeslot VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the average of shows that had a timeslot rank greater that 3 but still had a smaller viewership less than 4.87? ### Response:
SELECT AVG(share) FROM table_name_29 WHERE RANK(timeslot) > 3 AND viewers__m_ < 4.87
### Instruction: CREATE TABLE table_66111 ( "Japanese Title" text, "Romaji Title" text, "TV Station" text, "Episodes" real, "Average Ratings" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode has average ratings of 7.4%? ### Response:
SELECT AVG("Episodes") FROM table_66111 WHERE "Average Ratings" = '7.4%'
### Instruction: CREATE TABLE table_69981 ( "Artist" text, "Country of origin" text, "Period active" text, "Release-year of first charted record" real, "Genre" text, "Claimed sales" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What genre is Led Zeppelin? ### Response:
SELECT "Genre" FROM table_69981 WHERE "Artist" = 'led zeppelin'
### Instruction: CREATE TABLE table_59959 ( "Opposing Teams" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What status has 15/04/1967 as the date? ### Response:
SELECT "Status" FROM table_59959 WHERE "Date" = '15/04/1967'
### Instruction: CREATE TABLE table_204_471 ( id number, "year" number, "title" text, "peak chart positions\nger" number, "label" text, "artist" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year was willy deville 's last album released ? ### Response:
SELECT MAX("year") FROM table_204_471 WHERE "artist" = 'willy deville'
### Instruction: CREATE TABLE table_72938 ( "Season" text, "Date Released" text, "# Of Episodes" real, "# Of Discs" real, "Special Features" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day was the complete 2nd series: volume one released? ### Response:
SELECT "Date Released" FROM table_72938 WHERE "Season" = 'The Complete 2nd Series: Volume One'
### Instruction: CREATE TABLE table_24119 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Orangemen points" real, "Opponents" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many results have a game of 5? ### Response:
SELECT COUNT("Result") FROM table_24119 WHERE "Game" = '5'
### Instruction: CREATE TABLE table_name_58 ( drawn INTEGER, team VARCHAR, played VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of Drawn games for Team Mackenzie where the Played is less and 11 and the Points are greater than 7? ### Response:
SELECT MIN(drawn) FROM table_name_58 WHERE played < 11 AND points > 7 AND team = "mackenzie"
### Instruction: CREATE TABLE table_71751 ( "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. -- Which 1st Party has a 2nd Member of constituency abolished? ### Response:
SELECT "1st Party" FROM table_71751 WHERE "2nd Member" = 'constituency abolished'
### Instruction: CREATE TABLE table_63264 ( "City of license" text, "Identifier" text, "Frequency" text, "Power" text, "Class" text, "RECNet" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the class when the identifier is cjbc-1-fm? ### Response:
SELECT "Class" FROM table_63264 WHERE "Identifier" = 'cjbc-1-fm'
### Instruction: CREATE TABLE table_54915 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-25" real, "Events" real, "Cuts made" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the highest cuts made with wins more than 1 ### Response:
SELECT MAX("Cuts made") FROM table_54915 WHERE "Wins" > '1'
### Instruction: CREATE TABLE table_name_61 ( years_at_club VARCHAR, games VARCHAR, goals VARCHAR, debut_year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the years for the player with fewer than 62 goals, debut year of 1981 and 28 games? ### Response:
SELECT years_at_club FROM table_name_61 WHERE goals < 62 AND debut_year = 1981 AND games = 28
### Instruction: CREATE TABLE table_67389 ( "Member" text, "Party" text, "Electorate" text, "State" text, "Term in office" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What term did Stewart Mcarthur from Vic serve in office? ### Response:
SELECT "Term in office" FROM table_67389 WHERE "State" = 'vic' AND "Member" = 'stewart mcarthur'
### Instruction: CREATE TABLE table_12162 ( "Rank" real, "Result" real, "Athlete" text, "Date" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest Result with a Location of birmingham, and Rank larger than 5? ### Response:
SELECT MIN("Result") FROM table_12162 WHERE "Location" = 'birmingham' AND "Rank" > '5'
### Instruction: CREATE TABLE table_73698 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When winner is the outcome what is the score? ### Response:
SELECT "Score" FROM table_73698 WHERE "Outcome" = 'Winner'
### Instruction: CREATE TABLE table_40146 ( "Value" text, "\u20ac equiv." text, "Diameter" text, "Weight" text, "Composition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the coin with a equivalency of 0.30 made of? ### Response:
SELECT "Composition" FROM table_40146 WHERE "\u20ac equiv." = '0.30'
### Instruction: CREATE TABLE table_36054 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score has a game less than 4, and april 19 as the date? ### Response:
SELECT "Score" FROM table_36054 WHERE "Game" < '4' AND "Date" = 'april 19'
### Instruction: CREATE TABLE table_63982 ( "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 competition when the result is won and the score is 8-0? ### Response:
SELECT "Competition" FROM table_63982 WHERE "Result" = 'won' AND "Score" = '8-0'
### Instruction: CREATE TABLE table_18077713_1 ( year_to_april VARCHAR, earnings_per_share__¢_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the earning per share is listed as 22.0 what is the year to april? ### Response:
SELECT COUNT(year_to_april) FROM table_18077713_1 WHERE earnings_per_share__¢_ = "22.0"
### Instruction: CREATE TABLE table_name_16 ( caps VARCHAR, player VARCHAR, club_province VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Caps does the Club/province Munster, position of lock and Mick O'Driscoll have? ### Response:
SELECT COUNT(caps) FROM table_name_16 WHERE club_province = "munster" AND position = "lock" AND player = "mick o'driscoll"
### Instruction: CREATE TABLE table_21710 ( "Class" text, "Part 1" text, "Part 2" text, "Part 3" text, "Part 4" text, "Verb meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the part 3 of the verb in class 5? ### Response:
SELECT "Part 3" FROM table_21710 WHERE "Class" = '5'
### Instruction: CREATE TABLE table_204_562 ( id number, "no." number, "date" text, "location" text, "surface" text, "opponent in final" text, "score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many matches were not played on a clay surface ? ### Response:
SELECT COUNT(*) FROM table_204_562 WHERE "surface" <> 'clay'
### Instruction: CREATE TABLE table_27676 ( "Position" text, "Number" real, "Horse" text, "Jockey" text, "Age" real, "Handicap" text, "SP" text, "Distance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what position is number 22? ### Response:
SELECT "Position" FROM table_27676 WHERE "Number" = '22'
### Instruction: CREATE TABLE table_31781 ( "Nomination" text, "Actor's Name" text, "Film Name" text, "Director" text, "Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the actors name for barhanov and his bodyguard ### Response:
SELECT "Actor's Name" FROM table_31781 WHERE "Film Name" = 'barhanov and his bodyguard'
### Instruction: CREATE TABLE table_2639433_4 ( market_share__overall_ VARCHAR, viewers__in_millions_overall_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the overall viewers were 1.83 millions, what was the overall market share? ### Response:
SELECT market_share__overall_ FROM table_2639433_4 WHERE viewers__in_millions_overall_ = "1.83"
### Instruction: CREATE TABLE table_203_836 ( id number, "title" text, "year" number, "platforms" text, "developer" text, "publisher" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which title is for ipad but not for iphone or ipod ? ### Response:
SELECT "title" FROM table_203_836 WHERE "platforms" = 'ipad'
### Instruction: CREATE TABLE table_name_71 ( week_10_nov_5 VARCHAR, week_15__final__dec_9 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the week 10 result for the tean when the week 15 result is Illinois (10-1)? ### Response:
SELECT week_10_nov_5 FROM table_name_71 WHERE week_15__final__dec_9 = "illinois (10-1)"
### Instruction: CREATE TABLE table_24628683_2 ( wrestler VARCHAR, method_of_elimination VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many wrestlers are recorded for the chamber that's method of elimination was pinned after being hit by a lead pipe? ### Response:
SELECT COUNT(wrestler) FROM table_24628683_2 WHERE method_of_elimination = "Pinned after being hit by a lead pipe"
### Instruction: CREATE TABLE table_68488 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which date has a competition type of friendly and a score of 2-1? ### Response:
SELECT "Date" FROM table_68488 WHERE "Competition" = 'friendly' AND "Score" = '2-1'
### Instruction: CREATE TABLE table_70021 ( "Season" real, "Host" text, "Winners" text, "Score" text, "Runners-up" text, "Third place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the season where Vasco da gama is the score? ### Response:
SELECT "Season" FROM table_70021 WHERE "Score" = 'vasco da gama'
### Instruction: CREATE TABLE table_38140 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Decision has a Date of april 30? ### Response:
SELECT "Decision" FROM table_38140 WHERE "Date" = 'april 30'
### Instruction: CREATE TABLE table_67170 ( "Pick #" text, "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 Nationality is Dave Hynes? ### Response:
SELECT "Nationality" FROM table_67170 WHERE "Player" = 'dave hynes'
### Instruction: CREATE TABLE table_58387 ( "Ship" text, "Pennant number" text, "Laid down" text, "Launched" text, "Completed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the launched date of the destroyer completed 1 July 1936? ### Response:
SELECT "Launched" FROM table_58387 WHERE "Completed" = '1 july 1936'
### Instruction: CREATE TABLE table_34922 ( "Team" text, "Driver" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Laps for the Mexico team with a grid number of more than 1? ### Response:
SELECT AVG("Laps") FROM table_34922 WHERE "Grid" > '1' AND "Team" = 'mexico'
### Instruction: CREATE TABLE table_76296 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the visitors when the home team were the ny rangers? ### Response:
SELECT "Visitor" FROM table_76296 WHERE "Home" = 'ny rangers'
### Instruction: CREATE TABLE table_3475 ( "District" real, "Representative" text, "Party" text, "Residence" text, "First Elected" text, "Term Limited" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the residence is Chagrin falls, who is the representative? ### Response:
SELECT "Representative" FROM table_3475 WHERE "Residence" = 'Chagrin Falls'
### Instruction: CREATE TABLE table_8600 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the outcome of the match with opponent Jade Curtis? ### Response:
SELECT "Outcome" FROM table_8600 WHERE "Opponent" = 'jade curtis'
### Instruction: CREATE TABLE table_3596 ( "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 party was represented by incumbent Richard Coulter ? ### Response:
SELECT "Party" FROM table_3596 WHERE "Incumbent" = 'Richard Coulter'
### Instruction: CREATE TABLE table_62006 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Winning constructor has a Name of grand prix de la marne? ### Response:
SELECT "Winning constructor" FROM table_62006 WHERE "Name" = 'grand prix de la marne'
### Instruction: CREATE TABLE table_204_672 ( id number, "year" number, "title" text, "label" text, "uk singles chart" number, "u.s. billboard hot 100 chart" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was blue mink 's earliest charting single ? ### Response:
SELECT "title" FROM table_204_672 ORDER BY "year" LIMIT 1
### Instruction: CREATE TABLE table_66784 ( "Place" text, "Name" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the To par of Willie MacFarlane from the country of Scotland? ### Response:
SELECT "To par" FROM table_66784 WHERE "Country" = 'scotland' AND "Name" = 'willie macfarlane'
### Instruction: CREATE TABLE table_54993 ( "Year" real, "English title" text, "Korean title" text, "Romanization" text, "Role" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the English of chae soo-yeon? ### Response:
SELECT "English title" FROM table_54993 WHERE "Role" = 'chae soo-yeon'
### Instruction: CREATE TABLE table_name_60 ( overall INTEGER, pick__number VARCHAR, round VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total overall for the pick that went before round 4, who went to Tennessee for college, and was picked at a number bigger than 9? ### Response:
SELECT SUM(overall) FROM table_name_60 WHERE round < 4 AND college = "tennessee" AND pick__number > 9
### Instruction: CREATE TABLE table_204_212 ( id number, "wager" text, "winner" text, "loser" text, "location" text, "date" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of times hair has been a wager ? ### Response:
SELECT COUNT(*) FROM table_204_212 WHERE "wager" = 'hair'
### Instruction: CREATE TABLE table_61344 ( "Name" text, "Number" real, "Position" text, "Height" text, "Year" text, "Hometown" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Name of the Player from Albuquerque, New Mexico? ### Response:
SELECT "Name" FROM table_61344 WHERE "Hometown" = 'albuquerque, new mexico'
### Instruction: CREATE TABLE table_70182 ( "Year" real, "Chassis" text, "Engine(s)" text, "Tyres" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points were awarded to the Ford DFZ 3.5 V8? ### Response:
SELECT SUM("Points") FROM table_70182 WHERE "Engine(s)" = 'ford dfz 3.5 v8'
### Instruction: CREATE TABLE table_40535 ( "Date" text, "Cover model" text, "Centerfold model" text, "Interview subject" text, "20 Questions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Cover model has a 20 Questions of christina applegate? ### Response:
SELECT "Cover model" FROM table_40535 WHERE "20 Questions" = 'christina applegate'
### Instruction: CREATE TABLE table_204_325 ( id number, "class" text, "name" text, "company" text, "residence" text, "term expires dec 31" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the name of the company at the top of the chart ? ### Response:
SELECT "company" FROM table_204_325 WHERE id = 1
### Instruction: CREATE TABLE table_17544 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote the episode 14 in series? ### Response:
SELECT "Written by" FROM table_17544 WHERE "No. in series" = '14'
### Instruction: CREATE TABLE table_74470 ( "Townland" text, "Area( acres )" real, "Barony" text, "Civil parish" text, "Poor law union" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the poor law union of the Ardacrow townland? ### Response:
SELECT "Poor law union" FROM table_74470 WHERE "Townland" = 'Ardacrow'
### Instruction: CREATE TABLE table_69791 ( "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. -- Which gender has 7-15 years? ### Response:
SELECT "Gender" FROM table_69791 WHERE "Years" = '7-15'
### Instruction: CREATE TABLE table_45607 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many laps did ben spies do on the grid less than 7? ### Response:
SELECT COUNT("Laps") FROM table_45607 WHERE "Grid" < '7' AND "Rider" = 'ben spies'
### Instruction: CREATE TABLE table_4449 ( "Runs (Balls)" text, "Wicket" text, "Partnerships" text, "Opponent" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the venue for netherlands opponent ### Response:
SELECT "Venue" FROM table_4449 WHERE "Opponent" = 'netherlands'
### Instruction: CREATE TABLE table_7128 ( "Television service" text, "Country" text, "Language" text, "Content" text, "HDTV" text, "Package/Option" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the country when the television service is italia 1? ### Response:
SELECT "Country" FROM table_7128 WHERE "Television service" = 'italia 1'
### Instruction: CREATE TABLE table_37079 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s) up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the margin of victory for Nick Price as a runner-up? ### Response:
SELECT "Margin of victory" FROM table_37079 WHERE "Runner(s) up" = 'nick price'
### Instruction: CREATE TABLE table_68220 ( "Name" text, "Entered office" text, "Left office" text, "Party" text, "First Minister" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the minister that left office on 14 November 2006? ### Response:
SELECT "Name" FROM table_68220 WHERE "Left office" = '14 november 2006'
### Instruction: CREATE TABLE table_58210 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the NBA draft result of Dwayne Washington? ### Response:
SELECT "NBA Draft" FROM table_58210 WHERE "Player" = 'dwayne washington'
### Instruction: CREATE TABLE table_9322 ( "Articulatory class" text, "Non- stop" text, "Plain stop" text, "Aspirated stop" text, "\"Muddy\" voice" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Non- stop has an Aspirated stop of ? ### Response:
SELECT "Non- stop" FROM table_9322 WHERE "Aspirated stop" = 'ㅎ'
### Instruction: CREATE TABLE table_48566 ( "Driver" text, "Entrant" text, "Constructor" text, "Time/Retired" text, "Grid" text, "Heat 1/2" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the driver for Rovero Campello? ### Response:
SELECT "Driver" FROM table_48566 WHERE "Entrant" = 'rovero campello'
### Instruction: CREATE TABLE table_44175 ( "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 when the score is 72-68-67=207? ### Response:
SELECT "Country" FROM table_44175 WHERE "Score" = '72-68-67=207'
### Instruction: CREATE TABLE table_35743 ( "Name" text, "Location" text, "State" text, "Opened (closing date if defunct)" text, "Surface" text, "Length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Location for the route 66 raceway? ### Response:
SELECT "Location" FROM table_35743 WHERE "Name" = 'route 66 raceway'
### Instruction: CREATE TABLE table_name_62 ( home VARCHAR, record VARCHAR, visitor VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Home has a Visitor of quebec nordiques, and a Score of 3 4, and a Record of 8 8 1? ### Response:
SELECT home FROM table_name_62 WHERE visitor = "quebec nordiques" AND score = "3–4" AND record = "8–8–1"
### Instruction: CREATE TABLE table_77303 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent on October 14, 1984? ### Response:
SELECT "Opponent" FROM table_77303 WHERE "Date" = 'october 14, 1984'
### Instruction: CREATE TABLE table_1884 ( "State (class)" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date of successors formal installation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different reasons are there for the change in Connecticut (3)? ### Response:
SELECT COUNT("Reason for change") FROM table_1884 WHERE "State (class)" = 'Connecticut (3)'
### Instruction: CREATE TABLE table_9814 ( "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 Score, when Place is 'T5', and when Player is 'George Archer'? ### Response:
SELECT "Score" FROM table_9814 WHERE "Place" = 't5' AND "Player" = 'george archer'
### Instruction: CREATE TABLE table_74021 ( "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. -- Who is the candidates for district maryland 1? ### Response:
SELECT "Candidates" FROM table_74021 WHERE "District" = 'Maryland 1'
### Instruction: CREATE TABLE table_name_96 ( composer_s_ VARCHAR, arranger_s_ VARCHAR, length VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is/are the Composer(s), when the Arranger(s) is Banana Boat, and when the Length is 4:25? ### Response:
SELECT composer_s_ FROM table_name_96 WHERE arranger_s_ = "banana boat" AND length = "4:25"
### Instruction: CREATE TABLE table_35631 ( "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 finished 3rd in Oslo? ### Response:
SELECT "Third" FROM table_35631 WHERE "Venue" = 'oslo'
### Instruction: CREATE TABLE table_name_92 ( co_drivers VARCHAR, team VARCHAR, pos VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the co-drivers for the Racing Organisation Course team in years before 2011, who had a position of DNF? ### Response:
SELECT co_drivers FROM table_name_92 WHERE pos = "dnf" AND year < 2011 AND team = "racing organisation course"
### Instruction: CREATE TABLE table_18374 ( "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 year first elected for district illinois 7? ### Response:
SELECT MAX("First elected") FROM table_18374 WHERE "District" = 'Illinois 7'
### Instruction: CREATE TABLE table_25473 ( "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 date for irish points being 89 ### Response:
SELECT "Date" FROM table_25473 WHERE "Irish Points" = '89'
### Instruction: CREATE TABLE table_37382 ( "Train Number" text, "Train Name" text, "Origin" text, "Destination" text, "Frequency (inbound/outbound)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the destination of the Garib nwaz exp train? ### Response:
SELECT "Destination" FROM table_37382 WHERE "Train Name" = 'garib nwaz exp'
### Instruction: CREATE TABLE table_74128 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Decision" text, "Location/Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of game 2-6 ### Response:
SELECT COUNT("Game") FROM table_74128 WHERE "Score" = '2-6'