instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_203_682 ( id number, "year" number, "goalkeeper" text, "defenders" text, "midfielders" text, "forwards" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long did jamie swanner play as goal keeper ? ### Res...
SELECT COUNT("year") FROM table_203_682 WHERE "goalkeeper" = 'jamie swanner'
### Instruction: CREATE TABLE greatermanchestercrime ( crimeid text, crimets time, location text, lsoa text, type text, outcome text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result in case 6B:E2:54:C6:58:D2? ### Response:
SELECT outcome FROM greatermanchestercrime WHERE crimeid = "6B:E2:54:C6:58:D2"
### Instruction: CREATE TABLE table_5738 ( "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 was the outcome for Rik de Voest as opponent? ### Response:...
SELECT "Outcome" FROM table_5738 WHERE "Opponent" = 'rik de voest'
### Instruction: CREATE TABLE table_80196 ( "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 score of the game when their record was 62-67 ### Resp...
SELECT "Score" FROM table_80196 WHERE "Record" = '62-67'
### Instruction: CREATE TABLE table_9688 ( "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 for week 12 against the Green Bay Packers? ### Response:
SELECT "Result" FROM table_9688 WHERE "Week" > '12' AND "Opponent" = 'green bay packers'
### Instruction: CREATE TABLE table_23210 ( "Further Cities" text, "County, Oblast or State" text, "Country" text, "Distance" text, "Direction" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the further cities for east romania ### Response:
SELECT "Further Cities" FROM table_23210 WHERE "Direction" = 'East' AND "Country" = 'Romania'
### Instruction: CREATE TABLE table_203_375 ( id number, "name" text, "year built" text, "country" text, "town" text, "height" text, "remarks" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many pylons are at least 80 meters tall ? ###...
SELECT COUNT("name") FROM table_203_375 WHERE "height" >= 80
### Instruction: CREATE TABLE table_14503 ( "Status" text, "Name" text, "First Performance" text, "Last Performance" text, "Style" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Style of the First Performance of Billy Elliot on 15 Novemb...
SELECT "Style" FROM table_14503 WHERE "First Performance" = '15 november 2007'
### Instruction: CREATE TABLE table_29263 ( "No. in series" text, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the episode wri...
SELECT "Title" FROM table_29263 WHERE "Written by" = 'Michael Price'
### Instruction: CREATE TABLE table_name_42 ( year INTEGER, _aramac_ VARCHAR, population__total_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Year has an (Aramac) of 832 and a Population (Total) less than 3,762? ### Response:
SELECT SUM(year) FROM table_name_42 WHERE _aramac_ = 832 AND population__total_ < 3 OFFSET 762
### Instruction: CREATE TABLE table_45196 ( "Rank" real, "Title" text, "Studio" text, "Director(s)" text, "Worldwide Gross" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Director for Star Wars Episode II: attack of the clones? ### Response:
SELECT "Director(s)" FROM table_45196 WHERE "Title" = 'star wars episode ii: attack of the clones'
### Instruction: CREATE TABLE table_62165 ( "Party" text, "Name in English" text, "City" text, "Province" text, "Date of registration" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the Partido radical party in Madrid registered? ### Resp...
SELECT "Date of registration" FROM table_62165 WHERE "Province" = 'madrid' AND "Party" = 'partido radical'
### Instruction: CREATE TABLE table_3861 ( "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 a...
SELECT MAX("Game") FROM table_3861
### Instruction: CREATE TABLE table_203_89 ( id number, "#" number, "name\n(birth-death)" text, "took office" text, "left office" text, "monarch" text, "prime minister" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the total number...
SELECT COUNT(DISTINCT "monarch") FROM table_203_89
### Instruction: CREATE TABLE table_13721 ( "Name" text, "Years" text, "A-League" text, "Finals" text, "Total" text, "Games per goal" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player had a finals score of 0 (10)? ### Response:
SELECT "Name" FROM table_13721 WHERE "Finals" = '0 (10)'
### Instruction: CREATE TABLE table_name_66 ( school_club_team VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Pick larger than 229, and a Round smaller than 12, and a Position of defensive back is what s...
SELECT school_club_team FROM table_name_66 WHERE pick > 229 AND round < 12 AND position = "defensive back"
### Instruction: CREATE TABLE table_5208 ( "Position" text, "Game 1" text, "Game 2" text, "Game 3" text, "Exhibition*" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Game 2 has an Exhibition of michael o'connor? ### Response:
SELECT "Game 2" FROM table_5208 WHERE "Exhibition*" = 'michael o''connor'
### Instruction: CREATE TABLE table_203_583 ( id number, "title" text, "release" number, "6th gen" text, "handheld" text, "note" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the first non volume game released in 2004 ? ### Response:...
SELECT "title" FROM table_203_583 WHERE "release" = 2004 LIMIT 1
### Instruction: CREATE TABLE table_name_10 ( l2_cache VARCHAR, idle_power VARCHAR, model_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw? ### Response:
SELECT l2_cache FROM table_name_10 WHERE idle_power = "100mw" AND model_number = "nano u3400"
### Instruction: CREATE TABLE table_19815 ( "Ido" text, "English" text, "Italian" text, "French" text, "German" text, "Russian" text, "Spanish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the English word for the French word cheva...
SELECT "English" FROM table_19815 WHERE "French" = 'cheval'
### Instruction: CREATE TABLE table_71692 ( "Year" real, "Class" text, "Vehicle" text, "Position" text, "Stages won" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the class that that won 2 stages and has a position of DNF? ### Response:
SELECT "Class" FROM table_71692 WHERE "Stages won" = '2' AND "Position" = 'dnf'
### Instruction: CREATE TABLE table_name_6 ( total_apps VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- It has a FA Cup Goals smaller than 4, and a FA Cup Apps larger than 7, what is the total number of total app...
SELECT COUNT(total_apps) FROM table_name_6 WHERE fa_cup_goals < 4 AND fa_cup_apps > 7
### Instruction: CREATE TABLE table_203_759 ( id number, "year" number, "company" text, "number of members affected" number, "duration of strike" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of verizon wo...
SELECT SUM("number of members affected") FROM table_203_759 WHERE "company" = 'verizon'
### Instruction: CREATE TABLE table_name_17 ( score VARCHAR, winners VARCHAR, venue VARCHAR, runners_up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Score of the Rangers' Runner-ups and Hibernian Winners in Hampden Park? ### Response:...
SELECT score FROM table_name_17 WHERE venue = "hampden park" AND runners_up = "rangers" AND winners = "hibernian"
### Instruction: CREATE TABLE table_19059 ( "Team" text, "Stadium" text, "Capacity" real, "Highest" real, "Lowest" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the team with stadium being borough briggs ### Response:
SELECT "Team" FROM table_19059 WHERE "Stadium" = 'Borough Briggs'
### Instruction: CREATE TABLE table_73490 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Opponent in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the surface for philadelphia #...
SELECT "Surface" FROM table_73490 WHERE "Championship" = 'Philadelphia'
### Instruction: CREATE TABLE table_4316 ( "Player" text, "Nationality" text, "Position" text, "Years in Toronto" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Player is from Argentina and whose position is a guard-for...
SELECT "Player" FROM table_4316 WHERE "Position" = 'guard-forward' AND "Nationality" = 'argentina'
### Instruction: CREATE TABLE table_191591_5 ( region_2 VARCHAR, number_of_episodes VARCHAR, dvd_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where are there 25 episodes in Catfights and Brawls? ### Response:
SELECT region_2 FROM table_191591_5 WHERE number_of_episodes = "25" AND dvd_title = "Catfights and Brawls"
### Instruction: CREATE TABLE table_name_3 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What shows for 1992 when 2001 is 1r, 1994 is 1r, and the 2002 is qf? ### Response:
SELECT 1992 FROM table_name_3 WHERE 2001 = "1r" AND 1994 = "1r" AND 2002 = "qf"
### Instruction: CREATE TABLE table_19547 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the position for ron lalonde ### Res...
SELECT "Position" FROM table_19547 WHERE "Player" = 'Ron Lalonde'
### Instruction: CREATE TABLE table_13894 ( "Time" text, "Show Name" text, "DJ's" text, "Local/Networked" text, "Ad Freq" text, "News Freq" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's time is Best Mix Overnight? ### Response:
SELECT "Time" FROM table_13894 WHERE "Show Name" = 'best mix overnight'
### Instruction: CREATE TABLE table_name_14 ( goals_against VARCHAR, points_1 VARCHAR, goals_for VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the Points 1 were 44 and the Goals For were larger than 65, what was the total number of Goals Against? ...
SELECT COUNT(goals_against) FROM table_name_14 WHERE points_1 = 44 AND goals_for > 65
### Instruction: CREATE TABLE table_204_240 ( id number, "name" text, "current use" text, "completed" text, "namesake" text, "info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which building is only for the university 's admissions office ? ...
SELECT "name" FROM table_204_240 WHERE "info" = "home to the university's admissions offices"
### Instruction: CREATE TABLE table_203_677 ( 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. -- what tournament did anton lyuboslavskiy first pla...
SELECT "competition" FROM table_203_677 WHERE "position" = 1
### Instruction: CREATE TABLE table_70151 ( "Surface" text, "Event" text, "Time ( h : m : s )" text, "Date" text, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When has a surface of road and an event of half marathon? ### Response:
SELECT "Date" FROM table_70151 WHERE "Surface" = 'road' AND "Event" = 'half marathon'
### Instruction: CREATE TABLE table_21629 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which seasons were directed by Nelson McCormick...
SELECT "Title" FROM table_21629 WHERE "Directed by" = 'Nelson McCormick'
### Instruction: CREATE TABLE table_name_58 ( career_games VARCHAR, date_and_opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Career Games has a Date and Opponent of 12/15/92 vs. uw milwaukee? ### Response:
SELECT career_games FROM table_name_58 WHERE date_and_opponent = "12/15/92 vs. uw–milwaukee"
### Instruction: CREATE TABLE table_67634 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which name has a Roll of 270? ### Response:
SELECT "Name" FROM table_67634 WHERE "Roll" = '270'
### Instruction: CREATE TABLE table_75844 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What competition has June 19, 2004 as the date? ### Response:
SELECT "Competition" FROM table_75844 WHERE "Date" = 'june 19, 2004'
### Instruction: CREATE TABLE table_64893 ( "Size" text, "Density" text, "Tracks" real, "Coercivity" text, "Unformatted capacity per side" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the unformatted capacity per side if the size is 8in? ...
SELECT "Unformatted capacity per side" FROM table_64893 WHERE "Size" = '8in'
### Instruction: CREATE TABLE table_1865 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many series did John Banas direct?...
SELECT "No. in series" FROM table_1865 WHERE "Directed by" = 'John Banas'
### Instruction: CREATE TABLE table_18204 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Status" text, "Opponent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the opponents in Massachusetts5 district? ### R...
SELECT "Opponent" FROM table_18204 WHERE "District" = 'Massachusetts5'
### Instruction: CREATE TABLE table_name_47 ( water__sqmi_ INTEGER, county VARCHAR, longitude VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest water(sqmi) in the county of dickey where the longitude was smaller than -98.444062? ### Re...
SELECT MIN(water__sqmi_) FROM table_name_47 WHERE county = "dickey" AND longitude < -98.444062
### Instruction: CREATE TABLE table_2630 ( "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 successor for james noble d...
SELECT "Successor" FROM table_2630 WHERE "Reason for change" = 'James Noble died in previous Congress'
### Instruction: CREATE TABLE table_203_521 ( id number, "year" number, "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 result of the last playo...
SELECT "playoffs" FROM table_203_521 ORDER BY "year" DESC LIMIT 1
### Instruction: CREATE TABLE table_58166 ( "Name" text, "Team" text, "Qual 1" text, "Qual 2" text, "Best" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the qual 1 for the best of 1:18.067? ### Response:
SELECT "Qual 1" FROM table_58166 WHERE "Best" = '1:18.067'
### Instruction: CREATE TABLE table_77197 ( "Entered office" text, "Left office" text, "Party" text, "Election" text, "Coalition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the party elected in jun. 1959 enter office? ### Response:
SELECT "Entered office" FROM table_77197 WHERE "Election" = 'jun. 1959'
### Instruction: CREATE TABLE table_name_24 ( date VARCHAR, leading_scorer VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date with a Leading scorer with maurice williams (25), and a Score with 102 105? ### Response:
SELECT date FROM table_name_24 WHERE leading_scorer = "maurice williams (25)" AND score = "102–105"
### Instruction: CREATE TABLE table_204_109 ( id number, "district" text, "incumbent" text, "party" text, "first\nelected" text, "result" text, "candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the last party on this chart ...
SELECT "party" FROM table_204_109 ORDER BY id DESC LIMIT 1
### Instruction: CREATE TABLE table_name_94 ( prize_money___$__ VARCHAR, country VARCHAR, rank VARCHAR, events VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What amount of prize money was there when the rank was less than 7, there were more than 6 e...
SELECT prize_money___$__ FROM table_name_94 WHERE rank < 7 AND events > 6 AND country = "fiji"
### Instruction: CREATE TABLE table_14659 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of laps that were completed in 1949? ### Response:
SELECT COUNT("Laps") FROM table_14659 WHERE "Year" = '1949'
### Instruction: CREATE TABLE table_79807 ( "Club" text, "Manager" text, "Captain" text, "Manufacturer" text, "Sponsor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Manchester United captain is sponsored by Nike? ### Response:
SELECT "Captain" FROM table_79807 WHERE "Manufacturer" = 'nike' AND "Club" = 'manchester united'
### Instruction: CREATE TABLE table_41735 ( "Date" text, "Title" text, "Director" text, "Producer" text, "Production Cost" text, "Singapore Gross" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the director when the title is 2003? ### R...
SELECT "Director" FROM table_41735 WHERE "Title" = '2003'
### Instruction: CREATE TABLE TRACK ( UnitPrice INTEGER, GenreId VARCHAR ) CREATE TABLE GENRE ( GenreId VARCHAR, Name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average unit price of rock tracks? ### Response:
SELECT AVG(T2.UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Rock"
### Instruction: CREATE TABLE table_18999 ( "Position" real, "Artist" text, "Song title" text, "Highest position" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the the artbeingt with song title being ' a little bitty tear ##...
SELECT "Artist" FROM table_18999 WHERE "Song title" = ' A Little Bitty Tear '
### Instruction: CREATE TABLE table_201_42 ( id number, "year" text, "title" text, "role" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in what program was daniels in after planet sheen ? ### Response:
SELECT "title" FROM table_201_42 WHERE id > (SELECT id FROM table_201_42 WHERE "title" = 'planet sheen') LIMIT 1
### Instruction: CREATE TABLE table_203_538 ( id number, "flight" text, "date" text, "payload nickname" text, "payload" text, "orbit" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many partial failures of h ii flights wer...
SELECT COUNT(*) FROM table_203_538 WHERE "result" = 'partial failure'
### Instruction: CREATE TABLE table_37655 ( "Surname" text, "First" text, "D.O.B." text, "Bats" text, "Throws" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which DOB has a Surname of cresswell? ### Response:
SELECT "D.O.B." FROM table_37655 WHERE "Surname" = 'cresswell'
### Instruction: CREATE TABLE table_69653 ( "Track" real, "Recorded" text, "Catalogue" text, "Release Date" text, "Song Title" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the catalogue with song title of love me tonight ##...
SELECT "Catalogue" FROM table_69653 WHERE "Song Title" = 'love me tonight'
### Instruction: CREATE TABLE table_19770 ( "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. -- what's the result with record being 0 1 ### ...
SELECT "Result" FROM table_19770 WHERE "Record" = '0–1'
### Instruction: CREATE TABLE table_19041 ( "Episode" text, "Original Air Date" text, "Viewers (millions)" text, "Presenter" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was held the ceremony for the 12th Pride of Britain Aw...
SELECT "Location" FROM table_19041 WHERE "Episode" = '12th Pride of Britain Awards'
### Instruction: CREATE TABLE table_78045 ( "Player" text, "Rec." real, "Yards" real, "Avg." real, "TD's" real, "Long" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many TDs are there were the long is smaller than 23? ### Response:
SELECT MIN("TD's") FROM table_78045 WHERE "Long" < '23'
### Instruction: CREATE TABLE table_name_44 ( date VARCHAR, home VARCHAR, time VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day was the time 14:30, the result 0:1, and the home team fc chiasso (chl)? ### Response:
SELECT date FROM table_name_44 WHERE time = "14:30" AND result = "0:1" AND home = "fc chiasso (chl)"
### Instruction: CREATE TABLE table_name_18 ( total INTEGER, fa_cup VARCHAR, club VARCHAR, league VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average total of halifax town club, which has a league less than 30 and more than 3 FA cups? ...
SELECT AVG(total) FROM table_name_18 WHERE club = "halifax town" AND league < 30 AND fa_cup > 3
### Instruction: CREATE TABLE table_38275 ( "Team" text, "Driver" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average grid number that had Team China with less than 10 laps? ### Response:
SELECT AVG("Grid") FROM table_38275 WHERE "Laps" < '10' AND "Team" = 'china'
### Instruction: CREATE TABLE table_204_288 ( id number, "region" text, "seed" number, "team" text, "coach" text, "finished" text, "final opponent" text, "score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which team scored the least ...
SELECT "team" FROM table_204_288 ORDER BY "score" LIMIT 1
### Instruction: CREATE TABLE table_203_377 ( 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. -- the country that won the most medals was ? ###...
SELECT "nation" FROM table_203_377 ORDER BY "total" DESC LIMIT 1
### Instruction: CREATE TABLE table_203_767 ( id number, "season" text, "club" text, "league" text, "apps" number, "goals" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what were the names of each club where more than 15 goals were scored in ...
SELECT "club" FROM table_203_767 WHERE "goals" >= 15
### Instruction: CREATE TABLE table_58290 ( "Species" text, "Strain" text, "Type" text, "Base Pairs" text, "Genes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Strain name of Species Thiomicrospira crunogena? ### Response:
SELECT "Strain" FROM table_58290 WHERE "Species" = 'thiomicrospira crunogena'
### Instruction: CREATE TABLE table_name_33 ( bp_2nd_comp__ INTEGER, bp_azeo__˚c_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the sum of bp 2nd comp with bp azeo of 57.5 ### Response:
SELECT SUM(bp_2nd_comp__) AS ˚c_ FROM table_name_33 WHERE bp_azeo__˚c_ = 57.5
### Instruction: CREATE TABLE table_984 ( "Competition" text, "Record" text, "Result" text, "Home Matches" real, "Home Attendance" real, "Avg. Home Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result when the team had ...
SELECT "Result" FROM table_984 WHERE "Home Matches" = '14'
### Instruction: CREATE TABLE table_76878 ( "Name" text, "Built" text, "Listed" text, "Location" text, "County" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What bridge in Sheridan county was built in 1915? ### Response:
SELECT "Name" FROM table_76878 WHERE "County" = 'sheridan' AND "Built" = '1915'
### Instruction: CREATE TABLE table_59846 ( "Date" text, "Ship" text, "Nationality" text, "Tonnage" real, "Fate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the tonnage on 30 march 1943? ### Response:
SELECT AVG("Tonnage") FROM table_59846 WHERE "Date" = '30 march 1943'
### Instruction: CREATE TABLE table_35288 ( "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. -- WHich Position has a Player of david laliberte? ### Re...
SELECT "Position" FROM table_35288 WHERE "Player" = 'david laliberte'
### Instruction: CREATE TABLE table_203_4 ( id number, "medal" text, "name" text, "sport" text, "event" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what sport won the most gold medals ? ### Response:
SELECT "sport" FROM table_203_4 WHERE "medal" = 'gold' GROUP BY "sport" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_5716 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance at the game on December 11, 1966? ### Response:
SELECT "Attendance" FROM table_5716 WHERE "Date" = 'december 11, 1966'
### Instruction: CREATE TABLE table_39855 ( "Date" text, "Cover model" text, "Centerfold model" text, "Interview subject" text, "20 Questions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Interview subject was on a Date that is 11-92? ### R...
SELECT "Interview subject" FROM table_39855 WHERE "Date" = '11-92'
### Instruction: CREATE TABLE table_name_59 ( population VARCHAR, official_name VARCHAR, area_km_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For Saint-Paul parish, if it has an area of over 228.65 kilometers how many people live there? ### Respons...
SELECT COUNT(population) FROM table_name_59 WHERE official_name = "saint-paul" AND area_km_2 > 228.65
### Instruction: CREATE TABLE table_21090 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" text, "Year named" real, "Name origin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the name origin for 54.0e ### Response:
SELECT "Name origin" FROM table_21090 WHERE "Longitude" = '54.0E'
### Instruction: CREATE TABLE table_416 ( "Jurisdiction" text, "Voted Yes" real, "Percent Yes" text, "Voted No" real, "Percent No" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the jurisdiction where voted no is 322971 ### Response:
SELECT "Jurisdiction" FROM table_416 WHERE "Voted No" = '322971'
### Instruction: CREATE TABLE table_63595 ( "County" text, "Per capita income" text, "Median household income" text, "Median family income" text, "Population" real, "Number of households" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was t...
SELECT MIN("Population") FROM table_63595 WHERE "County" = 'green'
### Instruction: CREATE TABLE table_46497 ( "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 Built has a Builder of brel crewe? ### Response:
SELECT AVG("Built") FROM table_46497 WHERE "Builder" = 'brel crewe'
### Instruction: CREATE TABLE table_79396 ( "Olympics" text, "Name" text, "Country" text, "Medal" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country has a silver medal in the boxing, heavyweight event? ### Response:
SELECT "Country" FROM table_79396 WHERE "Medal" = 'silver' AND "Event" = 'boxing, heavyweight'
### Instruction: CREATE TABLE table_66328 ( "Date" text, "Internet Explorer" text, "Firefox" text, "Opera" text, "Safari" text, "Source" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which source date has an Internet Explorer usage of 60.2%? ...
SELECT "Source" FROM table_66328 WHERE "Internet Explorer" = '60.2%'
### Instruction: CREATE TABLE table_44838 ( "Date" text, "Opponent" text, "Site" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the game at Williams-Brice stadium Columbia, SC? ### Response:
SELECT "Date" FROM table_44838 WHERE "Site" = 'williams-brice stadium • columbia, sc'
### Instruction: CREATE TABLE table_36317 ( "Game" real, "November" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Score in the game against the Buffalo Sabres? ### Resp...
SELECT "Score" FROM table_36317 WHERE "Opponent" = 'buffalo sabres'
### Instruction: CREATE TABLE table_name_75 ( average INTEGER, swimsuit VARCHAR, evening_gown VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which is the largest average number when the swimsuit is 9.4 and the evening gown stat is less than 9.486? ### ...
SELECT MAX(average) FROM table_name_75 WHERE swimsuit = 9.4 AND evening_gown < 9.486
### Instruction: CREATE TABLE table_32100 ( "Class" text, "Operator" text, "No. Built" real, "Year Built" text, "Cars per Set" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the sum of cars per set for operator of london midland ### Respon...
SELECT SUM("Cars per Set") FROM table_32100 WHERE "Operator" = 'london midland'
### Instruction: CREATE TABLE table_204_557 ( id number, "#" number, "date" text, "visitor" text, "score" text, "home" text, "record" text, "pts" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many home games did toronto play ? #...
SELECT COUNT(*) FROM table_204_557 WHERE "home" = 'toronto'
### Instruction: CREATE TABLE table_204_772 ( id number, "team" text, "county" text, "wins" number, "years won" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what team comes before confey ### Response:
SELECT "team" FROM table_204_772 WHERE id = (SELECT id FROM table_204_772 WHERE "team" = 'confey') - 1
### Instruction: CREATE TABLE table_name_32 ( winning_score VARCHAR, margin_of_victory VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the winning score on Jan 22, 1995 when the margin of victory was 1 stroke? ### Response:
SELECT winning_score FROM table_name_32 WHERE margin_of_victory = "1 stroke" AND date = "jan 22, 1995"
### Instruction: CREATE TABLE table_name_1 ( player VARCHAR, school_club_team VARCHAR, nationality VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Player has a Nationality of united states, a Position of forward, and a School/C...
SELECT player FROM table_name_1 WHERE nationality = "united states" AND position = "forward" AND school_club_team = "notre dame"
### Instruction: CREATE TABLE table_47329 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest pick for the kicker after round 12? ### Response:
SELECT MIN("Pick") FROM table_47329 WHERE "Round" > '12' AND "Position" = 'kicker'
### Instruction: CREATE TABLE table_71864 ( "Team" text, "1st Match" text, "Matches" text, "Lost" text, "% Won" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the matches for the first match being 30 march 1997 ### Response:
SELECT "Matches" FROM table_71864 WHERE "1st Match" = '30 march 1997'
### Instruction: CREATE TABLE table_7009 ( "Order" real, "Artist" text, "Song" text, "Lyrics (l) / Music (m)" text, "Results" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who provided lyrics or music to the artist Cube? ### Response:
SELECT "Lyrics (l) / Music (m)" FROM table_7009 WHERE "Artist" = 'cube'
### Instruction: CREATE TABLE table_204_373 ( id number, "wager" text, "winner" text, "loser" text, "location" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many total fights took place in mexico city , mexico ? ### Response:...
SELECT COUNT(*) FROM table_204_373 WHERE "location" = 'mexico city, mexico'
### Instruction: CREATE TABLE table_8180 ( "Player" text, "Nationality" text, "Jersey Number(s)" text, "Position" text, "Years" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Position when Player is Drew Barry Category:Articles With hCards? ...
SELECT "Position" FROM table_8180 WHERE "Player" = 'drew barry category:articles with hcards'
### Instruction: CREATE TABLE table_21143 ( "Country" text, "Name" text, "Network" text, "Premiere" text, "Host(s)" text, "Judges" text, "Seasons and Winners" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the host for prime ### Respo...
SELECT "Host(s)" FROM table_21143 WHERE "Network" = 'Prime'
### Instruction: CREATE TABLE table_name_59 ( concacaf INTEGER, superliga VARCHAR, merconorte VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average concacaf for merconorte larger than 0 and player of jared borgetti ### Res...
SELECT AVG(concacaf) FROM table_name_59 WHERE merconorte > 0 AND player = "jared borgetti" AND superliga > 0
### Instruction: CREATE TABLE table_48639 ( "Official Name" text, "Status" text, "Area km 2" real, "Population" real, "Census Ranking" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Saint-Jacques has what as the area km 2? ### Response:
SELECT "Area km 2" FROM table_48639 WHERE "Official Name" = 'saint-jacques'