instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_13438 ( "Rank" real, "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the rank for Denmark? ### Response:
SELECT COUNT("Rank") FROM table_13438 WHERE "Nationality" = 'denmark'
### Instruction: CREATE TABLE table_name_32 ( outcomes VARCHAR, launch_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Outcome has a Launch Date of march 18, 1964; 14:50 gmt? ### Response:
SELECT outcomes FROM table_name_32 WHERE launch_date = "march 18, 1964; 14:50 gmt"
### Instruction: CREATE TABLE table_49753 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the airport when the iata is tbj? ### Response:
SELECT "Airport" FROM table_49753 WHERE "IATA" = 'tbj'
### Instruction: CREATE TABLE table_60899 ( "Stage" text, "Route" text, "Distance" text, "Date" text, "Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the distance of the race on saturday, august 23? ### Response:
SELECT "Distance" FROM table_60899 WHERE "Date" = 'saturday, august 23'
### Instruction: CREATE TABLE table_67243 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What chassis has a year of 1951? ### Response:
SELECT "Chassis" FROM table_67243 WHERE "Year" = '1951'
### Instruction: CREATE TABLE table_63482 ( "Year" real, "Title" text, "Director" text, "Studio(s)" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What studio has the director Philip Frank Messina? ### Response:
SELECT "Studio(s)" FROM table_63482 WHERE "Director" = 'philip frank messina'
### Instruction: CREATE TABLE table_name_77 ( wins VARCHAR, club VARCHAR, flags VARCHAR, draws VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many wins did South Warrnambool have that had more than 6 flags and a draw greater than 10? ### Response:
SELECT wins FROM table_name_77 WHERE flags > 6 AND draws > 10 AND club = "south warrnambool"
### Instruction: CREATE TABLE table_name_22 ( series VARCHAR, isbn VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the series with an ISBN of 978-1-59582-523-0 (tpb)? ### Response:
SELECT series FROM table_name_22 WHERE isbn = "978-1-59582-523-0 (tpb)"
### Instruction: CREATE TABLE table_17178 ( "Name of ground" text, "Location" text, "Year" text, "FC matches" real, "LA matches" real, "T20 matches" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum fc matches? ### Response:
SELECT MAX("FC matches") FROM table_17178
### Instruction: CREATE TABLE table_1104312_5 ( area_in_km² VARCHAR, original_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the area in km2 for the district whose original name was Kecamatan Bogor Timur? ### Response:
SELECT area_in_km² FROM table_1104312_5 WHERE original_name = "Kecamatan Bogor Timur"
### Instruction: CREATE TABLE table_28138035_27 ( womens_singles VARCHAR, year_location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is listed under womens singles when year location is 1998 doha? ### Response:
SELECT womens_singles FROM table_28138035_27 WHERE year_location = "1998 Doha"
### Instruction: CREATE TABLE table_70167 ( "Year" real, "Team" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Points for a year before 1955? ### Response:
SELECT AVG("Points") FROM table_70167 WHERE "Year" < '1955'
### Instruction: CREATE TABLE table_name_86 ( winning_jockey VARCHAR, track VARCHAR, winning_horse VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Winning Jockey ran in the Tampa Bay Downs Track on Winning Horse Barkley Sound? ### Response:
SELECT winning_jockey FROM table_name_86 WHERE track = "tampa bay downs" AND winning_horse = "barkley sound"
### Instruction: CREATE TABLE table_name_89 ( bronze INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the sum of bronze when the rank is 5, the nation is poland and gold is less than 0? ### Response:
SELECT SUM(bronze) FROM table_name_89 WHERE rank = 5 AND nation = "poland" AND gold < 0
### Instruction: CREATE TABLE table_47787 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country scored 71-69=140? ### Response:
SELECT "Country" FROM table_47787 WHERE "Score" = '71-69=140'
### Instruction: CREATE TABLE table_name_60 ( series_ep VARCHAR, episode VARCHAR, segment_a VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the series episode number that is larger than 262 and has a Segment A entry of Aluminium s canoe? ### Response:
SELECT series_ep FROM table_name_60 WHERE episode > 262 AND segment_a = "aluminium s canoe"
### Instruction: CREATE TABLE table_203_783 ( id number, "season" text, "tier" number, "division" text, "place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what place was 1a aficio and 3a aficio ? ### Response:
SELECT "place" FROM table_203_783 WHERE "division" = '1a aficio'
### Instruction: CREATE TABLE table_26362472_1 ( left_office VARCHAR, election_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date in which a politician who left office on 1840-10-11 for a politician whose election number was 11? ### Response:
SELECT left_office FROM table_26362472_1 WHERE election_number = 11
### Instruction: CREATE TABLE table_name_27 ( season VARCHAR, team_2 VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the total number of Season that has the Team 2 of chonburi, and the Score of 0:1? ### Response:
SELECT COUNT(season) FROM table_name_27 WHERE team_2 = "chonburi" AND score = "0:1"
### Instruction: CREATE TABLE table_19787093_1 ( for_round_trip INTEGER, till_agra VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the till agra is 1050, what is the max round trip? ### Response:
SELECT MAX(for_round_trip) FROM table_19787093_1 WHERE till_agra = 1050
### Instruction: CREATE TABLE table_204_718 ( id number, "date" text, "opponent" text, "time" text, "score" text, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many games are played at 2pm ? ### Response:
SELECT COUNT(*) FROM table_204_718 WHERE "time" = '2 p.m'
### Instruction: CREATE TABLE table_62485 ( "Rank" real, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of silver when bronze is less than 0? ### Response:
SELECT COUNT("Silver") FROM table_62485 WHERE "Bronze" < '0'
### Instruction: CREATE TABLE table_name_83 ( transfer_fee VARCHAR, name VARCHAR, transfer_window VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the transfer fee for the summer transfer involving the SCO named Crainey? ### Response:
SELECT transfer_fee FROM table_name_83 WHERE transfer_window = "summer" AND country = "sco" AND name = "crainey"
### Instruction: CREATE TABLE table_24949975_1 ( date VARCHAR, stadium VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date for the game at the tallaght stadium and result was 0 1? ### Response:
SELECT date FROM table_24949975_1 WHERE stadium = "Tallaght stadium" AND result = "0–1"
### Instruction: CREATE TABLE table_name_75 ( year_opened INTEGER, material VARCHAR, span_feet VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Year opened when steel was the material with a Span feet of 1476? ### Response:
SELECT SUM(year_opened) FROM table_name_75 WHERE material = "steel" AND span_feet = 1476
### Instruction: CREATE TABLE table_name_54 ( league VARCHAR, year VARCHAR, canada___usa_rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- After the year 2011, when the Canada - USA Rank was 46th, what was the League Rank? ### Response:
SELECT league AS Rank FROM table_name_54 WHERE year > 2011 AND canada___usa_rank = "46th"
### Instruction: CREATE TABLE table_name_99 ( graphics VARCHAR, chipset VARCHAR, model VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What type of graphics are present in the Precision 340 model with the intel 850e chipset? ### Response:
SELECT graphics FROM table_name_99 WHERE chipset = "intel 850e" AND model = "precision 340"
### Instruction: CREATE TABLE table_10657 ( "Round" real, "Overall" text, "Player" text, "Position" text, "Nationality" text, "Club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- A round of 4 is in what position? ### Response:
SELECT "Position" FROM table_10657 WHERE "Round" = '4'
### Instruction: CREATE TABLE table_22904780_1 ( title VARCHAR, us_viewers__million_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the number of shows that had 12.04 million viewers in the united states ### Response:
SELECT COUNT(title) FROM table_22904780_1 WHERE us_viewers__million_ = "12.04"
### Instruction: CREATE TABLE table_58223 ( "Ship" text, "Pennant number" text, "Laid down" text, "Launched" text, "Completed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Laid down for the Hyperion ship? ### Response:
SELECT "Laid down" FROM table_58223 WHERE "Ship" = 'hyperion'
### Instruction: CREATE TABLE table_677 ( "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 has Ron Paul? ### Response:
SELECT "District" FROM table_677 WHERE "Incumbent" = 'Ron Paul'
### Instruction: CREATE TABLE table_37209 ( "Season" real, "Winner" text, "Finalist" text, "Score" text, "Host City" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the host city during the 2012 season? ### Response:
SELECT "Host City" FROM table_37209 WHERE "Season" = '2012'
### Instruction: CREATE TABLE table_203_24 ( id number, "date" text, "home team" text, "score" text, "away team" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- on what date did the home team score zero points against their opponent ? ### Response:
SELECT "date" FROM table_203_24 WHERE "score" = 0
### Instruction: CREATE TABLE table_name_82 ( artist VARCHAR, format VARCHAR, single VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What artist had a single called Alien Rock b/w Combat, The Remix on 12 inch Vinyl format? ### Response:
SELECT artist FROM table_name_82 WHERE format = "12 inch vinyl" AND single = "alien rock b/w combat, the remix"
### Instruction: CREATE TABLE table_9233 ( "Club" text, "Location" text, "Manager" text, "Kit maker" text, "Shirt sponsor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which kit maker have Trond Sollied as a manager? ### Response:
SELECT "Kit maker" FROM table_9233 WHERE "Manager" = 'trond sollied'
### Instruction: CREATE TABLE table_11065 ( "Name" text, "Club" text, "Date of departure" text, "Replacement" text, "Date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the club with a replacement of alberto malesani ### Response:
SELECT "Club" FROM table_11065 WHERE "Replacement" = 'alberto malesani'
### Instruction: CREATE TABLE table_name_88 ( losses INTEGER, wins VARCHAR, last_appearance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Losses, when Wins is greater than 1, and when Last Appearance is 2003? ### Response:
SELECT MAX(losses) FROM table_name_88 WHERE wins > 1 AND last_appearance = "2003"
### Instruction: CREATE TABLE table_18788823_5 ( position_in_table VARCHAR, date_of_vacancy VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which vacancy occurred on 16 February 2009? ### Response:
SELECT position_in_table FROM table_18788823_5 WHERE date_of_vacancy = "16 February 2009"
### Instruction: CREATE TABLE table_5089 ( "Station Code" text, "Station Name" text, "Arrival" text, "Departure" text, "Platform" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- At what Platform is the Departure 18:00? ### Response:
SELECT "Platform" FROM table_5089 WHERE "Departure" = '18:00'
### Instruction: CREATE TABLE table_204_492 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many top 3 finishes does gordeeva have ? ### Response:
SELECT COUNT(*) FROM table_204_492 WHERE "position" <= 3
### Instruction: CREATE TABLE table_11927 ( "Number & name" text, "Description" text, "Current status" text, "Livery" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the livery of Kinneil Sandy Red? ### Response:
SELECT "Date" FROM table_11927 WHERE "Livery" = 'kinneil sandy red'
### Instruction: CREATE TABLE table_name_53 ( seating VARCHAR, diagram_no VARCHAR, type VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which vehicle has a Diagram of 516 or smaller, and a driving motor brake second (dmbs) type. ### Response:
SELECT seating FROM table_name_53 WHERE diagram_no > 516 AND type = "driving motor brake second (dmbs)"
### Instruction: CREATE TABLE table_11357 ( "Year" real, "Organization" text, "Award" text, "Work" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where Work is veterinarian dolittle, what is the Organization? ### Response:
SELECT "Organization" FROM table_11357 WHERE "Work" = 'veterinarian dolittle'
### Instruction: CREATE TABLE table_name_18 ( programming VARCHAR, aspect VARCHAR, psip_short_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Programming which has an Aspect of 4:3, and a PSIP Short Name of ibc-tv? ### Response:
SELECT programming FROM table_name_18 WHERE aspect = "4:3" AND psip_short_name = "ibc-tv"
### Instruction: CREATE TABLE table_name_91 ( wins INTEGER, losses VARCHAR, games VARCHAR, manager VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average of wins with manager George Scherger smaller than 3 and losses smaller than 1? ### Response:
SELECT AVG(wins) FROM table_name_91 WHERE games < 3 AND manager = "george scherger" AND losses < 1
### Instruction: CREATE TABLE table_2144389_8 ( _number INTEGER, japanese_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least number for (popup.version) ### Response:
SELECT MIN(_number) FROM table_2144389_8 WHERE japanese_title = "君のそばで~ヒカリのテーマ~(PopUp.Version)"
### Instruction: CREATE TABLE table_50251 ( "Institution" text, "Location" text, "Nickname" text, "Enrollment" real, "Established" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which institution has a nickname of Blue Hens? ### Response:
SELECT "Institution" FROM table_50251 WHERE "Nickname" = 'blue hens'
### Instruction: CREATE TABLE table_65992 ( "Year" real, "Formula" text, "Driver" text, "Constructor" text, "Location" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest year with a formula of Grand Prix? ### Response:
SELECT MAX("Year") FROM table_65992 WHERE "Formula" = 'grand prix'
### Instruction: CREATE TABLE table_name_28 ( seasons INTEGER, spells VARCHAR, drawn VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest season number with 57 draws, rank 20, and more than 1 spell? ### Response:
SELECT MAX(seasons) FROM table_name_28 WHERE drawn = 57 AND rank = 20 AND spells > 1
### Instruction: CREATE TABLE table_71066 ( "Stage" text, "Date" text, "Course" text, "Distance" text, "Winner" text, "Race Leader" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won on 3 june? ### Response:
SELECT "Winner" FROM table_71066 WHERE "Date" = '3 june'
### Instruction: CREATE TABLE table_name_16 ( no_result VARCHAR, wins VARCHAR, losses VARCHAR, played VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of no result for losses more than 1 and played of 38 and wins less than 19 ### Response:
SELECT COUNT(no_result) FROM table_name_16 WHERE losses > 1 AND played = 38 AND wins < 19
### Instruction: CREATE TABLE table_name_82 ( lost VARCHAR, goals_scored VARCHAR, goals_conceded VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of lost when goals scored is less than 22 and goals conceded is more than 27 ### Response:
SELECT COUNT(lost) FROM table_name_82 WHERE goals_scored < 22 AND goals_conceded > 27
### Instruction: CREATE TABLE table_name_65 ( premiership_years VARCHAR, years_in_competition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Premiership Years that had in the Competition of 1983-1992? ### Response:
SELECT premiership_years FROM table_name_65 WHERE years_in_competition = "1983-1992"
### Instruction: CREATE TABLE table_75819 ( "Date" text, "Opponent" text, "Location" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game against North Carolina? ### Response:
SELECT "Date" FROM table_75819 WHERE "Opponent" = 'north carolina'
### Instruction: CREATE TABLE table_9746 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the los angeles rams game? ### Response:
SELECT "Result" FROM table_9746 WHERE "Opponent" = 'los angeles rams'
### Instruction: CREATE TABLE table_16800 ( "House Name" text, "Composition" text, "Named after" text, "Founded" real, "Colours" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the house named gongola made? ### Response:
SELECT "Founded" FROM table_16800 WHERE "House Name" = 'Gongola'
### Instruction: CREATE TABLE city ( city VARCHAR, city_id VARCHAR ) CREATE TABLE hosting_city ( host_city VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which city has hosted the most events? ### Response:
SELECT T1.city FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city GROUP BY T2.host_city ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_name_56 ( primary_conference VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the primary conference with a IHSAA Football Class of A, at South Decatur school? ### Response:
SELECT primary_conference FROM table_name_56 WHERE ihsaa_football_class = "a" AND school = "south decatur"
### Instruction: CREATE TABLE table_204_861 ( id number, "tie no" number, "home team" text, "score" text, "away team" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many games were replays ? ### Response:
SELECT COUNT(*) FROM table_204_861 WHERE "tie no" = 'replay'
### Instruction: CREATE TABLE table_46655 ( "Player" text, "Country" text, "Year(s) won" text, "Total" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Total, when Player is 'Hale Irwin'? ### Response:
SELECT "Total" FROM table_46655 WHERE "Player" = 'hale irwin'
### Instruction: CREATE TABLE table_10091 ( "Number" real, "Name" text, "Year Built" text, "Boat Builder" text, "Current Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the cormorant built in? ### Response:
SELECT "Year Built" FROM table_10091 WHERE "Name" = 'cormorant'
### Instruction: CREATE TABLE HOTELS ( price_range INTEGER, star_rating_code VARCHAR, pets_allowed_yn VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the average price range of hotels that have 5 star ratings and allow pets. ### Response:
SELECT AVG(price_range) FROM HOTELS WHERE star_rating_code = "5" AND pets_allowed_yn = 1
### Instruction: CREATE TABLE table_5201 ( "Pick #" real, "MLS Team" text, "Player" text, "Position" text, "Affiliation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which MLS Team's pick number was 31? ### Response:
SELECT "MLS Team" FROM table_5201 WHERE "Pick #" = '31'
### Instruction: CREATE TABLE table_204_504 ( id number, "year" number, "award" text, "category" text, "work" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many awards has victoria rowell won ? ### Response:
SELECT COUNT("award") FROM table_204_504 WHERE "result" = 'won'
### Instruction: CREATE TABLE table_48841 ( "Member" text, "Party" text, "Electorate" text, "State" text, "Term of office" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which State has an Electorate of Barton? ### Response:
SELECT "State" FROM table_48841 WHERE "Electorate" = 'barton'
### Instruction: CREATE TABLE table_35426 ( "Round" real, "Overall" real, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of overall draft picks for Fred Nixon? ### Response:
SELECT COUNT("Overall") FROM table_35426 WHERE "Player" = 'fred nixon'
### Instruction: CREATE TABLE table_24956 ( "Discipline" text, "Contested" text, "Number of Olympiads" real, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most total ### Response:
SELECT MAX("Total") FROM table_24956
### Instruction: CREATE TABLE table_name_33 ( year INTEGER, team VARCHAR, finish VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total of the year with a Team of johnson city yankees, and a Finish of 6th? ### Response:
SELECT SUM(year) FROM table_name_33 WHERE team = "johnson city yankees" AND finish = "6th"
### Instruction: CREATE TABLE table_203_354 ( id number, "party" text, "candidate(s)" text, "votes" number, "percentage" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which candidates had the most votes listed ? ### Response:
SELECT "candidate(s)" FROM table_203_354 ORDER BY "votes" DESC LIMIT 1
### Instruction: CREATE TABLE table_25252080_3 ( march_27_29 VARCHAR, november_3 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number for march 27-29 whern november 3 is 153? ### Response:
SELECT march_27_29 FROM table_25252080_3 WHERE november_3 = "153"
### Instruction: CREATE TABLE table_58373 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the game that had a visiting team of Edmonton? ### Response:
SELECT "Score" FROM table_58373 WHERE "Visitor" = 'edmonton'
### Instruction: CREATE TABLE table_name_11 ( score VARCHAR, competition_round VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the copa libertadores group 3 competition round on 2 February 1994? ### Response:
SELECT score FROM table_name_11 WHERE competition_round = "copa libertadores group 3" AND date = "2 february 1994"
### Instruction: CREATE TABLE table_name_47 ( top_25 INTEGER, events VARCHAR, top_5 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the lowest top-25 when the events is less than 17 and top-5 is more than 0? ### Response:
SELECT MIN(top_25) FROM table_name_47 WHERE events < 17 AND top_5 > 0
### Instruction: CREATE TABLE table_203_345 ( id number, "name" text, "party" text, "took office" number, "left office" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what party was the last provincial representative of gilbert plains ? ### Response:
SELECT "party" FROM table_203_345 ORDER BY "took office" DESC LIMIT 1
### Instruction: CREATE TABLE table_38368 ( "Pick" real, "Player" text, "Country of origin*" text, "PBA team" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the PBA team with Mlqu college? ### Response:
SELECT "PBA team" FROM table_38368 WHERE "College" = 'mlqu'
### Instruction: CREATE TABLE table_17074 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many players are from Delray Beach, Florida? ### Response:
SELECT COUNT("Player") FROM table_17074 WHERE "Hometown" = 'Delray Beach, Florida'
### Instruction: CREATE TABLE table_name_54 ( points INTEGER, chassis VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most points for a vehicle with a lola thl1, chassis later than 1986? ### Response:
SELECT MAX(points) FROM table_name_54 WHERE chassis = "lola thl1" AND year > 1986
### Instruction: CREATE TABLE table_name_76 ( score VARCHAR, date VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On the date of 30/01/1991, when the away team was Liverpool, what was the score? ### Response:
SELECT score FROM table_name_76 WHERE date = "30/01/1991" AND away_team = "liverpool"
### Instruction: CREATE TABLE table_60418 ( "Knight" text, "Weapon/item" text, "External weapon" text, "Shield animal" text, "Cart" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the external weapon with a ramhead cart? ### Response:
SELECT "External weapon" FROM table_60418 WHERE "Cart" = 'ramhead cart'
### Instruction: CREATE TABLE table_41464 ( "Name" text, "Position" text, "Number" text, "Season" text, "Acquisition via" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position has ronjay buenafe as the name? ### Response:
SELECT "Position" FROM table_41464 WHERE "Name" = 'ronjay buenafe'
### Instruction: CREATE TABLE table_67531 ( "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which lane did the athlete from Zambia swim in? ### Response:
SELECT "Lane" FROM table_67531 WHERE "Nationality" = 'zambia'
### Instruction: CREATE TABLE table_204_139 ( id number, "community" text, "airport name" text, "type" text, "coordinates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which community has the only public airport in queensland ? ### Response:
SELECT "community" FROM table_204_139 WHERE "type" = 'military/public'
### Instruction: CREATE TABLE table_26982362_2 ( directed_by VARCHAR, original_airdate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The episode with the original airdate October 8, 2010, is directed by who? ### Response:
SELECT directed_by FROM table_26982362_2 WHERE original_airdate = "October 8, 2010"
### Instruction: CREATE TABLE table_64894 ( "Size" text, "Density" text, "Tracks" real, "Coercivity" text, "Unformatted capacity per side" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many tracks have a single density? ### Response:
SELECT COUNT("Tracks") FROM table_64894 WHERE "Density" = 'single'
### Instruction: CREATE TABLE table_21021796_1 ( displacement VARCHAR, torque VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the displacement for torque of n m (lb ft) @1500 rpm? ### Response:
SELECT displacement FROM table_21021796_1 WHERE torque = "N·m (lb·ft) @1500 rpm"
### Instruction: CREATE TABLE table_4713 ( "Round" real, "Overall" real, "Player" text, "Position" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rounds did Honester Davidson play? ### Response:
SELECT COUNT("Round") FROM table_4713 WHERE "Player" = 'honester davidson'
### Instruction: CREATE TABLE table_60841 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was the away team Bournemouth? ### Response:
SELECT "Date" FROM table_60841 WHERE "Away team" = 'bournemouth'
### Instruction: CREATE TABLE table_56765 ( "Year" real, "Film" text, "Director" text, "Producer" text, "Cinematographer" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What film was released in 1971? ### Response:
SELECT "Film" FROM table_56765 WHERE "Year" = '1971'
### Instruction: CREATE TABLE table_name_40 ( venue VARCHAR, silver VARCHAR, year VARCHAR, bronze VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the post 1991 tournament where the Czech Republic received the bronze and Russia received the silver? ### Response:
SELECT venue FROM table_name_40 WHERE year > 1991 AND bronze = "czech republic" AND silver = "russia"
### Instruction: CREATE TABLE table_22570439_1 ( original_air_date VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the original air date where tracy poust & jon kinnally was written by? ### Response:
SELECT original_air_date FROM table_22570439_1 WHERE written_by = "Tracy Poust & Jon Kinnally"
### Instruction: CREATE TABLE table_12305325_4 ( arlenes_vote VARCHAR, craigs_vote VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total of arlenes vote when craig voted for brian and karen? ### Response:
SELECT COUNT(arlenes_vote) FROM table_12305325_4 WHERE craigs_vote = "Brian and Karen"
### Instruction: CREATE TABLE table_name_29 ( percent_yes INTEGER, jurisdiction VARCHAR, percent_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest percent of yes Alberta, which had less than 60.2 vote no, has? ### Response:
SELECT MAX(percent_yes) FROM table_name_29 WHERE jurisdiction = "alberta" AND percent_no < 60.2
### Instruction: CREATE TABLE table_3525 ( "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. -- What is the theme for Audition week? ### Response:
SELECT "Theme" FROM table_3525 WHERE "Week #" = 'Audition'
### Instruction: CREATE TABLE table_46520 ( "Tenure" text, "Coach" text, "Years" text, "Record" text, "Pct." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years does coach Jim Berryman have? ### Response:
SELECT "Years" FROM table_46520 WHERE "Coach" = 'jim berryman'
### Instruction: CREATE TABLE table_6796 ( "Episode" text, "VII Season" text, "VIII Season" text, "XII Season" text, "XIII Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is XII Season, when Episode is 6? ### Response:
SELECT "XII Season" FROM table_6796 WHERE "Episode" = '6'
### Instruction: CREATE TABLE table_name_70 ( silver VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many values for silver occur when gold is less than 1, the rank is 13, and bronze is greater than 2? ### Response:
SELECT COUNT(silver) FROM table_name_70 WHERE gold < 1 AND rank = 13 AND bronze > 2
### Instruction: CREATE TABLE table_68240 ( "Name" text, "Team" text, "Qual 1" text, "Qual 2" text, "Best" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the team with best of 58.846 ### Response:
SELECT "Team" FROM table_68240 WHERE "Best" = '58.846'
### Instruction: CREATE TABLE table_204_779 ( id number, "network name" text, "flagship" text, "programming type" text, "owner" text, "affiliates" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of affiliates among all the networks ? ### Response:
SELECT SUM("affiliates") FROM table_204_779
### Instruction: CREATE TABLE table_40395 ( "Couple" text, "Style" text, "Music" text, "Choreographer(s)" text, "Results" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which couple participated in the Contemporary style of dance? ### Response:
SELECT "Couple" FROM table_40395 WHERE "Style" = 'contemporary'
### Instruction: CREATE TABLE table_59740 ( "Year" text, "Winner" text, "Runner-up" text, "Venue" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the venue in 2002? ### Response:
SELECT "Venue" FROM table_59740 WHERE "Year" = '2002'