instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_28036 ( "Player" text, "Position" text, "Starter" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many figures are provided for...
SELECT COUNT("Field goals") FROM table_28036 WHERE "Player" = 'Weeks'
### Instruction: CREATE TABLE table_53178 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What competition resulted in 2-0 score, hosted in Amman? ### Response:
SELECT "Competition" FROM table_53178 WHERE "Score" = '2-0' AND "Venue" = 'amman'
### Instruction: CREATE TABLE table_203_247 ( id number, "district" text, "counties represented" text, "delegate" text, "party" text, "first elected" number, "committee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many delegates repre...
SELECT COUNT("delegate") FROM table_203_247 WHERE "counties represented" = 'allegany'
### Instruction: CREATE TABLE table_204_261 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which nation has the most bronze medals ? ### ...
SELECT "nation" FROM table_204_261 ORDER BY "bronze" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_80 ( average INTEGER, team VARCHAR, goals VARCHAR, matches VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest Average with Goals smaller than 34, Matches larger than 30, and a Team of cultural ...
SELECT MAX(average) FROM table_name_80 WHERE goals < 34 AND matches > 30 AND team = "cultural leonesa"
### Instruction: CREATE TABLE table_20613292_1 ( production_code VARCHAR, written_by VARCHAR, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the production code of the episode written by Kirker Butler and directed by Dan Povenmire? #...
SELECT production_code FROM table_20613292_1 WHERE written_by = "Kirker Butler" AND directed_by = "Dan Povenmire"
### Instruction: CREATE TABLE table_204_275 ( id number, "date" text, "city" text, "opponent" text, "results" text, "scorers" text, "type of game" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times is friendly a type of game ? #...
SELECT COUNT(*) FROM table_204_275 WHERE "type of game" = 'friendly'
### Instruction: CREATE TABLE table_17851 ( "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. -- What background does the person from New york, New york, ...
SELECT "Background" FROM table_17851 WHERE "Hometown" = 'New York, New York'
### Instruction: CREATE TABLE table_42252 ( "Pos." text, "Nationality" text, "Player" text, "Apps" real, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Apps did Player Gilberto with more than 1 Goals have? ### Response:
SELECT AVG("Apps") FROM table_42252 WHERE "Player" = 'gilberto' AND "Goals" > '1'
### Instruction: CREATE TABLE table_10735 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date with a Score with 86 108? ### Response:
SELECT "Date" FROM table_10735 WHERE "Score" = '86–108'
### Instruction: CREATE TABLE table_28913 ( "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. -- What is every district for incumbent Joseph Desha? ##...
SELECT "District" FROM table_28913 WHERE "Incumbent" = 'Joseph Desha'
### Instruction: CREATE TABLE table_62011 ( "Draft" real, "Round" real, "Pick" real, "Player" text, "Nationality" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player had a draft before 1975 and before round 6? ### Response:
SELECT "Player" FROM table_62011 WHERE "Draft" < '1975' AND "Round" < '6'
### Instruction: CREATE TABLE table_name_75 ( round_of_16 VARCHAR, quarterfinal VARCHAR, round_of_32 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the round of 32 was n/a and quarterfinal was did not advance, what was the round of 16? ### Respons...
SELECT round_of_16 FROM table_name_75 WHERE quarterfinal = "did not advance" AND round_of_32 = "n/a"
### Instruction: CREATE TABLE table_14392 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When is the lane less than 5 and is named gnes kov cs? ### Response:
SELECT "Time" FROM table_14392 WHERE "Lane" < '5' AND "Name" = 'ágnes kovács'
### Instruction: CREATE TABLE table_203_3 ( id number, "province" text, "capital" text, "population" number, "density" text, "municipalities" text, "legal districts" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which province in andalusi...
SELECT "province" FROM table_203_3 ORDER BY "density" DESC LIMIT 1
### Instruction: CREATE TABLE table_23329 ( "(Virtual)" text, "Callsign" text, "Affiliation" text, "Branding" text, "Channel" text, "Programming" text, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the virtual callsign if is...
SELECT "(Virtual)" FROM table_23329 WHERE "Callsign" = 'WNET'
### Instruction: CREATE TABLE table_37355 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Call sign shows an ERP W of 80? ### Response...
SELECT "Call sign" FROM table_37355 WHERE "ERP W" = '80'
### Instruction: CREATE TABLE table_28678 ( "Alumni" text, "Original season" text, "Fresh Meat Partner" text, "Age" real, "Hometown" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people were from portland, or? ### Resp...
SELECT COUNT("Age") FROM table_28678 WHERE "Hometown" = 'Portland, OR'
### Instruction: CREATE TABLE table_69356 ( "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. -- What is the Date, when the home team is the NY Ra...
SELECT "Date" FROM table_69356 WHERE "Home" = 'ny rangers'
### Instruction: CREATE TABLE table_1841901_1 ( greek__modern_ VARCHAR, polish__extinct_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the greek modern for s ysza e by / s ysza a by a ### Response:
SELECT greek__modern_ FROM table_1841901_1 WHERE polish__extinct_ = "słyszałeś był / słyszałaś była"
### Instruction: CREATE TABLE table_70833 ( "Name" text, "Frequency" text, "Language" text, "City" text, "Website" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the website of the Laredo Sun in the city of Laredo ? ### Response:
SELECT "Website" FROM table_70833 WHERE "City" = 'laredo' AND "Name" = 'laredo sun'
### Instruction: CREATE TABLE table_name_90 ( position VARCHAR, nationality VARCHAR, years_for_grizzlies VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position is the player from the United States play for the Grizzlies from 2000-2001? ### Respon...
SELECT position FROM table_name_90 WHERE nationality = "united states" AND years_for_grizzlies = "2000-2001"
### Instruction: CREATE TABLE table_10439 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Tyre" text, "Driver" text, "Rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What rounds did Gordini participate in? ### ...
SELECT "Rounds" FROM table_10439 WHERE "Constructor" = 'gordini'
### Instruction: CREATE TABLE table_4758 ( "Couple" text, "Score" text, "Dance" text, "Music" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the music for the team who earned a score of 13 (5, 4, 4)? ### Response:
SELECT "Music" FROM table_4758 WHERE "Score" = '13 (5, 4, 4)'
### Instruction: CREATE TABLE table_39774 ( "Date" text, "Cover model" text, "Centerfold model" text, "20 Questions" text, "Pictorials" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which over model has a 20 Questions of edward burns? ### Respons...
SELECT "Cover model" FROM table_39774 WHERE "20 Questions" = 'edward burns'
### Instruction: CREATE TABLE table_76725 ( "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 was the report at State Sports Centre? ...
SELECT "Report" FROM table_76725 WHERE "Venue" = 'state sports centre'
### Instruction: CREATE TABLE table_15529 ( "Year" real, "English title" text, "Original title" text, "Country" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the English title for years after 1981 originating from Argentina...
SELECT "English title" FROM table_15529 WHERE "Year" > '1981' AND "Country" = 'argentina'
### Instruction: CREATE TABLE table_name_33 ( property_taxes VARCHAR, year VARCHAR, total_revenue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were property taxes in a year when total revenue was $40,891,700 after 2002? ### Response:
SELECT property_taxes FROM table_name_33 WHERE year > 2002 AND total_revenue = "$40,891,700"
### Instruction: CREATE TABLE table_41723 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where the away team is Bradford City, who is the home team? #...
SELECT "Home team" FROM table_41723 WHERE "Away team" = 'bradford city'
### Instruction: CREATE TABLE table_48649 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest amount of money that Craig Stadler won? ### R...
SELECT MIN("Money ( $ )") FROM table_48649 WHERE "Player" = 'craig stadler'
### Instruction: CREATE TABLE table_18411 ( "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 ran in the race for Jack Brooks' seat? ### Respon...
SELECT "Candidates" FROM table_18411 WHERE "Incumbent" = 'Jack Brooks'
### Instruction: CREATE TABLE table_61016 ( "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 Surface has a Tournament of pune, india? ### Response:
SELECT "Surface" FROM table_61016 WHERE "Tournament" = 'pune, india'
### Instruction: CREATE TABLE table_57513 ( "Date of Issue" text, "Theme" text, "Design" text, "Illustration" text, "Paper Type" text, "First Day Cover Cancellation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date of Issue with a...
SELECT "Date of Issue" FROM table_57513 WHERE "Theme" = 'mental health'
### Instruction: CREATE TABLE table_29686983_1 ( round VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the round wher the fabien foret had the fastest lap and david salom was the pole position? ### Res...
SELECT round FROM table_29686983_1 WHERE fastest_lap = "Fabien Foret" AND pole_position = "David Salom"
### Instruction: CREATE TABLE table_786 ( "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. -- Cordell Hull is the incumbent in how many districts? ##...
SELECT COUNT("District") FROM table_786 WHERE "Incumbent" = 'Cordell Hull'
### Instruction: CREATE TABLE table_204_870 ( id number, "product" text, "main functionality" text, "input format" text, "output format" text, "platform" text, "license and cost" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
SELECT COUNT("platform") FROM table_204_870
### Instruction: CREATE TABLE table_37639 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Record of 0 8 had what lowest week? ### Resp...
SELECT MIN("Week") FROM table_37639 WHERE "Record" = '0–8'
### Instruction: CREATE TABLE table_63657 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Tie no of the game with an Attendance of 4,658? ### Response:
SELECT "Tie no" FROM table_63657 WHERE "Attendance" = '4,658'
### Instruction: CREATE TABLE table_name_31 ( time VARCHAR, laps VARCHAR, grid VARCHAR, bike VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the time for a grid more than 6 in less than 23 laps with a Honda CBR1000RR? ### Response:
SELECT time FROM table_name_31 WHERE grid > 6 AND bike = "honda cbr1000rr" AND laps < 23
### Instruction: CREATE TABLE table_28133 ( "Episode" real, "Air Date" text, "Team Swash" text, "Team guest captain" text, "Team Coxy" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the team swash when the team guest captain was gail porter?...
SELECT "Team Swash" FROM table_28133 WHERE "Team guest captain" = 'Gail Porter'
### Instruction: CREATE TABLE table_name_87 ( driving_force_ex VARCHAR, gt_force VARCHAR, g27_racing_wheel VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- GT Force of yes, and a G27 Racing Wheel of 16 involves which driving force ex? ### Response:
SELECT driving_force_ex FROM table_name_87 WHERE gt_force = "yes" AND g27_racing_wheel = "16"
### Instruction: CREATE TABLE table_35340 ( "Race Title" text, "Circuit" text, "Location / State" text, "Date" text, "Winner" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won at the Circuit of lakeside international raceway? ...
SELECT "Winner" FROM table_35340 WHERE "Circuit" = 'lakeside international raceway'
### Instruction: CREATE TABLE table_17288825_10 ( high_points VARCHAR, location_attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different items appear in the high points column when the location attendance was US Airways Center 18,422? #...
SELECT COUNT(high_points) FROM table_17288825_10 WHERE location_attendance = "US Airways Center 18,422"
### Instruction: CREATE TABLE table_5810 ( "Player" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points does Tom Hammond have if he has more than 12 points? ### ...
SELECT SUM("Points") FROM table_5810 WHERE "Player" = 'tom hammond' AND "Extra points" > '12'
### Instruction: CREATE TABLE table_55247 ( "Year" text, "President" text, "Vice President" text, "Gen.-Secretary" text, "Treasurer" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Gen.-Secretary that has a Vice President named charlotte saes? ...
SELECT "Gen.-Secretary" FROM table_55247 WHERE "Vice President" = 'charlotte saes'
### Instruction: CREATE TABLE table_36866 ( "Name" text, "Faith" text, "Type" text, "Intake" real, "DCSF number" real, "Ofsted number" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a DCSF number of 3373? ### Response:
SELECT "Name" FROM table_36866 WHERE "DCSF number" = '3373'
### Instruction: CREATE TABLE table_63864 ( "Year" real, "Population" real, "Five Year % change" text, "Ten Year % change" text, "Rank Among Provinces" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest population for the province ha...
SELECT MAX("Population") FROM table_63864 WHERE "Rank Among Provinces" < '5'
### Instruction: CREATE TABLE table_30448 ( "Player" text, "Cap(s)" real, "Goal(s)" real, "International Debut" text, "Club(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many items are listed under caps when burnley is the club team? ### ...
SELECT COUNT("Cap(s)") FROM table_30448 WHERE "Club(s)" = 'Burnley'
### Instruction: CREATE TABLE table_21944 ( "Actor in original production" text, "Actor required" text, "GamePlan" text, "FlatSpin" text, "RolePlay" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What FlatSpin actor played the same role as Robert Au...
SELECT "FlatSpin" FROM table_21944 WHERE "Actor in original production" = 'Robert Austin'
### Instruction: CREATE TABLE table_1566852_8 ( centerfold_model VARCHAR, pictorials VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the centerfold model when the issue's pictorial was amanda beard, reby sky , girls of montauk ? ### Response:
SELECT centerfold_model FROM table_1566852_8 WHERE pictorials = "Amanda Beard, Reby Sky , Girls of Montauk"
### Instruction: CREATE TABLE table_204_54 ( id number, "pondicherry assembly" text, "duration" text, "name of m.l.a." text, "party affiliation" text, "election year" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the year of the firs...
SELECT "election year" FROM table_204_54 WHERE "pondicherry assembly" = 'first'
### Instruction: CREATE TABLE table_44656 ( "Nat." text, "Name" text, "Moving from" text, "Type" text, "Transfer window" text, "Ends" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the transfer window that ends in 2012? ### Response:
SELECT "Transfer window" FROM table_44656 WHERE "Ends" = '2012'
### Instruction: CREATE TABLE table_60303 ( "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 Fuzzy Zoeller's To par? ### Response:
SELECT "To par" FROM table_60303 WHERE "Player" = 'fuzzy zoeller'
### Instruction: CREATE TABLE table_13919 ( "Position" text, "Gymnast" text, "A Score" real, "B Score" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the total number of Total that has the B Score of 9.15? ### Respons...
SELECT COUNT("Total") FROM table_13919 WHERE "B Score" = '9.15'
### Instruction: CREATE TABLE table_41761 ( "Lane" real, "Name" text, "Country" text, "Mark" text, "React" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country has a lane greater than 6 and a mark of 6.63? ### Response:
SELECT "Country" FROM table_41761 WHERE "Lane" > '6' AND "Mark" = '6.63'
### Instruction: CREATE TABLE table_name_58 ( drawn INTEGER, team VARCHAR, played VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of Drawn games for Team Mackenzie where the Played is less and 11 and the Point...
SELECT MIN(drawn) FROM table_name_58 WHERE played < 11 AND points > 7 AND team = "mackenzie"
### Instruction: CREATE TABLE table_34288 ( "Games" real, "Drawn" real, "Lost" real, "Points difference" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of losses that have 1 draw and games over 7? ### Respon...
SELECT COUNT("Lost") FROM table_34288 WHERE "Drawn" = '1' AND "Games" > '7'
### Instruction: CREATE TABLE table_35735 ( "Word" text, "Pronunciation a" text, "Meaning a" text, "Pronunciation b" text, "Meaning b" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the word with pronunciation b of *s ks ### Response:
SELECT "Word" FROM table_35735 WHERE "Pronunciation b" = '*sɨks'
### Instruction: CREATE TABLE table_18304 ( "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 was the incumbent for missouri 1? ### Response:
SELECT "Incumbent" FROM table_18304 WHERE "District" = 'Missouri 1'
### Instruction: CREATE TABLE table_29675 ( "Week #" text, "Theme" text, "Song Choice" text, "Original Artist" text, "Order #" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the original artist of the Top 12 Men theme? #...
SELECT "Original Artist" FROM table_29675 WHERE "Theme" = 'Top 12 Men'
### Instruction: CREATE TABLE table_37141 ( "Rank" real, "Player" text, "Country" text, "Earnings ( $ )" real, "Events" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Wins is the lowest one that has Events larger than 30? ##...
SELECT MIN("Wins") FROM table_37141 WHERE "Events" > '30'
### Instruction: CREATE TABLE table_14253123_1 ( area_sq_mi__km_2____rank_ VARCHAR, county_seat VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Vincennes is the county seat what is the area sq mi (km 2 ) (rank) ? ### Response:
SELECT area_sq_mi__km_2____rank_ FROM table_14253123_1 WHERE county_seat = "Vincennes"
### Instruction: CREATE TABLE table_15733 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What engine did the Team Lotus have after 1965? ### Response:
SELECT "Engine" FROM table_15733 WHERE "Entrant" = 'team lotus' AND "Year" > '1965'
### Instruction: CREATE TABLE table_204_791 ( id number, "event" text, "winner" text, "second" text, "third" text, "fourth" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in what two races did chelsea williams earn the same rank ? ### Response...
SELECT "event" FROM table_204_791 WHERE "winner" = 'chelsea wlliams'
### Instruction: CREATE TABLE table_name_70 ( took_office INTEGER, name VARCHAR, up_for_reelection VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the earliest year that Yvette Alexander took office and was up for reelection after 2016? ### Res...
SELECT MIN(took_office) FROM table_name_70 WHERE name = "yvette alexander" AND up_for_reelection > 2016
### Instruction: CREATE TABLE table_671 ( "Year" real, "Finish position" text, "1st day" text, "2nd day" text, "3rd day" text, "4th Day" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the maximum year with 3rd day being rowed-over ### ...
SELECT MAX("Year") FROM table_671 WHERE "3rd day" = 'rowed-over'
### Instruction: CREATE TABLE table_25046 ( "Asian rank" real, "World rank" real, "Country" text, "GDP per capita" text, "GDP world rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the gdp per capita for world rank being 131 ### Response:...
SELECT "GDP per capita" FROM table_25046 WHERE "GDP world rank" = '131'
### Instruction: CREATE TABLE table_18104 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the candidates in the Maryland 5 district ele...
SELECT "Candidates" FROM table_18104 WHERE "District" = 'Maryland 5'
### Instruction: CREATE TABLE table_37041 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the class with call sign of k220cp ### Respo...
SELECT "Class" FROM table_37041 WHERE "Call sign" = 'k220cp'
### Instruction: CREATE TABLE table_10849 ( "Season" real, "Overall" real, "Slalom" real, "Giant Slalom" text, "Super G" text, "Downhill" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which giant slalom had an Overall number of 25? ### Respon...
SELECT "Giant Slalom" FROM table_10849 WHERE "Overall" = '25'
### Instruction: CREATE TABLE table_name_14 ( result VARCHAR, competition VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Result for the Competition of 1994 FIFA World Cup Qualification, with the Date of May 15, 1993? ### Respon...
SELECT result FROM table_name_14 WHERE competition = "1994 fifa world cup qualification" AND date = "may 15, 1993"
### Instruction: CREATE TABLE table_54546 ( "Rank" real, "Name" text, "Nation" text, "Points" real, "Places" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the points when the rank is more than 1 and the places is 33? ### Response:
SELECT "Points" FROM table_54546 WHERE "Rank" > '1' AND "Places" = '33'
### Instruction: CREATE TABLE table_name_41 ( constituency VARCHAR, candidate VARCHAR, position VARCHAR, party VARCHAR, election VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Alliance Constituency has Seamus Close, position 2 and an electi...
SELECT constituency FROM table_name_41 WHERE party = "alliance" AND election < 1997 AND position = 2 AND candidate = "seamus close"
### Instruction: CREATE TABLE table_448 ( "Character(s)" text, "First Appearance" text, "Cover Date" text, "Publisher" text, "Estimated Value" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of publisher where first appearanc...
SELECT COUNT("Publisher") FROM table_448 WHERE "First Appearance" = 'Daredevil #1'
### 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. -- how many athletes finished the race in less than 5:00:00 ? ### ...
SELECT COUNT("name") FROM table_204_521 WHERE "time (hand)" < 5
### Instruction: CREATE TABLE table_19253 ( "Year (Ceremony)" text, "Video game" text, "Publisher(s)" text, "Platform(s) [A ]" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the publisher for resident evil 4 ### Response:
SELECT "Publisher(s)" FROM table_19253 WHERE "Video game" = 'Resident Evil 4'
### Instruction: CREATE TABLE table_65873 ( "Rank" text, "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 least amount of silver when there is less than 0 bronze? ### ...
SELECT MIN("Silver") FROM table_65873 WHERE "Bronze" < '0'
### Instruction: CREATE TABLE table_30851 ( "Series" real, "Premiere" text, "Finale" text, "Runners-up" text, "Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the premiere of the season where Holly Bell was the runner-up? ### Respon...
SELECT "Premiere" FROM table_30851 WHERE "Runners-up" = 'Holly Bell'
### Instruction: CREATE TABLE table_name_35 ( mult VARCHAR, release_price___usd__ VARCHAR, sspec_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the multiplier of the processor with sSpec number of SLGPR(C0) and a release price of N/A? #...
SELECT mult FROM table_name_35 WHERE release_price___usd__ = "n/a" AND sspec_number = "slgpr(c0)"
### Instruction: CREATE TABLE table_78860 ( "Week" real, "Event" text, "Air Date" text, "Winning team" text, "Winners club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Week has an Air Date of august 2, 2008? ### Response:
SELECT "Week" FROM table_78860 WHERE "Air Date" = 'august 2, 2008'
### Instruction: CREATE TABLE table_34990 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the date of the game that has the Bulls as a visiting team?...
SELECT "Date" FROM table_34990 WHERE "Visitor" = 'bulls'
### Instruction: CREATE TABLE table_34971 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which First elected is the lowest one that has an Incumbent of william stewart...
SELECT MIN("First elected") FROM table_34971 WHERE "Incumbent" = 'william stewart'
### Instruction: CREATE TABLE table_name_59 ( elevation_msnm VARCHAR, population_censo_2007_hab_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the elevation msnm for a population censo 2007(hab) of 77.392*? ### Response:
SELECT elevation_msnm FROM table_name_59 WHERE population_censo_2007_hab_ = "77.392*"
### Instruction: CREATE TABLE table_33709 ( "City" text, "Province" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which province is Luogang International Airport located in? ### Respon...
SELECT "Province" FROM table_33709 WHERE "Airport" = 'luogang international airport'
### Instruction: CREATE TABLE table_27932 ( "meas. num." real, "passed" text, "YES votes" real, "NO votes" real, "% YES" text, "Const. Amd.?" text, "type" text, "description" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the hig...
SELECT MAX("meas. num.") FROM table_27932
### Instruction: CREATE TABLE table_78334 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the combined attendance of all games that had a result of w 35-14? ### Respon...
SELECT SUM("Attendance") FROM table_78334 WHERE "Result" = 'w 35-14'
### Instruction: CREATE TABLE table_69888 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Try BP" text, "Losing BP" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Club that has the Lost of 19? ### Response:
SELECT "Club" FROM table_69888 WHERE "Lost" = '19'
### Instruction: CREATE TABLE table_204_913 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the top listed venue in th...
SELECT "venue" FROM table_204_913 WHERE id = 1
### Instruction: CREATE TABLE table_60858 ( "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 smallest number of gold medals a country with 7 medals has? #...
SELECT MIN("Gold") FROM table_60858 WHERE "Total" = '7'
### Instruction: CREATE TABLE table_104 ( "Name of lava dome" text, "Country" text, "Volcanic area" text, "Composition" text, "Last eruption or growth episode" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the composition at Valles lava dom...
SELECT "Composition" FROM table_104 WHERE "Name of lava dome" = 'Valles lava dome'
### Instruction: CREATE TABLE table_78177 ( "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 low grid that has brm and over 54 laps? ### Response:
SELECT MIN("Grid") FROM table_78177 WHERE "Constructor" = 'brm' AND "Laps" > '54'
### Instruction: CREATE TABLE table_57081 ( "Player" text, "Nationality" text, "Position" text, "Years for Jazz" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which position was active in Jazz in 2002-03? ### Response:
SELECT "Position" FROM table_57081 WHERE "Years for Jazz" = '2002-03'
### Instruction: CREATE TABLE table_35519 ( "Rank" real, "Name" text, "Height ft (m)" text, "Floors (Stories)" real, "Year Completed" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which is the highest ranked building with more than 15 floors? ###...
SELECT MAX("Rank") FROM table_35519 WHERE "Floors (Stories)" > '15'
### Instruction: CREATE TABLE table_name_45 ( competition VARCHAR, venue VARCHAR, goal VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Competition has a Venue of estadio alfonso lastras, san luis potos , mexico, and a Goal larger than 15? ### Resp...
SELECT competition FROM table_name_45 WHERE venue = "estadio alfonso lastras, san luis potosí, mexico" AND goal > 15
### Instruction: CREATE TABLE table_60276 ( "Model" text, "Year" text, "Type" text, "Engine" text, "Displacement cc" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What cc displacement has an i6 engine in 1936? ### Response:
SELECT "Displacement cc" FROM table_60276 WHERE "Engine" = 'i6' AND "Year" = '1936'
### Instruction: CREATE TABLE table_23397386_2 ( viewers__millions_ VARCHAR, rating VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many million viewers watched the episode that had a 2.6/7 rating/share (18-49) ### Response:
SELECT viewers__millions_ FROM table_23397386_2 WHERE rating / SHARE(18 AS –49) = 2.6 / 7
### Instruction: CREATE TABLE table_19665 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the mens singles for 1989 ### ...
SELECT "Mens singles" FROM table_19665 WHERE "Year" = '1989'
### Instruction: CREATE TABLE table_45276 ( "Senator" text, "Party" text, "District" real, "Home Town" text, "Took Office" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What district has a democratic leader from Roby? ### Response:
SELECT SUM("District") FROM table_45276 WHERE "Party" = 'democratic' AND "Home Town" = 'roby'
### Instruction: CREATE TABLE table_62688 ( "Seat" real, "Series 1" text, "Series 2" text, "Series 3" text, "Series 4" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the seat number when Series 3 shows Dana B rov ? ### Response:
SELECT AVG("Seat") FROM table_62688 WHERE "Series 3" = 'dana bérová'
### Instruction: CREATE TABLE table_38270 ( "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. -- Which Draws have Wins larger than 14? ### Response:
SELECT SUM("Draws") FROM table_38270 WHERE "Wins" > '14'