instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_name_34 ( erp___power_w VARCHAR, frequency VARCHAR, facility_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of ERP/Power W for frequency of 89.3 fm and facility ID less than 40430 ### Respons...
SELECT COUNT(erp___power_w) FROM table_name_34 WHERE frequency = "89.3 fm" AND facility_id < 40430
### Instruction: CREATE TABLE table_77454 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Road Team has a Home Team of rochester, and a Game of game 2? ### Response:
SELECT "Road Team" FROM table_77454 WHERE "Home Team" = 'rochester' AND "Game" = 'game 2'
### Instruction: CREATE TABLE table_64691 ( "Team #1" text, "Agg." text, "Team #2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1st leg when team number 1 is CSU SIBIU? ### Response:
SELECT "1st leg" FROM table_64691 WHERE "Team #1" = 'csu sibiu'
### Instruction: CREATE TABLE table_55883 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance at the game when the record was 49-61? ### ...
SELECT "Attendance" FROM table_55883 WHERE "Record" = '49-61'
### Instruction: CREATE TABLE table_15478 ( "Date" text, "Home captain" text, "Away captain" text, "Venue" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what dates did the draw at the Antigua Recreation Ground happen? ### Respon...
SELECT "Date" FROM table_15478 WHERE "Result" = 'draw' AND "Venue" = 'antigua recreation ground'
### Instruction: CREATE TABLE table_5554 ( "Elector" text, "Nationality" text, "Cardinalatial Title" text, "Elevated" text, "Elevator" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Cardinalatial Title has an Elevator of pope eugenius iv? ##...
SELECT "Cardinalatial Title" FROM table_5554 WHERE "Elevator" = 'pope eugenius iv'
### Instruction: CREATE TABLE table_2645 ( "Series #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many series numbers belong to the epi...
SELECT COUNT("Series #") FROM table_2645 WHERE "Title" = 'Vexation of Spirit'
### Instruction: CREATE TABLE table_71618 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the year with a kurtis kraft 500a chassis? ### Response:
SELECT SUM("Year") FROM table_71618 WHERE "Chassis" = 'kurtis kraft 500a'
### Instruction: CREATE TABLE table_19970 ( "Province" text, "Prefecture" text, "County" text, "Tujia Population" real, "% of Chinas Tujia Population" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the country is fenghuang how many provinces are ...
SELECT COUNT("Province") FROM table_19970 WHERE "County" = 'Fenghuang'
### Instruction: CREATE TABLE table_54792 ( "Game" real, "November" real, "Opponent" text, "Score" text, "Decision" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest game number with a record of 12-8-1? ### Resp...
SELECT MAX("Game") FROM table_54792 WHERE "Record" = '12-8-1'
### Instruction: CREATE TABLE table_56996 ( "Round" real, "Overall" real, "Player" text, "Nationality" text, "Club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the overall pick for Doug Sproule of the United States? ### Response:
SELECT "Overall" FROM table_56996 WHERE "Nationality" = 'united states' AND "Player" = 'doug sproule'
### Instruction: CREATE TABLE table_200_0 ( id number, "year" number, "title" text, "chart-positions\nuk" number, "chart-positions\nus" number, "chart-positions\nnl" number, "comments" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was ...
SELECT "title" FROM table_200_0 ORDER BY "year" LIMIT 1
### Instruction: CREATE TABLE table_52843 ( "Round" text, "Date" text, "Opponent" text, "Score" text, "Aberdeen Scorer(s)" text, "Attendance" real, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Report is Dated 9 March? ### ...
SELECT "Report" FROM table_52843 WHERE "Date" = '9 march'
### Instruction: CREATE TABLE table_24954 ( "Rank" real, "Athlete" text, "Nation" text, "Olympics" text, "Gold" real, "Silver" real, "Bronze" real, "Total(min. 2 medals)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most rank ...
SELECT MAX("Rank") FROM table_24954
### Instruction: CREATE TABLE table_18399 ( "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 district who had their first elected in 19...
SELECT "District" FROM table_18399 WHERE "First elected" = '1966'
### Instruction: CREATE TABLE table_name_23 ( language VARCHAR, television_service VARCHAR, hdtv VARCHAR, package_option VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What language has NO, as the HDTV, sky famiglia as the package/option, and nationa...
SELECT language FROM table_name_23 WHERE hdtv = "no" AND package_option = "sky famiglia" AND television_service = "national geographic channel"
### Instruction: CREATE TABLE table_13074 ( "Helium" text, "Neon" text, "Argon" text, "Krypton" text, "Xenon" text, "Radon" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What neon has an Argon of 4.203? ### Response:
SELECT "Neon" FROM table_13074 WHERE "Argon" = '4.203'
### Instruction: CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Give the p...
SELECT gender, COUNT(*) FROM Person WHERE age < 40 GROUP BY gender
### Instruction: CREATE TABLE table_45674 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What airport is in China with an ICAO of zbaa? ### Response:
SELECT "Airport" FROM table_45674 WHERE "Country" = 'china' AND "ICAO" = 'zbaa'
### Instruction: CREATE TABLE table_14569 ( "Name" text, "Championship" real, "FA Cup" real, "League Cup" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most FA cup for championship of 18 and total of 19 ### Response:
SELECT MAX("FA Cup") FROM table_14569 WHERE "Championship" = '18' AND "Total" = '19'
### Instruction: CREATE TABLE table_21448 ( "Team #1" text, "Points" text, "Team #2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score on the 1st leg if the team 2 is botafogo? ### Response:
SELECT COUNT("1st leg") FROM table_21448 WHERE "Team #2" = 'Botafogo'
### Instruction: CREATE TABLE table_21725 ( "Class" text, "Part 1" text, "Part 2" text, "Part 3" text, "Part 4" text, "Verb meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many verbs mean to grow, to produce ### Response:
SELECT COUNT("Part 1") FROM table_21725 WHERE "Verb meaning" = 'to grow, to produce'
### Instruction: CREATE TABLE table_name_48 ( opposing_team VARCHAR, venue VARCHAR, against VARCHAR, status VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opposing team had an Against score less than 42 and a Tour Match status in Rugby Park, Gi...
SELECT opposing_team FROM table_name_48 WHERE against < 42 AND status = "tour match" AND venue = "rugby park, gisborne"
### Instruction: CREATE TABLE table_35751 ( "Team" text, "Date" text, "Opponent" text, "Pitcher" text, "Inn." text, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the pitcher with the record recorded in the 7th inning? ### Resp...
SELECT "Pitcher" FROM table_35751 WHERE "Inn." = '7th'
### Instruction: CREATE TABLE table_69348 ( "Name" text, "Country" text, "Type" text, "Moving from" text, "Transfer window" text, "Ends" real, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player was moving from manchest...
SELECT "Name" FROM table_69348 WHERE "Moving from" = 'manchester united'
### Instruction: CREATE TABLE table_68155 ( "Place" text, "Name" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place in the United States has a To par of e? ### Response:
SELECT "Place" FROM table_68155 WHERE "Country" = 'united states' AND "To par" = 'e'
### Instruction: CREATE TABLE table_34266 ( "Team" text, "Winners" text, "Runners-Up" text, "Third Place" text, "Fourth Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many runners-up did Espartanos de Margarita have? ### Response:
SELECT "Runners-Up" FROM table_34266 WHERE "Team" = 'espartanos de margarita'
### Instruction: CREATE TABLE table_49192 ( "Event" text, "Time" text, "Name" text, "Nation" text, "Games" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nation did the speed skater that set a record in the 1000 metres event re...
SELECT "Nation" FROM table_49192 WHERE "Event" = '1000 metres'
### Instruction: CREATE TABLE table_48846 ( "Result" text, "Opponent" text, "Method" text, "Date" text, "Round" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Round has a Method of ko, and a Date of 1958? ### Response:
SELECT MIN("Round") FROM table_48846 WHERE "Method" = 'ko' AND "Date" = '1958'
### Instruction: CREATE TABLE table_30476 ( "Club" text, "Location" text, "Home Venue" text, "Capacity" text, "Founded" real, "Years Active" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the capacity for the Home Venue of the New Zealan...
SELECT "Capacity" FROM table_30476 WHERE "Club" = 'New Zealand Breakers'
### Instruction: CREATE TABLE table_76720 ( "Newspaper/Magazine" text, "Type" text, "Language" text, "Headquarter" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Type, when Newspaper/Magazine is Telecoms & It Magazine? ### R...
SELECT "Type" FROM table_76720 WHERE "Newspaper/Magazine" = 'telecoms & it magazine'
### Instruction: CREATE TABLE table_13336122_3 ( title VARCHAR, directed_by VARCHAR, no_in_series VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the title of the episode directed by David von Ancken, with a episode number bigger than 16.0? ### R...
SELECT title FROM table_13336122_3 WHERE directed_by = "David Von Ancken" AND no_in_series > 16.0
### Instruction: CREATE TABLE table_name_58 ( conference_joined VARCHAR, location VARCHAR, county VARCHAR, year_joined VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the conference joined for the county 69 ripley in 1952 in versailles? ### ...
SELECT conference_joined FROM table_name_58 WHERE county = "69 ripley" AND year_joined = 1952 AND location = "versailles"
### Instruction: CREATE TABLE table_name_15 ( scores_by_each_individual_judge VARCHAR, status VARCHAR, date_performed VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Scores by each individual judge has a Status of eliminated, and a Date performed of ...
SELECT scores_by_each_individual_judge FROM table_name_15 WHERE status = "eliminated" AND date_performed = "august 13"
### Instruction: CREATE TABLE table_name_76 ( country VARCHAR, park VARCHAR, opened VARCHAR, model VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country has a rollercoaster that opened in 2002, is a spinning coaster, and is located in Disney's...
SELECT country FROM table_name_76 WHERE opened = 2002 AND model = "spinning coaster" AND park = "disney's animal kingdom"
### Instruction: CREATE TABLE table_237036_2 ( level VARCHAR, macroblocks_s VARCHAR, high_10_profile VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What level has 11880 macroblocks and high 10 profile is 6000? ### Response:
SELECT level FROM table_237036_2 WHERE macroblocks_s = 11880 AND high_10_profile = 6000
### Instruction: CREATE TABLE table_17024 ( "Ships name" text, "Date entered service" text, "Date withdrawn" text, "Tonnage" real, "Type of Ship" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the date entered service with ships name koningin...
SELECT "Date entered service" FROM table_17024 WHERE "Ships name" = 'Koningin Wilhelmina'
### Instruction: CREATE TABLE table_50581 ( "Team" text, "Make" text, "Drivers" text, "Tyre" text, "Rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the driver with a tyre of k for Avanzza Rosso? ### Response:
SELECT "Drivers" FROM table_50581 WHERE "Tyre" = 'k' AND "Team" = 'avanzza rosso'
### Instruction: CREATE TABLE table_31255 ( "Rank by average" real, "Place" real, "Couple" text, "Total points" text, "Number of dances" real, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times is the couple laura and colin?...
SELECT COUNT("Place") FROM table_31255 WHERE "Couple" = 'Laura and Colin'
### Instruction: CREATE TABLE table_14941 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest decile that Ohau School has? ### R...
SELECT MIN("Decile") FROM table_14941 WHERE "Name" = 'ohau school'
### Instruction: CREATE TABLE table_18226 ( "District" text, "Incumbent" text, "Party" text, "Elected" text, "Status" text, "Opponent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the opponents in district California 9? ### Response:...
SELECT "Opponent" FROM table_18226 WHERE "District" = 'California 9'
### Instruction: CREATE TABLE table_38712 ( "Task No." real, "Date given" text, "Head of Household" text, "Hand Grenade User" text, "Hand Grenade Recipient" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the latest task number for which Cath...
SELECT MAX("Task No.") FROM table_38712 WHERE "Head of Household" = 'cathy'
### Instruction: CREATE TABLE table_45480 ( "Competition" text, "Played" real, "Draw" real, "Lost" real, "Favour" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of games played where they tied more than ...
SELECT MIN("Played") FROM table_45480 WHERE "Draw" > '7'
### Instruction: CREATE TABLE table_23614702_2 ( warship VARCHAR, main_artillery VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the ship with 1x115-2x70-2x12-pounders for primary artillery. ### Response:
SELECT warship FROM table_23614702_2 WHERE main_artillery = "1x115-2x70-2x12-pounders"
### Instruction: CREATE TABLE table_47381 ( "Name" text, "Born-Died" text, "Term start" text, "Term end" text, "Political Party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Born-Died dates of Xhafer Bej Ypi? ### Response:
SELECT "Born-Died" FROM table_47381 WHERE "Name" = 'xhafer bej ypi'
### Instruction: CREATE TABLE table_42414 ( "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 City of License, when Frequency is 101.1? ### ...
SELECT "City of license" FROM table_42414 WHERE "Frequency" = '101.1'
### Instruction: CREATE TABLE table_11257 ( "Margin" real, "Opponent" text, "Score" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was the match against the St. George Illawarra Dragons? ### Response:
SELECT "Date" FROM table_11257 WHERE "Opponent" = 'st. george illawarra dragons'
### Instruction: CREATE TABLE table_24622 ( "Week" real, "Date" text, "Opponent" text, "Location" text, "Final Score" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- During what week was the July 10 game play...
SELECT "Week" FROM table_24622 WHERE "Date" = 'July 10'
### Instruction: CREATE TABLE table_47658 ( "Nat." text, "Name" text, "Since" text, "Goals" real, "Ends" text, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Nat., when Name is 'F bregas ( Captain )'? ### Response:
SELECT "Nat." FROM table_47658 WHERE "Name" = 'fàbregas ( captain )'
### Instruction: CREATE TABLE table_40557 ( "Season" text, "Winner" text, "Score" text, "Runner-up" text, "Losing Semifinalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Score when the Losing Semifinalists were Toluca Unam? ### ...
SELECT "Score" FROM table_40557 WHERE "Losing Semifinalists" = 'toluca unam'
### Instruction: CREATE TABLE table_21707 ( "Class" text, "Part 1" text, "Part 2" text, "Part 3" text, "Part 4" text, "Verb meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the class of the verb whose part 1 is lesan? ### Respons...
SELECT "Class" FROM table_21707 WHERE "Part 1" = 'lesan'
### Instruction: CREATE TABLE table_71243 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the Loss of Plesac (1-5), what is the Record? ### Response:
SELECT "Record" FROM table_71243 WHERE "Loss" = 'plesac (1-5)'
### Instruction: CREATE TABLE table_203_439 ( id number, "pos." number, "rider" text, "semi-final points" number, "final points" number, "final heats" text, "total points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- the least number of ...
SELECT "rider" FROM table_203_439 ORDER BY "total points" LIMIT 1
### Instruction: CREATE TABLE table_64074 ( "School" text, "Location" text, "Mascot" text, "County" text, "Year Joined" text, "Previous Conference" text, "Year Left" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the school when the ...
SELECT "School" FROM table_64074 WHERE "Location" = 'rochester'
### Instruction: CREATE TABLE table_5784 ( "District" text, "Incumbent" text, "Party" text, "Elected" real, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Party of republican, and a District of 7th is what elected? ### Response:
SELECT "Elected" FROM table_5784 WHERE "Party" = 'republican' AND "District" = '7th'
### Instruction: CREATE TABLE table_54308 ( "Date" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Set 2 with a Total with 45 12? ### Response:
SELECT "Set 2" FROM table_54308 WHERE "Total" = '45–12'
### Instruction: CREATE TABLE table_60465 ( "Golden Rivers" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of byes when the wins were 9? ### Respon...
SELECT COUNT("Byes") FROM table_60465 WHERE "Wins" = '9'
### Instruction: CREATE TABLE table_19537 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nhl team does stan weir play for? ##...
SELECT "NHL team" FROM table_19537 WHERE "Player" = 'Stan Weir'
### Instruction: CREATE TABLE table_17682 ( "Region/Country" text, "Local name" text, "Network" text, "Dates aired" text, "Starring" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In how many networks the local name of the franchise was 'in sickness...
SELECT COUNT("Network") FROM table_17682 WHERE "Local name" = 'In Sickness and in Health'
### Instruction: CREATE TABLE table_38318 ( "Round" real, "Circuit" text, "State/Territory" text, "Date" text, "Winning driver" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What circuit was after round 2 in Victoria? ### Response:
SELECT "Circuit" FROM table_38318 WHERE "Round" > '2' AND "State/Territory" = 'victoria'
### Instruction: CREATE TABLE table_1067 ( "District" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date successor seated" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date the successor was seated for the georgia ...
SELECT "Date successor seated" FROM table_1067 WHERE "District" = 'Georgia 6th'
### Instruction: CREATE TABLE table_21926985_2 ( headquarters_city VARCHAR, revenue__$billions__2012_estimate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the company with estimated revenue of 33.3 billion headquartered? ### Response:
SELECT headquarters_city FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = "33.3"
### Instruction: CREATE TABLE table_203_622 ( id number, "date" text, "team" text, "name" text, "position" text, "years in nba" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- bruce bowen and mark madsen both played what posit...
SELECT "position" FROM table_203_622 WHERE "name" = 'bruce bowen'
### Instruction: CREATE TABLE table_64689 ( "Team #1" text, "Agg." text, "Team #2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is team 1 when the 1st leg is 92-82? ### Response:
SELECT "Team #1" FROM table_64689 WHERE "1st leg" = '92-82'
### Instruction: CREATE TABLE table_31338 ( "Constituency No." real, "Vidhan Sabha Constituency" text, "Reservation for SC/ST" text, "District" text, "Lok Sabha" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What district has 213 constituents? ##...
SELECT COUNT("District") FROM table_31338 WHERE "Constituency No." = '213'
### Instruction: CREATE TABLE table_203_607 ( id number, "catalogue number" text, "artist" text, "release title" text, "format" text, "release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of titles coil released ...
SELECT COUNT("release title") FROM table_203_607 WHERE "format" = '7" vinyl'
### Instruction: CREATE TABLE table_49849 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the method of resolution when Mikhail Ilyukhin's record was ...
SELECT "Method" FROM table_49849 WHERE "Record" = '4-0'
### Instruction: CREATE TABLE table_77796 ( "Player" text, "Club" text, "League" real, "Play-offs" real, "FA Cup" real, "FA Trophy" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which mean total had Tim Sills as a player? ##...
SELECT AVG("Total") FROM table_77796 WHERE "Player" = 'tim sills'
### Instruction: CREATE TABLE table_name_24 ( nation VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the total is larger than 1,and the bronze is less than 3, and silver larger than...
SELECT nation FROM table_name_24 WHERE total > 1 AND bronze < 3 AND silver > 2 AND gold > 2
### Instruction: CREATE TABLE table_40783 ( "Rank" text, "Runs" text, "Player" text, "Match" text, "Venue" text, "Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue has don bradman (nsw) as the player? ### Response:
SELECT "Venue" FROM table_40783 WHERE "Player" = 'don bradman (nsw)'
### Instruction: CREATE TABLE table_27636 ( "Series #" real, "Title" text, "Director" text, "Writer" text, "Air Date" text, "Production Code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the episode 'rowley 1898' air? ### Response:
SELECT "Air Date" FROM table_27636 WHERE "Title" = 'Rowley 1898'
### Instruction: CREATE TABLE table_16919 ( "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. -- Name the tournament for arizona ##...
SELECT "Tournament" FROM table_16919 WHERE "Location" = 'Arizona'
### Instruction: CREATE TABLE table_189598_7 ( population__2011_ INTEGER, land_area__km²_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 6.00 is the land area in kilometers squared what is the highest population of 2011? ### Response:
SELECT MAX(population__2011_) FROM table_189598_7 WHERE land_area__km²_ = "6.00"
### Instruction: CREATE TABLE table_36960 ( "Team" text, "Location" text, "Venue" text, "Capacity" real, "Position in 2004" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the highest capacity for a position of 5 in 2004? ### Response:
SELECT MAX("Capacity") FROM table_36960 WHERE "Position in 2004" = '5'
### Instruction: CREATE TABLE table_51867 ( "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 record of the game on 5 February 2008? ### Response:...
SELECT "Record" FROM table_51867 WHERE "Date" = '5 february 2008'
### Instruction: CREATE TABLE table_58589 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time did the ferrari car that finished 62 laps have? ### Response:
SELECT "Time/Retired" FROM table_58589 WHERE "Laps" < '62' AND "Constructor" = 'ferrari'
### Instruction: CREATE TABLE table_name_23 ( year_2007 INTEGER, year_2005 INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Year 2007(s), when the Year 2005 is greater than 29,377? ### Response:
SELECT SUM(year_2007) FROM table_name_23 WHERE year_2005 > 29 OFFSET 377
### Instruction: CREATE TABLE table_25376 ( "No." real, "Player" text, "Hometown" text, "Class" text, "Position" text, "Height" text, "Weight" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every number for the hometown of Canton, Il...
SELECT "No." FROM table_25376 WHERE "Hometown" = 'Canton, Illinois'
### Instruction: CREATE TABLE table_7887 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What home team has an n/a atten...
SELECT "Home" FROM table_7887 WHERE "Attendance" = 'n/a'
### Instruction: CREATE TABLE table_18232 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were all the candidates when incumbent was Tim Vale...
SELECT "Candidates" FROM table_18232 WHERE "Incumbent" = 'Tim Valentine'
### Instruction: CREATE TABLE table_48782 ( "Date" text, "Opponents" text, "H / A" text, "Result F \u2013 A" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the attendance when Cork City is the opponent? ### Response:
SELECT AVG("Attendance") FROM table_48782 WHERE "Opponents" = 'cork city'
### Instruction: CREATE TABLE table_54513 ( "Year" real, "Winner" text, "Jockey" text, "Trainer" text, "Owner" text, "Distance (Miles)" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the trainer with Robert Courtney was ...
SELECT "Trainer" FROM table_54513 WHERE "Owner" = 'robert courtney'
### Instruction: CREATE TABLE table_12820 ( "Election" text, "1st Member" text, "1st Party" text, "2nd Member" text, "2nd Party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 2nd Party, when 1st Member is 'Alan Dower'? ### Response:
SELECT "2nd Party" FROM table_12820 WHERE "1st Member" = 'alan dower'
### Instruction: CREATE TABLE table_26967904_2 ( p_max___bar__ INTEGER, f_bolt___kgf__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the p max ( bar ) for the 6876 f bolt ( kgf )? ### Response:
SELECT MIN(p_max___bar__) FROM table_26967904_2 WHERE f_bolt___kgf__ = 6876
### Instruction: CREATE TABLE torrents ( groupname text, totalsnatched number, artist text, groupyear number, releasetype text, groupid number, id number ) CREATE TABLE tags ( index number, id number, tag text ) -- Using valid SQLite, answer the following questions for the tab...
SELECT artist FROM torrents GROUP BY artist ORDER BY COUNT(groupname) DESC LIMIT 1
### Instruction: CREATE TABLE table_203_683 ( id number, "season" text, "league" text, "gold" text, "silver" text, "bronze" text, "winning manager" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the only season that skeid won gold ?...
SELECT "season" FROM table_203_683 WHERE "gold" = 'skeid'
### Instruction: CREATE TABLE table_74416 ( "Name" text, "Country" text, "Years" text, "Games" real, "Minutes" real, "Conceded" real, "Shutouts" real, "Int. caps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest overall ...
SELECT MIN("Shutouts") FROM table_74416
### Instruction: CREATE TABLE table_34947 ( "Phase" text, "Round" text, "Draw date" text, "First leg" text, "Second leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the second leg score from the group stage on matchday 5? ### Response:...
SELECT "Second leg" FROM table_34947 WHERE "Phase" = 'group stage' AND "Round" = 'matchday 5'
### Instruction: CREATE TABLE table_38250 ( "Election" text, "D\u00e1il" text, "Share of votes" text, "Seats" real, "Government" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many seats does the 6th Dail have? ### Response:
SELECT COUNT("Seats") FROM table_38250 WHERE "D\u00e1il" = '6th'
### Instruction: CREATE TABLE table_name_61 ( isolation__km_ INTEGER, elevation__m_ VARCHAR, municipality VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Isolation (km) when the elevation was smaller than 1320, and a Municipality of hi...
SELECT MAX(isolation__km_) FROM table_name_61 WHERE elevation__m_ < 1320 AND municipality = "hinnøya"
### Instruction: CREATE TABLE table_22005 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For game site Schaefer Stadium, what were the ...
SELECT "Result" FROM table_22005 WHERE "Game site" = 'Schaefer Stadium'
### Instruction: CREATE TABLE table_name_34 ( finalists VARCHAR, surface VARCHAR, winners VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Finalist on a Hard Surface with Winner Serena Williams 6 1, 6 7(7), 6 3? ### Response:
SELECT finalists FROM table_name_34 WHERE surface = "hard" AND winners = "serena williams 6–1, 6–7(7), 6–3"
### Instruction: CREATE TABLE table_204_409 ( id number, "date" text, "race name" text, "location" text, "uci rating" number, "winner" text, "team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what team has the most winners ? ### Respons...
SELECT "team" FROM table_204_409 GROUP BY "team" ORDER BY COUNT("winner") DESC LIMIT 1
### Instruction: CREATE TABLE table_3530 ( "Institution" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Nickname" text, "Joined" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every institution with a nicknam...
SELECT "Institution" FROM table_3530 WHERE "Nickname" = 'Ravens'
### Instruction: CREATE TABLE table_54693 ( "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. -- Name the leading scorer for 1 april 2008 ### Response:
SELECT "Leading scorer" FROM table_54693 WHERE "Date" = '1 april 2008'
### Instruction: CREATE TABLE table_204_81 ( id number, "rank" number, "bib" number, "name" text, "country" text, "time" text, "deficit" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the difference between the time of the fastest ru...
SELECT "deficit" FROM table_204_81 ORDER BY "rank" DESC LIMIT 1
### Instruction: CREATE TABLE table_22164 ( "Title" text, "Developer" text, "Category" text, "Function" text, "Release date" text, "Version" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What functions were released on 2011-06-23? ### Respons...
SELECT "Function" FROM table_22164 WHERE "Release date" = '2011-06-23'
### Instruction: CREATE TABLE table_36292 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Tournament has an Opponent of meike babel? ### Response:
SELECT "Tournament" FROM table_36292 WHERE "Opponent" = 'meike babel'
### Instruction: CREATE TABLE table_62510 ( "Date" text, "Venue" text, "Opponent" text, "Score" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the final score for the match held on April 11, 2007? ### Response:
SELECT "Score" FROM table_62510 WHERE "Date" = 'april 11, 2007'
### Instruction: CREATE TABLE table_72851 ( "Position" text, "Team #1" text, "Agg." text, "Team #2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many positions correspond to a 1-3 1st leg? ### Response:
SELECT COUNT("Position") FROM table_72851 WHERE "1st leg" = '1-3'