instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_18402 ( "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 party did Don Fuqua belong to? ### Response:
SELECT "Party" FROM table_18402 WHERE "Incumbent" = 'Don Fuqua'
### Instruction: CREATE TABLE table_31942 ( "Goal" real, "Date" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the result for 2010 fifa world cup qualification ### Response:
SELECT "Result" FROM table_31942 WHERE "Competition" = '2010 fifa world cup qualification'
### Instruction: CREATE TABLE table_28649 ( "Rank" real, "Couple" text, "Judges" real, "Public" real, "Total" real, "Vote percentage" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number for 3 public ### Resp...
SELECT COUNT("Total") FROM table_28649 WHERE "Public" = '3'
### Instruction: CREATE TABLE table_15530 ( "Year" real, "English title" text, "Original title" text, "Country" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the English title for 1984 from Sweden? ### Response:
SELECT "English title" FROM table_15530 WHERE "Year" = '1984' AND "Country" = 'sweden'
### Instruction: CREATE TABLE table_203_868 ( id number, "frequency band" text, "band number" number, "radio interface" text, "generation" text, "status" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the first band num...
SELECT "band number" FROM table_203_868 WHERE id = 1
### Instruction: CREATE TABLE table_18102421_2 ( us_viewers__millions_ VARCHAR, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many millions of U.S. viewers watched the episode directed by Allison Liddi-Brown? ### Response:
SELECT us_viewers__millions_ FROM table_18102421_2 WHERE directed_by = "Allison Liddi-Brown"
### Instruction: CREATE TABLE table_39141 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of Shaun Sabol? ### Response:
SELECT "Nationality" FROM table_39141 WHERE "Player" = 'shaun sabol'
### Instruction: CREATE TABLE table_name_52 ( playoffs VARCHAR, open_cup VARCHAR, regular_season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What shows for Playoffs when the Open Cup shows as did not qualify, and a Regular Season was 3rd, south atlant...
SELECT playoffs FROM table_name_52 WHERE open_cup = "did not qualify" AND regular_season = "3rd, south atlantic"
### Instruction: CREATE TABLE table_203_576 ( 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. -- what countries did not win bronze ? ### Respon...
SELECT "nation" FROM table_203_576 WHERE "bronze" = 0
### Instruction: CREATE TABLE table_name_94 ( gross_tonnage INTEGER, ship VARCHAR, date_commissioned VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the sum of Gross Tonnage for isis ship on date commisioned less than 1842 ### Response:
SELECT SUM(gross_tonnage) FROM table_name_94 WHERE ship = "isis" AND date_commissioned < 1842
### Instruction: CREATE TABLE table_203_429 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- prior to 2007 , what was the highest place achieved ? ### Respons...
SELECT MIN("position") FROM table_203_429 WHERE "year" < 2007
### Instruction: CREATE TABLE table_76509 ( "Finished" text, "Horse" text, "Jockey" text, "Trainer" text, "Odds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the Odds for the Horse called Ready's Echo? ### Response:
SELECT "Odds" FROM table_76509 WHERE "Horse" = 'ready''s echo'
### Instruction: CREATE TABLE table_name_37 ( total INTEGER, gold VARCHAR, bronze VARCHAR, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total when bronze is more than 1, nation is hong kong (hkg) and gold is less than 3? ### Re...
SELECT SUM(total) FROM table_name_37 WHERE bronze > 1 AND nation = "hong kong (hkg)" AND gold < 3
### Instruction: CREATE TABLE table_10477224_1 ( sepal_width VARCHAR, species VARCHAR, petal_length VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the sepal width for i.virginica with petal length of 5.1 ### Response:
SELECT sepal_width FROM table_10477224_1 WHERE species = "I.virginica" AND petal_length = "5.1"
### Instruction: CREATE TABLE table_47137 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the method when the round shows 3? ### Res...
SELECT "Method" FROM table_47137 WHERE "Round" = '3'
### Instruction: CREATE TABLE table_68592 ( "Film" text, "Director(s)" text, "Recipient" text, "Date" text, "Award" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What directors won an award on 14/6/6? ### Response:
SELECT "Director(s)" FROM table_68592 WHERE "Date" = '14/6/6'
### Instruction: CREATE TABLE table_204_383 ( 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. -- which nation came in last place ? ### Response...
SELECT "nation" FROM table_204_383 ORDER BY "rank" DESC LIMIT 1
### Instruction: CREATE TABLE table_30745 ( "IOC Code" text, "Country" text, "Network Station" text, "Television Station" text, "Radio Station" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many television station listing have a radio station a...
SELECT COUNT("Television Station") FROM table_30745 WHERE "Radio Station" = 'Lao National Radio'
### Instruction: CREATE TABLE table_name_41 ( hot_100_reaction VARCHAR, week VARCHAR, performer_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the hot 100 reaction in week of top 13 for Kanye West? ### Response:
SELECT hot_100_reaction FROM table_name_41 WHERE week = "top 13" AND performer_s_ = "kanye west"
### Instruction: CREATE TABLE table_44580 ( "Season" text, "Zone" real, "Champion" text, "Second" text, "Third" text, "Top scorer" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Zone has a Champion of surozh sudak? ### Response:
SELECT SUM("Zone") FROM table_44580 WHERE "Champion" = 'surozh sudak'
### Instruction: CREATE TABLE table_71974 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the surface for 12 september 2006 ### Response:
SELECT "Surface" FROM table_71974 WHERE "Date" = '12 september 2006'
### Instruction: CREATE TABLE table_37327 ( "Player" text, "Position" text, "Date of Birth (Age)" text, "Caps" real, "Club/province" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the club/province for steve borthwick ### Response:
SELECT "Club/province" FROM table_37327 WHERE "Player" = 'steve borthwick'
### Instruction: CREATE TABLE table_44987 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what tournament did Cipolla face Sergio Roitman? ### Response:
SELECT "Tournament" FROM table_44987 WHERE "Opponent" = 'sergio roitman'
### Instruction: CREATE TABLE table_25047 ( "Asian rank" real, "World rank" real, "Country" text, "GDP per capita" text, "GDP world rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the gdp world rank for asian rank being 20 ### Response:
SELECT "GDP world rank" FROM table_25047 WHERE "Asian rank" = '20'
### Instruction: CREATE TABLE table_17614 ( "Country" text, "Player name" text, "Period" text, "Position" text, "Matches" text, "Goals" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many goals have been scored by Tiago Gomes? ### Response...
SELECT "Goals" FROM table_17614 WHERE "Player name" = 'Tiago Gomes'
### Instruction: CREATE TABLE table_70825 ( "Match" real, "Date" text, "Competition or tour" text, "Ground" text, "Opponent" text, "Score1" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Score1 of Match 42? ### Response:
SELECT "Score1" FROM table_70825 WHERE "Match" = '42'
### Instruction: CREATE TABLE table_31119 ( "Team" text, "Chairman" text, "Head Coach" text, "Captain" text, "Kitmaker" text, "Shirt sponsor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the team for javier clemente ### Response:
SELECT "Team" FROM table_31119 WHERE "Head Coach" = 'Javier Clemente'
### Instruction: CREATE TABLE table_49119 ( "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 result on September 25, 1966? ### Response:
SELECT "Result" FROM table_49119 WHERE "Date" = 'september 25, 1966'
### Instruction: CREATE TABLE table_48851 ( "Date" text, "Pos." text, "Player" text, "From club" text, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which From club has a Date of 20 oct. 2008? ### Response:
SELECT "From club" FROM table_48851 WHERE "Date" = '20 oct. 2008'
### Instruction: CREATE TABLE table_56459 ( "Sign" text, "Name" text, "Date" text, "Content" text, "City" text, "Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the country for the 9th and sign of g e ### Response:
SELECT "Country" FROM table_56459 WHERE "Date" = '9th' AND "Sign" = 'g e'
### Instruction: CREATE TABLE table_2014 ( "Pos" real, "No" real, "Driver" text, "Constructor" text, "Q1 order" real, "Q1 time" text, "Q1 pos" real, "Q1+Q2 time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest no.? #...
SELECT MAX("No") FROM table_2014
### Instruction: CREATE TABLE table_58350 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the margin of victory for the tournament travelers champio...
SELECT "Margin of victory" FROM table_58350 WHERE "Tournament" = 'travelers championship'
### Instruction: CREATE TABLE table_204_103 ( id number, "medal" text, "name" text, "sport" text, "event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many silver medals did satheesha rai win according to the table ? ### Response:
SELECT COUNT("medal") FROM table_204_103 WHERE "name" = 'satheesha rai'
### Instruction: CREATE TABLE table_name_1 ( population__2008_ INTEGER, capital VARCHAR, created VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the population (2008) when the capital was Sanniquellie, created later than 1964? ### Response:
SELECT SUM(population__2008_) FROM table_name_1 WHERE capital = "sanniquellie" AND created > 1964
### Instruction: CREATE TABLE table_56578 ( "Year" real, "Category" text, "Genre" text, "Title" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the title of Ashanti's 2003 rap song? ### Response:
SELECT "Title" FROM table_56578 WHERE "Year" = '2003' AND "Genre" = 'rap'
### Instruction: CREATE TABLE table_45762 ( "Year" text, "Model" text, "Engine Type / Cyl." text, "Power bhp (kW)" text, "Wheelbase in" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which model had a wheelbase of 136 inches? ### Response:
SELECT "Model" FROM table_45762 WHERE "Wheelbase in" = '136'
### Instruction: CREATE TABLE table_26886 ( "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 is the background of the person fired in week 5? #...
SELECT "Background" FROM table_26886 WHERE "Result" = 'Fired in week 5'
### Instruction: CREATE TABLE table_75238 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Save" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the save for braves for may 15 ### Response:
SELECT "Save" FROM table_75238 WHERE "Opponent" = 'braves' AND "Date" = 'may 15'
### Instruction: CREATE TABLE table_73194 ( "LMS No." real, "WD No." real, "Builder" text, "Serial No." real, "Date built" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of wd number for lms number being 7638 ### Response:
SELECT COUNT("WD No.") FROM table_73194 WHERE "LMS No." = '7638'
### Instruction: CREATE TABLE table_name_8 ( gpu_model VARCHAR, frequency VARCHAR, sspec_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the gpu model when the frequency is 3.4 ghz and the sspec number is sr00b(d2)? ### Response:
SELECT gpu_model FROM table_name_8 WHERE frequency = "3.4 ghz" AND sspec_number = "sr00b(d2)"
### Instruction: CREATE TABLE broadcast ( channel_id VARCHAR, time_of_day VARCHAR ) CREATE TABLE channel ( name VARCHAR, channel_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the names of the channels that are broadcast in the morning. ##...
SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id = t2.channel_id WHERE t2.time_of_day = 'Morning'
### Instruction: CREATE TABLE table_33721 ( "Coach" text, "Years" text, "Record" text, "Conference Record" text, "Overall Win Percentage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was coach Dick Bennett's overall win percentage? ### Resp...
SELECT "Overall Win Percentage" FROM table_33721 WHERE "Coach" = 'dick bennett'
### Instruction: CREATE TABLE table_5495 ( "Rank" text, "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 number in total of silver with a gold smaller than 0? ### Resp...
SELECT COUNT("Silver") FROM table_5495 WHERE "Gold" < '0'
### Instruction: CREATE TABLE table_name_97 ( general_classification VARCHAR, young_rider_classification VARCHAR, points_classification VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the general classification with roman kreuziger and points classif...
SELECT general_classification FROM table_name_97 WHERE young_rider_classification = "roman kreuziger" AND points_classification = "fabian cancellara"
### Instruction: CREATE TABLE table_53162 ( "Title" text, "Composer(s)" text, "Guest performer" text, "Producer(s)" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which composer has a track length of 2:50? ### Response:
SELECT "Composer(s)" FROM table_53162 WHERE "Time" = '2:50'
### Instruction: CREATE TABLE table_name_51 ( teaching_language VARCHAR, duration__years_ VARCHAR, ects_credit_points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the teaching language for a less than 2 year duration and less than 65 ECTS credi...
SELECT teaching_language FROM table_name_51 WHERE duration__years_ < 2 AND ects_credit_points < 65
### Instruction: CREATE TABLE table_183 ( "Information" text, "Dysart" text, "Shadow Ridge" text, "Valley Vista" text, "Willow Canyon" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Valley Vista of Anthony Capuano ### Response:
SELECT "Valley Vista" FROM table_183 WHERE "Willow Canyon" = 'Anthony Capuano'
### Instruction: CREATE TABLE table_204_204 ( id number, "rank" number, "heat" number, "country" text, "cyclists" text, "result" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- name the number of teams in the 6th heat . ### ...
SELECT COUNT(*) FROM table_204_204 WHERE "heat" = 6
### Instruction: CREATE TABLE table_name_20 ( against INTEGER, status VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Against, when Status is 'Six Nations', and when Date is '30/03/2003'? ### Response:
SELECT SUM(against) FROM table_name_20 WHERE status = "six nations" AND date = "30/03/2003"
### Instruction: CREATE TABLE table_3062 ( "Name of Award" text, "Name of Film" text, "Language" text, "Awardee(s)" text, "Cash Prize" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the language for b. ajith kumar ### Response:
SELECT "Language" FROM table_3062 WHERE "Awardee(s)" = 'B. Ajith Kumar'
### Instruction: CREATE TABLE table_60247 ( "Season" text, "Premier Division" text, "Division One" text, "Division Two" text, "Division Three" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Season was the Division Three Hampton Park Rangers ch...
SELECT "Season" FROM table_60247 WHERE "Division Three" = 'hampton park rangers'
### Instruction: CREATE TABLE table_name_45 ( date_of_vacancy VARCHAR, manner_of_departure VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of vacancy when the manner of departure is sacked and the team is nejapa? ### Respo...
SELECT date_of_vacancy FROM table_name_45 WHERE manner_of_departure = "sacked" AND team = "nejapa"
### Instruction: CREATE TABLE table_49584 ( "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 is the type of POR? ### Response...
SELECT "Type" FROM table_49584 WHERE "Nat." = 'por'
### Instruction: CREATE TABLE table_43180 ( "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 score that the player who placed t4 from the united states get? ### Response...
SELECT "Score" FROM table_43180 WHERE "Country" = 'united states' AND "Place" = 't4'
### Instruction: CREATE TABLE table_1871 ( "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. -- Where is the team in Sussex county located? ...
SELECT "Location" FROM table_1871 WHERE "County" = 'Sussex'
### Instruction: CREATE TABLE table_53356 ( "Year" real, "Film/Video" text, "Visual Arts" text, "Theatre" text, "Dance" text, "Music" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Dance has the Visual Arts of Bryon Kim? ### Response:
SELECT "Dance" FROM table_53356 WHERE "Visual Arts" = 'bryon kim'
### Instruction: CREATE TABLE table_9046 ( "Year" real, "Winner" text, "Score" text, "Runner(s)-up" text, "Course" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the score at Olympia fields, illinois? ### Response:
SELECT "Score" FROM table_9046 WHERE "Location" = 'olympia fields, illinois'
### Instruction: CREATE TABLE table_72597 ( "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. -- What year was the tournament first held in Italy? ...
SELECT MIN("Began") FROM table_72597 WHERE "Country" = 'Italy'
### Instruction: CREATE TABLE table_54532 ( "Pts Rank" text, "Club" text, "Appearances vs Seasons" text, "Appearances Percetages" text, "PPG Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the points ranking of Chicago Fire? ### Respo...
SELECT "Pts Rank" FROM table_54532 WHERE "Club" = 'chicago fire'
### Instruction: CREATE TABLE table_42894 ( "Year" real, "Award" text, "Category" text, "Recipient" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which award show nominated The Suite Life on Deck for the Teen Pick Show: Comedy catego...
SELECT "Award" FROM table_42894 WHERE "Category" = 'teen pick show: comedy'
### Instruction: CREATE TABLE table_25921 ( "Episode" text, "First broadcast" text, "Seans team" text, "Jons team" text, "Scores" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of jons team for 15x10 ### Response:
SELECT COUNT("Jons team") FROM table_25921 WHERE "Episode" = '15x10'
### Instruction: CREATE TABLE table_72709 ( "Season" real, "Date" text, "Location" text, "Driver" text, "Chassis" text, "Engine" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- At which location did Rick Mears drive? ### Respon...
SELECT "Location" FROM table_72709 WHERE "Driver" = 'Rick Mears'
### Instruction: CREATE TABLE table_11951 ( "Date" text, "Opponent" text, "Winner" text, "Score" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the score on 1978-12-16 ### Response:
SELECT "Score" FROM table_11951 WHERE "Date" = '1978-12-16'
### Instruction: CREATE TABLE table_204_779 ( id number, "network name" text, "flagship" text, "programming type" text, "owner" text, "affiliates" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many networks does tv azteca own ? ### Resp...
SELECT COUNT("network name") FROM table_204_779 WHERE "owner" = 'tv azteca'
### Instruction: CREATE TABLE table_45405 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the location with a record of 50-19? ### Response:
SELECT "Location" FROM table_45405 WHERE "Record" = '50-19'
### Instruction: CREATE TABLE table_34696 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was the record 21-26? ### Response:
SELECT "Date" FROM table_34696 WHERE "Record" = '21-26'
### Instruction: CREATE TABLE table_204_793 ( id number, "call-sign" text, "location" text, "rf" number, "psip" number, "programming" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which 2 stations both have faith ministries radio ? ### Respon...
SELECT "call-sign" FROM table_204_793 WHERE "programming" = 'faith ministries radio'
### Instruction: CREATE TABLE table_27833469_1 ( series__number VARCHAR, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many series numbers are there when there were 15.8 u.s. viewers (millions)? ### Response:
SELECT COUNT(series__number) FROM table_27833469_1 WHERE us_viewers__millions_ = "15.8"
### Instruction: CREATE TABLE table_5183 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Opponent of chicago bulls had what location? ### Response:
SELECT "Location" FROM table_5183 WHERE "Opponent" = 'chicago bulls'
### Instruction: CREATE TABLE table_1473672_9 ( college_junior_club_team VARCHAR, nhl_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the college/junior/club team with nhl team being california golden seals ### Response:
SELECT college_junior_club_team FROM table_1473672_9 WHERE nhl_team = "California Golden Seals"
### Instruction: CREATE TABLE table_79767 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent plays on September 19? ### Response:
SELECT "Opponent" FROM table_79767 WHERE "Date" = 'september 19'
### Instruction: CREATE TABLE table_32119 ( "Year" real, "Team" text, "Make" text, "Engine" text, "Class" text, "Rank" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the class with rank of 89th ### Response:
SELECT "Class" FROM table_32119 WHERE "Rank" = '89th'
### Instruction: CREATE TABLE table_56361 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/junior/club team (league)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Kent Patterson's nationality? ### Response:
SELECT "Nationality" FROM table_56361 WHERE "Player" = 'kent patterson'
### Instruction: CREATE TABLE table_10408617_5 ( bts_retail_price__regulated_ VARCHAR, tariff_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the bts retail price (regulated) for tariff code g10? ### Response:
SELECT bts_retail_price__regulated_ FROM table_10408617_5 WHERE tariff_code = "g10"
### Instruction: CREATE TABLE table_28889 ( "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 Samuel Smith's party? ### Response:
SELECT "Party" FROM table_28889 WHERE "Incumbent" = 'Samuel Smith'
### Instruction: CREATE TABLE table_48683 ( "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 Surface of the Court in Napoli? ### Response:
SELECT "Surface" FROM table_48683 WHERE "Tournament" = 'napoli'
### Instruction: CREATE TABLE table_69274 ( "Date" text, "Visiting Team" text, "Final Score" text, "Host Team" text, "Stadium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What game had the date was it with the final score of 7-23 ### Response:
SELECT "Date" FROM table_69274 WHERE "Final Score" = '7-23'
### Instruction: CREATE TABLE table_68453 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score in the match against Kim Tiilikainen? ### Response:
SELECT "Score" FROM table_68453 WHERE "Opponent" = 'kim tiilikainen'
### Instruction: CREATE TABLE table_24725951_1 ( directed_and_produced_by VARCHAR, celebrities VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List directors and producers when the celebrities involved were Bill Turnbull and Louise Minchin. ### Response:
SELECT directed_and_produced_by FROM table_24725951_1 WHERE celebrities = "Bill Turnbull and Louise Minchin"
### Instruction: CREATE TABLE table_name_70 ( wins VARCHAR, central_murray VARCHAR, draws VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of wins of the central murray of koondrook-barham, which has more than 0 draws? ### Respon...
SELECT COUNT(wins) FROM table_name_70 WHERE central_murray = "koondrook-barham" AND draws > 0
### Instruction: CREATE TABLE table_17089 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are all the positions of players who's hometown is concord, california ### Re...
SELECT "Position" FROM table_17089 WHERE "Hometown" = 'Concord, California'
### Instruction: CREATE TABLE table_18600760_2 ( pop__2010_ VARCHAR, water__sqmi_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many townships where pop (2010) and ater is 0.818 ### Response:
SELECT COUNT(pop__2010_) FROM table_18600760_2 WHERE water__sqmi_ = "0.818"
### Instruction: CREATE TABLE table_68116 ( "Player" text, "Overs" real, "Figures" text, "Opponent" text, "Ground" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- At which ground did Dirk Nannes have a figure of 4/23? ### Response:
SELECT "Ground" FROM table_68116 WHERE "Figures" = '4/23'
### Instruction: CREATE TABLE table_name_77 ( sound VARCHAR, publisher VARCHAR, language VARCHAR, classifaction VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What sound has cantonese as the language, N/A as the classification, and spectrum dvd as th...
SELECT sound FROM table_name_77 WHERE language = "cantonese" AND classifaction = "n/a" AND publisher = "spectrum dvd"
### Instruction: CREATE TABLE table_name_51 ( candidates_nominated INTEGER, date VARCHAR, votes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many candidates were nominated in 1952 with under 305,133 votes? ### Response:
SELECT SUM(candidates_nominated) FROM table_name_51 WHERE date = "1952" AND votes < 305 OFFSET 133
### Instruction: CREATE TABLE table_17248 ( "Full Name" text, "Nickname" text, "Gender" text, "Weight at birth" text, "Meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nickname that means god holds my life? ### Response:
SELECT "Nickname" FROM table_17248 WHERE "Meaning" = 'God Holds My Life'
### Instruction: CREATE TABLE table_203_672 ( id number, "week" number, "date" text, "opponent" text, "result" text, "venue" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which was the last team played ? ### Response:...
SELECT "opponent" FROM table_203_672 ORDER BY "date" DESC LIMIT 1
### Instruction: CREATE TABLE table_46808 ( "Team 1" text, "Score" text, "Team 2" text, "1st round" text, "2nd round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Team 2, when Score is 2 - 1? ### Response:
SELECT "Team 2" FROM table_46808 WHERE "Score" = '2 - 1'
### Instruction: CREATE TABLE table_76831 ( "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 status of the Eng Country from the Maynard name? ### Response...
SELECT "Status" FROM table_76831 WHERE "Country" = 'eng' AND "Name" = 'maynard'
### Instruction: CREATE TABLE table_16756 ( "#" real, "Race Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many dates have silverstone circuit ...
SELECT COUNT("Date") FROM table_16756 WHERE "Circuit" = 'Silverstone'
### Instruction: CREATE TABLE table_name_57 ( evening_gown VARCHAR, swimsuit VARCHAR, average VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which is the total number of evening gowns for swimsui less than 9.36 and average less than 9.23? ### Response:...
SELECT COUNT(evening_gown) FROM table_name_57 WHERE swimsuit < 9.36 AND average < 9.23
### Instruction: CREATE TABLE table_name_33 ( to_par VARCHAR, money___$__ VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of To Par, when Money ( $ ) is less than 387, and when Player is 'Al Brosch'? ### Response...
SELECT COUNT(to_par) FROM table_name_33 WHERE money___$__ < 387 AND player = "al brosch"
### Instruction: CREATE TABLE table_20597634_3 ( poll_source VARCHAR, scott_mcadams__d_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 30% is scott mcadams (d) percentage how many poll sources are there? ### Response:
SELECT COUNT(poll_source) FROM table_20597634_3 WHERE scott_mcadams__d_ = "30%"
### Instruction: CREATE TABLE table_41325 ( "Season" text, "Division" text, "Finish" text, "Wins" text, "Losses" text, "Pct." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Finish of 28 Wins? ### Response:
SELECT "Finish" FROM table_41325 WHERE "Wins" = '28'
### Instruction: CREATE TABLE table_77673 ( "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 is the record on December 4? ### Response:...
SELECT "Record" FROM table_77673 WHERE "Date" = 'december 4'
### Instruction: CREATE TABLE table_49570 ( "Location" text, "Year" real, "Champion" text, "Runner-up" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the champion with a score of 7 6, 6 0? ### Response:
SELECT "Champion" FROM table_49570 WHERE "Score" = '7–6, 6–0'
### Instruction: CREATE TABLE table_78644 ( "Battle" text, "Date" text, "Bulgarian Commander" text, "Latin Commander" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Bulgarian Commander of the Battle of Rusion? ### Respon...
SELECT "Bulgarian Commander" FROM table_78644 WHERE "Battle" = 'battle of rusion'
### Instruction: CREATE TABLE table_203_657 ( id number, "call sign" text, "frequency" text, "city of license" text, "licensee" text, "format" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many radio stations are there in grand junction ? ...
SELECT COUNT(*) FROM table_203_657 WHERE "city of license" = 'grand junction'
### Instruction: CREATE TABLE table_69774 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game that had a record of 52 103? ### Response:
SELECT "Score" FROM table_69774 WHERE "Record" = '52–103'
### Instruction: CREATE TABLE table_name_24 ( attendance INTEGER, record VARCHAR, average VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the mean attendance number when the record is 12-4 and the average is less than 10,027? ### Response:
SELECT AVG(attendance) FROM table_name_24 WHERE record = "12-4" AND average < 10 OFFSET 027