instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_29257 ( "Overall rank" real, "Country" text, "Overall life expectancy" real, "Male life expectancy" real, "Male rank" real, "Female life expectancy" real, "Female rank" real ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT COUNT("Male rank") FROM table_29257 WHERE "Country" = 'Fiji'
### Instruction: CREATE TABLE table_name_14 ( type VARCHAR, capacity___mw__ VARCHAR, rank VARCHAR, province VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the type when the rank is smaller than 70, the province is british columbia and the cap...
SELECT type FROM table_name_14 WHERE rank < 70 AND province = "british columbia" AND capacity___mw__ > 2 OFFSET 480
### Instruction: CREATE TABLE table_60368 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which To par has a Country of england, and a Place of t9, and a Player of graeme storm? ...
SELECT MAX("To par") FROM table_60368 WHERE "Country" = 'england' AND "Place" = 't9' AND "Player" = 'graeme storm'
### Instruction: CREATE TABLE table_name_40 ( size__cents_ INTEGER, just_ratio VARCHAR, just__cents_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ratio of 15:14, and a just (cents) larger than 119.44 is what average size (cents)? ### Response:
SELECT AVG(size__cents_) FROM table_name_40 WHERE just_ratio = "15:14" AND just__cents_ > 119.44
### Instruction: CREATE TABLE table_62119 ( "Outcome" text, "Date" text, "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. -- What was the score of the match playe...
SELECT "Outcome" FROM table_62119 WHERE "Date" = '18 january 1999'
### Instruction: CREATE TABLE table_5359 ( "Player" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Player has more than 1 Touchdowns with 0 Extra Points and less than 50...
SELECT "Player" FROM table_5359 WHERE "Touchdowns" > '1' AND "Extra points" = '0' AND "Points" < '50'
### Instruction: CREATE TABLE table_56190 ( "Round" text, "Pick" text, "Player" text, "Position" text, "Nationality" text, "Team" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the college that has 7 rounds and boston ce...
SELECT "College" FROM table_56190 WHERE "Team" = 'boston celtics' AND "Round" = '7'
### Instruction: CREATE TABLE table_29173 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Incoming manager" text, "Date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the mann...
SELECT "Manner of departure" FROM table_29173 WHERE "Outgoing manager" = 'Andrea Mandorlini'
### Instruction: CREATE TABLE table_18001 ( "K\u014dhaku #" real, "Date" text, "Red Team Host" text, "White Team Host" text, "Mediator" text, "Winning Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the mediator in k haku number 53?...
SELECT "Mediator" FROM table_18001 WHERE "K\u014dhaku #" = '53'
### Instruction: CREATE TABLE table_21520 ( "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 ...
SELECT "High assists" FROM table_21520 WHERE "Game" = '1'
### Instruction: CREATE TABLE table_75327 ( "NTFA Div 2" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of against of NTFA Div 2 Fingal Valley? ##...
SELECT MIN("Against") FROM table_75327 WHERE "NTFA Div 2" = 'fingal valley'
### Instruction: CREATE TABLE table_73572 ( "Rank by average" real, "Place" real, "Couple" text, "Number Of Dances" real, "Total Points Earned" real, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of dances total num...
SELECT COUNT("Number Of Dances") FROM table_73572 WHERE "Average" = '22.3'
### Instruction: CREATE TABLE table_15225 ( "Year" real, "Venue" text, "Winner" text, "Country" text, "Score" text, "Runner-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winner from the United States the year Kimberly Kim was ru...
SELECT "Winner" FROM table_15225 WHERE "Runner-up" = 'kimberly kim' AND "Country" = 'united states'
### Instruction: CREATE TABLE table_39701 ( "Call sign" text, "Launched" text, "Transmitting from" text, "Coverage" text, "Languages" text, "Frequency" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the coverage of the station that was l...
SELECT "Coverage" FROM table_39701 WHERE "Launched" = '22 january 1996'
### Instruction: CREATE TABLE table_72222 ( "Player" text, "No.(s)" text, "Height in Ft." text, "Position" text, "Years for Rockets" text, "School/Club Team/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of the player...
SELECT "No.(s)" FROM table_72222 WHERE "School/Club Team/Country" = 'Southern University'
### Instruction: CREATE TABLE table_43667 ( "Match" text, "Date" text, "Location" text, "Lineup" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On What Date is the Competition Semifinal that has a result of 2-1...
SELECT "Date" FROM table_43667 WHERE "Competition" = 'semifinal' AND "Result" = '2-1 aet'
### Instruction: CREATE TABLE table_21518 ( "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 ...
SELECT COUNT("Score") FROM table_21518 WHERE "Team" = 'Houston'
### Instruction: CREATE TABLE table_43513 ( "Game" real, "January" real, "Opponent" text, "Score" text, "Decision" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Game has a January larger than 18, and a Decision of valiquett...
SELECT MAX("Game") FROM table_43513 WHERE "January" > '18' AND "Decision" = 'valiquette'
### Instruction: CREATE TABLE table_204_154 ( id number, "player" text, "matches" number, "innings" number, "runs" number, "average" number, "100s" number, "50s" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what were the number of in...
SELECT "innings" FROM table_204_154 WHERE "player" = 'albert clapp'
### Instruction: CREATE TABLE table_17095 ( "Year" text, "Player" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nba draft for the player from the hometown of virginia...
SELECT "NBA Draft" FROM table_17095 WHERE "Hometown" = 'Virginia Beach, VA'
### Instruction: CREATE TABLE table_69856 ( "Tournament" text, "2008" text, "2010" text, "2011" text, "2012" text, "2013" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the 2013 for 2010 of 1r ### Response:
SELECT "2013" FROM table_69856 WHERE "2010" = '1r'
### Instruction: CREATE TABLE table_70776 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For engines of Maserati Straight-6 and entrants of H H Gould, what is the latest year? ...
SELECT MAX("Year") FROM table_70776 WHERE "Engine" = 'maserati straight-6' AND "Entrant" = 'h h gould'
### Instruction: CREATE TABLE table_42315 ( "Country" text, "Automobile Name" text, "Manufacturer" text, "Engine Make/Capacity" text, "Year" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the car manufactured by Letecke Zavody N....
SELECT "Automobile Name" FROM table_42315 WHERE "Manufacturer" = 'letecke zavody n.p., jinonice'
### Instruction: CREATE TABLE table_63700 ( "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest heat that had a time of 1:02.85 in a lane larger than 7? ### Response:
SELECT MIN("Heat") FROM table_63700 WHERE "Time" = '1:02.85' AND "Lane" > '7'
### Instruction: CREATE TABLE table_2108 ( "Institution" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Nickname" text, "Joined" real, "Division" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many schools na...
SELECT COUNT("Enrollment") FROM table_2108 WHERE "Institution" = 'Southern New Hampshire University'
### Instruction: CREATE TABLE table_23320 ( "Vehicle Category" text, "Till Aligarh" real, "Till Mathura" real, "Till Agra" real, "For Round Trip" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the till aligarh is 150, what the mac till mathura? ...
SELECT MAX("Till Mathura") FROM table_23320 WHERE "Till Aligarh" = '150'
### Instruction: CREATE TABLE table_79984 ( "Coach" text, "Club" text, "Wins" real, "Loss" real, "PCT." real, "PTS." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest percent of Bruce Arena when he loses more than 11 games? ##...
SELECT MAX("PTS.") FROM table_79984 WHERE "Coach" = 'bruce arena' AND "Loss" > '11'
### Instruction: CREATE TABLE table_74596 ( "Year" real, "Race name" text, "Rider status" text, "Winner" text, "Team/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What ream played later than 1958 in the kellogg's tour? ### Response:
SELECT "Team/Country" FROM table_74596 WHERE "Year" > '1958' AND "Race name" = 'kellogg''s tour'
### Instruction: CREATE TABLE table_11034 ( "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. -- In the game against home team F...
SELECT "Away team score" FROM table_11034 WHERE "Home team" = 'fitzroy'
### Instruction: CREATE TABLE table_24666 ( "Team" text, "Truck(s)" text, "#" real, "Driver(s)" text, "Primary Sponsor(s)" text, "Listed Owner(s)" text, "Crew Chief" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the listed owners for b...
SELECT "Listed Owner(s)" FROM table_24666 WHERE "Team" = 'Brevak Racing'
### Instruction: CREATE TABLE table_78502 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponent in Final" text, "Score in Final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which partner was on 14 apr...
SELECT "Partner" FROM table_78502 WHERE "Date" = '14 april 2013'
### Instruction: CREATE TABLE table_56241 ( "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. -- What is the ...
SELECT "Pole Position" FROM table_56241 WHERE "Race" = 'swedish grand prix'
### Instruction: CREATE TABLE table_50502 ( "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 ...
SELECT "Date" FROM table_50502 WHERE "Team" = 'orlando'
### Instruction: CREATE TABLE table_72643 ( "Year" real, "Championship" text, "54 holes" text, "Winning score" text, "Margin" text, "Runner-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT WAS THE YEAR WHEN THE RUNNER-UP WAS WILLIAM MEHLH...
SELECT MAX("Year") FROM table_72643 WHERE "Runner-up" = 'William Mehlhorn'
### Instruction: CREATE TABLE table_33531 ( "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 richmond was the Away team...
SELECT "Home team score" FROM table_33531 WHERE "Away team" = 'richmond'
### Instruction: CREATE TABLE table_71402 ( "Date" text, "Tournament" text, "Surface" text, "Tier" text, "Partner" text, "Opponents in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score in the touraname...
SELECT "Score" FROM table_71402 WHERE "Tournament" = 'antalya-belek'
### Instruction: CREATE TABLE table_204_770 ( id number, "season" number, "date" text, "jia-a/csl winner" text, "result" text, "fa cup winner" text, "scorers" text, "stadium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many had a ...
SELECT COUNT(*) FROM table_204_770 WHERE "result" + "result" > 6
### Instruction: CREATE TABLE table_1307 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What season ...
SELECT MAX("Season #") FROM table_1307 WHERE "Series #" = '102'
### Instruction: CREATE TABLE table_70741 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the visiting team when the record was 28 ...
SELECT "Visitor" FROM table_70741 WHERE "Record" = '28–14–6–2'
### Instruction: CREATE TABLE table_50511 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE GRID WITH AN ACCIDENT AND HONDA MANUFACTURER? ### Response:
SELECT MAX("Grid") FROM table_50511 WHERE "Time/Retired" = 'accident' AND "Manufacturer" = 'honda'
### Instruction: CREATE TABLE table_31633 ( "Conference" text, "# of Bids" real, "Record" text, "Win %" text, "Round of 32" text, "Elite Eight" text, "Final Four" text, "Championship Game" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- W...
SELECT "Win %" FROM table_31633 WHERE "Conference" = 'metro'
### Instruction: CREATE TABLE table_622 ( "Leg" text, "Stage" text, "Time (EEST)" text, "Name" text, "Length" text, "Winner" text, "Time" text, "Avg. spd." text, "Rally leader" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is t...
SELECT COUNT("Leg") FROM table_622 WHERE "Stage" = 'SS17'
### Instruction: CREATE TABLE table_52245 ( "Player" text, "Position" text, "Date of Birth (Age)" text, "Caps" real, "Club/province" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What club/province for the player with over 18 caps and plays the fly...
SELECT "Club/province" FROM table_52245 WHERE "Caps" > '18' AND "Position" = 'fly-half'
### Instruction: CREATE TABLE table_5122 ( "Date" text, "City" text, "Opponent" text, "Results\u00b9" text, "Type of game" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What opponent has euro '84 qualifying as the type and split as the city? ### ...
SELECT "Opponent" FROM table_5122 WHERE "Type of game" = 'euro ''84 qualifying' AND "City" = 'split'
### Instruction: CREATE TABLE table_6809 ( "Name" text, "Position" text, "Number" text, "School/Club Team" text, "Season" text, "Acquisition via" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which season had a trade with the school/club team L...
SELECT "Season" FROM table_6809 WHERE "Acquisition via" = 'trade' AND "School/Club Team" = 'la salle'
### 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. -- how many songs did joni mitchell perf...
SELECT COUNT("song") FROM table_204_697 WHERE "artist(s)" = 'joni mitchell'
### Instruction: CREATE TABLE table_name_86 ( format VARCHAR, region_4 VARCHAR, _number_episodes VARCHAR, _number_disc_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the format for the 4 disc season that had less than 22 episodes and n/a ...
SELECT format FROM table_name_86 WHERE _number_episodes < 22 AND _number_disc_s_ = 4 AND region_4 = "n/a"
### Instruction: CREATE TABLE table_19971 ( "Province" text, "Prefecture" text, "County" text, "Tujia Population" real, "% of Chinas Tujia Population" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If yongshun is the county what is the overall perce...
SELECT "% of Chinas Tujia Population" FROM table_19971 WHERE "County" = 'Yongshun'
### Instruction: CREATE TABLE table_name_93 ( title VARCHAR, director VARCHAR, dance_partner VARCHAR, lyrics VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Title has a Dance Partner of adele astaire, and Lyrics of ira gershwin, and a Director o...
SELECT title FROM table_name_93 WHERE dance_partner = "adele astaire" AND lyrics = "ira gershwin" AND director = "felix edwardes"
### Instruction: CREATE TABLE table_59702 ( "Place" real, "Nation" text, "All Around" real, "Final" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average final with an all around larger than 19.4 and total more than 39.9? ...
SELECT AVG("Final") FROM table_59702 WHERE "All Around" > '19.4' AND "Total" > '39.9'
### Instruction: CREATE TABLE table_11119 ( "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 was the largest crowd when...
SELECT MAX("Crowd") FROM table_11119 WHERE "Away team" = 'collingwood'
### Instruction: CREATE TABLE table_56418 ( "Season" text, "Cup FinalDate" text, "WinningTeam" text, "Score" text, "LosingTeam" text, "Cup Final Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date did the Brisbane Lions (1) w...
SELECT "Cup FinalDate" FROM table_56418 WHERE "WinningTeam" = 'brisbane lions (1)'
### Instruction: CREATE TABLE table_73153 ( "#" real, "Episode" text, "UK air date" text, "Timeslot" text, "Viewers (millions)" text, "Audience share in timeslot" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the uk air date for audience s...
SELECT "UK air date" FROM table_73153 WHERE "Audience share in timeslot" = '7.3%'
### Instruction: CREATE TABLE table_203_410 ( id number, "game" number, "date" text, "opponent" text, "location" text, "score" text, "attendance" number, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the average combin...
SELECT AVG("score" + "score") FROM table_203_410 WHERE "date" = 2
### Instruction: CREATE TABLE table_73934 ( "Represents" text, "Contestant" text, "Age" real, "Height (cm)" text, "Height (ft)" text, "Hometown" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of represents for clary sermina...
SELECT COUNT("Represents") FROM table_73934 WHERE "Contestant" = 'Clary Sermina Delgado Cid'
### Instruction: CREATE TABLE table_6750 ( "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 silver medals with a rank of 4 and total medals...
SELECT MIN("Silver") FROM table_6750 WHERE "Rank" = '4' AND "Total" > '1'
### Instruction: CREATE TABLE table_75550 ( "Week" real, "Date" text, "Opponent" text, "Location" text, "Time ( ET )" text, "Result" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the record of the game that has a resu...
SELECT "Record" FROM table_75550 WHERE "Result" = 'w 45–17'
### Instruction: CREATE TABLE table_46719 ( "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 ...
SELECT "Record" FROM table_46719 WHERE "Game" = '56'
### Instruction: CREATE TABLE table_29366 ( "Vertical" real, "Horizontal" real, "Aspect ratio" text, "Pixel aspect ratio" text, "Scanning" text, "Frame rate ( Hz )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least horizontal for smp...
SELECT MIN("Horizontal") FROM table_29366 WHERE "Pixel aspect ratio" = 'SMPTE 259M three quarters'
### Instruction: CREATE TABLE table_name_57 ( attempts INTEGER, yds_att VARCHAR, rank VARCHAR, start VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of attempts for the player with a rank number larger than 3, who started aft...
SELECT MIN(attempts) FROM table_name_57 WHERE rank > 3 AND start > 1984 AND yds_att < 6.1
### Instruction: CREATE TABLE table_15736 ( "Season" text, "Team Name" text, "Games" real, "Losses" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the greatest number of losses a team that played fewer than 25 games in 2010 ha...
SELECT MAX("Losses") FROM table_15736 WHERE "Games" < '25' AND "Season" = '2010'
### Instruction: CREATE TABLE table_75046 ( "Stage" text, "Time" text, "Name" text, "Length" text, "Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Name of the stage with a Length of 16.62km and Time of 15:10? ### Response:
SELECT "Name" FROM table_75046 WHERE "Length" = '16.62km' AND "Time" = '15:10'
### Instruction: CREATE TABLE table_54809 ( "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. -- Who was the leading scorer in the game wher...
SELECT "Leading scorer" FROM table_54809 WHERE "Visitor" = 'pistons'
### Instruction: CREATE TABLE table_203_839 ( id number, "station" text, "type" text, "latitude" text, "longitude" text, "el. (m)" number, "opened" number, "closed" number, "coordinates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
SELECT "station" FROM table_203_839 ORDER BY "opened" LIMIT 1
### Instruction: CREATE TABLE table_12243 ( "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. -- Which Popu...
SELECT MAX("Population") FROM table_12243 WHERE "Median family income" = '$53,946'
### Instruction: CREATE TABLE table_71131 ( "Season" text, "Club" text, "Country" text, "Competition" text, "Apps." real, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many goals did he score with under 26 appearances for werder bre...
SELECT COUNT("Goals") FROM table_71131 WHERE "Apps." < '26' AND "Club" = 'werder bremen'
### Instruction: CREATE TABLE table_80072 ( "Outcome" text, "Year" real, "Tournament" text, "Partner" text, "Opponent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent played in the Chinese Taipei Open in 2000? ### Response:
SELECT "Opponent" FROM table_80072 WHERE "Tournament" = 'chinese taipei open' AND "Year" = '2000'
### Instruction: CREATE TABLE table_26152 ( "Edition" text, "Round" text, "Date" text, "Against" text, "Surface" text, "Opponent" text, "W/L" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score against Loic D...
SELECT "Result" FROM table_26152 WHERE "Opponent" = 'Loic Didavi'
### Instruction: CREATE TABLE table_40156 ( "Year" real, "Men's singles" text, "Women's singles" text, "Men's doubles" text, "Women's doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Women's Doubles, when Yea...
SELECT "Women's doubles" FROM table_40156 WHERE "Year" = '2007'
### Instruction: CREATE TABLE table_6770 ( "SANSKRT" text, "CHINESE" text, "VIETNAMESE" text, "JAPANESE" text, "KOREAN" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which VIETNAMESE has a CHINESE of / b r m du ? ### Response:
SELECT "VIETNAMESE" FROM table_6770 WHERE "CHINESE" = '不如密多 / bùrúmìduō'
### Instruction: CREATE TABLE table_37739 ( "Name" text, "Hanzi" text, "Language" text, "Launch" real, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which language's launch was in 2006 when then hanzi was ? ### Response:
SELECT "Language" FROM table_37739 WHERE "Launch" = '2006' AND "Hanzi" = '青海电视台藏语综合频道'
### Instruction: CREATE TABLE table_27303 ( "Team" text, "#" real, "Primary Sponsor" text, "Driver(s)" text, "Listed Owner(s)" text, "Engine" text, "Chassis" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team owns the car owned by chip...
SELECT "Team" FROM table_27303 WHERE "Listed Owner(s)" = 'Chip Ganassi'
### Instruction: CREATE TABLE table_204_228 ( id number, "year" number, "title" text, "credit" text, "role" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which was released in 2011 , undefeated or freakonomics ? ### Response:
SELECT "title" FROM table_204_228 WHERE "title" IN ('undefeated', 'freakonomics') AND "year" = 2011
### Instruction: CREATE TABLE table_66946 ( "Date" text, "Opponents" text, "Result F\u2013A" text, "Scorers" text, "Attendance" real, "Group position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were F A of 1 0 scorers? ### Response:
SELECT "Scorers" FROM table_66946 WHERE "Result F\u2013A" = '1–0'
### Instruction: CREATE TABLE table_18498 ( "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's the result with candidates being charles edward ...
SELECT "Result" FROM table_18498 WHERE "Candidates" = 'Charles Edward Bennett (D) Unopposed'
### Instruction: CREATE TABLE table_9789 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which To par has a Total larger than 283, and a Finish of t12? #...
SELECT "To par" FROM table_9789 WHERE "Total" > '283' AND "Finish" = 't12'
### Instruction: CREATE TABLE table_56652 ( "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 did the home team score wh...
SELECT "Home team score" FROM table_56652 WHERE "Away team" = 'south melbourne'
### Instruction: CREATE TABLE table_46061 ( "Fin. Pos" text, "Car No." text, "Driver" text, "Team" text, "Laps" text, "Time/Retired" text, "Grid" text, "Laps Led" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many...
SELECT "Points" FROM table_46061 WHERE "Grid" = '1'
### Instruction: CREATE TABLE table_62333 ( "Year" real, "Delegate" text, "Hometown" text, "Pageant" text, "Result" text, "Other awards" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the latest year the miss internet www pageant had a re...
SELECT MAX("Year") FROM table_62333 WHERE "Pageant" = 'miss internet www' AND "Result" = 'second runner-up'
### Instruction: CREATE TABLE table_29075 ( "Date" text, "Time" text, "Visiting team" text, "Home team" text, "Site" text, "Broadcast" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times was Lo...
SELECT COUNT("Time") FROM table_29075 WHERE "Visiting team" = 'Louisiana-Monroe'
### Instruction: CREATE TABLE table_3047 ( "Seed" real, "Rank" real, "Player" text, "Points" real, "Points defending" text, "Points won" real, "New points" real, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the total numb...
SELECT "Points defending" FROM table_3047 WHERE "Player" = 'Caroline Wozniacki'
### Instruction: CREATE TABLE table_71690 ( "Player" text, "Wkts" real, "Runs" real, "Econ" real, "Ovrs" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average econ for runs more than 703 and ovrs more than 25.5 ### Response:
SELECT AVG("Econ") FROM table_71690 WHERE "Ovrs" > '25.5' AND "Runs" > '703'
### Instruction: CREATE TABLE table_76508 ( "Finished" text, "Horse" text, "Jockey" text, "Trainer" text, "Odds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Jockey that has Nick Zito as Trainer and Odds of 34-1? ### Response:
SELECT "Jockey" FROM table_76508 WHERE "Trainer" = 'nick zito' AND "Odds" = '34-1'
### Instruction: CREATE TABLE table_203_549 ( id number, "player" text, "team" text, "date" text, "opponent" text, "venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- on what date did the detroit tigers play the cleveland indians ? ### Resp...
SELECT "date" FROM table_203_549 WHERE "team" = 'detroit tigers' AND "opponent" = 'cleveland indians'
### Instruction: CREATE TABLE table_70960 ( "Date" text, "Location" text, "Nature of incident" text, "Circumstances" text, "Casualties" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the circumstances of the Hostile incident on the road to...
SELECT "Circumstances" FROM table_70960 WHERE "Nature of incident" = 'hostile' AND "Location" = 'road to jalalabad'
### Instruction: CREATE TABLE table_59666 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Jeff Sluman's To par when his total was smaller than 284...
SELECT "To par" FROM table_59666 WHERE "Total" < '284' AND "Player" = 'jeff sluman'
### Instruction: CREATE TABLE table_4176 ( "Episode" text, "First broadcast" text, "Andrew and Georgies guest" text, "Jamie and Johns guest" text, "Scores" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was Andrew and Georgies guest when Jamie a...
SELECT "Andrew and Georgies guest" FROM table_4176 WHERE "Jamie and Johns guest" = 'Jessica Ennis'
### Instruction: CREATE TABLE table_43693 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/junior/club team (league)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE LEAGUE WITH PLAYER JOE COLBORNE? ### Respo...
SELECT "College/junior/club team (league)" FROM table_43693 WHERE "Player" = 'joe colborne'
### Instruction: CREATE TABLE table_204_365 ( id number, "year" number, "single" text, "chart positions\nusa billboard hot dance club play" number, "chart positions\npolish charts" number, "album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- w...
SELECT COUNT("single") FROM table_204_365 WHERE NOT "chart positions\nusa billboard hot dance club play" IS NULL
### Instruction: CREATE TABLE table_3486 ( "No. in series" real, "No. in season" real, "Title" text, "Vessel Type" text, "Vessel Operator" text, "Narrated by" text, "Original air date" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the ...
SELECT "Vessel Type" FROM table_3486 WHERE "Vessel Operator" = 'DOF Subsea'
### Instruction: CREATE TABLE table_55475 ( "Rank" real, "Player" text, "Country" text, "Earnings ( $ )" real, "Events" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average rank for players with under 26 events and les...
SELECT AVG("Rank") FROM table_55475 WHERE "Events" < '26' AND "Wins" < '2'
### Instruction: CREATE TABLE table_32520 ( "Athlete Name" text, "Jump 1" text, "Jump 2" text, "Jump 3" text, "Best Jump" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Jump 2 of the person that has a Jump 3 of 7.77? ### Response:
SELECT "Jump 2" FROM table_32520 WHERE "Jump 3" = '7.77'
### Instruction: CREATE TABLE table_45955 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Laps have Grid larger than 14, and a Rider of sylvain guintoli? ### Response:
SELECT COUNT("Laps") FROM table_45955 WHERE "Grid" > '14' AND "Rider" = 'sylvain guintoli'
### Instruction: CREATE TABLE table_62208 ( "Date From" text, "Date To" text, "Pos." text, "Name" text, "Moving To" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did the player in Pos mf, move to until 30 june 2009 ? ### Response:
SELECT "Moving To" FROM table_62208 WHERE "Date To" = '30 june 2009' AND "Pos." = 'mf'
### Instruction: CREATE TABLE table_801 ( "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 ab...
SELECT "High rebounds" FROM table_801 WHERE "Team" = 'Golden State'
### Instruction: CREATE TABLE table_77298 ( "Year" real, "Award" text, "Category" text, "Country" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year has an Award of 17th bangkok critics assembly awards, and a Category of best o...
SELECT "Year" FROM table_77298 WHERE "Award" = '17th bangkok critics assembly awards' AND "Category" = 'best original score'
### Instruction: CREATE TABLE table_56676 ( "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 total when the rank is less than 2 and bronze is more th...
SELECT MIN("Total") FROM table_56676 WHERE "Rank" < '2' AND "Bronze" > '0'
### Instruction: CREATE TABLE table_203_778 ( id number, "representative" text, "title" text, "presentation\nof credentials" text, "termination\nof mission" text, "appointed by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which ambassador to ...
SELECT "representative" FROM table_203_778 ORDER BY "termination\nof mission" - "presentation\nof credentials" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_30 ( moroccan_population VARCHAR, name VARCHAR, population__2004_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number for the Moroccan population when the name is Sebt Saiss and the 2004 population i...
SELECT COUNT(moroccan_population) FROM table_name_30 WHERE name = "sebt saiss" AND population__2004_ > 11212
### Instruction: CREATE TABLE table_52351 ( "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. -- During footscray's home match, ...
SELECT "Away team score" FROM table_52351 WHERE "Home team" = 'footscray'