instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_5408 ( "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 date of the friendly competition with a score of 4-0? ### Response:
SELECT "Date" FROM table_5408 WHERE "Competition" = 'friendly' AND "Score" = '4-0'
### Instruction: CREATE TABLE table_79091 ( "Year" real, "Gold" text, "Silver" text, "Bronze" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT YEAR HAS A SILVER FOR MATTHIAS MERZ? ### Response:
SELECT MIN("Year") FROM table_79091 WHERE "Silver" = 'matthias merz'
### Instruction: CREATE TABLE table_27403436_1 ( us_viewers__million_ VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many viewers watched the episode written by shana goldberg-meehan & greg malins? ### Response:
SELECT us_viewers__million_ FROM table_27403436_1 WHERE written_by = "Shana Goldberg-Meehan & Greg Malins"
### Instruction: CREATE TABLE table_204_42 ( id number, "season" number, "level" text, "division" text, "section" text, "position" text, "movements" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- previous to 2007 what tier was the team in ? ...
SELECT "level" FROM table_204_42 WHERE "season" < 2007
### Instruction: CREATE TABLE table_203_399 ( id number, "pos." text, "driver" text, "co-driver" text, "car" text, "time" text, "difference" text, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the time for the driver...
SELECT MAX("time") FROM table_203_399
### Instruction: CREATE TABLE table_54650 ( "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. -- who was the director of the episode with production code ad1a...
SELECT "Directed by" FROM table_54650 WHERE "Production code" = 'ad1a26'
### Instruction: CREATE TABLE table_1164 ( "Rnd" real, "Pick" real, "Player name" text, "Position" text, "College" text, "Height" text, "Weight" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many heights does chad henne have? ### Resp...
SELECT COUNT("Height") FROM table_1164 WHERE "Player name" = 'Chad Henne'
### Instruction: CREATE TABLE table_50830 ( "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. -- Which class has *fraus as Part 2? ### Response:
SELECT "Class" FROM table_50830 WHERE "Part 2" = '*fraus'
### Instruction: CREATE TABLE table_43612 ( "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 is the record for the opponent the Cleveland Cavaliers? ### Resp...
SELECT "Record" FROM table_43612 WHERE "Opponent" = 'cleveland cavaliers'
### Instruction: CREATE TABLE table_name_44 ( rank VARCHAR, team VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What ranking did Team 250cc Honda end up in when it finished a race with a time of 1:27.57.28? ### Response:
SELECT COUNT(rank) FROM table_name_44 WHERE team = "250cc honda" AND time = "1:27.57.28"
### Instruction: CREATE TABLE table_79952 ( "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. -- Which circuit did fran ois eysermann win ? ### Res...
SELECT "Circuit" FROM table_79952 WHERE "Winning driver" = 'françois eysermann'
### Instruction: CREATE TABLE table_3078 ( "Record label" text, "Composer" text, "Work title" text, "Part" text, "Conductor" text, "Recording year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who composed the work conducted by jaroslav Vogel?...
SELECT "Composer" FROM table_3078 WHERE "Conductor" = 'Jaroslav Vogel'
### Instruction: CREATE TABLE table_name_57 ( max_1_min_wind_mph__km_h_ VARCHAR, min_press___mbar__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the max 1-min wind mph when the minimum press is 997? ### Response:
SELECT max_1_min_wind_mph__km_h_ FROM table_name_57 WHERE min_press___mbar__ = "997"
### Instruction: CREATE TABLE table_204_637 ( id number, "type" text, "gauge" text, "railway" text, "works no." text, "year" text, "builder" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- builder that has the most experience ### Response:
SELECT "builder" FROM table_204_637 GROUP BY "builder" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_43551 ( "Date" text, "Round" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real, "Scorers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue had SF? ### Response:
SELECT "Venue" FROM table_43551 WHERE "Round" = 'sf'
### Instruction: CREATE TABLE table_77974 ( "Episode" text, "Air Date" text, "Timeslot" text, "Viewers" text, "Weekly Rank for Living" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many viewers for the episode with the weekly rank for living of...
SELECT "Viewers" FROM table_77974 WHERE "Weekly Rank for Living" = '4'
### Instruction: CREATE TABLE table_56868 ( "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. -- The person with a Height of 6-8 went to which School? ### Resp...
SELECT "School" FROM table_56868 WHERE "Height" = '6-8'
### Instruction: CREATE TABLE table_21635 ( "Series #" real, "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 directed the episode titled 'the advocate'?...
SELECT "Directed by" FROM table_21635 WHERE "Title" = 'The Advocate'
### Instruction: CREATE TABLE table_72059 ( "Player" text, "Solo" real, "Total" real, "Sacks" text, "Fumble force" real, "Fumble rec" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the high total for players with over 15 solo tackles? ...
SELECT MAX("Total") FROM table_72059 WHERE "Solo" > '15'
### Instruction: CREATE TABLE table_10133 ( "Rank" real, "Airline" text, "Country" text, "Passengers Carried" real, "Remarks" text, "Alliance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average rank of gol on airlines? ### Resp...
SELECT AVG("Rank") FROM table_10133 WHERE "Airline" = 'gol'
### Instruction: CREATE TABLE table_203_330 ( id number, "year of election" number, "candidates elected" number, "# of seats available" number, "# of votes" number, "% of popular vote" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- year with lar...
SELECT "year of election" FROM table_203_330 ORDER BY "candidates elected" DESC LIMIT 1
### Instruction: CREATE TABLE table_59070 ( "Name" text, "Owner" text, "Programming" text, "Type" text, "Encryption" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the type for a general programming and the owner tv kanal 5? ### Response:
SELECT "Type" FROM table_59070 WHERE "Programming" = 'general' AND "Owner" = 'tv kanal 5'
### Instruction: CREATE TABLE table_66871 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text, "Note" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the label with catalog of mhcl-20005 ### Response:
SELECT "Label" FROM table_66871 WHERE "Catalog" = 'mhcl-20005'
### Instruction: CREATE TABLE table_19200 ( "Designation" text, "Bus width (bits)" real, "Channels" text, "Clock rate (MHz)" real, "Bandwidth (MB/s)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the channels when designation is pc700 ### Re...
SELECT "Channels" FROM table_19200 WHERE "Designation" = 'PC700'
### Instruction: CREATE TABLE table_38301 ( "Rank" text, "Film" text, "Director(s)" text, "Country" text, "Prize" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country is the film hi no tsugi ha rekishi from? ### Response:
SELECT "Country" FROM table_38301 WHERE "Film" = 'hi no tsugi ha rekishi'
### Instruction: CREATE TABLE table_59791 ( "Year" real, "Country/Territory" text, "Miss International" text, "National title" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the national title of miss international ikumi yosh...
SELECT "National title" FROM table_59791 WHERE "Miss International" = 'ikumi yoshimatsu'
### Instruction: CREATE TABLE table_72599 ( "Tournament" text, "Country" text, "Location" text, "Current Venue" text, "Began" real, "Court surface" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tournaments current venue is the Madrid Aren...
SELECT "Tournament" FROM table_72599 WHERE "Current Venue" = 'Madrid Arena'
### Instruction: CREATE TABLE table_28697228_4 ( rushing_yards INTEGER, opponent VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of rushing yards when the opponentis Indiana and the player is Denard Robinson? ### Respo...
SELECT MAX(rushing_yards) FROM table_28697228_4 WHERE opponent = "Indiana" AND player = "Denard Robinson"
### Instruction: CREATE TABLE table_22556 ( "Date" real, "Single" text, "Backed with" text, "Record label" text, "Format" text, "Other details" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What record label corresponds to the single 'I can't s...
SELECT "Record label" FROM table_22556 WHERE "Single" = 'I Can''t Stay'
### Instruction: CREATE TABLE table_30813 ( "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. -- What is the episode series number of 'St...
SELECT "Series #" FROM table_30813 WHERE "Title" = 'St. Joan'
### Instruction: CREATE TABLE table_name_88 ( order_and_title VARCHAR, elevated VARCHAR, faction VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Order and Title with an Elevated with 1261, december 17, and a Faction with angevin? ### Respons...
SELECT order_and_title FROM table_name_88 WHERE elevated = "1261, december 17" AND faction = "angevin"
### Instruction: CREATE TABLE table_name_43 ( semi_finalists VARCHAR, week_of VARCHAR, runner_up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the semi finalists on the week of 12 june, when the runner-up is listed as Lori McNeil? ### Response...
SELECT semi_finalists FROM table_name_43 WHERE week_of = "12 june" AND runner_up = "lori mcneil"
### Instruction: CREATE TABLE table_28736 ( "Institution" text, "Location" text, "Team Nickname" text, "Years" text, "New Conference" text, "New Classification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the years that the new class...
SELECT "Years" FROM table_28736 WHERE "New Classification" = 'MCLA Division I'
### Instruction: CREATE TABLE table_name_4 ( player VARCHAR, lifespan VARCHAR, rank VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Player has a Rank of t12, and a Country of taiwan, and a Lifespan of 1963 ? ### Response:
SELECT player FROM table_name_4 WHERE rank = "t12" AND country = "taiwan" AND lifespan = "1963–"
### Instruction: CREATE TABLE table_35056 ( "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 date of the tournament in michalovce ### Response:
SELECT "Date" FROM table_35056 WHERE "Tournament" = 'michalovce'
### Instruction: CREATE TABLE table_20581 ( "Platform" real, "Frequency (per hour)" real, "Destination" text, "Service Pattern" text, "Operator" text, "Line" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many frequency figures are given for...
SELECT COUNT("Frequency (per hour)") FROM table_20581 WHERE "Service Pattern" = 'Next station'
### Instruction: CREATE TABLE table_204_753 ( id number, "no." number, "name" text, "position" text, "date of birth (age)" text, "signed from" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of df positi...
SELECT COUNT(*) FROM table_204_753 WHERE "position" = 'df'
### Instruction: CREATE TABLE table_71842 ( "Year" text, "Team" text, "Attempts" text, "Completions" text, "Completion %" text, "Yards" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the team that has 307 attempts? ### Resp...
SELECT "Team" FROM table_71842 WHERE "Attempts" = '307'
### Instruction: CREATE TABLE table_37890 ( "Date" text, "Round" text, "Opponents" text, "H / A" text, "Result F \u2013 A" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Was the semi-final round held at home or away? ### Response:
SELECT "H / A" FROM table_37890 WHERE "Round" = 'semi-final'
### Instruction: CREATE TABLE table_203_394 ( id number, "title" text, "author" text, "date" number, "length\n(first edition)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year was the earliest bull dog drummond published ? ### Response:
SELECT "date" FROM table_203_394 WHERE "title" = 'bull-dog drummond' ORDER BY "date" LIMIT 1
### Instruction: CREATE TABLE table_33040 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who played the Rams on October 2, 2005? ### Response:
SELECT "Opponent" FROM table_33040 WHERE "Date" = 'october 2, 2005'
### Instruction: CREATE TABLE table_name_44 ( pick__number INTEGER, round VARCHAR, position VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- A Round larger than 1, a College of Oklahoma state, and a average Pick # that has a Position o...
SELECT AVG(pick__number) FROM table_name_44 WHERE position = "tight end" AND college = "oklahoma state" AND round > 1
### Instruction: CREATE TABLE table_203_379 ( id number, "first issued" text, "design" text, "slogan" text, "serial format" text, "serials issued" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when was the first baseplate issu...
SELECT "first issued" FROM table_203_379 ORDER BY "first issued" LIMIT 1
### Instruction: CREATE TABLE table_48950 ( "Name dates" text, "Eldest daughter from (date) to (date)" text, "Father" text, "Date married" text, "Husband dates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did Louise, Princess royal get marri...
SELECT "Date married" FROM table_48950 WHERE "Name dates" = 'louise, princess royal'
### Instruction: CREATE TABLE table_60422 ( "Province" text, "Commissioner" text, "Assumed office" text, "Duration" text, "Party" text, "Born" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the duration of the commissioner from the zeela...
SELECT "Duration" FROM table_60422 WHERE "Province" = 'zeeland'
### Instruction: CREATE TABLE table_40441 ( "Year" real, "Series" text, "Winning team" text, "Losing team" text, "Score" text, "Site" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the series when the San Francisco Giants lost? ### Res...
SELECT "Winning team" FROM table_40441 WHERE "Losing team" = 'san francisco giants'
### Instruction: CREATE TABLE table_203_502 ( id number, "team" text, "titles" number, "runner-up" number, "third place" number, "fourth place" number, "years participated" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what two teams only...
SELECT "team" FROM table_203_502 WHERE "titles" = 2
### Instruction: CREATE TABLE table_61090 ( "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 was the score for the player than won $450? ### Response:
SELECT "Score" FROM table_61090 WHERE "Money ( $ )" = '450'
### Instruction: CREATE TABLE table_204_951 ( id number, "candidate" text, "votes" number, "percentage" text, "counties" number, "delegates" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many candidates got more than 5 % of the votes ? ...
SELECT COUNT("candidate") FROM table_204_951 WHERE "percentage" > 5
### Instruction: CREATE TABLE table_39940 ( "singular" text, "singular gender" text, "plural" text, "plural gender" text, "meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the singular if the plural is xweer(a)du? ### Response:
SELECT "singular" FROM table_39940 WHERE "plural" = 'xweer(a)du'
### Instruction: CREATE TABLE table_51273 ( "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. -- What was the record when chicago was the visiting...
SELECT "Record" FROM table_51273 WHERE "Visitor" = 'chicago'
### Instruction: CREATE TABLE table_50126 ( "Award" text, "Year" real, "Category" text, "Work" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the work when the result is won and the year is before 2003? ### Response:
SELECT "Work" FROM table_50126 WHERE "Result" = 'won' AND "Year" < '2003'
### Instruction: CREATE TABLE table_name_11 ( game INTEGER, high_rebounds VARCHAR, high_assists VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which game has a high rebound of Evans (7) and a high assist of Evans, Ollie (3)? ### Response:
SELECT MAX(game) FROM table_name_11 WHERE high_rebounds = "evans (7)" AND high_assists = "evans, ollie (3)"
### Instruction: CREATE TABLE table_59452 ( "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 kind of Winning driver has a Winning constructo...
SELECT "Winning driver" FROM table_59452 WHERE "Winning constructor" = 'mercer'
### Instruction: CREATE TABLE table_58558 ( "Athlete" text, "Country" text, "From" real, "Gold" real, "Silver" real, "Total" real, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the status of ren hoppe? ### Response:
SELECT "Status" FROM table_58558 WHERE "Athlete" = 'rené hoppe'
### Instruction: CREATE TABLE table_1872 ( "Team" text, "Location" text, "County" text, "Division" text, "Home ground" text, "Coach" text, "Captain" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the captain of the team in Essex count...
SELECT "Captain" FROM table_1872 WHERE "County" = 'Essex'
### Instruction: CREATE TABLE table_79727 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What opponent has a loss of McCaskill (9-11)? ### Response:
SELECT "Opponent" FROM table_79727 WHERE "Loss" = 'mccaskill (9-11)'
### Instruction: CREATE TABLE student ( name VARCHAR, id VARCHAR ) CREATE TABLE takes ( id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name of students who took any class in the years of 2009 and 2010. ### Response:
SELECT DISTINCT T1.name FROM student AS T1 JOIN takes AS T2 ON T1.id = T2.id WHERE YEAR = 2009 OR YEAR = 2010
### Instruction: CREATE TABLE table_43689 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the country of player dale douglass, who has a t8 place? ### Response:
SELECT "Country" FROM table_43689 WHERE "Place" = 't8' AND "Player" = 'dale douglass'
### Instruction: CREATE TABLE table_10932739_2 ( orbital_period VARCHAR, semimajor_axis___au__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How long is the orbital period for the planet that has a semimajor axis of 5.20 au? ### Response:
SELECT orbital_period FROM table_10932739_2 WHERE semimajor_axis___au__ = "5.20"
### Instruction: CREATE TABLE table_name_82 ( rank INTEGER, album VARCHAR, peak_position VARCHAR, certification VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the lowest rank when the peak position is 2, certification is platinum and the albu...
SELECT MIN(rank) FROM table_name_82 WHERE peak_position = "2" AND certification = "platinum" AND album = "my december"
### Instruction: CREATE TABLE table_70281 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the sum of year for connaught engineering and points less than 0 ### Response:
SELECT SUM("Year") FROM table_70281 WHERE "Entrant" = 'connaught engineering' AND "Points" < '0'
### Instruction: CREATE TABLE table_24979 ( "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. -- Which nationality is player John Garrett? ...
SELECT "Nationality" FROM table_24979 WHERE "Player" = 'John Garrett'
### Instruction: CREATE TABLE table_27310 ( "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 number of district for bill shuster ### Resp...
SELECT COUNT("District") FROM table_27310 WHERE "Incumbent" = 'Bill Shuster'
### Instruction: CREATE TABLE table_64968 ( "Year" real, "Game" text, "Genre" text, "Platform(s)" text, "Developer(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest year when Ubisoft Montreal was the developer (s)? ### Respon...
SELECT MIN("Year") FROM table_64968 WHERE "Developer(s)" = 'ubisoft montreal'
### Instruction: CREATE TABLE table_32054 ( "Title" text, "Year" real, "ISBN" text, "Volume" text, "Strips" text, "Pages" real, "Colors" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the sum of year for 244 pages ### Response:
SELECT SUM("Year") FROM table_32054 WHERE "Pages" = '244'
### Instruction: CREATE TABLE table_27329061_2 ( codename VARCHAR, code_base VARCHAR, edition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the the codename when the code base is ubuntu 8.04 and the edition is fluxbox ce? ### Response:
SELECT codename FROM table_27329061_2 WHERE code_base = "Ubuntu 8.04" AND edition = "Fluxbox CE"
### Instruction: CREATE TABLE table_48528 ( "Class" text, "Part 1" text, "Part 2" text, "Part 3" text, "Part 4" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Part 3, when Part 1 is 'frj sa'? ### Response:
SELECT "Part 3" FROM table_48528 WHERE "Part 1" = 'frjósa'
### Instruction: CREATE TABLE table_60141 ( "Club" text, "Nickname" text, "Location" text, "GFL Premierships" text, "Years in GFL" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What GLF Premiership did the Magpies have? ### Response:
SELECT "GFL Premierships" FROM table_60141 WHERE "Nickname" = 'magpies'
### Instruction: CREATE TABLE table_23933 ( "County" text, "Obama#" real, "Obama%" text, "McCain#" real, "McCain%" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What percentage did Obama get when McCain got 52.8%? ### Response:
SELECT "Obama%" FROM table_23933 WHERE "McCain%" = '52.8%'
### Instruction: CREATE TABLE table_name_25 ( games INTEGER, rank VARCHAR, team VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of Games for Partizan Belgrade player Nikola Pekovi with a Rank of more than 4? ### Resp...
SELECT MIN(games) FROM table_name_25 WHERE team = "partizan belgrade" AND name = "nikola peković" AND rank > 4
### Instruction: CREATE TABLE table_21367 ( "Official Name" text, "Status" text, "Area km 2" text, "Population" real, "Census Ranking" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With the official name Quispamsis, what is the census ranking? ##...
SELECT "Census Ranking" FROM table_21367 WHERE "Official Name" = 'Quispamsis'
### Instruction: CREATE TABLE table_30279 ( "Position" text, "Number" real, "Player" text, "Super League" real, "Champions League" real, "Swiss Cup" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the number of assists for ...
SELECT MAX("Total") FROM table_30279 WHERE "Position" = 'DF'
### Instruction: CREATE TABLE table_18221 ( "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 location is Vin Weber from? ### Response:
SELECT "District" FROM table_18221 WHERE "Incumbent" = 'Vin Weber'
### Instruction: CREATE TABLE table_10835 ( "Country" text, "City" text, "Festival name" text, "Year(s)" text, "Type" text, "BIE recognised" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the year(s) when the city is kunming? ### Respo...
SELECT "Year(s)" FROM table_10835 WHERE "City" = 'kunming'
### Instruction: CREATE TABLE table_75837 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Silver with a Total that is smaller than 1? #...
SELECT COUNT("Silver") FROM table_75837 WHERE "Total" < '1'
### Instruction: CREATE TABLE table_34363 ( "Surname" text, "First" text, "D.O.B." text, "Uni#" real, "Bats" text, "Throws" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which position does #14 play? ### Response:
SELECT "Position" FROM table_34363 WHERE "Uni#" = '14'
### Instruction: CREATE TABLE table_name_71 ( winner VARCHAR, week_of VARCHAR, runner_up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the winner in the week listed as 26 June 2 weeks, when the runner-up is Arantxa S nchez Vicario? ### Response...
SELECT winner FROM table_name_71 WHERE week_of = "26 june 2 weeks" AND runner_up = "arantxa sánchez vicario"
### Instruction: CREATE TABLE table_19611 ( "Hand" text, "1 credit" real, "2 credits" real, "3 credits" real, "4 credits" real, "5 credits" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least 2 credits for straight hand ### Response:...
SELECT MIN("2 credits") FROM table_19611 WHERE "Hand" = 'Straight'
### Instruction: CREATE TABLE table_19627 ( "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. -- How many scores were there in week 11? ### R...
SELECT COUNT("Record") FROM table_19627 WHERE "Week" = '11'
### Instruction: CREATE TABLE table_9379 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day did Pho...
SELECT "Date" FROM table_9379 WHERE "Team" = 'phoenix'
### Instruction: CREATE TABLE table_26887 ( "Candidate" text, "Background" text, "Original team" text, "Age" real, "Hometown" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the player from Maylands, Western ...
SELECT "Result" FROM table_26887 WHERE "Hometown" = 'Maylands, Western Australia'
### Instruction: CREATE TABLE table_203_555 ( id number, "place" text, "player" text, "country" text, "score" text, "to par" number, "money ($)" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was dan pohl 's first round score ? ### ...
SELECT "score" FROM table_203_555 WHERE "player" = 'dan pohl'
### Instruction: CREATE TABLE table_11821 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date when the visitor is nets ##...
SELECT "Date" FROM table_11821 WHERE "Visitor" = 'nets'
### Instruction: CREATE TABLE table_65980 ( "Rank" real, "Artist" text, "Album" text, "Peak position" real, "Sales" real, "Certification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which artist had a 4x platinum? ### Response:
SELECT "Artist" FROM table_65980 WHERE "Certification" = '4x platinum'
### Instruction: CREATE TABLE table_67449 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the smallest week that had a result of t 17 17? ### Response:
SELECT MIN("Week") FROM table_67449 WHERE "Result" = 't 17–17'
### Instruction: CREATE TABLE table_16858 ( "Player" text, "No." real, "Nationality" text, "Position" text, "Years for Jazz" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What years did number 54 play for the jazz ###...
SELECT "Years for Jazz" FROM table_16858 WHERE "No." = '54'
### Instruction: CREATE TABLE table_204_15 ( id number, "year" number, "date" text, "venue" text, "city" text, "country" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- is canada at least on the chart 3 times ? ### Response:
SELECT (SELECT COUNT(*) FROM table_204_15 WHERE "country" = 'canada') > 3
### Instruction: CREATE TABLE table_6499 ( "Outcome" text, "Date" text, "Surface" text, "Partner" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the score for 21 may 2011 ### Response:
SELECT "Score" FROM table_6499 WHERE "Date" = '21 may 2011'
### Instruction: CREATE TABLE table_30954 ( "Episode" text, "First broadcast" text, "Andrew and Georgies guest" text, "Jamie and Johns guest" text, "Scores" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the result on 01x06 ### Response:
SELECT "Scores" FROM table_30954 WHERE "Episode" = '01x06'
### Instruction: CREATE TABLE table_4652 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a Record of 5-2? ### Response:
SELECT "Opponent" FROM table_4652 WHERE "Record" = '5-2'
### Instruction: CREATE TABLE table_17941032_2 ( points_against VARCHAR, try_bonus VARCHAR, points_for VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List all points against with a 0 try bonus and points for of 150. ### Response:
SELECT points_against FROM table_17941032_2 WHERE try_bonus = "0" AND points_for = "150"
### Instruction: CREATE TABLE table_name_28 ( series VARCHAR, position VARCHAR, season VARCHAR, podiums VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Series, when the Season is after 2008, when the value for Podiums is 3, and when the Po...
SELECT series FROM table_name_28 WHERE season > 2008 AND podiums = "3" AND position = "8th"
### Instruction: CREATE TABLE table_76770 ( "Name" text, "Gain" real, "Loss" real, "Long" real, "Avg/G" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Avg/G has a Gain of 1,839? ### Response:
SELECT SUM("Avg/G") FROM table_76770 WHERE "Gain" = '1,839'
### Instruction: CREATE TABLE table_55330 ( "Rank" real, "Rider" text, "Team" text, "Speed" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the name of the team that went 113.316mph? ### Response:
SELECT "Team" FROM table_55330 WHERE "Speed" = '113.316mph'
### Instruction: CREATE TABLE table_38351 ( "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 Attendance on october 2, 1977? ### Response:
SELECT "Attendance" FROM table_38351 WHERE "Date" = 'october 2, 1977'
### Instruction: CREATE TABLE table_5124 ( "Date" text, "City" text, "Opponent" text, "Results\u00b9" text, "Type of game" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What game type has 2:1 as the results? ### Response:
SELECT "Type of game" FROM table_5124 WHERE "Results\u00b9" = '2:1'
### Instruction: CREATE TABLE table_name_72 ( europe INTEGER, position VARCHAR, others VARCHAR, league VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the Europe totals for players with other appearances of 0, league appearances und...
SELECT SUM(europe) FROM table_name_72 WHERE others = 0 AND league < 328 AND position = "mf"
### Instruction: CREATE TABLE table_35371 ( "Game" real, "February" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Game is the highest one that has a February of 25? ### Respon...
SELECT MAX("Game") FROM table_35371 WHERE "February" = '25'
### Instruction: CREATE TABLE table_name_12 ( against VARCHAR, opposing_teams VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Against, when Opposing Teams is 'Australia', and when Date is '27/07/1991'? ### Response:
SELECT against FROM table_name_12 WHERE opposing_teams = "australia" AND date = "27/07/1991"