instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_27674 ( "Position" text, "Number" real, "Horse" text, "Jockey" text, "Age" real, "Handicap" text, "SP" text, "Distance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is distance for the 7th posit...
SELECT COUNT("Distance") FROM table_27674 WHERE "Position" = '7th'
### Instruction: CREATE TABLE table_63044 ( "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 Average for Silver medals that have more than 17 Golds? ### R...
SELECT AVG("Silver") FROM table_63044 WHERE "Gold" > '17'
### Instruction: CREATE TABLE table_28609 ( "Election number" real, "Election date" text, "District" text, "Province" text, "Took office" text, "Left office" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the dates of leaving office for...
SELECT "Left office" FROM table_28609 WHERE "Province" = 'Seville'
### Instruction: CREATE TABLE table_204_911 ( id number, "album / name" text, "artist(s)" text, "label" text, "role/credit" text, "date" text, "chart#" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many were released in 2013 ? ### Res...
SELECT COUNT(*) FROM table_204_911 WHERE "date" = 2013
### Instruction: CREATE TABLE table_16250 ( "Season" text, "Series" text, "Team Name" text, "Races" real, "Poles" real, "Wins" real, "Points" real, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the score for the dams?...
SELECT "Points" FROM table_16250 WHERE "Team Name" = 'DAMS'
### Instruction: CREATE TABLE table_59752 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the To par when Lanny Wadkins is the player? ### Re...
SELECT "To par" FROM table_59752 WHERE "Player" = 'lanny wadkins'
### Instruction: CREATE TABLE table_name_55 ( year INTEGER, sets VARCHAR, aces VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the most recent year that samantha stosur was the opponent with 20 aces and having played more than...
SELECT MAX(year) FROM table_name_55 WHERE aces = 20 AND opponent = "samantha stosur" AND sets > 2
### Instruction: CREATE TABLE table_18493 ( "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 are the candidates for noah m. mason? ### Respon...
SELECT COUNT("Candidates") FROM table_18493 WHERE "Incumbent" = 'Noah M. Mason'
### Instruction: CREATE TABLE table_40833 ( "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 tournament was played on Feb 3, 1991? ### Response:
SELECT "Tournament" FROM table_40833 WHERE "Date" = 'feb 3, 1991'
### Instruction: CREATE TABLE table_64914 ( "Actor" text, "Character" text, "Soap Opera" text, "Years" text, "Duration" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the duration of the Archers with Pauline Seville acting? ### Response:
SELECT "Duration" FROM table_64914 WHERE "Soap Opera" = 'the archers' AND "Actor" = 'pauline seville'
### Instruction: CREATE TABLE table_17449 ( "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. -- What's Dave Fortier's pick number? ### Re...
SELECT COUNT("Pick #") FROM table_17449 WHERE "Player" = 'Dave Fortier'
### Instruction: CREATE TABLE table_75688 ( "Year" real, "Winner" text, "Jockey" text, "Trainer" text, "Owner" text, "Distance (Miles)" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the jockey for the winning horse Heli...
SELECT "Jockey" FROM table_75688 WHERE "Winner" = 'helioptic'
### Instruction: CREATE TABLE FACULTY ( Building VARCHAR, FacID VARCHAR ) CREATE TABLE COURSE ( Instructor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which building does the instructor who teaches the most number of courses live in? ### Response:
SELECT T2.Building FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor = T2.FacID GROUP BY T1.Instructor ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_9163 ( "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 total rank where the total is less than 5, and bronze is less than 0? ### Respons...
SELECT COUNT("Rank") FROM table_9163 WHERE "Total" < '5' AND "Bronze" < '0'
### Instruction: CREATE TABLE table_30896 ( "Month Sequence" real, "Numbered Month" text, "Month Name" text, "Regular Year" text, "Defective Year" real, "Excessive Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the month sequence f...
SELECT MIN("Month Sequence") FROM table_30896 WHERE "Month Name" = 'Av'
### Instruction: CREATE TABLE movie ( mid number, title text, year number, director text ) CREATE TABLE reviewer ( rid number, name text ) CREATE TABLE rating ( rid number, mid number, stars number, ratingdate time ) -- Using valid SQLite, answer the following questions for t...
SELECT rid FROM rating EXCEPT SELECT rid FROM rating WHERE stars = 4
### Instruction: CREATE TABLE table_3191 ( "Episode #" real, "Production Count" real, "Original Airdate" text, "Prod. Code" text, "Title" text, "Viewing figures millions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the production cou...
SELECT "Production Count" FROM table_3191 WHERE "Title" = 'The Mayor Of Northolt'
### Instruction: CREATE TABLE table_203_263 ( id number, "alumni chapters and clubs" text, "location" text, "founding date" text, "years active" text, "province" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many chapters were founded in oh...
SELECT COUNT("alumni chapters and clubs") FROM table_203_263 WHERE "location" = 'oh'
### Instruction: CREATE TABLE table_17140 ( "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. -- Who is the player who's number i...
SELECT "Player" FROM table_17140 WHERE "No.(s)" = '3'
### Instruction: CREATE TABLE table_2356 ( "Sd" real, "Player" text, "Points" real, "Points defending" real, "Points won" real, "New points" real, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points did agnieszka radwa sk...
SELECT "Points" FROM table_2356 WHERE "Player" = 'Agnieszka Radwańska'
### Instruction: CREATE TABLE table_56949 ( "Place" real, "Player Name" text, "Yards" text, "TD's" real, "Long" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the long of the player with 16 yards and less than 1 TD? ### Response:
SELECT SUM("Long") FROM table_56949 WHERE "Yards" = '16' AND "TD's" < '1'
### Instruction: CREATE TABLE table_25058 ( "South American Rank" real, "World Rank" real, "Nation" text, "2011 (IMF)" text, "2008 (CIA Factbook)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the south american rank for venezuela ### Respon...
SELECT MIN("South American Rank") FROM table_25058 WHERE "Nation" = 'Venezuela'
### Instruction: CREATE TABLE table_40672 ( "AIRLINES" text, "IATA" text, "ICAO" text, "CALLSIGN" text, "COMMENCED OPERATIONS" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the callsign that has ICAO of SCO? ### Response:
SELECT "CALLSIGN" FROM table_40672 WHERE "ICAO" = 'sco'
### Instruction: CREATE TABLE table_59310 ( "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 college did Louis LeBlanc attend? ### Response:
SELECT "College/junior/club team (league)" FROM table_59310 WHERE "Player" = 'louis leblanc'
### Instruction: CREATE TABLE table_58900 ( "Glenelg FL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many wins were there when the byes were more than 3? ### Respons...
SELECT COUNT("Wins") FROM table_58900 WHERE "Byes" > '3'
### Instruction: CREATE TABLE employees ( first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, salary VARCHAR, department_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- display the full name (first and last), hire date, salary, and depart...
SELECT first_name, last_name, hire_date, salary, department_id FROM employees WHERE NOT first_name LIKE '%M%'
### Instruction: CREATE TABLE table_204_886 ( id number, "rank" number, "swimmer" text, "country" text, "time" text, "note" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many mexican swimmers ranked in the top 10 ? ### Response:
SELECT COUNT("swimmer") FROM table_204_886 WHERE "country" = 'mexico' AND "rank" <= 10
### Instruction: CREATE TABLE table_22818 ( "Programme" text, "Date(s) of original removal" text, "Original channel" text, "Date of return" text, "New channel(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When five is the new channel what is th...
SELECT "Date(s) of original removal" FROM table_22818 WHERE "New channel(s)" = 'Five'
### Instruction: CREATE TABLE table_name_84 ( played VARCHAR, wins VARCHAR, _percentage_win VARCHAR, losses VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Played has a % Win of 50.00%, and Losses of 1, and Wins smaller than 1? ### Response...
SELECT COUNT(played) FROM table_name_84 WHERE _percentage_win = "50.00%" AND losses = 1 AND wins < 1
### Instruction: CREATE TABLE table_13824 ( "Brand" text, "Model" text, "Type" text, "Modem" text, "Storage" text, "CPU speed" text, "CPU chip" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which CPU chip(s) is used in the Classic type hard...
SELECT "CPU chip" FROM table_13824 WHERE "Type" = 'classic'
### Instruction: CREATE TABLE table_80279 ( "Year" real, "Competition" text, "Wins" real, "Draws" real, "Loses" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What average Wins has Losses 2, and Draws less than 0? ### Response:
SELECT AVG("Wins") FROM table_80279 WHERE "Loses" = '2' AND "Draws" < '0'
### Instruction: CREATE TABLE table_203_7 ( id number, "pos." number, "artist" text, "single" text, "year" number, "sales" number, "peak" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many sales did the single tic tic tac have ? ###...
SELECT "sales" FROM table_203_7 WHERE "single" = '"tic, tic tac"'
### Instruction: CREATE TABLE table_24670 ( "Date (GMT)" text, "Yield (megatons)" text, "Deployment" text, "Country" text, "Test Site" text, "Name or Number" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the name for 15 yield ### Respons...
SELECT "Name or Number" FROM table_24670 WHERE "Yield (megatons)" = '15'
### Instruction: CREATE TABLE table_204_683 ( id number, "no." number, "constituency" text, "winner candidate" text, "party" text, "votes" number, "margin" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the average number of votes...
SELECT AVG("votes") FROM table_204_683 WHERE "no." <= 5
### Instruction: CREATE TABLE table_204_599 ( id number, "party" text, "first duma" text, "second duma" text, "third duma" text, "fourth duma" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many parties had more than 50 seats in the third du...
SELECT COUNT("party") FROM table_204_599 WHERE "third duma" > 50
### Instruction: CREATE TABLE table_54934 ( "Year" text, "Team" text, "Comp" text, "Rate" text, "RAtt" text, "RYds" text, "RAvg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In 1984, what was the RAvg? ### Response:
SELECT "RAvg" FROM table_54934 WHERE "Year" = '1984'
### 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. -- how many strikes had above 200,000 mem...
SELECT COUNT(*) FROM table_203_759 WHERE "number of members affected" > 200000
### Instruction: CREATE TABLE table_13536 ( "Event" text, "Record" text, "Nationality" text, "Date" text, "Games" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Record of the 2012 Hamilton Games from Bahamas? ### Response:
SELECT "Record" FROM table_13536 WHERE "Nationality" = 'bahamas' AND "Games" = '2012 hamilton'
### Instruction: CREATE TABLE table_43692 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the country of player chi-chi rodr guez, who has an e to par? ### Response:
SELECT "Country" FROM table_43692 WHERE "To par" = 'e' AND "Player" = 'chi-chi rodríguez'
### Instruction: CREATE TABLE table_name_56 ( year INTEGER, role VARCHAR, director VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the role nan taylor, alias of nan ellis, aka mrs. andrews and directed by William keighley? ### Response:
SELECT SUM(year) FROM table_name_56 WHERE role = "nan taylor, alias of nan ellis, aka mrs. andrews" AND director = "william keighley"
### Instruction: CREATE TABLE table_72757 ( "Appearances" real, "School" text, "Wins" real, "Losses" real, "Percent" text, "Last Appearance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many schools had the win loss ratio of 0.667? ### R...
SELECT COUNT("School") FROM table_72757 WHERE "Percent" = '0.667'
### Instruction: CREATE TABLE table_1157867_2 ( date_built VARCHAR, wheel_arrangement VARCHAR, builder VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date did Hudswell Clarke build the locomotive with 0-6-0 ST wheel arrangements? ### Response:
SELECT date_built FROM table_1157867_2 WHERE wheel_arrangement = "0-6-0 ST" AND builder = "Hudswell Clarke"
### Instruction: CREATE TABLE table_77062 ( "Team" text, "Location" text, "Venue" text, "Capacity" real, "Position in 2005" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Capacity that has the Position in 2005 of 8? ### Respons...
SELECT "Capacity" FROM table_77062 WHERE "Position in 2005" = '8'
### Instruction: CREATE TABLE table_654 ( "Department" text, "Acronym" text, "Office" text, "Incumbent" text, "in Office since" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the the office with incumbent being ramon r. jimenez, jr. ### Res...
SELECT "Office" FROM table_654 WHERE "Incumbent" = 'Ramon R. Jimenez, Jr.'
### Instruction: CREATE TABLE table_61818 ( "Perpetrator" text, "Date" text, "Year" real, "Location" text, "Country" text, "Killed" real, "Additional Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who went on a rampage in Baghdad? #...
SELECT "Perpetrator" FROM table_61818 WHERE "Location" = 'baghdad'
### Instruction: CREATE TABLE table_60982 ( "Date" text, "Opponent#" text, "Rank #" text, "Site" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT OPPONENT WAS ON OCTOBER 7? ### Response:
SELECT "Opponent#" FROM table_60982 WHERE "Date" = 'october 7'
### 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. -- what is the number of times a boston red sox player has had two grand slams...
SELECT COUNT(*) FROM table_203_549 WHERE "team" = 'boston red sox'
### Instruction: CREATE TABLE table_name_51 ( week INTEGER, date VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the last time, since December 14, 1986, that the attendance was lower than 47,096? ### Response:
SELECT MAX(week) FROM table_name_51 WHERE date = "december 14, 1986" AND attendance < 47 OFFSET 096
### Instruction: CREATE TABLE table_45740 ( "Date" text, "Venue" text, "Opponent" text, "Result" text, "Tournament" text, "Scored" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what tournament is there a result of 46-18? ### Response:
SELECT "Tournament" FROM table_45740 WHERE "Result" = '46-18'
### Instruction: CREATE TABLE table_204_670 ( id number, "week" number, "date" text, "opponent" text, "result" text, "record" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the date of the last tie ? ### Respo...
SELECT "date" FROM table_204_670 WHERE "result" = 't' ORDER BY "date" DESC LIMIT 1
### Instruction: CREATE TABLE table_76458 ( "Place" text, "Code" real, "Area (km 2 )" real, "Population" real, "Most spoken language" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total code number for places with a population greater t...
SELECT COUNT("Code") FROM table_76458 WHERE "Population" > '87,585'
### Instruction: CREATE TABLE table_name_81 ( date VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR, race VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Date, when Fastest Lap is James Winslow, when Race is 1, and when Winning Driver is L...
SELECT date FROM table_name_81 WHERE fastest_lap = "james winslow" AND race = 1 AND winning_driver = "leanne tander"
### Instruction: CREATE TABLE table_203_818 ( id number, "kategori" text, "1995" text, "2004" text, "2005" text, "2006" text, "2007" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many categories are listed on this chart ? ### Response...
SELECT COUNT("kategori") FROM table_203_818
### Instruction: CREATE TABLE table_14260 ( "Rank" real, "Heat" real, "Cyclist" text, "Nation" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the rank when heat is 9 and the nation is great britain? ### Response:
SELECT SUM("Rank") FROM table_14260 WHERE "Heat" = '9' AND "Nation" = 'great britain'
### Instruction: CREATE TABLE table_44581 ( "Season" text, "Zone" real, "Champion" text, "Second" text, "Third" text, "Top scorer" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Third has a Champion of metalurh novomoskovsk? ### Response...
SELECT "Third" FROM table_44581 WHERE "Champion" = 'metalurh novomoskovsk'
### Instruction: CREATE TABLE table_38861 ( "Year" text, "Theme" text, "Host city" text, "Venue" text, "Hosts" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year will Bangkok be the host city and Alicia Keys host? ### Response:
SELECT "Year" FROM table_38861 WHERE "Host city" = 'bangkok' AND "Hosts" = 'alicia keys'
### Instruction: CREATE TABLE table_64627 ( "League" text, "number of seasons" real, "total games" real, "Draw" real, "Loss" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of games for less than 2 seasons and more than 7 draws? ...
SELECT SUM("total games") FROM table_64627 WHERE "number of seasons" < '2' AND "Draw" > '7'
### Instruction: CREATE TABLE table_203_276 ( id number, "album#" text, "english title" text, "chinese (traditional)" text, "chinese (simplified)" text, "release date" text, "label" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which song i...
SELECT "english title" FROM table_203_276 WHERE id = 1
### Instruction: CREATE TABLE table_22453 ( "Candidate" text, "Background" text, "Original Team" text, "Age" real, "Hometown" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When austin, texas is the hometown what is the lowest age...
SELECT MIN("Age") FROM table_22453 WHERE "Hometown" = 'Austin, Texas'
### Instruction: CREATE TABLE table_204_342 ( id number, "#" number, "player" text, "span" text, "caps" number, "total caps" number, "win %" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many caps did guy basquet accrue during his caree...
SELECT "total caps" FROM table_204_342 WHERE "player" = 'guy basquet'
### Instruction: CREATE TABLE table_39521 ( "Volume:Issue" text, "Issue Date(s)" text, "Weeks on Top" real, "Song" text, "Artist" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What song is done by Terence Trent D'Arby? ### Response:
SELECT "Song" FROM table_39521 WHERE "Artist" = 'terence trent d''arby'
### Instruction: CREATE TABLE table_26272 ( "Week" real, "Date" text, "Opponent" text, "Location" text, "Final Score" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record in the game against Es...
SELECT "Record" FROM table_26272 WHERE "Opponent" = 'Eskimos'
### Instruction: CREATE TABLE table_name_76 ( block INTEGER, date_of_birth VARCHAR, height VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest block that has 15.09.1981 as the date, and a height greater than 202? ### Response:
SELECT MAX(block) FROM table_name_76 WHERE date_of_birth = "15.09.1981" AND height > 202
### Instruction: CREATE TABLE table_204_897 ( id number, "date" text, "opponent#" text, "rank#" text, "site" text, "tv" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the most the university o...
SELECT MAX("result" - "result") FROM table_204_897
### Instruction: CREATE TABLE table_79993 ( "Player" text, "Overs" real, "Figures" text, "Opponent" text, "Ground" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What did Xavier Doherty (Tasmania) set as his highest Overs? ### Response:
SELECT MAX("Overs") FROM table_79993 WHERE "Player" = 'xavier doherty (tasmania)'
### Instruction: CREATE TABLE table_202_122 ( id number, "rank" number, "title" text, "studio" text, "actor/actress" text, "director" text, "gross" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many films star eddie murphy ? ### Respo...
SELECT COUNT("title") FROM table_202_122 WHERE "actor/actress" = 'eddie murphy'
### Instruction: CREATE TABLE table_name_73 ( natural_change__per_1000_ VARCHAR, live_births_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the natural change (per 1000) when the live births 1 is 278 977? ### Response:
SELECT natural_change__per_1000_ FROM table_name_73 WHERE live_births_1 = "278 977"
### Instruction: CREATE TABLE table_22464685_1 ( date VARCHAR, georgian_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the date for when the georgian name is ? ### Response:
SELECT date FROM table_22464685_1 WHERE georgian_name = "ცხოვრება და უწყება ბაგრატონიანთა"
### Instruction: CREATE TABLE table_18415 ( "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 district is incumbent elmer j. holland from? ###...
SELECT "District" FROM table_18415 WHERE "Incumbent" = 'Elmer J. Holland'
### Instruction: CREATE TABLE table_22935 ( "Tie no" real, "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the tie when team 2 is koper? ### Response:
SELECT MIN("Tie no") FROM table_22935 WHERE "Team 2" = 'Koper'
### Instruction: CREATE TABLE table_48968 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the s...
SELECT "Score" FROM table_48968 WHERE "Game" = '30'
### Instruction: CREATE TABLE table_204_186 ( id number, "season" text, "tier" number, "division" text, "place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in season 2008/09 was the place above or below 10th ? ### Response:
SELECT (SELECT "place" FROM table_204_186 WHERE "season" = '2008/09') < 10
### Instruction: CREATE TABLE table_46111 ( "Name" text, "Position" text, "Height" text, "Weight" real, "Year" text, "Home Town" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Position did the sophomore Darnell Jackson play? ### Response:...
SELECT "Position" FROM table_46111 WHERE "Year" = 'sophomore' AND "Name" = 'darnell jackson'
### Instruction: CREATE TABLE table_32169 ( "Date" text, "Venue" text, "Result" text, "Scored" real, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest scored in the 2010 east asian football championship? ### Response...
SELECT MAX("Scored") FROM table_32169 WHERE "Competition" = '2010 east asian football championship'
### Instruction: CREATE TABLE table_36898 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Loss of gonz lez (0 3) had what attendance? ### Response:
SELECT "Attendance" FROM table_36898 WHERE "Loss" = 'gonzález (0–3)'
### Instruction: CREATE TABLE table_34374 ( "Place" real, "Nation" text, "6 Ropes" real, "4 Hoops, 2 Clubs" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total of Greece, which is placed below 8? ### Response:
SELECT COUNT("Total") FROM table_34374 WHERE "Nation" = 'greece' AND "Place" > '8'
### Instruction: CREATE TABLE table_44481 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the tournament with greg rusedski as the opponent? ### ...
SELECT "Tournament" FROM table_44481 WHERE "Opponent" = 'greg rusedski'
### Instruction: CREATE TABLE table_1242447_2 ( hebrew_word VARCHAR, strongs_words_compounded VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the hebrew word for the strongs words compounded of 'adown [# 113] & yahu ### Response:
SELECT hebrew_word FROM table_1242447_2 WHERE strongs_words_compounded = "'adown [# 113] & Yahu"
### Instruction: CREATE TABLE table_17536 ( "Institution" text, "Location" text, "Founded" real, "Type" text, "Joined" real, "Nickname" text, "Colors" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the the University of Richmond's s...
SELECT "Colors" FROM table_17536 WHERE "Institution" = 'University of Richmond'
### Instruction: CREATE TABLE table_204_948 ( id number, "year" number, "award" text, "category" text, "film" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which film won the most awards ? ### Response:
SELECT "film" FROM table_204_948 WHERE "result" = 'won' GROUP BY "film" ORDER BY COUNT(DISTINCT "award") DESC LIMIT 1
### Instruction: CREATE TABLE table_19221 ( "Episode" text, "Broadcast date" text, "Run time" text, "Viewers (in millions)" text, "Archive" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes had a broadcast date and run time of 24:43? ...
SELECT COUNT("Broadcast date") FROM table_19221 WHERE "Run time" = '24:43'
### Instruction: CREATE TABLE table_17640 ( "Record" text, "Date and Time" text, "Competition" text, "Home or Away" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What records are hit where the opponent is Aylesbur...
SELECT "Record" FROM table_17640 WHERE "Opponent" = 'Aylesbury United'
### Instruction: CREATE TABLE table_23390 ( "No. in series" text, "No. in season" real, "Family/families" text, "Location(s)" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In how many locations was the episode with the Bai...
SELECT COUNT("Location(s)") FROM table_23390 WHERE "Family/families" = 'The Bailey Family'
### Instruction: CREATE TABLE table_204_301 ( id number, "nationality" text, "name" text, "term as a deputy judge" text, "reason for termination" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many deputy judges of the permanent court of interna...
SELECT COUNT("name") FROM table_204_301 WHERE "reason for termination" = 'post abolished'
### Instruction: CREATE TABLE table_204_490 ( id number, "position" text, "name" text, "height" text, "weight" text, "birthdate" text, "birthplace" text, "2009-10 team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is total number ...
SELECT COUNT("birthdate") FROM table_204_490
### Instruction: CREATE TABLE table_64997 ( "Rank:" real, "Premier:" text, "Party:" text, "Assumed Office:" text, "Left Office:" text, "TOTAL Time in Office:" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What rank was the premier Sir John See?...
SELECT COUNT("Rank:") FROM table_64997 WHERE "Premier:" = 'sir john see'
### 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. -- how many times did this team lose in ...
SELECT COUNT(*) FROM table_203_521 WHERE "playoffs" = 'conference finals'
### Instruction: CREATE TABLE table_50967 ( "Title" text, "Parent magazine" text, "Magazine type" text, "Frequency" text, "Magazine run" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the frequency for the magazine that runs September 2, 201...
SELECT "Frequency" FROM table_50967 WHERE "Magazine run" = 'september 2, 2010'
### Instruction: CREATE TABLE table_28647 ( "Rank" real, "Couple" text, "Judges" real, "Public" real, "Total" real, "Vote percentage" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the public for mikey and melanie ### R...
SELECT "Public" FROM table_28647 WHERE "Couple" = 'Mikey and Melanie'
### Instruction: CREATE TABLE table_61821 ( "Rank" real, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the gold medal count ranked 2 with a total of more than 21? ### Response:
SELECT COUNT("Gold") FROM table_61821 WHERE "Rank" = '2' AND "Total" > '21'
### Instruction: CREATE TABLE table_18457 ( "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. -- which affiliation is james h. morrison part of ### Re...
SELECT "Party" FROM table_18457 WHERE "Incumbent" = 'James H. Morrison'
### Instruction: CREATE TABLE table_74519 ( "Year" real, "Recipient" text, "Role" text, "Play" text, "Production" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the recipient of much ado about nothing for 1973 ### Response:
SELECT "Recipient" FROM table_74519 WHERE "Play" = 'much ado about nothing' AND "Year" = '1973'
### Instruction: CREATE TABLE table_75479 ( "District" text, "Counties Represented" text, "Delegate" text, "Party" text, "First Elected" real, "Committee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When first elected was 2006, who was the de...
SELECT "Delegate" FROM table_75479 WHERE "First Elected" = '2006'
### Instruction: CREATE TABLE table_46780 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Record that has the Score of 100-105? ### Respons...
SELECT "Record" FROM table_46780 WHERE "Score" = '100-105'
### Instruction: CREATE TABLE table_18392 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the candidates in the election that featured i...
SELECT "Candidates" FROM table_18392 WHERE "Incumbent" = 'Don Edwards'
### Instruction: CREATE TABLE table_50969 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the time/retired with a toyota constructor and a 5 grid? ### Response:
SELECT "Time/Retired" FROM table_50969 WHERE "Constructor" = 'toyota' AND "Grid" = '5'
### Instruction: CREATE TABLE table_45192 ( "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 when the total was 53 75? ### Response:
SELECT "Set 3" FROM table_45192 WHERE "Total" = '53–75'
### Instruction: CREATE TABLE table_39391 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalogue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date of Catalogue number 602517739468? ### Response:
SELECT "Date" FROM table_39391 WHERE "Catalogue" = '602517739468'
### Instruction: CREATE TABLE table_name_11 ( suburb_town VARCHAR, school VARCHAR, years VARCHAR, founded VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What suburb/town has school years of k-6, was founded before 1875, and has Ashfield Public School...
SELECT suburb_town FROM table_name_11 WHERE years = "k-6" AND founded < 1875 AND school = "ashfield public school"
### Instruction: CREATE TABLE table_35507 ( "Dish" text, "Callsign" text, "Network" text, "Resolution" text, "City of License" text, "Official Website" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the resolution of the network Canal de...
SELECT "Resolution" FROM table_35507 WHERE "Network" = 'canal de las estrellas'