instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_52994 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Competition has a Venue of Seoul, and Result of 4-1? ### Response:
SELECT "Competition" FROM table_52994 WHERE "Venue" = 'seoul' AND "Result" = '4-1'
### Instruction: CREATE TABLE table_18554 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What party does the incumbent from the Ohio 20 district...
SELECT "Party" FROM table_18554 WHERE "District" = 'Ohio 20'
### Instruction: CREATE TABLE table_45267 ( "Railway" text, "Built" real, "Wheels" text, "Location" text, "ObjectNumber" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the UK Railway with an ObjectNumber of 1975-7023? ### Response:
SELECT "Railway" FROM table_45267 WHERE "ObjectNumber" = '1975-7023'
### Instruction: CREATE TABLE table_55015 ( "Date" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total when the score of set 1 is 15 11? ### Response:
SELECT "Total" FROM table_55015 WHERE "Set 1" = '15–11'
### Instruction: CREATE TABLE table_28164986_4 ( date_of_appointment VARCHAR, manner_of_departure VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when was the next coach appointed after niger tornadoes fired their coach? ### Response:
SELECT date_of_appointment FROM table_28164986_4 WHERE manner_of_departure = "fired" AND team = "Niger Tornadoes"
### Instruction: CREATE TABLE table_78586 ( "Rank" real, "Name" text, "Season" text, "Club" text, "minutes" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the minutes of the Player from Real Madrid Club with a Rank of 7 or larger? ### Res...
SELECT SUM("minutes") FROM table_78586 WHERE "Rank" > '7' AND "Club" = 'real madrid'
### Instruction: CREATE TABLE table_43406 ( "Nation" text, "Skip" text, "Third" text, "Second" text, "Lead" text, "Alternate" text, "Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Lead has Hans Frauenlob as a Third? ### Respons...
SELECT "Lead" FROM table_43406 WHERE "Third" = 'hans frauenlob'
### Instruction: CREATE TABLE table_35164 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what Tournament was Janet Young a Partner...
SELECT "Tournament" FROM table_35164 WHERE "Partner" = 'janet young'
### Instruction: CREATE TABLE table_37114 ( "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 tournament has yvonne vermaak as the opponent? ### Respons...
SELECT "Tournament" FROM table_37114 WHERE "Opponent" = 'yvonne vermaak'
### Instruction: CREATE TABLE table_name_49 ( laps INTEGER, driver VARCHAR, grid VARCHAR, constructor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Laps for a grid smaller than 17, and a Constructor of williams - bmw, driven by j...
SELECT AVG(laps) FROM table_name_49 WHERE grid < 17 AND constructor = "williams - bmw" AND driver = "jenson button"
### Instruction: CREATE TABLE table_8967 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- At what event did he fight takaharu murahama? ### Resp...
SELECT "Event" FROM table_8967 WHERE "Opponent" = 'takaharu murahama'
### Instruction: CREATE TABLE table_79492 ( "Season" real, "Network" text, "Episodes" real, "Premiered" text, "Ended" text, "DVD set release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total season number for episodes later ...
SELECT SUM("Season") FROM table_79492 WHERE "Episodes" > '30'
### Instruction: CREATE TABLE table_49387 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of rounds at 5:36? ### Respo...
SELECT COUNT("Round") FROM table_49387 WHERE "Time" = '5:36'
### Instruction: CREATE TABLE table_3098 ( "Theatre name" text, "Digital Screens" real, "IMAX Screens" real, "Location" text, "Language of films" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the location for democratic m ga-plex taschereau im...
SELECT "Location" FROM table_3098 WHERE "Theatre name" = 'Méga-Plex Taschereau IMAX'
### Instruction: CREATE TABLE table_78909 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date of the game with a Score of 6 4, 6 2? ### Response:
SELECT "Date" FROM table_78909 WHERE "Score" = '6–4, 6–2'
### Instruction: CREATE TABLE table_name_76 ( composition VARCHAR, year VARCHAR, mintage VARCHAR, artist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the composition of the coin that was issued after 2008, had a mintage larger than 999, and...
SELECT composition FROM table_name_76 WHERE mintage > 999 AND artist = "jody broomfield" AND year > 2008
### Instruction: CREATE TABLE table_41876 ( "First District" text, "Second District" text, "Third District" text, "Fourth District" text, "Fifth District" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the Fourth District with a Second Distric...
SELECT "Fourth District" FROM table_41876 WHERE "Second District" = 'kurt van koevering'
### Instruction: CREATE TABLE table_34518 ( "Year" real, "Performance" text, "World Ranking" real, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many world rankings are after Aug 5, 1980 ? ### Response:
SELECT SUM("World Ranking") FROM table_34518 WHERE "Date" = 'aug 5' AND "Year" > '1980'
### Instruction: CREATE TABLE table_43229 ( "Protocol" text, "Creator" text, "License" text, "Transport Layer Security" text, "Bulletins to all contacts" text, "Batch file sharing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name ...
SELECT "License" FROM table_43229 WHERE "Creator" = 'ietf'
### Instruction: CREATE TABLE table_59854 ( "Year" real, "Song" text, "Artist" text, "Place" text, "Points" text, "Composer" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year shows 248 (sf: 217) points? ### Response:
SELECT COUNT("Year") FROM table_59854 WHERE "Points" = '248 (sf: 217)'
### Instruction: CREATE TABLE table_name_96 ( champion VARCHAR, runner_up VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Champion has a Runner-up of florian mayer, and a Score of 7 6(6), 4 6, 7 5? ### Response:
SELECT champion FROM table_name_96 WHERE runner_up = "florian mayer" AND score = "7–6(6), 4–6, 7–5"
### Instruction: CREATE TABLE table_50370 ( "Start Date/Time" text, "Duration" text, "End Time" text, "Spacecraft" text, "Crew" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What crew's EVA started on 20 February 20:09? ### Response:
SELECT "Crew" FROM table_50370 WHERE "Start Date/Time" = '20 february 20:09'
### Instruction: CREATE TABLE table_8747 ( "Name/Designation" text, "Class" text, "Range (varies with payload weight)" text, "Payload" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the range (varies by payload weight) for Sha...
SELECT "Range (varies with payload weight)" FROM table_8747 WHERE "Name/Designation" = 'shahab-4'
### Instruction: CREATE TABLE table_59389 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country placed t3 with a score of 70-65=135? ### Response:
SELECT "Country" FROM table_59389 WHERE "Place" = 't3' AND "Score" = '70-65=135'
### Instruction: CREATE TABLE table_46063 ( "Game" real, "October" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of October, when Opponent is 'Pittsburgh Penguins'? ### Response:
SELECT SUM("October") FROM table_46063 WHERE "Opponent" = 'pittsburgh penguins'
### Instruction: CREATE TABLE table_35877 ( "Class" text, "Season" text, "Race" real, "Podiums" real, "Pole" real, "FLap" real, "WChmp" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- During race 14, what's the podiums? ### Response:
SELECT MAX("Podiums") FROM table_35877 WHERE "Race" = '14'
### Instruction: CREATE TABLE table_30431 ( "Club name" text, "Name of team song" text, "Basis for team song" text, "First used as team song" text, "Writer/composer" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the team that has a song writer...
SELECT "Club name" FROM table_30431 WHERE "Writer/composer" = 'Larry Spokes'
### Instruction: CREATE TABLE table_80025 ( "Model" text, "Seats" text, "Period" text, "Built" real, "Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Between which years were there 241 fokker 70 model cabins built? ### Response:
SELECT "Period" FROM table_80025 WHERE "Built" < '241' AND "Model" = 'fokker 70'
### Instruction: CREATE TABLE table_name_13 ( tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Tournament is in 1993 with a Score in the final of 6 2, 2 6, 7 5? ### Response:
SELECT tournament FROM table_name_13 WHERE date = 1993 AND score_in_the_final = "6–2, 2–6, 7–5"
### Instruction: CREATE TABLE table_name_6 ( launch_site VARCHAR, carrier_rocket VARCHAR, cospar_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- From where did the Scout carrier rocket with the satellite that has a COSPAR ID of 1971-109a launch? ### ...
SELECT launch_site FROM table_name_6 WHERE carrier_rocket = "scout" AND cospar_id = "1971-109a"
### Instruction: CREATE TABLE table_13422 ( "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's the margin of victory during the Pocono Northeast Classi...
SELECT "Margin of Victory" FROM table_13422 WHERE "Tournament" = 'pocono northeast classic'
### Instruction: CREATE TABLE table_22485543_1 ( network VARCHAR, studio_host VARCHAR, ice_level_reporters VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which network has bob costas as the studio host and darren pang as the ice level reporters? ### Re...
SELECT network FROM table_22485543_1 WHERE studio_host = "Bob Costas" AND ice_level_reporters = "Darren Pang"
### Instruction: CREATE TABLE table_52287 ( "NGC number" real, "Object type" text, "Constellation" text, "Right ascension ( J2000 )" text, "Declination ( J2000 )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Object type has a Constellation o...
SELECT "Object type" FROM table_52287 WHERE "Constellation" = 'cancer'
### Instruction: CREATE TABLE table_22146 ( "English name" text, "Thai name" text, "Transcription" text, "Color" text, "Sanskrit word" text, "Planet" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sanskrit word if the transcription i...
SELECT "Sanskrit word" FROM table_22146 WHERE "Transcription" = 'wan athit'
### Instruction: CREATE TABLE table_1277350_1 ( sunday_sōl__sun_ VARCHAR, friday_venus__venus_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the sunday s l (sun) with friday venus (venus) being vernes ### Response:
SELECT sunday_sōl__sun_ FROM table_1277350_1 WHERE friday_venus__venus_ = "vernes"
### Instruction: CREATE TABLE table_10085 ( "Round" real, "Pick #" real, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Richard Crump picked after the 114 pick was drafted in what round? ### Response:
SELECT "Round" FROM table_10085 WHERE "Pick #" > '114' AND "Player" = 'richard crump'
### Instruction: CREATE TABLE table_64127 ( "Rank" real, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of silver when bronze is 0, and rank is less than 2? ### Response:
SELECT SUM("Silver") FROM table_64127 WHERE "Bronze" = '0' AND "Rank" < '2'
### Instruction: CREATE TABLE table_52798 ( "Superlative" text, "Actress" text, "Record Set" text, "Year" real, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which award was won by Gloria Stuart after 1984? ### Response:
SELECT "Superlative" FROM table_52798 WHERE "Year" > '1984' AND "Actress" = 'gloria stuart'
### Instruction: CREATE TABLE table_24706337_1 ( victor VARCHAR, name_of_the_war VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many victors where there in the War of 1730 1736 , first stage? ### Response:
SELECT COUNT(victor) FROM table_24706337_1 WHERE name_of_the_war = "War of 1730–1736 , first stage"
### Instruction: CREATE TABLE table_55391 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the game on February 27 with New Jersey as the visitor team? ### Respo...
SELECT "Score" FROM table_55391 WHERE "Visitor" = 'new jersey' AND "Date" = 'february 27'
### Instruction: CREATE TABLE table_20072 ( "Genus/Species" text, "Common Name" text, "Accession Number" text, "Length" text, "Similarity" text, "Identity" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How similar is the genus/species sus scrof...
SELECT "Similarity" FROM table_20072 WHERE "Genus/Species" = 'Sus scrofa'
### Instruction: CREATE TABLE table_72413 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What party did the incumbent from the Arkansas 5 distri...
SELECT "Party" FROM table_72413 WHERE "District" = 'Arkansas 5'
### Instruction: CREATE TABLE table_name_41 ( result VARCHAR, goal VARCHAR, venue VARCHAR, competition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result for the 1966 fifa world cup qualification in mexico city, mexico and a goal over...
SELECT result FROM table_name_41 WHERE venue = "mexico city, mexico" AND competition = "1966 fifa world cup qualification" AND goal > 8
### Instruction: CREATE TABLE table_name_70 ( place__posición_ INTEGER, points__pts_ VARCHAR, goals_scored__gf_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the places of the team with more than 49 points and less than 54 goals score...
SELECT SUM(place__posición_) FROM table_name_70 WHERE points__pts_ > 49 AND goals_scored__gf_ < 54
### Instruction: CREATE TABLE table_30210 ( "Event Date" text, "Event Day" text, "Approx. Duration" text, "Starting Time" text, "Event Details" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every value for approximate duration when event de...
SELECT "Approx. Duration" FROM table_30210 WHERE "Event Details" = 'Women''s Foil'
### Instruction: CREATE TABLE table_38503 ( "Borough" text, "Components" text, "Population" real, "Number of Borough Councilors" real, "Number of Municipal Councilors" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of boro...
SELECT AVG("Number of Borough Councilors") FROM table_38503 WHERE "Borough" = 'brompton'
### Instruction: CREATE TABLE table_6081 ( "Image" text, "Father" text, "Birth" text, "Ceased to be Duchess" text, "Death" text, "Husband" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the husband of the image of renata of lorraine? ##...
SELECT "Husband" FROM table_6081 WHERE "Image" = 'renata of lorraine'
### Instruction: CREATE TABLE table_12501 ( "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 Place of the Player with a Score of 69-72-72=213? ### Response:
SELECT "Place" FROM table_12501 WHERE "Score" = '69-72-72=213'
### Instruction: CREATE TABLE table_15118 ( "Year" real, "Division I" text, "Division II" text, "Division III" text, "Division IV" text, "Division V" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With a Division II of Portsmouth, what is the Di...
SELECT "Division IV" FROM table_15118 WHERE "Division III" = 'portsmouth'
### Instruction: CREATE TABLE table_32716 ( "Team" text, "Bowl" text, "Season coach" text, "Interim head coach" text, "Result" text, "2008 head coach" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result under the season coach Rich ...
SELECT "Result" FROM table_32716 WHERE "Season coach" = 'rich rodriguez'
### Instruction: CREATE TABLE table_9951 ( "Year" text, "Kansas" text, "Nebraska" text, "North Dakota" text, "Oklahoma" text, "South Dakota" text, "Texas" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What South Dakota has Bush of Oklahoma?...
SELECT "South Dakota" FROM table_9951 WHERE "Oklahoma" = 'bush'
### Instruction: CREATE TABLE table_1776943_1 ( broadcast_date VARCHAR, viewers__in_millions_ VARCHAR, archive VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the broadcast date for 6.4 million viewers for the archive of 16mm t/r ### Response:
SELECT broadcast_date FROM table_1776943_1 WHERE viewers__in_millions_ = "6.4" AND archive = "16mm t/r"
### Instruction: CREATE TABLE table_42962 ( "Year" real, "Result" real, "World Rank" text, "Location" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year has a Result smaller than 20.26, and a Location of eugene? ### Response:
SELECT SUM("Year") FROM table_42962 WHERE "Result" < '20.26' AND "Location" = 'eugene'
### Instruction: CREATE TABLE table_52876 ( "Date" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Set 3 with a Set 2 with 15 6? ### Response:
SELECT "Set 3" FROM table_52876 WHERE "Set 2" = '15–6'
### Instruction: CREATE TABLE table_77637 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Alexander Wurz's highest grid with laps of less than 25? ### Response:
SELECT MAX("Grid") FROM table_77637 WHERE "Driver" = 'alexander wurz' AND "Laps" < '25'
### Instruction: CREATE TABLE table_49964 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The match against Valentijn Overeem had what method...
SELECT "Method" FROM table_49964 WHERE "Opponent" = 'valentijn overeem'
### Instruction: CREATE TABLE table_8282 ( "Player" text, "Position" text, "League" real, "Copa del Rey" real, "Champions League" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Champions League assists for the p...
SELECT AVG("Champions League") FROM table_8282 WHERE "League" < '4'
### Instruction: CREATE TABLE table_64777 ( "Channel" real, "Video" text, "Aspect" text, "PSIP Short Name" text, "Network" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which network has more than 31.4 channels with a 4:3 aspect? ### Response:
SELECT "Network" FROM table_64777 WHERE "Aspect" = '4:3' AND "Channel" > '31.4'
### Instruction: CREATE TABLE table_30432 ( "Club name" text, "Name of team song" text, "Basis for team song" text, "First used as team song" text, "Writer/composer" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How man teams have a writer named ha...
SELECT COUNT("Name of team song") FROM table_30432 WHERE "Writer/composer" = 'Harry Angus'
### Instruction: CREATE TABLE table_68145 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Witch opponent has a loss of Glynn (0-2)? ### Response:
SELECT "Opponent" FROM table_68145 WHERE "Loss" = 'glynn (0-2)'
### Instruction: CREATE TABLE table_52340 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Time/Retired had a grid number bigger than 1 and whose driver was Damon Hill...
SELECT "Time/Retired" FROM table_52340 WHERE "Grid" > '1' AND "Driver" = 'damon hill'
### Instruction: CREATE TABLE table_54808 ( "Frequency" text, "Call sign" text, "Name" text, "Format" text, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which owner has a Contemporary Christian music station on 97.9 FM? ### Response:
SELECT "Name" FROM table_54808 WHERE "Format" = 'contemporary christian music' AND "Frequency" = '97.9 fm'
### Instruction: CREATE TABLE table_31709 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" text, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the FCC info for call sign of k208eq ### Res...
SELECT "FCC info" FROM table_31709 WHERE "Call sign" = 'k208eq'
### Instruction: CREATE TABLE table_name_63 ( league_cup_apps INTEGER, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of league cup appearances for the players with FA cup goals larger than 0 and FA cup a...
SELECT SUM(league_cup_apps) FROM table_name_63 WHERE fa_cup_goals > 0 AND fa_cup_apps < 2
### Instruction: CREATE TABLE table_47796 ( "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. -- What is Area km 2, when Population is greater than 1,395? ### Res...
SELECT MIN("Area km 2") FROM table_47796 WHERE "Population" > '1,395'
### Instruction: CREATE TABLE table_77489 ( "Institution" text, "Location" text, "Founded" real, "Affiliation" text, "Enrollment" real, "Nickname" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Southern Illinois University Edwardsville's...
SELECT "Affiliation" FROM table_77489 WHERE "Institution" = 'southern illinois university edwardsville'
### Instruction: CREATE TABLE table_69788 ( "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. -- What is the sum of the roll with an area of Waikaka? ...
SELECT SUM("Roll") FROM table_69788 WHERE "Area" = 'waikaka'
### Instruction: CREATE TABLE table_39632 ( "Score" text, "Opposition" text, "Venue" text, "City" text, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score has Leicestershire as the opponent after 1906? ### Response:
SELECT "Score" FROM table_39632 WHERE "Opposition" = 'leicestershire' AND "Year" > '1906'
### Instruction: CREATE TABLE table_75997 ( "Season" text, "Coach" text, "Overall" text, "Conference" text, "Big Ten" text, "National" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Coach with a Big Ten that is 3rd (278)? ### Respo...
SELECT "Coach" FROM table_75997 WHERE "Big Ten" = '3rd (278)'
### Instruction: CREATE TABLE table_203_392 ( id number, "rank" text, "belt alternate 1" text, "belt alternate 2" text, "belt alternate 3" text, "belt alternate 4" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of differ...
SELECT COUNT(DISTINCT "belt alternate 1") FROM table_203_392
### Instruction: CREATE TABLE table_203_270 ( 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 is the total amount of times the frankfurt m...
SELECT COUNT(*) FROM table_203_270 WHERE "competition" = 'frankfurt marathon'
### Instruction: CREATE TABLE table_10906 ( "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 fitzroy play at home? ...
SELECT "Date" FROM table_10906 WHERE "Home team" = 'fitzroy'
### Instruction: CREATE TABLE club ( club_id VARCHAR, club_name VARCHAR ) CREATE TABLE coach ( club_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many coaches does each club has? List the club id, name and the number of coaches. ### Response:
SELECT T1.club_id, T1.club_name, COUNT(*) FROM club AS T1 JOIN coach AS T2 ON T1.club_id = T2.club_id GROUP BY T1.club_id
### Instruction: CREATE TABLE table_44188 ( "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 the react when the lane is 3 and heat is 2? ### Response:
SELECT "React" FROM table_44188 WHERE "Lane" = '3' AND "Heat" = '2'
### Instruction: CREATE TABLE table_70715 ( "Dance" text, "Best dancer(s)" text, "Best score" real, "Worst dancer(s)" text, "Worst score" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the best average score with a bad score of 15? ### Resp...
SELECT AVG("Best score") FROM table_70715 WHERE "Worst score" = '15'
### Instruction: CREATE TABLE table_27484208_1 ( world_rank_by_qs_ VARCHAR, _2013 VARCHAR, members VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the world rank by QS in 2013 for the University of Otago? ### Response:
SELECT world_rank_by_qs_, _2013 FROM table_27484208_1 WHERE members = "University of Otago"
### Instruction: CREATE TABLE table_48112 ( "Province" text, "Largest city" text, "2nd Largest" text, "3rd Largest" text, "4th largest" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which province is the 3rd largest Dehbarez? ### Response:
SELECT "Province" FROM table_48112 WHERE "3rd Largest" = 'dehbarez'
### Instruction: CREATE TABLE table_25614 ( "date (dd.mm.yyyy)" text, "Tail number" text, "Location" text, "Fatalities" text, "Brief description" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the tail number of the airplane involved in the a...
SELECT "Tail number" FROM table_25614 WHERE "Brief description" = 'Crashed'
### Instruction: CREATE TABLE table_35882 ( "Year" real, "Chassis" text, "Engine" text, "Start" real, "Finish" real, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What engine has a start less than 7, and 23 as a finish? ### Response:
SELECT "Engine" FROM table_35882 WHERE "Start" < '7' AND "Finish" = '23'
### Instruction: CREATE TABLE table_37174 ( "Date" text, "Time ( CEST )" real, "Team #1" text, "Res." text, "Team #2" text, "Round" text, "Spectators" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is team 1 in group h? ### Response:
SELECT "Team #1" FROM table_37174 WHERE "Round" = 'group h'
### Instruction: CREATE TABLE table_12149 ( "Seat" real, "Series 1" text, "Series 3" text, "Series 4" text, "Series 5" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of seats with gavin duffy in series 4? ### Response:
SELECT COUNT("Seat") FROM table_12149 WHERE "Series 4" = 'gavin duffy'
### Instruction: CREATE TABLE table_50472 ( "Rank" real, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many silver for the team with more than 2 bronze and more than 7 gold? ### Response:
SELECT COUNT("Silver") FROM table_50472 WHERE "Bronze" > '2' AND "Gold" > '7'
### Instruction: CREATE TABLE table_name_36 ( plant_hardiness_zone VARCHAR, region VARCHAR, annual_precipitation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the plant hardiness zone in the Northern region where the annual precipitation is 443m...
SELECT plant_hardiness_zone FROM table_name_36 WHERE region = "northern" AND annual_precipitation = "443mm (17.4in)"
### Instruction: CREATE TABLE table_14319023_2 ( mixed_doubles VARCHAR, girls_doubles VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When girls doubles is anneke feinya agustin wenny setiawati what is the mixed doubles? ### Response:
SELECT mixed_doubles FROM table_14319023_2 WHERE girls_doubles = "Anneke Feinya Agustin Wenny Setiawati"
### Instruction: CREATE TABLE table_24086 ( "County" text, "Won by" text, "Walker %" real, "Walker votes" real, "Barrett %" real, "Barrett votes" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What percentage did Walker win in Calumet county? ...
SELECT "Walker %" FROM table_24086 WHERE "County" = 'Calumet'
### Instruction: CREATE TABLE table_203_475 ( id number, "stage" number, "date" text, "route" text, "terrain" text, "length" text, "winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which country had more stage winners than any other co...
SELECT "winner" FROM table_203_475 GROUP BY "winner" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_2565 ( "Season" real, "Episodes" real, "Timeslot ( EST )" text, "Season premiere" text, "Season finale" text, "TV season" text, "Rank" text, "Viewers (in millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT MIN("Season") FROM table_2565
### Instruction: CREATE TABLE table_11714 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponent has a Date of september 28, 1951? ### Response:
SELECT "Opponent" FROM table_11714 WHERE "Date" = 'september 28, 1951'
### Instruction: CREATE TABLE table_204_743 ( id number, "pos" text, "no" number, "driver" text, "constructor" text, "laps" number, "time/retired" text, "grid" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is...
SELECT COUNT("driver") FROM table_204_743
### Instruction: CREATE TABLE table_203_655 ( id number, "goal" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the least amount of go...
SELECT MIN("score" + "score") FROM table_203_655
### Instruction: CREATE TABLE table_204_107 ( 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 bronze medals did russia earn ? ### R...
SELECT "bronze" FROM table_204_107 WHERE "nation" = 'russia'
### Instruction: CREATE TABLE table_6874 ( "Year" real, "Ceremony" text, "Category" text, "Work" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Result with a Category of album of the year in a Year that is 2011? ### Resp...
SELECT "Result" FROM table_6874 WHERE "Category" = 'album of the year' AND "Year" = '2011'
### Instruction: CREATE TABLE table_63267 ( "City of license" text, "Identifier" text, "Frequency" text, "Power" text, "Class" text, "RECNet" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the identifier when the power is 22500 watts? ...
SELECT "Identifier" FROM table_63267 WHERE "Power" = '22500 watts'
### Instruction: CREATE TABLE table_204_697 ( id number, "song" text, "artist(s)" text, "concert" number, "film" number, "1978 album" number, "2002 album" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the first artist on the chart ...
SELECT "artist(s)" FROM table_204_697 WHERE id = 1
### Instruction: CREATE TABLE table_21578 ( "County" text, "Kerry%" text, "Kerry#" real, "Bush%" text, "Bush#" real, "Others%" text, "Others#" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the others % for johnson ### Response:
SELECT "Others%" FROM table_21578 WHERE "County" = 'Johnson'
### Instruction: CREATE TABLE table_79498 ( "Country" text, "Airport" text, "City" text, "2011" real, "Change (11/10)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which 2011 has an Airport of bole international airport? ### Response:
SELECT MAX("2011") FROM table_79498 WHERE "Airport" = 'bole international airport'
### Instruction: CREATE TABLE table_66348 ( "Model" text, "Year Introduced" real, "Number of CPUs" text, "Performance (MIPS)" text, "Memory (GB)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Memory (GB) has a Number of CPUs of 1 6? ### Res...
SELECT "Memory (GB)" FROM table_66348 WHERE "Number of CPUs" = '1–6'
### Instruction: CREATE TABLE table_25668203_2 ( most_laps_led VARCHAR, location VARCHAR, winning_driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the most laps led in monterey, california when scott rarick won the race? ### Response:
SELECT most_laps_led FROM table_25668203_2 WHERE location = "Monterey, California" AND winning_driver = "Scott Rarick"
### Instruction: CREATE TABLE table_20626467_1 ( jockey VARCHAR, distance VARCHAR, class VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the jockey in group 1 at the 1400m distance at randwick? ### Response:
SELECT jockey FROM table_20626467_1 WHERE class = "Group 1" AND venue = "Randwick" AND distance = "1400m"
### Instruction: CREATE TABLE table_35855 ( "Season" real, "Overall" text, "Slalom" text, "Giant Slalom" text, "Super G" text, "Combined" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest season with a Giant Slalom of 5? ### ...
SELECT MIN("Season") FROM table_35855 WHERE "Giant Slalom" = '5'