instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_31504 ( "Townland" text, "Area( acres )" real, "Barony" text, "Civil parish" text, "Poor law union" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Poor Law Union for Coolkirky? ### Response:
SELECT "Poor law union" FROM table_31504 WHERE "Townland" = 'Coolkirky'
### Instruction: CREATE TABLE table_203_394 ( id number, "title" text, "author" text, "date" number, "length\n(first edition)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year was the earliest bull dog drummond published ? ### Response:
SELECT "date" FROM table_203_394 WHERE "title" = 'bull-dog drummond' ORDER BY "date" LIMIT 1
### Instruction: CREATE TABLE table_60353 ( "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. -- Which team is Team 1 with a Team 2 being Sporting CP? ### Response:
SELECT "Team 1" FROM table_60353 WHERE "Team 2" = 'sporting cp'
### Instruction: CREATE TABLE table_204_180 ( id number, "date" text, "opponent#" text, "rank#" text, "site" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the top attendance of the 1981 's games ? ### Response:
SELECT MAX("attendance") FROM table_204_180
### Instruction: CREATE TABLE table_203_306 ( id number, "no." number, "title" text, "directed by" text, "written by" text, "original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- list the number of items written by brad falchuk ### Response:
SELECT COUNT("title") FROM table_203_306 WHERE "written by" = 'brad falchuk'
### Instruction: CREATE TABLE table_70077 ( "Goal" text, "Location" text, "Lineup" text, "Assist/pass" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which location has a Goal of 2? ### Response:
SELECT "Location" FROM table_70077 WHERE "Goal" = '2'
### Instruction: CREATE TABLE table_42467 ( "Player" text, "Nationality" text, "Position" text, "Years in Orlando" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Years in Orlando for carlos arroyo? ### Response:
SELECT "Years in Orlando" FROM table_42467 WHERE "Player" = 'carlos arroyo'
### Instruction: CREATE TABLE table_56868 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The person with a Height of 6-8 went to which School? ### Response:
SELECT "School" FROM table_56868 WHERE "Height" = '6-8'
### Instruction: CREATE TABLE table_13120 ( "Mark" text, "Wind*" text, "Athlete" text, "Nationality" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Mark has an Athlete of heike drechsler? ### Response:
SELECT "Mark" FROM table_13120 WHERE "Athlete" = 'heike drechsler'
### Instruction: CREATE TABLE table_33767 ( "Chapter" text, "Chartered" text, "School" text, "State" text, "Status" text, "Charter Range" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the active dates for the Montana State University chapter? ### Response:
SELECT "Charter Range" FROM table_33767 WHERE "School" = 'montana state university'
### Instruction: CREATE TABLE table_66673 ( "Rank" real, "Rowers" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Time of the Rowers from Finland with a Rank of less than 4? ### Response:
SELECT "Time" FROM table_66673 WHERE "Rank" < '4' AND "Country" = 'finland'
### Instruction: CREATE TABLE table_24704 ( "Series #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Prod. code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote the episode titled 'heroes'? ### Response:
SELECT "Written by" FROM table_24704 WHERE "Title" = 'Heroes'
### Instruction: CREATE TABLE table_23670057_6 ( height__f_ VARCHAR, year_born VARCHAR, height__m_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the height for the player born 1989 and height 2.11 ### Response:
SELECT height__f_ FROM table_23670057_6 WHERE year_born = 1989 AND height__m_ = "2.11"
### Instruction: CREATE TABLE table_35526 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Result of l 14 13? ### Response:
SELECT "Date" FROM table_35526 WHERE "Result" = 'l 14–13'
### Instruction: CREATE TABLE table_44090 ( "Year" real, "Champion" text, "Country" text, "Score" real, "To par" text, "Tournament Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country does jocelyne bourassa play for? ### Response:
SELECT "Country" FROM table_44090 WHERE "Champion" = 'jocelyne bourassa'
### Instruction: CREATE TABLE table_203_775 ( id number, "week" number, "date" text, "opponent" text, "result" text, "game site" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the largest difference of points in a single game ? ### Response:
SELECT MAX(ABS("result" - "result")) FROM table_203_775
### Instruction: CREATE TABLE table_36590 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the opponent on november 22, 1942 ### Response:
SELECT "Opponent" FROM table_36590 WHERE "Date" = 'november 22, 1942'
### Instruction: CREATE TABLE table_74318 ( "Nationality" text, "Celebrity" text, "Occupation" text, "Charity" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the charity for the celebrity with an occupation title of actor and singer? ### Response:
SELECT "Charity" FROM table_74318 WHERE "Occupation" = 'Actor and Singer'
### Instruction: CREATE TABLE table_77675 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest attendance total on August 26? ### Response:
SELECT MIN("Attendance") FROM table_77675 WHERE "Date" = 'august 26'
### Instruction: CREATE TABLE table_name_73 ( nominee VARCHAR, award_ceremony VARCHAR, category VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Nominee has an Award Ceremony of tony award, and a Category of the best performance by a leading actor in a musical? ### Response:
SELECT nominee FROM table_name_73 WHERE award_ceremony = "tony award" AND category = "best performance by a leading actor in a musical"
### Instruction: CREATE TABLE table_61945 ( "English name" text, "Thai name" text, "Transcription" text, "Color" text, "Sanskrit word" text, "Planet" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Planet has a Sanskrit word of budha? ### Response:
SELECT "Planet" FROM table_61945 WHERE "Sanskrit word" = 'budha'
### Instruction: CREATE TABLE table_203_481 ( id number, "n\u00b0" number, "name" text, "position" text, "date of birth" text, "nationality" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which person is the only german native ? ### Response:
SELECT "name" FROM table_203_481 WHERE "nationality" = 'germany'
### Instruction: CREATE TABLE table_74422 ( "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 are all the order #s from the week 'top 6'? ### Response:
SELECT "Order #" FROM table_74422 WHERE "Week #" = 'Top 6'
### Instruction: CREATE TABLE table_49067 ( "Week" text, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What opponent did the Broncos play on November 16? ### Response:
SELECT "Opponent" FROM table_49067 WHERE "Date" = 'november 16'
### Instruction: CREATE TABLE table_69649 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the score for 2015 afc asian cup qualification ### Response:
SELECT "Score" FROM table_69649 WHERE "Competition" = '2015 afc asian cup qualification'
### Instruction: CREATE TABLE table_59791 ( "Year" real, "Country/Territory" text, "Miss International" text, "National title" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the national title of miss international ikumi yoshimatsu? ### Response:
SELECT "National title" FROM table_59791 WHERE "Miss International" = 'ikumi yoshimatsu'
### Instruction: CREATE TABLE table_25090 ( "#" real, "District" text, "Province" text, "Region" text, "UBIGEO" real, "Elevation (m)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What province is in the district of Condoroma? ### Response:
SELECT "Province" FROM table_25090 WHERE "District" = 'Condoroma'
### Instruction: CREATE TABLE table_1180 ( "Province" text, "Swimsuit" text, "Evening Gown" text, "Interview" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many provinces have evening gown score of 8.49 ### Response:
SELECT COUNT("Province") FROM table_1180 WHERE "Evening Gown" = '8.49'
### Instruction: CREATE TABLE table_6937 ( "Name" text, "Stories" real, "Height" text, "Built" text, "Purpose" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of stories in homes with a height of 42 m.? ### Response:
SELECT MAX("Stories") FROM table_6937 WHERE "Height" = '42 m.'
### Instruction: CREATE TABLE table_17638 ( "Record" text, "Date and Time" text, "Competition" text, "Home or Away" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Is the biggest win recorded as home or away? ### Response:
SELECT "Home or Away" FROM table_17638 WHERE "Record" = 'Biggest win'
### Instruction: CREATE TABLE table_9733 ( "Season" text, "Winner" text, "Prize" text, "Runner-Up" text, "3rd place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Season, when Prize is '$100,000'? ### Response:
SELECT "Season" FROM table_9733 WHERE "Prize" = '$100,000'
### Instruction: CREATE TABLE table_name_2 ( mutated_from VARCHAR, habit VARCHAR, pattern VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the inventor when it was mutated from Redsport Type 2, has a stripe pattern and a spur habit? ### Response:
SELECT "inventor" FROM table_name_2 WHERE habit = "spur" AND pattern = "stripe" AND mutated_from = "redsport type 2"
### Instruction: CREATE TABLE table_name_92 ( ice_level_reporters VARCHAR, colour_commentator_s_ VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which ice level reporter has Harry Neale for the colour commentator after the year 2004? ### Response:
SELECT ice_level_reporters FROM table_name_92 WHERE colour_commentator_s_ = "harry neale" AND year > 2004
### Instruction: CREATE TABLE table_3078 ( "Record label" text, "Composer" text, "Work title" text, "Part" text, "Conductor" text, "Recording year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who composed the work conducted by jaroslav Vogel? ### Response:
SELECT "Composer" FROM table_3078 WHERE "Conductor" = 'Jaroslav Vogel'
### Instruction: CREATE TABLE table_name_98 ( name VARCHAR, nat VARCHAR, app_l_c_e_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a nationality of GRE and an App(L/C/E) of 49 (40/8/1)? ### Response:
SELECT name FROM table_name_98 WHERE nat = "gre" AND app_l_c_e_ = "49 (40/8/1)"
### Instruction: CREATE TABLE table_50677 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the finish for the golfer with a To par of +2? ### Response:
SELECT "Finish" FROM table_50677 WHERE "To par" = '+2'
### Instruction: CREATE TABLE table_name_44 ( first_season_of_current_spell_in_segunda_división INTEGER, city VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total of the first season in Segunda Divisi n that has a City of ca ete? ### Response:
SELECT SUM(first_season_of_current_spell_in_segunda_división) FROM table_name_44 WHERE city = "cañete"
### Instruction: CREATE TABLE table_37246 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score when the game has a loss of Lary (10-12)? ### Response:
SELECT "Score" FROM table_37246 WHERE "Loss" = 'lary (10-12)'
### Instruction: CREATE TABLE table_23228 ( "Institution" text, "Nickname" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the institution for statesmen ### Response:
SELECT "Institution" FROM table_23228 WHERE "Nickname" = 'Statesmen'
### Instruction: CREATE TABLE table_52092 ( "Round" real, "Pick" real, "Name" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many picks does Matt Moran have altogether after round 6? ### Response:
SELECT COUNT("Pick") FROM table_52092 WHERE "Name" = 'matt moran' AND "Round" > '6'
### Instruction: CREATE TABLE table_73748 ( "Character" text, "English version" text, "Laserdisc edition" text, "Buena Vista edition" text, "Special edition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the special edition for the english version of james baskett? ### Response:
SELECT "Special edition" FROM table_73748 WHERE "English version" = 'James Baskett'
### Instruction: CREATE TABLE table_22427 ( "Candidate" text, "Office running for" text, "Running with (in team)" text, "Won or lost" text, "Votes given" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the office running for for anthony mussara ### Response:
SELECT "Office running for" FROM table_22427 WHERE "Candidate" = 'Anthony Mussara'
### Instruction: CREATE TABLE table_204_260 ( id number, "date" text, "venue" text, "opponent" text, "result" text, "tournament" text, "scored" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many games were played at craven park ? ### Response:
SELECT COUNT(*) FROM table_204_260 WHERE "venue" = 'craven park'
### Instruction: CREATE TABLE table_15616 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponent has a Date of may 30? ### Response:
SELECT "Opponent" FROM table_15616 WHERE "Date" = 'may 30'
### Instruction: CREATE TABLE table_name_55 ( date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date that has a Outcome of winner, and a la b y kak ay was the opponent in the final? ### Response:
SELECT date FROM table_name_55 WHERE outcome = "winner" AND opponent_in_the_final = "çağla büyükakçay"
### Instruction: CREATE TABLE table_45816 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player has 72-67-71=210 as the score? ### Response:
SELECT "Player" FROM table_45816 WHERE "Score" = '72-67-71=210'
### Instruction: CREATE TABLE table_name_15 ( west_lancashire INTEGER, pendle VARCHAR, rossendale VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest rated West Lancashire with a Pendle greater than 1 and a Rossendale more than 2? ### Response:
SELECT MAX(west_lancashire) FROM table_name_15 WHERE pendle > 1 AND rossendale > 2
### Instruction: CREATE TABLE table_204_557 ( id number, "#" number, "date" text, "visitor" text, "score" text, "home" text, "record" text, "pts" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many home games did toronto play ? ### Response:
SELECT COUNT(*) FROM table_204_557 WHERE "home" = 'toronto'
### Instruction: CREATE TABLE table_36713 ( "Editor" text, "Site" text, "Style, clone of" text, "Cost ( US$ )" text, "Open source" text, "Activity" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the cost of an Open Source that is no? ### Response:
SELECT "Cost ( US$ )" FROM table_36713 WHERE "Open source" = 'no'
### Instruction: CREATE TABLE table_204_725 ( 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. -- who won the most silver medals ? ### Response:
SELECT "nation" FROM table_204_725 ORDER BY "silver" DESC LIMIT 1
### Instruction: CREATE TABLE table_1342233_6 ( district VARCHAR, result VARCHAR, candidates VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the district with result being re-elected and candidates being clarence f. lea (d) unopposed ### Response:
SELECT district FROM table_1342233_6 WHERE result = "Re-elected" AND candidates = "Clarence F. Lea (D) Unopposed"
### Instruction: CREATE TABLE table_50830 ( "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. -- Which class has *fraus as Part 2? ### Response:
SELECT "Class" FROM table_50830 WHERE "Part 2" = '*fraus'
### Instruction: CREATE TABLE table_6014 ( "Type" text, "wheelbase" text, "M39 series" text, "M809 series" text, "M939 series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the type with M809 series of m814 ### Response:
SELECT "Type" FROM table_6014 WHERE "M809 series" = 'm814'
### Instruction: CREATE TABLE table_13519 ( "Pick" real, "Player" text, "Team" text, "Position" text, "Hometown/School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Hometown/School has a Team of cleveland indians? ### Response:
SELECT "Hometown/School" FROM table_13519 WHERE "Team" = 'cleveland indians'
### Instruction: CREATE TABLE table_23981 ( "Round" real, "Choice" real, "Player name" text, "Position" text, "Height" text, "Weight" real, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the player for south carolina college? ### Response:
SELECT "Player name" FROM table_23981 WHERE "College" = 'South Carolina'
### Instruction: CREATE TABLE table_37532 ( "Game" real, "November" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Game has an Opponent of @ carolina hurricanes? ### Response:
SELECT SUM("Game") FROM table_37532 WHERE "Opponent" = '@ carolina hurricanes'
### Instruction: CREATE TABLE table_69474 ( "Rank" real, "Player" text, "Goals" real, "Games" real, "Debut in Europe" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the lowest goals with a debut before 1961 in Europe? ### Response:
SELECT MIN("Goals") FROM table_69474 WHERE "Debut in Europe" < '1961'
### Instruction: CREATE TABLE table_42756 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the opponent on november 8, 1981? ### Response:
SELECT "Opponent" FROM table_42756 WHERE "Date" = 'november 8, 1981'
### Instruction: CREATE TABLE table_12266 ( "Draft" real, "Round" text, "Pick" real, "Player" text, "Nationality" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the pick of player don waddell from round 7? ### Response:
SELECT "Pick" FROM table_12266 WHERE "Round" = '7' AND "Player" = 'don waddell'
### Instruction: CREATE TABLE table_204_342 ( id number, "#" number, "player" text, "span" text, "caps" number, "total caps" number, "win %" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many captains played 11 capped matches ? ### Response:
SELECT COUNT("player") FROM table_204_342 WHERE "caps" = 11
### Instruction: CREATE TABLE table_37116 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the outcome for the Hershey tournament? ### Response:
SELECT "Outcome" FROM table_37116 WHERE "Tournament" = 'hershey'
### Instruction: CREATE TABLE table_24099916_1 ( model__list_ VARCHAR, socket VARCHAR, tdp VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the model of the processor with BGA479 socket and a 5.5 w TDP? ### Response:
SELECT model__list_ FROM table_24099916_1 WHERE socket = "BGA479" AND tdp = "5.5 W"
### Instruction: CREATE TABLE table_5009 ( "Designation" text, "Type" text, "Length overall" text, "Launch weight" text, "Warhead weight" text, "Range" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What type has an overall length of 1.605 m? ### Response:
SELECT "Type" FROM table_5009 WHERE "Length overall" = '1.605 m'
### Instruction: CREATE TABLE table_53632 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance on May 13? ### Response:
SELECT "Attendance" FROM table_53632 WHERE "Date" = 'may 13'
### Instruction: CREATE TABLE table_204_886 ( id number, "rank" number, "swimmer" text, "country" text, "time" text, "note" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the only cuban to finish in the top eight ? ### Response:
SELECT "swimmer" FROM table_204_886 WHERE "country" = 'cuba' AND "rank" <= 8
### Instruction: CREATE TABLE table_27303975_3 ( title VARCHAR, catalog_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times was the catalog number cal05 / 0091037137357? ### Response:
SELECT COUNT(title) FROM table_27303975_3 WHERE catalog_number = "CAL05 / 0091037137357"
### Instruction: CREATE TABLE table_5008 ( "Designation" text, "Type" text, "Length overall" text, "Launch weight" text, "Warhead weight" text, "Range" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What designation has a launch weight of 11.3kg? ### Response:
SELECT "Designation" FROM table_5008 WHERE "Launch weight" = '11.3kg'
### Instruction: CREATE TABLE table_name_27 ( week VARCHAR, date VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the week with a date of October 9, 1983, and attendance smaller than 40,492? ### Response:
SELECT COUNT(week) FROM table_name_27 WHERE date = "october 9, 1983" AND attendance < 40 OFFSET 492
### Instruction: CREATE TABLE table_54536 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the competition on August 15, 2012? ### Response:
SELECT "Venue" FROM table_54536 WHERE "Date" = 'august 15, 2012'
### Instruction: CREATE TABLE table_41042 ( "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 least recent week number when the attendance is 16,562? ### Response:
SELECT MIN("Week") FROM table_41042 WHERE "Attendance" = '16,562'
### Instruction: CREATE TABLE table_79434 ( "Country" text, "Contestant" text, "Height (cm)" real, "Height (ft)" text, "Hometown" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Cynthia Mobumba's height? ### Response:
SELECT "Height (ft)" FROM table_79434 WHERE "Contestant" = 'cynthia mobumba'
### Instruction: CREATE TABLE table_78011 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalogue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the catalogue on october 15, 2004? ### Response:
SELECT "Catalogue" FROM table_78011 WHERE "Date" = 'october 15, 2004'
### Instruction: CREATE TABLE table_11911 ( "Model" text, "Released" text, "Form factor" text, "Chipset" text, "Memory Type" text, "Max. Memory" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the release date of the model precision m60? ### Response:
SELECT "Released" FROM table_11911 WHERE "Model" = 'precision m60'
### Instruction: CREATE TABLE table_name_26 ( finals_mvp VARCHAR, eastern_champion VARCHAR, western_champion VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the MVP finals that includes Detroit shock from the eastern championship and Sacramento monarchs from western championship? ### Response:
SELECT finals_mvp FROM table_name_26 WHERE eastern_champion = "detroit shock" AND western_champion = "sacramento monarchs"
### Instruction: CREATE TABLE table_204_631 ( id number, "#" number, "title" text, "english translation" text, "original album" text, "length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many songs listed were originally on ost . alexandria ? ### Response:
SELECT COUNT("title") FROM table_204_631 WHERE "original album" = 'ost. alexandria'
### Instruction: CREATE TABLE table_204_638 ( id number, "year" number, "tournament" text, "surface" text, "round" text, "winner" text, "score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who won the most ? ### Response:
SELECT "winner" FROM table_204_638 GROUP BY "winner" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_name_25 ( games INTEGER, rank VARCHAR, team VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of Games for Partizan Belgrade player Nikola Pekovi with a Rank of more than 4? ### Response:
SELECT MIN(games) FROM table_name_25 WHERE team = "partizan belgrade" AND name = "nikola peković" AND rank > 4
### Instruction: CREATE TABLE table_42938 ( "Team" text, "Match" real, "Points" real, "Draw" real, "Lost" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points were there when there more than 6 losses and less than 14 matches? ### Response:
SELECT COUNT("Points") FROM table_42938 WHERE "Lost" > '6' AND "Match" < '14'
### Instruction: CREATE TABLE table_51558 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text, "Arena" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what arena was the game against the Sharks played? ### Response:
SELECT "Arena" FROM table_51558 WHERE "Opponent" = 'sharks'
### Instruction: CREATE TABLE table_41048 ( "Place" real, "Rider" text, "Country" text, "Machine" text, "Speed" text, "Time" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Place, when Points are greater than 2? ### Response:
SELECT MIN("Place") FROM table_41048 WHERE "Points" > '2'
### Instruction: CREATE TABLE table_5265 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the location for the August 29, 1980 game? ### Response:
SELECT "Venue" FROM table_5265 WHERE "Date" = 'august 29, 1980'
### Instruction: CREATE TABLE table_13819 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "TV Time" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the attendance when the week is 5? ### Response:
SELECT "Attendance" FROM table_13819 WHERE "Week" = '5'
### Instruction: CREATE TABLE table_name_53 ( record VARCHAR, arena VARCHAR, loss VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the record at Arrowhead Pond of Anaheim, when the loss was Bryzgalov (10 11 1)? ### Response:
SELECT record FROM table_name_53 WHERE arena = "arrowhead pond of anaheim" AND loss = "bryzgalov (10–11–1)"
### Instruction: CREATE TABLE table_name_27 ( tyres VARCHAR, engine_s_ VARCHAR, chassis VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Tyres with a ford dfz v8 engine(s) with a chassis of coloni fc187? ### Response:
SELECT tyres FROM table_name_27 WHERE engine_s_ = "ford dfz v8" AND chassis = "coloni fc187"
### Instruction: CREATE TABLE table_name_87 ( rank INTEGER, points VARCHAR, team VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the rank of Igor Rako evi of Tau Cer mica with more than 377 points? ### Response:
SELECT SUM(rank) FROM table_name_87 WHERE team = "tau cerámica" AND name = "igor rakočević" AND points > 377
### Instruction: CREATE TABLE table_name_50 ( money___£__ VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Count the Money ( ) of south africa with a To par of +1, and a Player of ernie els? ### Response:
SELECT money___£__ FROM table_name_50 WHERE country = "south africa" AND to_par = "+1" AND player = "ernie els"
### Instruction: CREATE TABLE table_66540 ( "Elimination" text, "Wrestler" text, "Team" text, "Eliminated by" text, "Elimination move" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is Doug Basham's team? ### Response:
SELECT "Team" FROM table_66540 WHERE "Wrestler" = 'doug basham'
### Instruction: CREATE TABLE table_43615 ( "Name" text, "Team" text, "Qual 1" text, "Qual 2" text, "Best" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team has a second qualification time of 1:01.936? ### Response:
SELECT "Team" FROM table_43615 WHERE "Qual 2" = '1:01.936'
### Instruction: CREATE TABLE table_4290 ( "Townland" text, "Area( acres )" real, "Barony" text, "Civil parish" text, "Poor law union" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the poor law union for the Barnahely towland? ### Response:
SELECT "Poor law union" FROM table_4290 WHERE "Townland" = 'Barnahely'
### Instruction: CREATE TABLE table_12615 ( "Year" real, "Award Ceremony" text, "Category" text, "Nominee" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year has a Category of best performance by a leading actress in a musical? ### Response:
SELECT MAX("Year") FROM table_12615 WHERE "Category" = 'best performance by a leading actress in a musical'
### Instruction: CREATE TABLE table_71146 ( "Team" text, "Manager 1" text, "Captain" text, "Kit manufacturer" text, "Shirt sponsor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What company is the kit manufacturer that Gareth Southgate belongs to? ### Response:
SELECT "Kit manufacturer" FROM table_71146 WHERE "Captain" = 'gareth southgate'
### Instruction: CREATE TABLE table_42343 ( "Year" text, "Matches" text, "Wins" text, "Losses" text, "No Result" text, "Success Rate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the losses for the year 2012? ### Response:
SELECT "Losses" FROM table_42343 WHERE "Year" = '2012'
### Instruction: CREATE TABLE table_67760 ( "Year" real, "Pick" text, "Player name" text, "College" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year has a College of nebraska, and a Pick of 2? ### Response:
SELECT "Year" FROM table_67760 WHERE "College" = 'nebraska' AND "Pick" = '2'
### Instruction: CREATE TABLE table_38849 ( "Institution" text, "Location" text, "Team Nickname" text, "Tenure" text, "New Conference" text, "New Classification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the tenure for the Tritons team? ### Response:
SELECT "Tenure" FROM table_38849 WHERE "Team Nickname" = 'tritons'
### Instruction: CREATE TABLE table_name_2 ( points INTEGER, wins VARCHAR, class VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Points, when Class is 50cc, when Year is 1965, and when Wins is less than 0? ### Response:
SELECT MIN(points) FROM table_name_2 WHERE class = "50cc" AND year = 1965 AND wins < 0
### Instruction: CREATE TABLE table_name_28 ( bore_ VARCHAR, _stroke VARCHAR, carburetor VARCHAR, vin_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the bore & stroke specifications for an engine with 4-barrel carburetor and VIN code of A? ### Response:
SELECT bore_ & _stroke FROM table_name_28 WHERE carburetor = "4-barrel" AND vin_code = "a"
### Instruction: CREATE TABLE table_45399 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which record had a visitor of New Jersey Devils on May 7? ### Response:
SELECT "Record" FROM table_45399 WHERE "Visitor" = 'new jersey devils' AND "Date" = 'may 7'
### Instruction: CREATE TABLE table_62901 ( "Name (pinyin)" text, "Name (Wade Giles)" text, "Characters" text, "Type" text, "Construction" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the name that has the characters ? ### Response:
SELECT "Name (Wade Giles)" FROM table_62901 WHERE "Characters" = '廣亨'
### Instruction: CREATE TABLE table_203_576 ( 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 country won the least number of medals ? ### Response:
SELECT "nation" FROM table_203_576 ORDER BY "total" LIMIT 1
### Instruction: CREATE TABLE table_65385 ( "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 nationality of the athlete with a time of 2:12.56? ### Response:
SELECT "Nationality" FROM table_65385 WHERE "Time" = '2:12.56'