instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_31507 ( "Townland" text, "Area( acres )" real, "Barony" text, "Civil parish" text, "Poor law union" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many acres does the area of Lissagroom with Bandon as its poor...
SELECT "Area( acres )" FROM table_31507 WHERE "Poor law union" = 'Bandon' AND "Townland" = 'Lissagroom'
### Instruction: CREATE TABLE table_name_15 ( latitude INTEGER, pop__2010_ VARCHAR, water__sqmi_ VARCHAR, county VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average latitude for townships in Dickey county with water under 2.106 sqmi an...
SELECT AVG(latitude) FROM table_name_15 WHERE water__sqmi_ < 2.106 AND county = "dickey" AND pop__2010_ < 95
### Instruction: CREATE TABLE table_8235 ( "ISLAND" text, "CITY / TOWN" text, "ICAO" text, "IATA" text, "AIRPORTNAME" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the airport in S o Filipe that has an IATA of sfl? ### Respons...
SELECT "AIRPORTNAME" FROM table_8235 WHERE "CITY / TOWN" = 'são filipe' AND "IATA" = 'sfl'
### Instruction: CREATE TABLE table_22537 ( "Position" text, "Country" text, "Floor" text, "Pommel Horse" text, "Rings" text, "Vault" text, "Parallel Bars" text, "Horizontal Bar" text, "Team Total" text ) -- Using valid SQLite, answer the following questions for the tables provided...
SELECT COUNT("Position") FROM table_22537 WHERE "Country" = 'United States'
### Instruction: CREATE TABLE table_24231 ( "Competition" text, "Round" text, "Opponent" text, "Result" text, "Score" text, "Home/Away" text, "Venue" text, "Attendance" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name...
SELECT "Attendance" FROM table_24231 WHERE "Round" = '23'
### Instruction: CREATE TABLE table_203_136 ( id number, "year" number, "ibm model number" text, "name" text, "processor" text, "bus" text, "hd interface" text, "case" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how ...
SELECT COUNT("processor") FROM table_203_136 WHERE "case" = 'desktop with integrated monochrome display'
### Instruction: CREATE TABLE table_17934 ( "Club" text, "Australian Marquee" text, "International Marquee" text, "Junior Marquee player" text, "Captain" text, "Vice-Captain" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of aust...
SELECT COUNT("Australian Marquee") FROM table_17934 WHERE "Vice-Captain" = 'Travis Dodd'
### Instruction: CREATE TABLE table_10774 ( "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 was the away team score 13...
SELECT "Date" FROM table_10774 WHERE "Away team score" = '13.19 (97)'
### Instruction: CREATE TABLE table_24307 ( "Competition" text, "Round" text, "Opponent" text, "Result" text, "Score" text, "Home/Away" text, "Venue" text, "Attendance" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What...
SELECT "Result" FROM table_24307 WHERE "Round" = 'QF'
### Instruction: CREATE TABLE table_63889 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest numbered game against Phoenix with a reco...
SELECT MIN("Game") FROM table_63889 WHERE "Opponent" = 'phoenix' AND "Record" = '29-17'
### Instruction: CREATE TABLE table_13388681_1 ( to_par VARCHAR, country VARCHAR, winning_score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of 'to par' in Mexico with a winning score of 67-67-69-70=273? ### Response:
SELECT to_par FROM table_13388681_1 WHERE country = "Mexico" AND winning_score = 67 - 67 - 69 - 70 = 273
### Instruction: CREATE TABLE table_75942 ( "Round" text, "Date" text, "Home team" text, "Score" text, "Away team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home team on April 13, 2008 when Itabuna was the away team? ### Response:...
SELECT "Home team" FROM table_75942 WHERE "Date" = 'april 13, 2008' AND "Away team" = 'itabuna'
### Instruction: CREATE TABLE table_47718 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Home team has a score of...
SELECT "Home team" FROM table_47718 WHERE "Home team score" = '12.10 (82)'
### Instruction: CREATE TABLE table_70130 ( "Player" text, "Test Career" text, "Tests" real, "Catches" real, "Stumpings" real, "Total Dismissals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average dismissals of 83 test and catche...
SELECT AVG("Total Dismissals") FROM table_70130 WHERE "Tests" = '83' AND "Catches" < '33'
### Instruction: CREATE TABLE table_50471 ( "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 for the team with fewer than 2 bronze, ranked less than 4 and fewer than 1 s...
SELECT COUNT("Total") FROM table_50471 WHERE "Bronze" < '2' AND "Rank" < '4' AND "Silver" < '1'
### Instruction: CREATE TABLE table_75189 ( "Surname" text, "First" text, "D.O.B." text, "Uni#" real, "Bats" text, "Throws" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Uni numbers have Bats of s, and a Position o...
SELECT COUNT("Uni#") FROM table_75189 WHERE "Bats" = 's' AND "Position" = 'utl'
### Instruction: CREATE TABLE table_10555 ( "Class" text, "Wheel arrangement" text, "Manufacturer" text, "Year made" text, "Quantity made" text, "Quantity preserved" text, "Year(s) withdrawn" text, "Comments" text ) -- Using valid SQLite, answer the following questions for the tables p...
SELECT "Quantity made" FROM table_10555 WHERE "Class" = '330'
### Instruction: CREATE TABLE endowment ( school_id VARCHAR, amount INTEGER ) CREATE TABLE school ( school_name VARCHAR, school_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List all the names of schools with an endowment amount smaller than or ...
SELECT T2.school_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id GROUP BY T1.school_id HAVING SUM(T1.amount) <= 10
### Instruction: CREATE TABLE Staff_Department_Assignments ( staff_id VARCHAR, date_assigned_to INTEGER, job_title_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is id of the staff who had a Staff Department Assignment earlier than any Clerical...
SELECT staff_id FROM Staff_Department_Assignments WHERE date_assigned_to < (SELECT MAX(date_assigned_to) FROM Staff_Department_Assignments WHERE job_title_code = 'Clerical Staff')
### Instruction: CREATE TABLE table_44867 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest amount of money a player from South Africa with...
SELECT MIN("Money ( $ )") FROM table_44867 WHERE "Country" = 'south africa' AND "To par" < '8'
### Instruction: CREATE TABLE table_203_322 ( id number, "club" text, "played" number, "won" number, "drawn" number, "lost" number, "points for" number, "points against" number, "bonus points" number, "points" number ) -- Using valid SQLite, answer the following questions for t...
SELECT "club" FROM table_203_322 ORDER BY "points" LIMIT 1
### Instruction: CREATE TABLE table_73791 ( "Number" real, "Name" text, "Games Played" real, "Games Started" real, "Goals" real, "Assists" real, "Points" real, "Shots" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games played ...
SELECT COUNT("Games Played") FROM table_73791 WHERE "Name" = 'Lauren McGee'
### Instruction: CREATE TABLE table_77032 ( "Rank" real, "Country" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the bronze medals when there were more than 2 silver me...
SELECT SUM("Bronze") FROM table_77032 WHERE "Silver" > '2' AND "Rank" > '6'
### Instruction: CREATE TABLE table_29825 ( "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_29825 WHERE "Date" = 'November 25'
### Instruction: CREATE TABLE table_204_251 ( id number, "community" text, "area" text, "location" text, "population" number, "date established" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- combined land area -lrb- in acres -rrb- of millbrook ...
SELECT SUM("area") FROM table_204_251 WHERE "community" IN ('millbrook 27', 'sheet harbour 36')
### Instruction: CREATE TABLE table_36905 ( "Name" text, "GP-GS" text, "Gain" real, "Loss" real, "Long" real, "Avg/G" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Loss with Gain larger than 319 for derrick locke? ### Respo...
SELECT MIN("Loss") FROM table_36905 WHERE "Name" = 'derrick locke' AND "Gain" > '319'
### Instruction: CREATE TABLE table_75757 ( "Information" text, "Altade\u00f1a" text, "Aprende" text, "Centennial" text, "Kyrene MS" text, "del Pueblo" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHich kind of Aprende has a Centennial of 1988...
SELECT "Aprende" FROM table_75757 WHERE "Centennial" = '1988'
### Instruction: CREATE TABLE table_66625 ( "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 RECNet with a Class of B and the City of Lic...
SELECT "RECNet" FROM table_66625 WHERE "Class" = 'b' AND "City of license" = 'rouyn-noranda'
### Instruction: CREATE TABLE status ( station_id VARCHAR ) CREATE TABLE station ( name VARCHAR, id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are names of stations that have average bike availability above 10 and are not located in San Jose ci...
SELECT T1.name FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id GROUP BY T2.station_id HAVING AVG(bikes_available) > 10 EXCEPT SELECT name FROM station WHERE city = "San Jose"
### Instruction: CREATE TABLE table_12065 ( "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 at Glenferrie Oval,...
SELECT "Home team score" FROM table_12065 WHERE "Venue" = 'glenferrie oval'
### Instruction: CREATE TABLE table_21618 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the series number directed by richard thor...
SELECT MAX("Series #") FROM table_21618 WHERE "Directed by" = 'Richard Thorpe' AND "Written by" = 'Dee Johnson'
### Instruction: CREATE TABLE table_74276 ( "Year" real, "FBS Opponent" text, "Result" text, "Opponents Conference" text, "Opponents Head Coach" text, "Coastal Carolina Head Coach" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the coast...
SELECT "Coastal Carolina Head Coach" FROM table_74276 WHERE "Year" = '2013'
### Instruction: CREATE TABLE table_20627 ( "No." real, "Name" text, "Mi from Kingston" text, "Km from Kingston" text, "Parish" text, "Length feet" real, "Length meters" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the railroad length...
SELECT "Mi from Kingston" FROM table_20627 WHERE "Length feet" = '362'
### Instruction: CREATE TABLE table_24582 ( "No." real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who direct...
SELECT "Directed by" FROM table_24582 WHERE "Production code" = '2T5710'
### Instruction: CREATE TABLE table_1409 ( "Position" real, "Club" text, "Games played" real, "Wins" real, "Draws" real, "Loses" real, "Goals scored" real, "Goals conceded" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
SELECT "Wins" FROM table_1409 WHERE "Points" = '42'
### Instruction: CREATE TABLE table_4559 ( "Actor/actress" text, "Character" text, "Rank" text, "Tenure" text, "Episodes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode did actor Daniel Macpherson's character have the rank of Detective ...
SELECT "Episodes" FROM table_4559 WHERE "Rank" = 'detective senior constable' AND "Actor/actress" = 'daniel macpherson'
### Instruction: CREATE TABLE table_22284 ( "Round" text, "Clubs remaining" real, "Clubs involved" real, "Winners from previous round" text, "New entries this round" text, "Leagues entering at this round" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
SELECT "New entries this round" FROM table_22284 WHERE "Winners from previous round" = '16'
### Instruction: CREATE TABLE table_62849 ( "Year" text, "Subject" text, "Party" text, "Votes" real, "Opponent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many votes did Jeannemarie Devolites Davis get in 1995-Special? ### Response:
SELECT "Votes" FROM table_62849 WHERE "Opponent" = 'jeannemarie devolites davis' AND "Year" = '1995-special'
### Instruction: CREATE TABLE table_57534 ( "Country" text, "Interview" real, "Swimsuit" real, "Evening Gown" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the sum of average for interview more than 9.57 and swimsuit more than ...
SELECT SUM("Average") FROM table_57534 WHERE "Interview" > '9.57' AND "Swimsuit" > '9.65'
### Instruction: CREATE TABLE table_44525 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the pick was below 42 and the player was Chris Horton, what's the ...
SELECT MAX("Overall") FROM table_44525 WHERE "Name" = 'chris horton' AND "Pick" < '42'
### Instruction: CREATE TABLE table_203_809 ( id number, "date" text, "time" text, "opponent#" text, "rank#" text, "site" text, "tv" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the numbe...
SELECT COUNT(*) FROM table_203_809 WHERE NOT "rank#" IS NULL
### Instruction: CREATE TABLE table_30930 ( "No. overall" real, "No. for series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "UK viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What ...
SELECT "Original air date" FROM table_30930 WHERE "Title" = 'The Eye of the Phoenix'
### Instruction: CREATE TABLE table_30214 ( "Draw" real, "Artist" text, "Song (English translation)" text, "Lyrics (l) / Music (m)" text, "Juries" real, "Viewers" real, "Total" real, "Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
SELECT MAX("Juries") FROM table_30214 WHERE "Draw" = '3'
### Instruction: CREATE TABLE table_name_76 ( release_price___usd__ VARCHAR, frequency VARCHAR, i_o_bus VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the release price of a processor that has a frequency of 3.2 ghz and 1 6.4 gt/s qpi I/O? ### R...
SELECT release_price___usd__ FROM table_name_76 WHERE frequency = "3.2 ghz" AND i_o_bus = "1 × 6.4 gt/s qpi"
### Instruction: CREATE TABLE table_32801 ( "Model" real, "Introduction" text, "Discontinued" text, "CPU Speed" text, "Print speed (PPM)" text, "Standard memory" text, "Maximum memory" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is t...
SELECT "Maximum memory" FROM table_32801 WHERE "Standard memory" = '16 mb'
### Instruction: CREATE TABLE table_43547 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Decision" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What game has valiquette as the decision, with @ los angeles kings ...
SELECT "Game" FROM table_43547 WHERE "Decision" = 'valiquette' AND "Opponent" = '@ los angeles kings'
### Instruction: CREATE TABLE table_name_61 ( date VARCHAR, back_judge VARCHAR, line_judge VARCHAR, head_linesman VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the game where the line judge was Bob Beeks, the head linesman was Je...
SELECT date FROM table_name_61 WHERE line_judge = "bob beeks" AND head_linesman = "jerry bergman" AND back_judge = "paul baetz"
### Instruction: CREATE TABLE table_name_21 ( position VARCHAR, main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position is there when the main contestant is Vishal Singh and the scores are 1 +...
SELECT position FROM table_name_21 WHERE main_contestant = "vishal singh" AND scores_by_each_individual_judge = 1 + 7 + 5 = 13
### Instruction: CREATE TABLE table_59637 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Position has an Event of 4x400 m relay, and a Venue of stuttgart , germany? ##...
SELECT "Position" FROM table_59637 WHERE "Event" = '4x400 m relay' AND "Venue" = 'stuttgart , germany'
### Instruction: CREATE TABLE table_31894 ( "Heat Rank" real, "Lane" real, "Swimmer" text, "Country" text, "Time" real, "Overall Rank" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the highest overall rank for lane less than 8 and time ...
SELECT MAX("Overall Rank") FROM table_31894 WHERE "Lane" < '8' AND "Time" < '27.16'
### Instruction: CREATE TABLE table_90 ( "No. in series" real, "No. in 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. -- How ...
SELECT COUNT("No. in season") FROM table_90 WHERE "Title" = 'Poppin'' Tags'
### Instruction: CREATE TABLE table_36217 ( "Series Ep." text, "Episode" real, "Netflix" text, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which segment a's netflix figure ...
SELECT "Segment A" FROM table_36217 WHERE "Netflix" = 's04e24'
### Instruction: CREATE TABLE table_30407 ( "Season" text, "Host" text, "Mens Singles" text, "Womens Singles" text, "Mens Doubles" text, "Womens Doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people are women's singles in the s...
SELECT COUNT("Womens Singles") FROM table_30407 WHERE "Season" = '2000/01'
### Instruction: CREATE TABLE table_13861 ( "Competition" text, "Total" real, "Al Ahly wins" real, "Draws" real, "El Zamalek wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the fewest Al Ahly wins for El Zamalek wins of 0 and 0 draws? ...
SELECT MIN("Al Ahly wins") FROM table_13861 WHERE "Draws" = '0' AND "El Zamalek wins" < '0'
### Instruction: CREATE TABLE table_52849 ( "School" text, "Conference" text, "Record (Conference)" text, "Head Coach" text, "CWS Appearances" text, "CWS Best Finish" text, "CWS Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was...
SELECT "CWS Best Finish" FROM table_52849 WHERE "Head Coach" = 'jim morris'
### Instruction: CREATE TABLE table_22835 ( "Mission No." text, "Cover Name" text, "Launch Date" text, "NSSDC ID No." text, "Alt. Name" text, "Camera" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which mission number has alte...
SELECT "Mission No." FROM table_22835 WHERE "Alt. Name" = '1962-F01'
### Instruction: CREATE TABLE table_69521 ( "Outcome" real, "Year" real, "Tournament" text, "Opponent in final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the outcome from the 2009 match in the final against Chong Wei Feng...
SELECT "Outcome" FROM table_69521 WHERE "Year" = '2009' AND "Opponent in final" = 'chong wei feng'
### Instruction: CREATE TABLE table_22958 ( "Year" text, "Location" text, "Class 1" text, "Best UK team" text, "Class 1-200" text, "Class 3" text, "Class 1a" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the best uk team for university...
SELECT COUNT("Best UK team") FROM table_22958 WHERE "Class 1-200" = 'University of Birmingham'
### Instruction: CREATE TABLE table_27155 ( "Player" text, "Minutes" real, "Field Goals" real, "Rebounds" real, "Assists" real, "Steals" real, "Blocks" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest num...
SELECT MAX("Steals") FROM table_27155 WHERE "Minutes" = '324'
### Instruction: CREATE TABLE table_204_467 ( id number, "date" text, "opponents" text, "h/a" text, "result\nf-a" text, "scorers" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many games did they play in october 192...
SELECT COUNT(*) FROM table_204_467 WHERE "date" = 10 AND "date" = 1921
### Instruction: CREATE TABLE table_21718 ( "Class" text, "Part 1" text, "Part 2" text, "Part 3" text, "Part 4" text, "Verb meaning" text, "Usual PIE origin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What word is listed under part 2 for...
SELECT "Part 2" FROM table_21718 WHERE "Part 4" = '*ridanaz'
### Instruction: CREATE TABLE table_6111 ( "Name" text, "Birth" text, "Marriage" text, "Became Queen" text, "Ceased to be Queen" text, "Death" text, "Spouse" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the person who died on 16 J...
SELECT "Birth" FROM table_6111 WHERE "Death" = '16 july 1946'
### Instruction: CREATE TABLE table_43105 ( "Final Rank" real, "Ranking Round Rank" real, "Nation" text, "Ranking Score" real, "Round of 16" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Ranking Round Rank for Russia with a Fina...
SELECT MAX("Ranking Round Rank") FROM table_43105 WHERE "Nation" = 'russia' AND "Final Rank" > '11'
### Instruction: CREATE TABLE table_14920 ( "Station" text, "Frequency" real, "Network Affiliation" text, "Format" text, "City of License" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest frequency owned by multi...
SELECT MAX("Frequency") FROM table_14920 WHERE "Status" = 'owned by multicultural broadcasting' AND "Format" = 'vietnamese'
### Instruction: CREATE TABLE table_43578 ( "Date" text, "Home team" text, "Score" text, "Away team" text, "Venue" text, "Box Score" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the box score type for the game that h...
SELECT "Box Score" FROM table_43578 WHERE "Score" = '103-101'
### Instruction: CREATE TABLE table_68735 ( "Season" real, "Div." text, "Tms." real, "Pos." real, "Attendance/G" real, "J. League Cup" text, "Emperor's Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What season had the highest attendanc...
SELECT MAX("Season") FROM table_68735 WHERE "Attendance/G" < '3,289'
### Instruction: CREATE TABLE table_46295 ( "1st throw" real, "2nd throw" real, "3rd throw" real, "Equation" text, "Result" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Result, when 2nd Throw is '2', and when 1st Throw ...
SELECT COUNT("Result") FROM table_46295 WHERE "2nd throw" = '2' AND "1st throw" < '4'
### Instruction: CREATE TABLE table_203_589 ( id number, "protein" text, "natural host" text, "normal function" text, "prion state" text, "prion phenotype" text, "year identified" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how any prot...
SELECT COUNT("protein") FROM table_203_589 WHERE "natural host" = 'podospora anserina'
### Instruction: CREATE TABLE table_16950 ( "Date" text, "Tournament" text, "Location" text, "Purse( $ )" real, "Winner" text, "Score" text, "1st Prize( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many tournaments ended with a sc...
SELECT COUNT("Tournament") FROM table_16950 WHERE "Score" = '204 (-12)'
### Instruction: CREATE TABLE table_3185 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When bill young redistricted from the 10th district is t...
SELECT "Party" FROM table_3185 WHERE "Incumbent" = 'Bill Young Redistricted from the 10th district'
### Instruction: CREATE TABLE table_13817 ( "School" text, "Mascot" text, "School Corp." text, "Size" real, "IHSAA Class (Football)" text, "Year Joined" text, "Other Conferences" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What IHSAA foot...
SELECT "IHSAA Class (Football)" FROM table_13817 WHERE "Mascot" = 'generals'
### Instruction: CREATE TABLE table_26365 ( "Team" text, "City/Area" text, "Arena" text, "Founded" real, "Joined" real, "Head Coach" text, "Captain" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the head coach for the team that plays...
SELECT "Head Coach" FROM table_26365 WHERE "Arena" = 'Altrincham Ice Dome'
### Instruction: CREATE TABLE table_203_412 ( id number, "school" text, "conference" text, "record (conference)" text, "head coach" text, "cws appearances" text, "cws best finish" text, "cws record" text ) -- Using valid SQLite, answer the following questions for the tables provided ab...
SELECT COUNT("school") FROM table_203_412 WHERE "cws appearances" > 2
### Instruction: CREATE TABLE table_38152 ( "Congress" text, "Bill number(s)" text, "Date introduced" text, "Sponsor(s)" text, "# of cosponsors" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many cosponsors have a Date introduced of may 22, 200...
SELECT COUNT("# of cosponsors") FROM table_38152 WHERE "Date introduced" = 'may 22, 2008'
### Instruction: CREATE TABLE table_8242 ( "Team" text, "Gold" real, "Silver" real, "Bronze" real, "Overall" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the least silver when overall is less than 67, team is saami and gold is less than 5?...
SELECT MIN("Silver") FROM table_8242 WHERE "Overall" < '67' AND "Team" = 'saami' AND "Gold" < '5'
### Instruction: CREATE TABLE table_204_521 ( id number, "rank" number, "name" text, "nationality" text, "time (hand)" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which competitor finished immediately after karl hahnel ? ### R...
SELECT "name" FROM table_204_521 WHERE "rank" = (SELECT "rank" FROM table_204_521 WHERE "name" = 'karl hahnel') + 1
### Instruction: CREATE TABLE table_56065 ( "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. -- Who is the home team when the c...
SELECT "Home team" FROM table_56065 WHERE "Crowd" > '32,485'
### Instruction: CREATE TABLE table_8885 ( "Episode" text, "Air Date" text, "Timeslot" text, "Rating" real, "Share" real, "18-49" text, "Viewers" text, "Weekly Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Viewers, when Ep...
SELECT "Viewers" FROM table_8885 WHERE "Episode" = 'a family affair'
### Instruction: CREATE TABLE table_8901 ( "Consonant final stem" text, "Example: did-" text, "Vowel final stem" text, "Example: ch'aghara-" text, "Noun example: datv-" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What example for ch'aghara- is sh...
SELECT "Example: ch'aghara-" FROM table_8901 WHERE "Example: did-" = 'did-ma'
### Instruction: CREATE TABLE table_11079 ( "Episode Air Date" text, "Audition City" text, "Date" text, "First Audition Venue" text, "Callback Date" text, "Callback Venue" text, "Golden Tickets" real ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
SELECT "Date" FROM table_11079 WHERE "Golden Tickets" = '26'
### Instruction: CREATE TABLE table_name_61 ( km_from_kingston INTEGER, mi_from_kingston VARCHAR, length_meters VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Km From Kingston, when Mi From Kingston is less than 108, and when Length M...
SELECT MAX(km_from_kingston) FROM table_name_61 WHERE mi_from_kingston < 108 AND length_meters = 260.6
### Instruction: CREATE TABLE table_10880 ( "Result" text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponent has a Round larger than 4 and the ...
SELECT "Opponent" FROM table_10880 WHERE "Round" > '4' AND "Event" = 'draka v'
### Instruction: CREATE TABLE table_10470 ( "Independent" text, "Lost" real, "Tied" real, "Pct." real, "Years" real, "Total Games" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest PCT when Old Dominion is the independent and the...
SELECT MIN("Pct.") FROM table_10470 WHERE "Independent" = 'old dominion' AND "Years" > '4'
### Instruction: CREATE TABLE table_203_603 ( id number, "service" text, "service id" text, "bit rate" text, "audio channels" text, "description" text, "analogue availability" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- name the only indi...
SELECT "service" FROM table_203_603 WHERE "description" = 'indie / alternative / rock music'
### Instruction: CREATE TABLE table_74341 ( "LGA Name" text, "Area (km 2 )" real, "Census 2006 population" real, "Administrative capital" text, "Postal Code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2006 censusn population when is ...
SELECT COUNT("Census 2006 population") FROM table_74341 WHERE "Administrative capital" = 'Eleme'
### Instruction: CREATE TABLE table_58204 ( "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. -- On what Date was the Home Team ...
SELECT "Date" FROM table_58204 WHERE "Home team score" = '9.13 (67)'
### Instruction: CREATE TABLE table_5588 ( "Game" real, "February" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the February number of the game with the Vancouver Canucks as the opponent and a ...
SELECT COUNT("February") FROM table_5588 WHERE "Opponent" = 'vancouver canucks' AND "Game" > '55'
### Instruction: CREATE TABLE table_16272 ( "No. in series" real, "No. in 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. -- W...
SELECT "Written by" FROM table_16272 WHERE "Title" = 'One Hit Wonder'
### Instruction: CREATE TABLE table_27282 ( "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 are the original air ...
SELECT "Original Airdate" FROM table_27282 WHERE "Viewing Figures Millions" = '8.63'
### Instruction: CREATE TABLE table_3144 ( "Result" text, "Date" text, "Race" text, "Venue" text, "Group" text, "Distance" text, "Weight" text, "Jockey" text, "Winner/2nd" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the w...
SELECT "Weight" FROM table_3144 WHERE "Venue" = 'Sandown Park'
### Instruction: CREATE TABLE table_40787 ( "Date" text, "Result" text, "Score" text, "Brazil scorers" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for the South American Championship dated December 13, 1925?...
SELECT "Result" FROM table_40787 WHERE "Competition" = 'south american championship' AND "Date" = 'december 13, 1925'
### Instruction: CREATE TABLE table_74194 ( "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 rebounds" FROM table_74194 WHERE "Date" = 'April 6'
### Instruction: CREATE TABLE table_75758 ( "Information" text, "Altade\u00f1a" text, "Aprende" text, "Centennial" text, "Kyrene MS" text, "del Pueblo" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Centennial has a Altade a of panthers? ...
SELECT "Centennial" FROM table_75758 WHERE "Altade\u00f1a" = 'panthers'
### Instruction: CREATE TABLE table_204_655 ( id number, "year" number, "winner" text, "album" text, "other finalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what album won before borrowed time did in 2006 ? ### Response:
SELECT "album" FROM table_204_655 WHERE "year" < (SELECT "year" FROM table_204_655 WHERE "album" = 'borrowed time') ORDER BY "year" DESC LIMIT 1
### Instruction: CREATE TABLE table_204_979 ( id number, "place" number, "nation" text, "5 hoops" text, "3 balls,\n2 ribbons" text, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which two nations made the same score for 5 hoops and 3 ...
SELECT "nation" FROM table_204_979 WHERE "5 hoops" = "3 balls,\n2 ribbons"
### Instruction: CREATE TABLE table_44430 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Kickoff Time" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Kickoff Time on January 7, 2002...
SELECT "Kickoff Time" FROM table_44430 WHERE "Date" = 'january 7, 2002'
### Instruction: CREATE TABLE table_203_52 ( 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. -- how long...
SELECT "time/retired" FROM table_203_52 WHERE "driver" = 'robert kubica'
### Instruction: CREATE TABLE table_18079 ( "Complete Series" text, "Region 1" text, "Region 2" text, "Region 4" text, "DVD Extras and Bonus Features" text, "Number Of Discs" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of r...
SELECT COUNT("Region 4") FROM table_18079 WHERE "Complete Series" = 'The Complete Seventh Series'
### Instruction: CREATE TABLE table_name_72 ( ipsos_5_16_09 VARCHAR, tns_sofres_5_28_09 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Ipsos 5/16/09 has a TNS-Sofres 5/28/09 of 2.5%? ### Response:
SELECT ipsos_5_16_09 FROM table_name_72 WHERE tns_sofres_5_28_09 = "2.5%"
### Instruction: CREATE TABLE table_20735 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Crowd" real, "Date" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the ...
SELECT "Home team score" FROM table_20735 WHERE "Home team" = 'Adelaide'