instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_44244 ( "Name" text, "GP-GS" text, "Gain" real, "Loss" real, "Long" real, "Avg/G" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total of Loss which has an Avg/G of 8.4? ### Response:
SELECT COUNT("Loss") FROM table_44244 WHERE "Avg/G" = '8.4'
### Instruction: CREATE TABLE table_46500 ( "Railway" text, "Builder" text, "Built" real, "Wheels" text, "Location" text, "ObjectNumber" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Location has an ObjectNumber of 2005-7698? ### Response:
SELECT "Location" FROM table_46500 WHERE "ObjectNumber" = '2005-7698'
### Instruction: CREATE TABLE table_18217 ( "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 party did incumbent Stephen L. Neal belong to? ### Response:
SELECT "Party" FROM table_18217 WHERE "Incumbent" = 'Stephen L. Neal'
### Instruction: CREATE TABLE table_56875 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date where the away team is Richmond? ### Response:
SELECT "Date" FROM table_56875 WHERE "Away team" = 'richmond'
### Instruction: CREATE TABLE table_32526 ( "Year" real, "Name" text, "Date" text, "Stages" text, "Distance" text, "Winner" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year has the time of 55:29:20? ### Response:
SELECT COUNT("Year") FROM table_32526 WHERE "Time" = '55:29:20'
### Instruction: CREATE TABLE table_71094 ( "Election" text, "1st Member" text, "1st Party" text, "2nd Member" text, "2nd Party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the 1st party with a 1st member of John Willis Fleming? ### Response:
SELECT "1st Party" FROM table_71094 WHERE "1st Member" = 'john willis fleming'
### Instruction: CREATE TABLE table_18650 ( "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. -- Who are the candidates in the race where Wright Patman is the incumbent? ### Response:
SELECT "Candidates" FROM table_18650 WHERE "Incumbent" = 'Wright Patman'
### Instruction: CREATE TABLE table_name_25 ( chinese_name VARCHAR, type VARCHAR, tamil_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Chinese Type Chinese Name of the holiday with a Tamil Name of ( 3)? ### Response:
SELECT chinese_name FROM table_name_25 WHERE type = "chinese" AND tamil_name = "சந்திர புத்தாண்டு (தினம் 3)"
### Instruction: CREATE TABLE table_20132 ( "City of License /Market" text, "Station" text, "Channel TV ( DT )" text, "Years owned" text, "Current affiliation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which city of license/market plays 3 (26)? ### Response:
SELECT "City of License /Market" FROM table_20132 WHERE "Channel TV ( DT )" = '3 (26)'
### Instruction: CREATE TABLE table_58821 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which result has a Record of 16-6? ### Response:
SELECT "Res." FROM table_58821 WHERE "Record" = '16-6'
### Instruction: CREATE TABLE table_54167 ( "Pick #" real, "Player" text, "Nationality" text, "Position" text, "Team from" text, "League from" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What pick # has a team from Rimouski Oc anic? ### Response:
SELECT AVG("Pick #") FROM table_54167 WHERE "Team from" = 'rimouski océanic'
### Instruction: CREATE TABLE table_2562572_46 ( population__2011_ INTEGER, cyrillic_name_other_names VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the population in 2011 of the settlement with the cyrillic name of ? ### Response:
SELECT MAX(population__2011_) FROM table_2562572_46 WHERE cyrillic_name_other_names = "Ватин"
### Instruction: CREATE TABLE table_204_186 ( id number, "season" text, "tier" number, "division" text, "place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the finishing place of the team before the 2007-2008 ? ### Response:
SELECT "place" FROM table_204_186 WHERE "season" < '2007/08' ORDER BY "season" DESC LIMIT 1
### Instruction: CREATE TABLE table_34111 ( "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 lowest number of bronze medals received by a nation with fewer than 0 gold medals? ### Response:
SELECT MIN("Bronze") FROM table_34111 WHERE "Gold" < '0'
### Instruction: CREATE TABLE table_56304 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the Mariners game that had an attendance of 6,707? ### Response:
SELECT "Date" FROM table_56304 WHERE "Attendance" = '6,707'
### Instruction: CREATE TABLE table_43292 ( "Date" text, "Time" text, "Channel" text, "Running Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the notes of the transmission on channel bbc four and a time of 22:30? ### Response:
SELECT "Notes" FROM table_43292 WHERE "Channel" = 'bbc four' AND "Time" = '22:30'
### Instruction: CREATE TABLE table_24853015_1 ( round VARCHAR, class_d_winner VARCHAR, class_b_winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which round did Roy Salvadori won Class D and Alan Hutcheson won Class B? ### Response:
SELECT round FROM table_24853015_1 WHERE class_d_winner = "Roy Salvadori" AND class_b_winner = "Alan Hutcheson"
### Instruction: CREATE TABLE table_61790 ( "Sign" text, "Domicile" text, "Detriment" text, "Exaltation" text, "Fall" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which exaltation has a domicile of Saturn and Capricorn as a sign? ### Response:
SELECT "Exaltation" FROM table_61790 WHERE "Domicile" = 'saturn' AND "Sign" = 'capricorn'
### Instruction: CREATE TABLE table_60246 ( "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 Division Two team were champions as the same time the Premier Division Leominster town team were champs? ### Response:
SELECT "Division Two" FROM table_60246 WHERE "Premier Division" = 'leominster town'
### Instruction: CREATE TABLE table_71253 ( "Year" real, "Team" text, "Games" real, "Attempts" real, "Yards" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- After the 2013 season, what was the fewest number of games that Willis McGahee played in a single season? ### Response:
SELECT MIN("Games") FROM table_71253 WHERE "Year" > '2013'
### Instruction: CREATE TABLE table_10766 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did Geelong play as the home team? ### Response:
SELECT "Date" FROM table_10766 WHERE "Home team" = 'geelong'
### Instruction: CREATE TABLE table_20909 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original airdate" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What title was written by Matt Wayne? ### Response:
SELECT "Title" FROM table_20909 WHERE "Written by" = 'Matt Wayne'
### Instruction: CREATE TABLE table_203_28 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times did they place 1st after 2008 ? ### Response:
SELECT COUNT(*) FROM table_203_28 WHERE "position" = 1 AND "year" > 2008
### Instruction: CREATE TABLE table_204_521 ( id number, "rank" number, "name" text, "nationality" text, "time (hand)" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which competitor from united states had the longest time ? ### Response:
SELECT "name" FROM table_204_521 WHERE "nationality" = 'united states' ORDER BY "time (hand)" DESC LIMIT 1
### Instruction: CREATE TABLE table_54373 ( "Date" text, "Round" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance on 10 november 2004? ### Response:
SELECT AVG("Attendance") FROM table_54373 WHERE "Date" = '10 november 2004'
### Instruction: CREATE TABLE table_2562572_53 ( dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many dominant religions were in the settlement that had a population of 17105? ### Response:
SELECT COUNT(dominant_religion__2002_) FROM table_2562572_53 WHERE population__2011_ = 17105
### Instruction: CREATE TABLE table_63752 ( "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's Sara Isakovi 's lane number that had a heat of 3? ### Response:
SELECT SUM("Lane") FROM table_63752 WHERE "Heat" = '3' AND "Name" = 'sara isakovič'
### Instruction: CREATE TABLE table_10653 ( "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. -- What was the record on 6 April 2008? ### Response:
SELECT "Record" FROM table_10653 WHERE "Date" = '6 april 2008'
### Instruction: CREATE TABLE table_name_24 ( season VARCHAR, pos VARCHAR, head_coach VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which season led to a position of 13, and a head coach of Protasov Lyutyi Talalayev Balakhnin Baidachny? ### Response:
SELECT season FROM table_name_24 WHERE pos = 13 AND head_coach = "protasov lyutyi talalayev balakhnin baidachny"
### Instruction: CREATE TABLE table_29039 ( "Season" real, "Series" text, "Team Name" text, "Races" real, "Wins" real, "Poles" real, "Podiums" real, "Points" real, "Final Placing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest overall amount of wins? ### Response:
SELECT MIN("Wins") FROM table_29039
### Instruction: CREATE TABLE table_204_897 ( id number, "date" text, "opponent#" text, "rank#" text, "site" text, "tv" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of games played in teh 2010-2011 season ### Response:
SELECT COUNT(*) FROM table_204_897
### Instruction: CREATE TABLE track ( track_id number, name text, location text, seating number, year_opened number ) CREATE TABLE race ( race_id number, name text, class text, date text, track_id text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Return the minimum, maximum, and average seating across all tracks. ### Response:
SELECT MIN(seating), MAX(seating), AVG(seating) FROM track
### Instruction: CREATE TABLE table_40490 ( "Tournament" text, "2004" text, "2005" text, "2006" text, "2007" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 2006 has a 2007 of 3r? ### Response:
SELECT "2006" FROM table_40490 WHERE "2007" = '3r'
### Instruction: CREATE TABLE table_28091 ( "Entered [A ]" text, "Weeks in top 10" real, "Single" text, "Artist" text, "Peak" real, "Peak reached [A ]" text, "Weeks at number 1" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- error (see notes) ### Response:
SELECT MIN("Weeks at number 1") FROM table_28091
### Instruction: CREATE TABLE table_16540 ( "Year" real, "Title" text, "Format" text, "Studio" text, "Release Date" text, "Copyright Information" text, "Catalog Number" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The Catalog number is 80809 what is the title? ### Response:
SELECT "Title" FROM table_16540 WHERE "Catalog Number" = '80809'
### Instruction: CREATE TABLE table_6679 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Venue" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent at the game with a result of w 20-17? ### Response:
SELECT "Opponent" FROM table_6679 WHERE "Result" = 'w 20-17'
### Instruction: CREATE TABLE table_31311 ( "Date" text, "Competition" text, "Location" text, "Home Team" text, "Result" text, "Away Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the competitions when the away team was fk kozara gradiska? ### Response:
SELECT "Competition" FROM table_31311 WHERE "Away Team" = 'FK Kozara Gradiska'
### Instruction: CREATE TABLE table_18438 ( "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. -- When was James William Trimble first elected in the Arkansas 3 district? ### Response:
SELECT MIN("First elected") FROM table_18438 WHERE "District" = 'Arkansas 3'
### Instruction: CREATE TABLE table_14963 ( "Home" text, "Score" text, "Away" text, "Venue" text, "Golden point(s) scorer" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Score of Golden Point(s) scorer Adam Reynolds? ### Response:
SELECT "Score" FROM table_14963 WHERE "Golden point(s) scorer" = 'adam reynolds'
### Instruction: CREATE TABLE table_57024 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did Richmond play as the away team? ### Response:
SELECT "Venue" FROM table_57024 WHERE "Away team" = 'richmond'
### Instruction: CREATE TABLE table_name_15 ( play_offs INTEGER, total VARCHAR, league VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the mean number of play-offs when the league number was bigger than 18, where the player was John Grant and the total number was bigger than 25? ### Response:
SELECT AVG(play_offs) FROM table_name_15 WHERE league > 18 AND player = "john grant" AND total > 25
### Instruction: CREATE TABLE table_33318 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What home team played against St Kilda? ### Response:
SELECT "Home team" FROM table_33318 WHERE "Away team" = 'st kilda'
### Instruction: CREATE TABLE table_2631 ( "State (class)" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date of successors formal installation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the state class for isaac d. barnard (j) ### Response:
SELECT "State (class)" FROM table_2631 WHERE "Vacator" = 'Isaac D. Barnard (J)'
### Instruction: CREATE TABLE table_204_426 ( id number, "year" text, "division" number, "league" text, "regular season" text, "playoffs" text, "open cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the last year they came in 3rd place ### Response:
SELECT MAX("year") FROM table_204_426 WHERE "regular season" = '3rd, atlantic'
### Instruction: CREATE TABLE table_3602 ( "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 was the first elected year that featured incumbent andrew r. govan? ### Response:
SELECT "First elected" FROM table_3602 WHERE "Incumbent" = 'Andrew R. Govan'
### Instruction: CREATE TABLE table_15889 ( "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's the years played with singles w-l of 3 2 ### Response:
SELECT "Years Played" FROM table_15889 WHERE "Singles W-L" = '3–2'
### Instruction: CREATE TABLE table_69326 ( "Name" text, "Seasons" text, "Matches" real, "Inns" real, "Runs" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name of clem hill, and Inns larger than 126 has the lowest runs? ### Response:
SELECT MIN("Runs") FROM table_69326 WHERE "Name" = 'clem hill' AND "Inns" > '126'
### Instruction: CREATE TABLE table_37604 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Outcome has a Score of 6 2, 6 2? ### Response:
SELECT "Outcome" FROM table_37604 WHERE "Score" = '6–2, 6–2'
### Instruction: CREATE TABLE table_73986 ( "Name" text, "Park" text, "Length (ft)" real, "Height (ft)" real, "Speed (mph)" text, "Opened" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the length of the coaster with the unknown speed ### Response:
SELECT "Length (ft)" FROM table_73986 WHERE "Speed (mph)" = 'unknown'
### Instruction: CREATE TABLE table_42030 ( "Rank" real, "Mark" real, "Athlete" text, "Place" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the place of the rank 6 record, which has a mark greater than 91.29? ### Response:
SELECT "Place" FROM table_42030 WHERE "Mark" > '91.29' AND "Rank" = '6'
### Instruction: CREATE TABLE table_36157 ( "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 skip of the nation with Laurens van der Windt as the alternate? ### Response:
SELECT "Skip" FROM table_36157 WHERE "Alternate" = 'laurens van der windt'
### Instruction: CREATE TABLE table_51682 ( "Race" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the constructor for 10 august ### Response:
SELECT "Constructor" FROM table_51682 WHERE "Date" = '10 august'
### Instruction: CREATE TABLE table_20943 ( "Year" text, "Division" real, "League" text, "Regular Season" text, "Playoffs" text, "Open Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the league name for the regular season status of 2nd, mid atlantic? ### Response:
SELECT "League" FROM table_20943 WHERE "Regular Season" = '2nd, Mid Atlantic'
### Instruction: CREATE TABLE table_27124 ( "Name" text, "Team(s)" text, "Matches" real, "Balls bowled" real, "Wickets taken" real, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the averages for games with 212 wickets taken? ### Response:
SELECT "Average" FROM table_27124 WHERE "Wickets taken" = '212'
### Instruction: CREATE TABLE table_name_68 ( wins__total_ INTEGER, rank VARCHAR, wins__indoor_ VARCHAR, wins__outdoor_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most wins total with wins indoor of 0 and wins outdoor of 1 with rank less than 7 ### Response:
SELECT MAX(wins__total_) FROM table_name_68 WHERE wins__indoor_ = 0 AND wins__outdoor_ = 1 AND rank < 7
### Instruction: CREATE TABLE table_12496904_1 ( _2012 VARCHAR, population_august_15 VARCHAR, sector VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the sector of Gatunda how many entires are show for the August 15, 2012 population? ### Response:
SELECT COUNT(population_august_15), _2012 FROM table_12496904_1 WHERE sector = "Gatunda"
### Instruction: CREATE TABLE table_1832 ( "Country" text, "Mens Open" real, "Womens Open" real, "Mens Wheelchair" real, "Womens Wheelchair" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many won the Men's Open if the players are from Sweden? ### Response:
SELECT COUNT("Mens Open") FROM table_1832 WHERE "Country" = 'Sweden'
### Instruction: CREATE TABLE table_30061 ( "Dates" text, "Race Name" text, "Location" text, "UCI Rating" text, "Winner" text, "Team" text, "Series Leader" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the winner for souderton, pa? ### Response:
SELECT "Winner" FROM table_30061 WHERE "Location" = 'Souderton, PA'
### Instruction: CREATE TABLE table_7913 ( "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 the 1st round when team 2 is olympique lyonnais (d2)? ### Response:
SELECT "1st round" FROM table_7913 WHERE "Team 2" = 'olympique lyonnais (d2)'
### Instruction: CREATE TABLE table_18529 ( "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. -- How many candidates ran against barratt o'hara? ### Response:
SELECT COUNT("Candidates") FROM table_18529 WHERE "Incumbent" = 'Barratt O''Hara'
### Instruction: CREATE TABLE table_66914 ( "Stage" text, "Winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Intergiro classification" text, "Trofeo Fast Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which points classification was used in stage 15? ### Response:
SELECT "Points classification" FROM table_66914 WHERE "Stage" = '15'
### Instruction: CREATE TABLE table_79142 ( "Date" text, "Bowl Game" text, "Big Ten Team" text, "Opp. Team" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What bowl game was played on Dec. 26, 2007? ### Response:
SELECT "Bowl Game" FROM table_79142 WHERE "Date" = 'dec. 26, 2007'
### Instruction: CREATE TABLE table_204_37 ( id number, "#" number, "wrestlers" text, "reign" number, "date" text, "days\nheld" number, "location" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what wrestler is listed first ? ### Response:
SELECT "wrestlers" FROM table_204_37 WHERE id = 1
### Instruction: CREATE TABLE table_12206918_2 ( opponent VARCHAR, result VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent when the result was ud 12/12 and date was 1993-05-22? ### Response:
SELECT opponent FROM table_12206918_2 WHERE result = "UD 12/12" AND date = "1993-05-22"
### Instruction: CREATE TABLE table_203_486 ( id number, "place" number, "team" text, "matches" number, "won" number, "drawn" number, "lost" number, "difference" text, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which country conceded the least goals ? ### Response:
SELECT "team" FROM table_203_486 ORDER BY "points" LIMIT 1
### Instruction: CREATE TABLE table_79730 ( "Race" text, "Position" text, "Time" text, "Speed" text, "Replica" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which race has a position of 3rd and a speed of 123.628? ### Response:
SELECT "Race" FROM table_79730 WHERE "Position" = '3rd' AND "Speed" = '123.628'
### Instruction: CREATE TABLE table_name_2 ( third_member VARCHAR, second_member VARCHAR, second_party VARCHAR, third_party VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the third member of the Liberal Party, a third party conservative, the second member Humphrey Mildmay? ### Response:
SELECT third_member FROM table_name_2 WHERE second_party = "liberal" AND third_party = "conservative" AND second_member = "humphrey mildmay"
### Instruction: CREATE TABLE table_6352 ( "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 rank of the team having 3 bronzes and 0 silver? ### Response:
SELECT "Rank" FROM table_6352 WHERE "Bronze" = '3' AND "Silver" = '0'
### Instruction: CREATE TABLE table_203_771 ( id number, "#" number, "artist" text, "featuring" text, "title" text, "version" text, "length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- are there at least five tracks featuring sandy on the 2005 best of benassi bros. album ? ### Response:
SELECT (SELECT COUNT(*) FROM table_203_771) >= 5
### Instruction: CREATE TABLE table_55458 ( "Tournament" text, "1993" text, "1994" text, "1995" text, "1996" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the value for the Wimbledon tournament in 1996? ### Response:
SELECT "1996" FROM table_55458 WHERE "Tournament" = 'wimbledon'
### Instruction: CREATE TABLE table_39079 ( "Game" real, "October" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which October is the lowest one that has an Opponent of washington capitals? ### Response:
SELECT MIN("October") FROM table_39079 WHERE "Opponent" = 'washington capitals'
### Instruction: CREATE TABLE table_25091 ( "Year" real, "Network" text, "Race caller" text, "s Host" text, "s Analyst" text, "Reporters" text, "Trophy presentation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the reporters for 2003 ### Response:
SELECT "Reporters" FROM table_25091 WHERE "Year" = '2003'
### Instruction: CREATE TABLE table_21136 ( "Species" text, "Species common name" text, "NCBI Accession Number (mRNA/Protein)" text, "Length (bp/aa)" text, "Protein Identity" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the species with the common name 'mouse'? ### Response:
SELECT COUNT("Species") FROM table_21136 WHERE "Species common name" = 'Mouse'
### Instruction: CREATE TABLE table_name_16 ( circuit VARCHAR, fastest_lap VARCHAR, tyre VARCHAR, pole_position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Jackie Stewart had the fastest lap and Jochen Rindt held the pole position with a D tyre, what was the circuit? ### Response:
SELECT circuit FROM table_name_16 WHERE tyre = "d" AND pole_position = "jochen rindt" AND fastest_lap = "jackie stewart"
### Instruction: CREATE TABLE table_72203 ( "Acquisition" text, "knowledge" text, "penance" text, "permanence of the body" text, "constancy" text, "purity" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the permanence of the body where purity is rudra ### Response:
SELECT "permanence of the body" FROM table_72203 WHERE "purity" = 'Rudra'
### Instruction: CREATE TABLE table_name_42 ( entrant VARCHAR, year VARCHAR, chassis VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the entrant of a chassis maserati 250f, also has 6 points and older than year 1957? ### Response:
SELECT entrant FROM table_name_42 WHERE chassis = "maserati 250f" AND points = "6" AND year < 1957
### Instruction: CREATE TABLE table_20537 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the date of appointment for St. Johnstone's manager? ### Response:
SELECT "Date of appointment" FROM table_20537 WHERE "Team" = 'St. Johnstone'
### Instruction: CREATE TABLE table_67393 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the format on july 27, 1994 for alfa records ### Response:
SELECT "Format" FROM table_67393 WHERE "Label" = 'alfa records' AND "Date" = 'july 27, 1994'
### Instruction: CREATE TABLE table_name_78 ( cup_goals INTEGER, league_goals VARCHAR, league_apps VARCHAR, cup_apps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many cup goals in the season with more than 5 league apps, 1 cup apps and fewer than 4 league goals? ### Response:
SELECT SUM(cup_goals) FROM table_name_78 WHERE league_apps > 5 AND cup_apps = 1 AND league_goals < 4
### Instruction: CREATE TABLE table_57462 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What home team plays at Windy Hill? ### Response:
SELECT "Home team" FROM table_57462 WHERE "Venue" = 'windy hill'
### Instruction: CREATE TABLE table_41365 ( "Year" real, "Venue" text, "Location" text, "Winners" text, "Runners-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Location when France was the runner-up at club de campo? ### Response:
SELECT "Location" FROM table_41365 WHERE "Runners-up" = 'france' AND "Venue" = 'club de campo'
### Instruction: CREATE TABLE table_name_44 ( goals_against VARCHAR, losses VARCHAR, goal_difference VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of goals against when the goal difference was less than 43, the Wins less than 13, and losses more than 14? ### Response:
SELECT goals_against FROM table_name_44 WHERE goal_difference < 43 AND wins < 13 AND losses > 14
### Instruction: CREATE TABLE table_37623 ( "Type" text, "Owns" text, "Length" text, "Delivery Date" text, "Gross Tonnage" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- with delivery date of 2001 2001 what is the owns? ### Response:
SELECT "Owns" FROM table_37623 WHERE "Delivery Date" = '2001 2001'
### Instruction: CREATE TABLE table_57145 ( "Number & Name" text, "Description" text, "Livery" text, "Owner(s)" text, "Date" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which owner has a description of Mark 1 pos and is dated 1956? ### Response:
SELECT "Owner(s)" FROM table_57145 WHERE "Date" = '1956' AND "Description" = 'mark 1 pos'
### Instruction: CREATE TABLE table_24537 ( "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 was the original airdate of 'A Nice Little Earner'? ### Response:
SELECT "Original air date" FROM table_24537 WHERE "Title" = 'A Nice Little Earner'
### Instruction: CREATE TABLE table_41694 ( "Team #1" text, "Agg." text, "Team #2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1st leg that has akasvayu girona as team #2? ### Response:
SELECT "1st leg" FROM table_41694 WHERE "Team #2" = 'akasvayu girona'
### Instruction: CREATE TABLE table_47997 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Round has a Position of lb, and a Pick smaller than 25? ### Response:
SELECT COUNT("Round") FROM table_47997 WHERE "Position" = 'lb' AND "Pick" < '25'
### Instruction: CREATE TABLE table_203_799 ( id number, "year" number, "date" text, "title" text, "format(s)" text, "award description(s)" text, "result(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- last award won ### Response:
SELECT "award description(s)" FROM table_203_799 WHERE "result(s)" = 'won' ORDER BY id DESC LIMIT 1
### Instruction: CREATE TABLE table_66442 ( "Date" text, "Tournament" text, "Surface" text, "Partnering" text, "Opponents in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score on 10 November 2006? ### Response:
SELECT "Score" FROM table_66442 WHERE "Date" = '10 november 2006'
### Instruction: CREATE TABLE table_204_431 ( id number, "yacht" text, "nation" text, "owner" text, "skipper" text, "launch year" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- its alan whiteley yacht 's name dehler magic ### Response:
SELECT (SELECT "yacht" FROM table_204_431 WHERE "owner" = 'alan whiteley') = 'dehler magic'
### Instruction: CREATE TABLE table_69169 ( "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the rank when the start is 10 and the laps are fewer than 192? ### Response:
SELECT "Rank" FROM table_69169 WHERE "Start" = '10' AND "Laps" < '192'
### Instruction: CREATE TABLE table_23958917_1 ( in_service_dates VARCHAR, owner_s___2009_ VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number for service dates for hoosier energy for petersburg ### Response:
SELECT COUNT(in_service_dates) FROM table_23958917_1 WHERE owner_s___2009_ = "Hoosier Energy" AND location = "Petersburg"
### Instruction: CREATE TABLE table_13927 ( "SEASON" text, "TEAM" text, "LEAGUE" text, "GAMES" text, "GOALS" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Season with goals of 6 and BCLA as the league? ### Response:
SELECT "SEASON" FROM table_13927 WHERE "LEAGUE" = 'bcla' AND "GOALS" = '6'
### 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. -- name the election that only had 9,046 votes . ### Response:
SELECT "election" FROM table_204_28 WHERE "number of votes" = 9046
### Instruction: CREATE TABLE table_2794 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the score for chicago ### Response:
SELECT "Score" FROM table_2794 WHERE "Team" = 'Chicago'
### Instruction: CREATE TABLE table_1550 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the location for 15046 attendance ### Response:
SELECT "Location" FROM table_1550 WHERE "Attendance" = '15046'
### Instruction: CREATE TABLE table_46509 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Overall has a Position of te, and a Round larger than 5? ### Response:
SELECT AVG("Overall") FROM table_46509 WHERE "Position" = 'te' AND "Round" > '5'
### Instruction: CREATE TABLE mountain ( mountain_id number, name text, height number, prominence number, range text, country text ) CREATE TABLE climber ( climber_id number, name text, country text, time text, points number, mountain_id number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the names of climbers whose country is not Switzerland. ### Response:
SELECT name FROM climber WHERE country <> "Switzerland"
### Instruction: CREATE TABLE table_203_293 ( id number, "years of appearance" text, "title" text, "network" text, "character name" text, "actor" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- collectively , how many shows did hbo and mtv air ? ### Response:
SELECT COUNT("title") FROM table_203_293 WHERE "network" IN ('hbo', 'mtv')
### Instruction: CREATE TABLE table_41524 ( "Episode" real, "Title" text, "Story" text, "Adapted by" text, "Director" text, "Airdate" text, "Exists?" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the title of the episode that martin worth wrote the story for? ### Response:
SELECT "Title" FROM table_41524 WHERE "Story" = 'martin worth'