instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE wedding ( church_id VARCHAR ) CREATE TABLE church ( name VARCHAR, church_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show all church names that have hosted least two weddings. ### Response:
SELECT T1.name FROM church AS T1 JOIN wedding AS T2 ON T1.church_id = T2.church_id GROUP BY T1.church_id HAVING COUNT(*) >= 2
### Instruction: CREATE TABLE table_27369069_4 ( university VARCHAR, soccer_stadium VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the university where the soccer stadium is terrain #2 of complexe sportif claude-robillard? ### Response:
SELECT university FROM table_27369069_4 WHERE soccer_stadium = "terrain #2 of Complexe sportif Claude-Robillard"
### Instruction: CREATE TABLE table_79155 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Lee Westwood's score? ### Response:
SELECT "Score" FROM table_79155 WHERE "Player" = 'lee westwood'
### Instruction: CREATE TABLE table_79112 ( "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 is Stephen Ames from with a place value of t9? ### Response:
SELECT "Country" FROM table_79112 WHERE "Place" = 't9' AND "Player" = 'stephen ames'
### Instruction: CREATE TABLE rating ( rid number, mid number, stars number, ratingdate time ) CREATE TABLE reviewer ( rid number, name text ) CREATE TABLE movie ( mid number, title text, year number, director text ) -- Using valid SQLite, answer the following questions for t...
SELECT MAX(stars), MIN(stars) FROM rating
### Instruction: CREATE TABLE table_203_798 ( id number, "party" text, "votes" text, "%" number, "swing" number, "seats" number, "change" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many votes did the independent party have ? ### ...
SELECT "votes" FROM table_203_798 WHERE "party" = 'independent'
### Instruction: CREATE TABLE table_65121 ( "Opposing Team" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When has an Opposing Team of mid-districts? ### Response:
SELECT "Date" FROM table_65121 WHERE "Opposing Team" = 'mid-districts'
### Instruction: CREATE TABLE table_29395291_2 ( subscribers__2006___thousands_ INTEGER, provider VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum number of 2006 subscribers for Mobilis? ### Response:
SELECT MAX(subscribers__2006___thousands_) FROM table_29395291_2 WHERE provider = "Mobilis"
### Instruction: CREATE TABLE table_61924 ( "Round" real, "Pick" text, "Player" text, "Position" text, "Nationality" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the position for Jani Lajunen? ### Response:
SELECT "Position" FROM table_61924 WHERE "Player" = 'jani lajunen'
### Instruction: CREATE TABLE table_75307 ( "Source" text, "Date" text, "Blagojevich (D)" text, "Topinka (R)" text, "Remainder" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Remainder of 20%? ### Response:
SELECT "Date" FROM table_75307 WHERE "Remainder" = '20%'
### Instruction: CREATE TABLE table_51968 ( "Component" text, "Integrated" text, "Allied-Related" text, "Allied-Unrelated" text, "Holding" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which integrated has an allied-related of some shared? ### Re...
SELECT "Integrated" FROM table_51968 WHERE "Allied-Related" = 'some shared'
### Instruction: CREATE TABLE table_52599 ( "Stage" text, "Winner" text, "General classification" text, "Points classification" text, "Trofeo Fast Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which stage has a Winner of lucien van impe? ##...
SELECT "Stage" FROM table_52599 WHERE "Winner" = 'lucien van impe'
### Instruction: CREATE TABLE table_38228 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Visitor of boston? ### Response:...
SELECT "Date" FROM table_38228 WHERE "Visitor" = 'boston'
### Instruction: CREATE TABLE table_name_7 ( bike VARCHAR, rider VARCHAR, grid VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What kind of bike had a grid less than 23, an accident under time, and Graeme Gowland as a rider? ### Respon...
SELECT bike FROM table_name_7 WHERE grid < 23 AND time = "accident" AND rider = "graeme gowland"
### Instruction: CREATE TABLE table_52195 ( "Release format" text, "Country" text, "Label" text, "Cat. No." text, "Release date" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the latest release date for Ariola in Spain? ### Response:
SELECT MAX("Release date") FROM table_52195 WHERE "Label" = 'ariola' AND "Country" = 'spain'
### Instruction: CREATE TABLE table_13241993_3 ( part_1 VARCHAR, part_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the air date of part 1 of the episode whose part 2 aired on December 2, 2007? ### Response:
SELECT part_1 FROM table_13241993_3 WHERE part_2 = "December 2, 2007"
### Instruction: CREATE TABLE table_name_49 ( bronze INTEGER, rank VARCHAR, gold VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Bronze, when Gold is less than 1, when Total is greater than 1, and when Rank is 10? #...
SELECT SUM(bronze) FROM table_name_49 WHERE gold < 1 AND total > 1 AND rank = 10
### Instruction: CREATE TABLE table_name_35 ( fcc_info VARCHAR, erp_w VARCHAR, call_sign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which FCC info has a ERP W smaller than 222, and a Call sign of k297ai? ### Response:
SELECT fcc_info FROM table_name_35 WHERE erp_w < 222 AND call_sign = "k297ai"
### Instruction: CREATE TABLE table_203_409 ( id number, "rank" number, "representative" text, "party" text, "district" text, "seniority date" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- give the number of representatives li...
SELECT COUNT("representative") FROM table_203_409
### Instruction: CREATE TABLE table_24072 ( "Episode" text, "Broadcast date" text, "Run time" text, "Viewers (in millions)" text, "Archive" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes ran 24:33? ### Response:
SELECT COUNT("Episode") FROM table_24072 WHERE "Run time" = '24:33'
### Instruction: CREATE TABLE table_name_41 ( prominence__m_ INTEGER, rank VARCHAR, col__m_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Prominence (m) has a Rank of 10, and a Col (m) smaller than 50? ### Response:
SELECT MIN(prominence__m_) FROM table_name_41 WHERE rank = 10 AND col__m_ < 50
### Instruction: CREATE TABLE table_23735 ( "Season" text, "Games" real, "Tries" real, "Conversions" real, "Penalties" real, "Drop Goals" real, "Total Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Lowest number of drop goals? ### ...
SELECT MIN("Drop Goals") FROM table_23735
### Instruction: CREATE TABLE table_name_36 ( studio_analysts VARCHAR, studio_host VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHich Studio analysts has a Studio host of gary tanguay in 2009-10? ### Response:
SELECT studio_analysts FROM table_name_36 WHERE studio_host = "gary tanguay" AND year = "2009-10"
### Instruction: CREATE TABLE table_61882 ( "Tie no" text, "Home team" text, "Score 1" text, "Away team" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Attendance at the Hereford United Away game? ### Response:
SELECT "Attendance" FROM table_61882 WHERE "Away team" = 'hereford united'
### Instruction: CREATE TABLE table_70119 ( "Date" text, "Home captain" text, "Away captain" text, "Venue" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the venue with result of eng by 6 wkts ### Response:
SELECT "Venue" FROM table_70119 WHERE "Result" = 'eng by 6 wkts'
### Instruction: CREATE TABLE table_name_21 ( margin_of_victory VARCHAR, winning_score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the margin of victory when the winning score was 5 (69-69-73=211)? ### Response:
SELECT margin_of_victory FROM table_name_21 WHERE winning_score = −5(69 - 69 - 73 = 211)
### Instruction: CREATE TABLE table_203_715 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the first year where the position was higher than 3rd plac...
SELECT MIN("year") FROM table_203_715 WHERE "position" < 3
### Instruction: CREATE TABLE table_name_92 ( sitalsasthi_carnival VARCHAR, sambalpuri_saree VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sitalsasthi carnival with hirakud as sambalpuri saree? ### Response:
SELECT sitalsasthi_carnival FROM table_name_92 WHERE sambalpuri_saree = "hirakud"
### Instruction: CREATE TABLE table_204_759 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what competition was the only one where this competitor achieved 1s...
SELECT "competition" FROM table_204_759 WHERE "position" = 1
### Instruction: CREATE TABLE table_49502 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "TV Time" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT WEEK HAS A TV TIME OF BYE? ### Response:
SELECT "Week" FROM table_49502 WHERE "TV Time" = 'bye'
### Instruction: CREATE TABLE table_30814 ( "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 episode titles have series numb...
SELECT COUNT("Title") FROM table_30814 WHERE "Series #" = '4'
### Instruction: CREATE TABLE table_53800 ( "Conference" text, "Division" text, "Appearances" real, "Wins" real, "Losses" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many losses did the division who appeared less than 16 times have? ### Res...
SELECT "Losses" FROM table_53800 WHERE "Appearances" < '16'
### Instruction: CREATE TABLE table_50068 ( "Game" real, "Date" text, "Team" text, "Score" text, "Record" text, "Streak" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Streak has a Team of new york knicks? ### Response:
SELECT "Streak" FROM table_50068 WHERE "Team" = 'new york knicks'
### Instruction: CREATE TABLE table_name_25 ( school_club_team VARCHAR, player VARCHAR, pick VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school/club has a pick smaller than 196, a round higher than 5 and has Blake Miller? ##...
SELECT school_club_team FROM table_name_25 WHERE pick < 196 AND round > 5 AND player = "blake miller"
### Instruction: CREATE TABLE table_17371135_30 ( college_junior_club_team__league_ VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The player who plays goaltender is from what college/junior/club team? ### Response:
SELECT college_junior_club_team__league_ FROM table_17371135_30 WHERE position = "Goaltender"
### Instruction: CREATE TABLE table_59291 ( "Date" text, "Opponent" text, "Score" text, "Result" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Score, when Opponent is '@ New York Knicks'? ### Response:
SELECT "Score" FROM table_59291 WHERE "Opponent" = '@ new york knicks'
### Instruction: CREATE TABLE table_11338 ( "Round" text, "Pick" text, "Player" text, "Position" text, "Nationality" text, "Team" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of the C? ### Response...
SELECT "Nationality" FROM table_11338 WHERE "Position" = 'c'
### Instruction: CREATE TABLE table_6101 ( "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 team did the home team play on September 4? ### Response:
SELECT "Opponent" FROM table_6101 WHERE "Date" = 'september 4'
### Instruction: CREATE TABLE table_17487395_1 ( callsign VARCHAR, branding VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the call sign for the station that uses the branding, mom's radio 101.5 tacloban? ### Response:
SELECT callsign FROM table_17487395_1 WHERE branding = "Mom's Radio 101.5 Tacloban"
### Instruction: CREATE TABLE table_name_38 ( bike__40km_ VARCHAR, swim__15km_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the time for the bike (40km) when the swim (1.5km) is 19:56? ### Response:
SELECT bike__40km_ FROM table_name_38 WHERE swim__15km_ = "19:56"
### Instruction: CREATE TABLE table_203_701 ( id number, "#" number, "title" text, "featured guest(s)" text, "producer(s)" text, "length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the title of the song before track # 4 ### Respons...
SELECT "title" FROM table_203_701 WHERE "#" = 4 - 1
### Instruction: CREATE TABLE table_27645 ( "Letters" text, "Organization" text, "Nickname" text, "Founding Date" text, "Founding University" text, "Type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the founding university of ? ###...
SELECT "Founding University" FROM table_27645 WHERE "Letters" = 'ΑΕΦ'
### Instruction: CREATE TABLE table_204_1 ( id number, "season" text, "north" text, "south" text, "east" text, "west" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of times deggendorfer sc ii is on the list ? ### Response:
SELECT COUNT(*) FROM table_204_1 WHERE "east" = 'deggendorfer sc ii'
### Instruction: CREATE TABLE table_12912 ( "Elector" text, "Nationality" text, "Order" text, "Title" text, "Elevated" text, "Elevator" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Order has a Nationality of ese milan? ### Response:
SELECT "Order" FROM table_12912 WHERE "Nationality" = 'ese milan'
### Instruction: CREATE TABLE table_78372 ( "Game" real, "March" real, "Opponent" text, "Score" text, "Decision" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent's march was 31? ### Response:
SELECT "Opponent" FROM table_78372 WHERE "March" = '31'
### Instruction: CREATE TABLE table_2195 ( "Episode" text, "First broadcast" text, "Rufus guest" text, "Marcus guest" text, "Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which episodes have Chris Addison as Rufus's guest? ### Response:
SELECT "Episode" FROM table_2195 WHERE "Rufus guest" = 'Chris Addison'
### Instruction: CREATE TABLE table_203_762 ( id number, "#" number, "date" text, "film" text, "gross" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the last title in 2002 to gross the most money ? ### Response:
SELECT "film" FROM table_203_762 ORDER BY "gross" DESC LIMIT 1
### Instruction: CREATE TABLE table_23143607_1 ( radio_stations VARCHAR, organization VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which of the radio stations has the organization of ente p blico radio televisi n madrid (eprtvm)? ### Response:
SELECT radio_stations FROM table_23143607_1 WHERE organization = "Ente Público Radio Televisión Madrid (EPRTVM)"
### Instruction: CREATE TABLE table_38809 ( "Year" real, "Album" text, "Record label" text, "Info" text, "Music" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year is the highest one that has a Record label of supertone melodies? ### Respon...
SELECT MAX("Year") FROM table_38809 WHERE "Record label" = 'supertone melodies'
### Instruction: CREATE TABLE table_38768 ( "Entrants" real, "Winner" text, "Prize" text, "Runner-up" text, "Results" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many entrants did the events won by Frank Gary average? ### Response:
SELECT AVG("Entrants") FROM table_38768 WHERE "Winner" = 'frank gary'
### Instruction: CREATE TABLE table_19149550_9 ( total_asian_population INTEGER, chinese_population VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Asians live in the borough with 8109 Chinese population? ### Response:
SELECT MIN(total_asian_population) FROM table_19149550_9 WHERE chinese_population = 8109
### Instruction: CREATE TABLE table_64187 ( "Minister" text, "Party" text, "Governments" text, "Term start" text, "Term end" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Whose term started on 4 May 2006? ### Response:
SELECT "Minister" FROM table_64187 WHERE "Term start" = '4 may 2006'
### Instruction: CREATE TABLE table_32029 ( "Rank" real, "Heat & Lane" text, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What heat and what lane is thi hue pham in? ### Response:
SELECT "Heat & Lane" FROM table_32029 WHERE "Name" = 'thi hue pham'
### Instruction: CREATE TABLE table_33897 ( "Position" real, "Name" text, "Country" text, "Win-Loss" text, "Spread" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country has chunkath, mohan verghese as the name? ### Response:
SELECT "Country" FROM table_33897 WHERE "Name" = 'chunkath, mohan verghese'
### Instruction: CREATE TABLE table_13744 ( "Year" real, "Title" text, "Director" text, "Studio(s)" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Year is Walt Disney Pictures Imagemovers Digital? ### Response:
SELECT SUM("Year") FROM table_13744 WHERE "Studio(s)" = 'walt disney pictures imagemovers digital'
### Instruction: CREATE TABLE table_204_33 ( id number, "number" number, "name" text, "year built" number, "boat builder" text, "current status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which boat builder is the most popular ? ### Respon...
SELECT "boat builder" FROM table_204_33 GROUP BY "boat builder" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_204_14 ( id number, "rank" number, "bib" number, "athlete" text, "country" text, "time" text, "deficit" text, "note" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was first ? ### Response:
SELECT "athlete" FROM table_204_14 WHERE "rank" = 1
### Instruction: CREATE TABLE table_17360840_9 ( record VARCHAR, location VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record when the opposing team was the Columbus Blue Jackets at St. Pete Times Forum? ### Response:
SELECT record FROM table_17360840_9 WHERE location = "St. Pete Times Forum" AND opponent = "Columbus Blue Jackets"
### Instruction: CREATE TABLE table_name_78 ( name VARCHAR, city VARCHAR, years_as_tallest VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the building that was the tallest from 1990 1997 in Frankfurt? ### Response:
SELECT name FROM table_name_78 WHERE city = "frankfurt" AND years_as_tallest = "1990–1997"
### Instruction: CREATE TABLE table_31540 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average year for Ponce, Puerto Rico events? ### Response:
SELECT AVG("Year") FROM table_31540 WHERE "Venue" = 'ponce, puerto rico'
### Instruction: CREATE TABLE table_11370 ( "Year" real, "Team" text, "League" text, "Record" text, "Finish" text, "Organization" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which finish has a Record of 74-68? ### Response:
SELECT "Finish" FROM table_11370 WHERE "Record" = '74-68'
### Instruction: CREATE TABLE table_66993 ( "Date" text, "Home captain" text, "Away captain" text, "Venue" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which home captian has aus by 295 runs as the result? ### Response:
SELECT "Home captain" FROM table_66993 WHERE "Result" = 'aus by 295 runs'
### Instruction: CREATE TABLE table_name_52 ( annual_ridership__2012_ INTEGER, stations VARCHAR, lines VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of annual ridership with a station that has more than 13 stations and larger than 4 l...
SELECT SUM(annual_ridership__2012_) FROM table_name_52 WHERE stations = 13 AND lines > 4
### Instruction: CREATE TABLE table_26702204_1 ( us_viewers__million_ VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the u.s. viewers (millions) when the production code was 4alh19? ### Response:
SELECT us_viewers__million_ FROM table_26702204_1 WHERE production_code = "4ALH19"
### Instruction: CREATE TABLE table_2547 ( "High School" text, "Type" text, "Established" real, "Enrollment" real, "Mascot" text, "WIAA Classification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many high schools have storm mascots? ##...
SELECT "High School" FROM table_2547 WHERE "Mascot" = 'Storm'
### Instruction: CREATE TABLE table_39283 ( "Game" real, "October" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Points have a Score of 3 0? ### Response:
SELECT COUNT("Points") FROM table_39283 WHERE "Score" = '3–0'
### Instruction: CREATE TABLE table_1978 ( "Year (Ceremony)" text, "Film title used in nomination" text, "Original title" text, "Director" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the original title for the last metro ###...
SELECT "Original title" FROM table_1978 WHERE "Film title used in nomination" = 'The Last Metro'
### Instruction: CREATE TABLE table_14158 ( "Year" real, "Game" text, "Genre" text, "Platform(s)" text, "Developer(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Developer(s) has a Year of 2010? ### Response:
SELECT "Developer(s)" FROM table_14158 WHERE "Year" = '2010'
### Instruction: CREATE TABLE table_15527 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What game did they lose by 6 - 5? ### Response:
SELECT "Loss" FROM table_15527 WHERE "Score" = '6 - 5'
### Instruction: CREATE TABLE table_204_158 ( id number, "official name" text, "designation" text, "area km2" number, "population" number, "parish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- the only rural community on the list ### Respons...
SELECT "official name" FROM table_204_158 WHERE "designation" = 'rural community'
### Instruction: CREATE TABLE table_7241 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the 4 strokes margin of victory? ### Respo...
SELECT "Date" FROM table_7241 WHERE "Margin of victory" = '4 strokes'
### Instruction: CREATE TABLE table_name_49 ( gold_coast VARCHAR, auckland VARCHAR, perth VARCHAR, sydney VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Gold Coast has a Perth of no, a Sydney of yes, and an Auckland of yes? ### Response:
SELECT gold_coast FROM table_name_49 WHERE perth = "no" AND sydney = "yes" AND auckland = "yes"
### Instruction: CREATE TABLE table_68123 ( "Sport" text, "Competition name" text, "Competing entities" text, "Age groups" text, "Held every" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the age groups for the Big League World Series? #...
SELECT "Age groups" FROM table_68123 WHERE "Competition name" = 'big league world series'
### Instruction: CREATE TABLE table_8923 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the to par when the score was 69-69=138? ### Response:
SELECT "To par" FROM table_8923 WHERE "Score" = '69-69=138'
### Instruction: CREATE TABLE table_75744 ( "Name" text, "Builder" text, "Laid down" text, "Launched" text, "Completed" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did chatham complete the Hmsmedusa? ### Response:
SELECT "Completed" FROM table_75744 WHERE "Builder" = 'chatham' AND "Name" = 'hmsmedusa'
### Instruction: CREATE TABLE table_7239 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which venue held the Euro 2012 Qualifier? ### Response:
SELECT "Venue" FROM table_7239 WHERE "Competition" = 'euro 2012 qualifier'
### Instruction: CREATE TABLE table_78600 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text, "Time" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Position has a Time of 20.66? ### Response:
SELECT "Position" FROM table_78600 WHERE "Time" = '20.66'
### Instruction: CREATE TABLE table_23084 ( "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. -- Name the vacator for wisconsin 1st ### Response:
SELECT "Vacator" FROM table_23084 WHERE "District" = 'Wisconsin 1st'
### Instruction: CREATE TABLE table_name_45 ( level INTEGER, leaguecontested VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Level has a League Contested of northern premier league premier division, and a Season of 2011 12? ### Res...
SELECT AVG(level) FROM table_name_45 WHERE leaguecontested = "northern premier league premier division" AND season = "2011–12"
### Instruction: CREATE TABLE region ( region_name VARCHAR, region_id VARCHAR ) CREATE TABLE affected_region ( region_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the name for regions and the number of storms for each region. ### Response:
SELECT T1.region_name, COUNT(*) FROM region AS T1 JOIN affected_region AS T2 ON T1.region_id = T2.region_id GROUP BY T1.region_id
### Instruction: CREATE TABLE table_72859 ( "1st throw" real, "2nd throw" real, "3rd throw" text, "Equation" text, "Result" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result when the 3rd throw is not 8? ### Response:
SELECT MIN("Result") FROM table_72859 WHERE "3rd throw" = 'not 8'
### Instruction: CREATE TABLE table_77940 ( "Player" text, "Date of Birth" text, "Batting Style" text, "Bowling Style" text, "First Class Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was roshan mahanama born? ### Response:
SELECT "Date of Birth" FROM table_77940 WHERE "Player" = 'roshan mahanama'
### Instruction: CREATE TABLE table_40892 ( "Rank" text, "Name" text, "Height m / feet" text, "Floors" real, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of floors of the Venetian tower? ### Response:
SELECT AVG("Floors") FROM table_40892 WHERE "Name" = 'venetian tower'
### Instruction: CREATE TABLE table_52856 ( "Station Number" text, "District" text, "Location" text, "Type" text, "Appliances" text, "Registrations" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the registration of the station at Cambri...
SELECT "Registrations" FROM table_52856 WHERE "District" = 'cambridge'
### Instruction: CREATE TABLE table_452 ( "Episode" 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 theme placed as #3 in the finale? ### Response:
SELECT "Result" FROM table_452 WHERE "Theme" = 'Finale' AND "Order #" = '3'
### Instruction: CREATE TABLE table_23046 ( "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. -- Name the order number for 1960s ### Response:
SELECT "Order #" FROM table_23046 WHERE "Theme" = '1960s'
### Instruction: CREATE TABLE table_13374 ( "Position" text, "Name" text, "Party" text, "First Election" text, "District" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Party is Member Alicia Hughes from? ### Response:
SELECT "Party" FROM table_13374 WHERE "Position" = 'member' AND "Name" = 'alicia hughes'
### Instruction: CREATE TABLE table_203_637 ( id number, "player" text, "for" text, "against" text, "result" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- name the players for tottenham hotspur . ### Response:
SELECT "player" FROM table_203_637 WHERE "for" = 'tottenham hotspur'
### Instruction: CREATE TABLE table_name_51 ( staffel_d VARCHAR, staffel_e VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Staffel D in the season 1983-84 with a Staffel E of Motor Suhl? ### Response:
SELECT staffel_d FROM table_name_51 WHERE staffel_e = "motor suhl" AND season = "1983-84"
### Instruction: CREATE TABLE table_75609 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Save" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the opponent with loss of sanderson (9-8) ### Response:
SELECT "Opponent" FROM table_75609 WHERE "Loss" = 'sanderson (9-8)'
### Instruction: CREATE TABLE table_11485 ( "Track" real, "Title" text, "Translation" text, "Composer" text, "Recorded" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which title has tracks smaller than 7 with translation of an island? ### Respons...
SELECT "Title" FROM table_11485 WHERE "Track" < '7' AND "Translation" = 'an island'
### Instruction: CREATE TABLE table_2818164_5 ( no_in_season VARCHAR, original_air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episoe number in the season originally aired on February 11, 1988? ### Response:
SELECT no_in_season FROM table_2818164_5 WHERE original_air_date = "February 11, 1988"
### Instruction: CREATE TABLE table_771 ( "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 year was Stephen Pace elected? ### Response:
SELECT MIN("First elected") FROM table_771 WHERE "Incumbent" = 'Stephen Pace'
### Instruction: CREATE TABLE table_4929 ( "Round" real, "Pick" real, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school did the punter picked after 101 attend? ### Response:
SELECT "College" FROM table_4929 WHERE "Pick" > '101' AND "Position" = 'punter'
### Instruction: CREATE TABLE table_25104 ( "State (class)" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date of successors formal installation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the vacator for failure to ele...
SELECT "Vacator" FROM table_25104 WHERE "Reason for change" = 'Failure to elect'
### Instruction: CREATE TABLE table_77734 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club team (League)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position does Zack Torquato play? ### Response:
SELECT "Position" FROM table_77734 WHERE "Player" = 'zack torquato'
### Instruction: CREATE TABLE table_753 ( "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. -- Carl Elliott is a member of which party? ### Response:
SELECT "Party" FROM table_753 WHERE "Incumbent" = 'Carl Elliott'
### Instruction: CREATE TABLE table_7874 ( "Rank" text, "Player" text, "Lifespan" text, "Country" text, "Wins" real, "Winning span" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Country has a Player of arjun atwal? ### Response:
SELECT "Country" FROM table_7874 WHERE "Player" = 'arjun atwal'
### Instruction: CREATE TABLE table_name_22 ( music VARCHAR, score VARCHAR, style VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Music has a Score of 30 (10, 10, 10), and a Style of cha-cha-cha? ### Response:
SELECT music FROM table_name_22 WHERE score = "30 (10, 10, 10)" AND style = "cha-cha-cha"
### Instruction: CREATE TABLE table_name_65 ( money___ INTEGER, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Money ( $ ), when Score is '69-71-70-74=284'? ### Response:
SELECT MAX(money___) AS $__ FROM table_name_65 WHERE score = 69 - 71 - 70 - 74 = 284