instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_39773 ( "Date" text, "Cover model" text, "Centerfold model" text, "20 Questions" text, "Pictorials" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which Cover model has a Centerfold model of jennifer walcott? ### Response:
SELECT "Cover model" FROM table_39773 WHERE "Centerfold model" = 'jennifer walcott'
### Instruction: CREATE TABLE products ( code number, name text, price number, manufacturer number ) CREATE TABLE manufacturers ( code number, name text, headquarter text, founder text, revenue number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the total revenue created by the companies whose headquarter is located at Austin. ### Response:
SELECT SUM(revenue) FROM manufacturers WHERE headquarter = 'Austin'
### Instruction: CREATE TABLE table_50744 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date of the RCA release with Catalog number SF-7635? ### Response:
SELECT "Date" FROM table_50744 WHERE "Label" = 'rca' AND "Catalog" = 'sf-7635'
### Instruction: CREATE TABLE table_70108 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which year did Ray Crawford the Kurtis Kraft 500g chassis? ### Response:
SELECT "Year" FROM table_70108 WHERE "Chassis" = 'kurtis kraft 500g'
### Instruction: CREATE TABLE table_79377 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest rank for the team that raced a time of 6:50.40? ### Response:
SELECT MAX("Rank") FROM table_79377 WHERE "Time" = '6:50.40'
### Instruction: CREATE TABLE table_55714 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many laps did mike spence complete grids above 12? ### Response:
SELECT COUNT("Laps") FROM table_55714 WHERE "Driver" = 'mike spence' AND "Grid" > '12'
### Instruction: CREATE TABLE table_13364 ( "Player" text, "Games" real, "Comp" real, "Yards" real, "Rating" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average rating for john kidd with more than 0 yards? ### Response:
SELECT AVG("Rating") FROM table_13364 WHERE "Player" = 'john kidd' AND "Yards" > '0'
### Instruction: CREATE TABLE table_63412 ( "Year" text, "Matches" real, "Tries" real, "Goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many goals have 28 as the points, and matches greater than 11? ### Response:
SELECT COUNT("Goals") FROM table_63412 WHERE "Points" = '28' AND "Matches" > '11'
### Instruction: CREATE TABLE table_48180 ( "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 date is 1995-08-06? ### Response:
SELECT "Competition" FROM table_48180 WHERE "Date" = '1995-08-06'
### Instruction: CREATE TABLE table_20170 ( "Round" real, "Choice" real, "Player name" text, "Position" text, "Height" text, "Weight" real, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college did jeremy zuttah attend? ### Response:
SELECT "College" FROM table_20170 WHERE "Player name" = 'Jeremy Zuttah'
### Instruction: CREATE TABLE table_49855 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the total was smaller than 290, what was the highest To par? ### Response:
SELECT MAX("To par") FROM table_49855 WHERE "Total" < '290'
### Instruction: CREATE TABLE table_35109 ( "Callsign" text, "Area served" text, "Frequency" text, "Band" text, "Freq currently" text, "Purpose" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which freq currently has 0 657? ### Response:
SELECT "Freq currently" FROM table_35109 WHERE "Frequency" = '0 657'
### Instruction: CREATE TABLE table_24065 ( "Episode" text, "Broadcast date" text, "Run time" text, "Viewers (in millions)" text, "Archive" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the archive for the episode with a run time of 25:24? ### Response:
SELECT "Archive" FROM table_24065 WHERE "Run time" = '25:24'
### Instruction: CREATE TABLE table_40168 ( "Week" text, "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 did the Texan's play on Week 4? ### Response:
SELECT "Opponent" FROM table_40168 WHERE "Week" = '4'
### Instruction: CREATE TABLE table_name_14 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the listing for 1992 when 1999 is more than 1, 2008 is less than 2 and 2003 is less than 2? ### Response:
SELECT SUM(1992) FROM table_name_14 WHERE 1999 > 1 AND 2008 < 2 AND 2003 < 2
### Instruction: CREATE TABLE table_2129 ( "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. -- What is Michael and Melanie's rank? ### Response:
SELECT "Rank" FROM table_2129 WHERE "Couple" = 'Michael and Melanie'
### Instruction: CREATE TABLE table_53308 ( "Date" text, "Competition" text, "Venue" text, "Result" text, "Score" text, "Goals" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the game that had a final score of 30-20? ### Response:
SELECT "Venue" FROM table_53308 WHERE "Score" = '30-20'
### Instruction: CREATE TABLE table_63416 ( "Rider" text, "Bike" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Rider has less than 18 laps, and a Grid of 24? ### Response:
SELECT "Rider" FROM table_63416 WHERE "Laps" < '18' AND "Grid" = '24'
### Instruction: CREATE TABLE table_34776 ( "Nation" text, "Skip" text, "Third" text, "Second" text, "Lead" text, "Alternate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the lead for the team with Christina Haller as alternate? ### Response:
SELECT "Lead" FROM table_34776 WHERE "Alternate" = 'christina haller'
### Instruction: CREATE TABLE table_40706 ( "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 Runner(s)-up, when Tournament is MCI Classic? ### Response:
SELECT "Runner(s)-up" FROM table_40706 WHERE "Tournament" = 'mci classic'
### Instruction: CREATE TABLE table_38315 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the attendance of the match with a record 20-11? ### Response:
SELECT "Attendance" FROM table_38315 WHERE "Record" = '20-11'
### Instruction: CREATE TABLE table_51102 ( "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 during the november 16, 1975 game? ### Response:
SELECT MAX("Attendance") FROM table_51102 WHERE "Date" = 'november 16, 1975'
### Instruction: CREATE TABLE table_67521 ( "Driver" text, "Constructor" text, "Laps" text, "Time/Retired" text, "Grid" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many laps were there when the Time/Retired was +14.403? ### Response:
SELECT "Laps" FROM table_67521 WHERE "Time/Retired" = '+14.403'
### Instruction: CREATE TABLE table_name_45 ( date VARCHAR, athlete VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date when yelena isinbayeva was the Athlete, with a Record of 4.90m(16ft0 in)? ### Response:
SELECT date FROM table_name_45 WHERE athlete = "yelena isinbayeva" AND record = "4.90m(16ft0¾in)"
### Instruction: CREATE TABLE table_74925 ( "Game #" real, "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score when the record was 5-4-2? ### Response:
SELECT "Score" FROM table_74925 WHERE "Record" = '5-4-2'
### Instruction: CREATE TABLE table_11943 ( "Year" real, "Award" text, "Category" text, "Nominee" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what year was Terry Johnson nominated for a Tony award? ### Response:
SELECT COUNT("Year") FROM table_11943 WHERE "Award" = 'tony award' AND "Nominee" = 'terry johnson'
### Instruction: CREATE TABLE table_5778 ( "Outcome" text, "Date" text, "Surface" text, "Partner" text, "Opponent in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Surface has a Partner of oliver marach? ### Response:
SELECT "Surface" FROM table_5778 WHERE "Partner" = 'oliver marach'
### Instruction: CREATE TABLE table_24059 ( "Episode No." real, "Title" text, "Directed by" text, "Written by" text, "Viewers (millions)" text, "Original airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did 'Going Bodmin' originally air? ### Response:
SELECT "Original airdate" FROM table_24059 WHERE "Title" = 'Going Bodmin'
### Instruction: CREATE TABLE table_75887 ( "Heat" real, "Lane" real, "Name" text, "Country" text, "Mark" text, "React" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Mark, when Name is Dmytro Hlushchenko? ### Response:
SELECT "Mark" FROM table_75887 WHERE "Name" = 'dmytro hlushchenko'
### Instruction: CREATE TABLE table_50962 ( "Title" text, "Parent magazine" text, "Magazine type" text, "Frequency" text, "Magazine run" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the parent magazine of Dengeki g's festival! deluxe? ### Response:
SELECT "Parent magazine" FROM table_50962 WHERE "Title" = 'dengeki g''s festival! deluxe'
### Instruction: CREATE TABLE table_2550 ( "Season" text, "Player" text, "Nationality" text, "Team" text, "Points" real, "Average" text, "Played" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games were played in the 1989 season? ### Response:
SELECT "Played" FROM table_2550 WHERE "Season" = '1989'
### Instruction: CREATE TABLE table_8047 ( "Name" text, "Death" text, "Assumed Office" text, "Left Office" text, "Years in office" text, "Monarch" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the monarch that left office circa 1886? ### Response:
SELECT "Monarch" FROM table_8047 WHERE "Left Office" = 'circa 1886'
### Instruction: CREATE TABLE table_36408 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many losses have more than 45,036 attendance? ### Response:
SELECT "Loss" FROM table_36408 WHERE "Attendance" > '45,036'
### Instruction: CREATE TABLE table_29175 ( "Team" text, "Stadium" text, "Capacity" real, "Total" real, "Highest" real, "Lowest" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total attendance at rugby park? ### Response:
SELECT "Total" FROM table_29175 WHERE "Stadium" = 'Rugby Park'
### Instruction: CREATE TABLE table_11545282_5 ( player VARCHAR, years_for_jazz VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player played the years for Jazz in 1995-2000, 2004-05 ### Response:
SELECT player FROM table_11545282_5 WHERE years_for_jazz = "1995-2000, 2004-05"
### Instruction: CREATE TABLE table_204_320 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many nations won more than 2 gold medals ? ### Response:
SELECT COUNT("nation") FROM table_204_320 WHERE "gold" > 2
### Instruction: CREATE TABLE table_24533 ( "No. in total" text, "No. in series" text, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What number in series is 'Diamonds'? ### Response:
SELECT "No. in series" FROM table_24533 WHERE "Title" = 'Diamonds'
### Instruction: CREATE TABLE table_36343 ( "Wind Farm" text, "Scheduled" text, "Capacity (MW)" real, "Turbines" real, "Type" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When is the scheduled date for the farm having 17 turbines? ### Response:
SELECT "Scheduled" FROM table_36343 WHERE "Turbines" = '17'
### Instruction: CREATE TABLE table_15894 ( "Player" text, "Years Played" text, "Total W-L" text, "Singles W-L" text, "Doubles W-L" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what years are played for player im chung-yang ### Response:
SELECT "Years Played" FROM table_15894 WHERE "Player" = 'Im Chung-Yang'
### Instruction: CREATE TABLE table_66900 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the engine for year less than 1959 and points more than 4? ### Response:
SELECT "Engine" FROM table_66900 WHERE "Year" < '1959' AND "Points" > '4'
### Instruction: CREATE TABLE table_name_15 ( venue VARCHAR, batting_team VARCHAR, batting_partners VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what venue was the Batting team India who featured partners Sachin Tendulkar and Rahul Dravid? ### Response:
SELECT venue FROM table_name_15 WHERE batting_team = "india" AND batting_partners = "sachin tendulkar and rahul dravid"
### Instruction: CREATE TABLE table_204_902 ( id number, "rank" number, "name" text, "nationality" text, "time" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long was the jamaica time for rank 1 ? ### Response:
SELECT "time" FROM table_204_902 WHERE "nationality" = 'jamaica' AND "rank" = 1
### Instruction: CREATE TABLE table_24172157_3 ( incoming_manager VARCHAR, outgoing_manager VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many incoming managers were there after Roy Hodgson left the position for the Fulham team? ### Response:
SELECT COUNT(incoming_manager) FROM table_24172157_3 WHERE outgoing_manager = "Roy Hodgson" AND team = "Fulham"
### Instruction: CREATE TABLE table_63072 ( "Frequency" text, "Call sign" text, "Branding" text, "Format" text, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the format for the radio with a frequency of 00 96.3 fm? ### Response:
SELECT "Format" FROM table_63072 WHERE "Frequency" = '00 96.3 fm'
### Instruction: CREATE TABLE table_203_506 ( id number, "opponent" text, "played" number, "won" number, "lost" number, "drawn" number, "% won overall" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the total number of countries that the england women 's rfu played against ? ### Response:
SELECT COUNT("opponent") FROM table_203_506
### Instruction: CREATE TABLE table_17098 ( "Year" text, "Player" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times was the player felipe lopez? ### Response:
SELECT COUNT("NBA Draft") FROM table_17098 WHERE "Player" = 'Felipe Lopez'
### Instruction: CREATE TABLE table_43755 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Hole" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many holes did Mike Reid from United States have? ### Response:
SELECT "Hole" FROM table_43755 WHERE "Country" = 'united states' AND "Player" = 'mike reid'
### Instruction: CREATE TABLE table_70504 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Chassis that has the Entrant of trivellato racing team? ### Response:
SELECT "Chassis" FROM table_70504 WHERE "Entrant" = 'trivellato racing team'
### Instruction: CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the average age for a male in each job? ### Response:
SELECT job, AVG(age) FROM Person WHERE gender = 'male' GROUP BY job
### Instruction: CREATE TABLE table_name_1 ( bronze VARCHAR, total VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Gold of 0, and a Silver smaller than 3, and a Rank larger than 9, and a Total of 1 has how many numbers of bronze? ### Response:
SELECT COUNT(bronze) FROM table_name_1 WHERE gold = 0 AND silver < 3 AND rank > 9 AND total = 1
### Instruction: CREATE TABLE table_72437 ( "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 political party for burton e. sweet? ### Response:
SELECT "Party" FROM table_72437 WHERE "Incumbent" = 'Burton E. Sweet'
### Instruction: CREATE TABLE table_12886178_5 ( tries_for VARCHAR, tries_against VARCHAR, losing_bonus VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many clubs have a tries against count of 45 and a losing bonus of 4? ### Response:
SELECT COUNT(tries_for) FROM table_12886178_5 WHERE tries_against = "45" AND losing_bonus = "4"
### Instruction: CREATE TABLE table_52714 ( "Name" text, "Took Office" text, "Left Office" text, "Party" text, "District Residence" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a Took Office of march 4, 1903? ### Response:
SELECT "Name" FROM table_52714 WHERE "Took Office" = 'march 4, 1903'
### Instruction: CREATE TABLE table_72464 ( "Name" text, "First operational" text, "Numeral system" text, "Computing mechanism" text, "Programming" text, "Turing complete" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the turing complete with numeral system being decimal ### Response:
SELECT "Turing complete" FROM table_72464 WHERE "Numeral system" = 'Decimal'
### Instruction: CREATE TABLE table_47616 ( "Tournament" text, "Surface" text, "Week" text, "Winner" text, "Runner-up" text, "Semifinalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Runner-up on April 11? ### Response:
SELECT "Runner-up" FROM table_47616 WHERE "Week" = 'april 11'
### Instruction: CREATE TABLE table_68038 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the authority for coed gender and chanel college ### Response:
SELECT "Authority" FROM table_68038 WHERE "Gender" = 'coed' AND "Name" = 'chanel college'
### Instruction: CREATE TABLE table_22119 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the incumbent in the Washington 1 district? ### Response:
SELECT "Incumbent" FROM table_22119 WHERE "District" = 'Washington 1'
### Instruction: CREATE TABLE table_27602 ( "#" real, "Name" text, "Position" text, "Height" text, "Weight" real, "Year" text, "Home Town" text, "Last School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number for florida air academy ### Response:
SELECT "#" FROM table_27602 WHERE "Last School" = 'Florida Air Academy'
### Instruction: CREATE TABLE table_67672 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the loss of the game when the record was 27-17? ### Response:
SELECT "Loss" FROM table_67672 WHERE "Record" = '27-17'
### Instruction: CREATE TABLE table_name_23 ( top_25 VARCHAR, events VARCHAR, wins VARCHAR, cuts_made VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of top-25s for tournaments that had 0 wins, 1 cut made, and more than 5 events? ### Response:
SELECT COUNT(top_25) FROM table_name_23 WHERE wins = 0 AND cuts_made = 1 AND events > 5
### Instruction: CREATE TABLE table_72043 ( "Medal" text, "Name" text, "Games" text, "Sport" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who received the bronze medal in the 2000 Sydney games? ### Response:
SELECT "Name" FROM table_72043 WHERE "Medal" = 'bronze' AND "Games" = '2000 sydney'
### Instruction: CREATE TABLE table_59128 ( "Week 1" text, "Week 2" text, "Week 3" text, "Week 4" text, "Week 5" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what kind of Week 5 that has a Week 1 of mandy ashford? ### Response:
SELECT "Week 5" FROM table_59128 WHERE "Week 1" = 'mandy ashford'
### Instruction: CREATE TABLE table_23907 ( "School" text, "Location(s)" text, "Control" text, "Type" text, "Accreditation" text, "Founded" text, "Enrollment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was Hartland College founded? ### Response:
SELECT "Founded" FROM table_23907 WHERE "School" = 'Hartland College'
### Instruction: CREATE TABLE table_28586 ( "District" text, "Incumbent" text, "Party" text, "Elected" real, "Status" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result for the district with an election in 1986 ### Response:
SELECT "Result" FROM table_28586 WHERE "Elected" = '1986'
### Instruction: CREATE TABLE table_14254419_3 ( elementary_schools VARCHAR, principal__2013_2014_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which elementary schools list Cort Monroe as the principal from 2013 to 2014? ### Response:
SELECT elementary_schools FROM table_14254419_3 WHERE principal__2013_2014_ = "Cort Monroe"
### Instruction: CREATE TABLE table_54514 ( "Year" real, "Winner" text, "Jockey" text, "Trainer" text, "Owner" text, "Distance (Miles)" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was Jeff Mullins? ### Response:
SELECT MIN("Year") FROM table_54514 WHERE "Trainer" = 'jeff mullins'
### Instruction: CREATE TABLE table_76050 ( "Round" text, "Main date" text, "Number of fixtures" real, "Clubs" text, "New entries this round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the New entries this round when the round is the semi-finals? ### Response:
SELECT "New entries this round" FROM table_76050 WHERE "Round" = 'semi-finals'
### Instruction: CREATE TABLE table_61595 ( "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 to par for the 68-72-73=213 score? ### Response:
SELECT "To par" FROM table_61595 WHERE "Score" = '68-72-73=213'
### Instruction: CREATE TABLE table_5380 ( "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 Attendance is the highest one that has a Record of 15-28? ### Response:
SELECT MAX("Attendance") FROM table_5380 WHERE "Record" = '15-28'
### Instruction: CREATE TABLE table_65652 ( "Name" text, "Height" text, "Weight" text, "Spike" text, "2008 club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the spike for the 2008 club Zenit Kazan? ### Response:
SELECT "Spike" FROM table_65652 WHERE "2008 club" = 'zenit kazan'
### Instruction: CREATE TABLE table_name_8 ( republican_ticket VARCHAR, communist_ticket VARCHAR, socialist_ticket VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the Republican ticket with a Communist ticket of (none), and a Socialist ticket of joseph g. glass? ### Response:
SELECT republican_ticket FROM table_name_8 WHERE communist_ticket = "(none)" AND socialist_ticket = "joseph g. glass"
### Instruction: CREATE TABLE table_12126 ( "Opposing Teams" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the against for 17/02/1979? ### Response:
SELECT "Against" FROM table_12126 WHERE "Date" = '17/02/1979'
### Instruction: CREATE TABLE table_204_374 ( id number, "event" text, "gold" number, "silver" number, "bronze" number, "total" number, "ranking" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many paralymics had at most 9 medals ? ### Response:
SELECT COUNT("event") FROM table_204_374 WHERE "total" <= 9
### Instruction: CREATE TABLE table_1155 ( "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. -- Where was the game against Atlanta Falcons held? ### Response:
SELECT "Game Site" FROM table_1155 WHERE "Opponent" = 'Atlanta Falcons'
### Instruction: CREATE TABLE table_64668 ( "Year" real, "Tournament" text, "Venue" text, "Discipline" text, "Result" text, "Extra" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue has an extra of 45.08 S? ### Response:
SELECT "Venue" FROM table_64668 WHERE "Extra" = '45.08 s'
### Instruction: CREATE TABLE table_204_959 ( id number, "club" text, "founded" number, "nickname" text, "location" text, "home ground" text, "entered competition" number, "most recent promotion" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of clubs in division 1 ? ### Response:
SELECT COUNT("club") FROM table_204_959
### Instruction: CREATE TABLE table_79027 ( "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 score on 2 October 2011? ### Response:
SELECT "Score" FROM table_79027 WHERE "Date" = '2 october 2011'
### Instruction: CREATE TABLE table_71729 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for the December 11 game against the Ottawa Senators? ### Response:
SELECT "Score" FROM table_71729 WHERE "Visitor" = 'ottawa senators' AND "Date" = 'december 11'
### Instruction: CREATE TABLE table_1686 ( "Episode" text, "First broadcast" text, "Graemes guest" text, "Jeremys guest" text, "Votes (%)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of the episode where maria mcerlane where gramer guest ### Response:
SELECT "Episode" FROM table_1686 WHERE "Graemes guest" = 'Maria McErlane'
### Instruction: CREATE TABLE table_80248 ( "Character(s)" text, "First Appearance" text, "Cover Date" text, "Publisher" text, "Estimated Value" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which character first appeared in Amazing Fantasy #15? ### Response:
SELECT "Character(s)" FROM table_80248 WHERE "First Appearance" = 'amazing fantasy #15'
### Instruction: CREATE TABLE table_64001 ( "Hampden FL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Byes have Losses smaller than 4? ### Response:
SELECT AVG("Byes") FROM table_64001 WHERE "Losses" < '4'
### Instruction: CREATE TABLE table_28942 ( "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. -- Name the incumbent for virginia 4 ### Response:
SELECT "Incumbent" FROM table_28942 WHERE "District" = 'Virginia 4'
### Instruction: CREATE TABLE table_34218 ( "Callsign" text, "Area served" text, "Frequency" text, "Band" text, "On-air ID" text, "Purpose" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the callsign whtat uses 7bu? ### Response:
SELECT "Callsign" FROM table_34218 WHERE "On-air ID" = '7bu'
### Instruction: CREATE TABLE table_204_789 ( id number, "plant name" text, "location" text, "country" text, "startup date" number, "capacity (mmtpa)" text, "corporation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which plant is the oldest ? ### Response:
SELECT "plant name" FROM table_204_789 ORDER BY "startup date" LIMIT 1
### Instruction: CREATE TABLE table_28982 ( "Episode Number" real, "Air Date" text, "Guests" text, "Three Darts Challenge" text, "Musical Performance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What musical performances aired on 5 April 2010? ### Response:
SELECT "Musical Performance" FROM table_28982 WHERE "Air Date" = '5 April 2010'
### Instruction: CREATE TABLE table_name_57 ( total INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Total with a Rank that is smaller than 4 and a Nation of tunisia (tun) with a Gold that is smaller than 2? ### Response:
SELECT MAX(total) FROM table_name_57 WHERE rank < 4 AND nation = "tunisia (tun)" AND gold < 2
### Instruction: CREATE TABLE table_79424 ( "Date" text, "Internet Explorer" text, "Firefox" text, "Safari" text, "Opera" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What percentage of browsers were using Safari during the period in which 31.27% were using Firefox? ### Response:
SELECT "Safari" FROM table_79424 WHERE "Firefox" = '31.27%'
### Instruction: CREATE TABLE table_22078972_2 ( no_in_series INTEGER, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the series number of the episode seen by 17.04 million people in the US? ### Response:
SELECT MAX(no_in_series) FROM table_22078972_2 WHERE us_viewers__millions_ = "17.04"
### Instruction: CREATE TABLE table_204_28 ( id number, "election" text, "name of the party/alliance" text, "number of votes" number, "percentage" text, "seats in the parliament" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long from the first election date did the elections go on ? ### Response:
SELECT MAX("election") - MIN("election") FROM table_204_28
### Instruction: CREATE TABLE table_30287 ( "Religion" text, "Births" real, "Conversions" text, "New adherents per year" real, "Growth rate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the new adherents per year for buddhism ### Response:
SELECT "New adherents per year" FROM table_30287 WHERE "Religion" = 'Buddhism'
### Instruction: CREATE TABLE table_203_306 ( id number, "no." number, "title" text, "directed by" text, "written by" text, "original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which month aired the most episodes according to this chart ? ### Response:
SELECT "original air date" FROM table_203_306 GROUP BY "original air date" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_name_3 ( island VARCHAR, area___ha__ VARCHAR, population VARCHAR, height__m_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What island has a population over 76, a height over 210, and an area larger than 12068? ### Response:
SELECT island FROM table_name_3 WHERE population > 76 AND height__m_ > 210 AND area___ha__ > 12068
### Instruction: CREATE TABLE table_13320 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Meagen Nay's rank with a lane greater than 5? ### Response:
SELECT SUM("Rank") FROM table_13320 WHERE "Name" = 'meagen nay' AND "Lane" > '5'
### Instruction: CREATE TABLE table_29302781_12 ( semifinalists VARCHAR, week_of VARCHAR, runner_up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the semifinalists in the week of 13 November when the runner-up was Pat Du Pr ? ### Response:
SELECT semifinalists FROM table_29302781_12 WHERE week_of = "13 November" AND runner_up = "Pat Du Pré"
### Instruction: CREATE TABLE table_67759 ( "Year" real, "Pick" text, "Player name" text, "College" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which College has a Year smaller than 1962, and a Position of rb? ### Response:
SELECT "College" FROM table_67759 WHERE "Year" < '1962' AND "Position" = 'rb'
### Instruction: CREATE TABLE table_204_344 ( id number, "player" text, "games played" number, "field goals" number, "free throws" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who got two points in the leas amount of games played ? ### Response:
SELECT "player" FROM table_204_344 WHERE "points" = 2 ORDER BY "games played" LIMIT 1
### Instruction: CREATE TABLE table_23759 ( "Player" text, "Starts" real, "Cuts made" real, "Best finish" text, "Money list rank" real, "Earnings ($)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of entries for Leif Olson? ### Response:
SELECT COUNT("Starts") FROM table_23759 WHERE "Player" = 'Leif Olson'
### Instruction: CREATE TABLE CLASS ( prof_num VARCHAR ) CREATE TABLE employee ( emp_fname VARCHAR, emp_num VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the first names of professors who are teaching more than one class. ### Response:
SELECT T2.emp_fname FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num GROUP BY T1.prof_num HAVING COUNT(*) > 1
### Instruction: CREATE TABLE table_25579 ( "Institution" text, "Nickname" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real, "Left" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the school that is private ### Response:
SELECT "Institution" FROM table_25579 WHERE "Type" = 'Private'
### Instruction: CREATE TABLE table_56416 ( "Season" text, "Cup FinalDate" text, "WinningTeam" text, "Score" text, "LosingTeam" text, "Cup Final Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team beat the Newcastle Breakers? ### Response:
SELECT "WinningTeam" FROM table_56416 WHERE "LosingTeam" = 'newcastle breakers'