instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_35113 ( "Games" real, "Drawn" real, "Lost" real, "Points difference" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the points difference for a loss less than 6, and points less than 11? #...
SELECT "Points difference" FROM table_35113 WHERE "Lost" < '6' AND "Points" < '11'
### Instruction: CREATE TABLE table_23818 ( "County" text, "Obama%" text, "Obama#" real, "McCain%" text, "McCain#" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are McCain's Percent when Obama has 36.47%? ### Response:
SELECT "McCain%" FROM table_23818 WHERE "Obama%" = '36.47%'
### Instruction: CREATE TABLE table_1587 ( "Character" text, "Indianapolis Concerts" text, "Sarasota" text, "Broadway" text, "Brighton Cast" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the indanapolis concerts for dr. alexandre manette ###...
SELECT "Indianapolis Concerts" FROM table_1587 WHERE "Character" = 'Dr. Alexandre Manette'
### Instruction: CREATE TABLE table_53236 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the record for round more ...
SELECT "Record" FROM table_53236 WHERE "Round" > '1'
### Instruction: CREATE TABLE table_4319 ( "Year" real, "Event" text, "Venue" text, "Driver" text, "Result" text, "Category" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year has a result of 3 in the venue of Jarama. ### Response:
SELECT MIN("Year") FROM table_4319 WHERE "Result" = '3' AND "Venue" = 'jarama'
### Instruction: CREATE TABLE table_3746 ( "Version" text, "Codename" text, "Edition" text, "Code Base" text, "Compatible repository" text, "Default desktop environment" text, "Release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wha...
SELECT "Version" FROM table_3746 WHERE "Codename" = 'Ada'
### Instruction: CREATE TABLE table_14919 ( "Season" text, "Series" text, "Races" text, "Wins" text, "Podiums" text, "Points" text, "Final Placing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Season has a 19th Final Place? ### Res...
SELECT "Season" FROM table_14919 WHERE "Final Placing" = '19th'
### Instruction: CREATE TABLE table_40523 ( "Match No." text, "Home Team" text, "Score" text, "Away Team" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the attendance of the match with F.C. central chugoku as the home tea...
SELECT "Attendance" FROM table_40523 WHERE "Home Team" = 'f.c. central chugoku'
### Instruction: CREATE TABLE table_5131 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what Tournament was laura Gildemeister the Opponent? ### Resp...
SELECT "Tournament" FROM table_5131 WHERE "Opponent" = 'laura gildemeister'
### Instruction: CREATE TABLE table_name_82 ( fa_trophy INTEGER, league VARCHAR, total VARCHAR, fa_cup VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many FA Trophies had a total of 27, 2 FA cups, and a league larger than 24? ### Response:
SELECT SUM(fa_trophy) FROM table_name_82 WHERE total = 27 AND fa_cup = 2 AND league > 24
### Instruction: CREATE TABLE table_36968 ( "Frequency (kHz)" real, "Call letters" text, "Licensed location" text, "Type" text, "Format" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest frequency (kHz) that is in the location of L...
SELECT MIN("Frequency (kHz)") FROM table_36968 WHERE "Licensed location" = 'longview'
### Instruction: CREATE TABLE table_36779 ( "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 date was the game where the visiting team wa...
SELECT "Date" FROM table_36779 WHERE "Visitor" = 'philadelphia'
### Instruction: CREATE TABLE table_23177573_1 ( rank__week_ VARCHAR, written_by VARCHAR, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the week ranking of the episode written by Thomas L. Moran and directed by Andrew Bernstein? #...
SELECT rank__week_ FROM table_23177573_1 WHERE written_by = "Thomas L. Moran" AND directed_by = "Andrew Bernstein"
### Instruction: CREATE TABLE table_203_810 ( id number, "#" number, "title" text, "songwriters" text, "producer(s)" text, "performer (s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- did will.i.am or talib kweli produce a dream ? ### Respon...
SELECT "producer(s)" FROM table_203_810 WHERE "title" = '"a dream"'
### Instruction: CREATE TABLE table_38201 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of Gold medals when there are 5 bronze medals? ...
SELECT AVG("Gold") FROM table_38201 WHERE "Bronze" = '5'
### Instruction: CREATE TABLE table_203_377 ( 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. -- how many silver medals did kenya earn ? ### Re...
SELECT "silver" FROM table_203_377 WHERE "nation" = 'kenya'
### Instruction: CREATE TABLE table_204_662 ( id number, "week" number, "date" text, "opponent" text, "result" text, "attendance" number, "bye" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the difference in points in week ones mat...
SELECT ABS("result" - "result") FROM table_204_662 WHERE "week" = 1
### Instruction: CREATE TABLE table_72436 ( "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 william francis stevenson first elected? ...
SELECT "First elected" FROM table_72436 WHERE "Incumbent" = 'William Francis Stevenson'
### Instruction: CREATE TABLE table_38537 ( "Station Code" text, "Station" text, "Arrival" text, "Departure" text, "Kilometers" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's listed for Departure that has 1676 listed for the Kilometers? ###...
SELECT "Departure" FROM table_38537 WHERE "Kilometers" = '1676'
### Instruction: CREATE TABLE table_203_710 ( id number, "genre" text, "year" number, "title" text, "episode" text, "role" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the last piece of filmography that he has worked ...
SELECT "title" FROM table_203_710 ORDER BY "year" DESC LIMIT 1
### Instruction: CREATE TABLE table_77731 ( "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's the record when the attendance was 41,573? ### Response:
SELECT "Record" FROM table_77731 WHERE "Attendance" = '41,573'
### Instruction: CREATE TABLE table_71975 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the score for opponent in the final being paul baccanello ### Res...
SELECT "Score" FROM table_71975 WHERE "Opponent in the final" = 'paul baccanello'
### Instruction: CREATE TABLE table_5252 ( "Name" text, "Nationality" text, "Position" text, "Tenure Began" real, "Term Ending" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Position of member, and a Nationality of india is what sum of term ending?...
SELECT SUM("Term Ending") FROM table_5252 WHERE "Position" = 'member' AND "Nationality" = 'india'
### Instruction: CREATE TABLE table_39595 ( "Name" text, "Dist. from Origin" text, "Dist. from Terminus" text, "Speed Limit" text, "Location (all in Nagano )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What location has the name of Sakakita BS? ...
SELECT "Location (all in Nagano )" FROM table_39595 WHERE "Name" = 'sakakita bs'
### Instruction: CREATE TABLE table_2433 ( "Date" text, "Tournament" text, "Location" text, "Purse ( $ )" real, "Winner" text, "Score" text, "1st Prize ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many tournaments were held at A...
SELECT COUNT("Score") FROM table_2433 WHERE "Location" = 'Alabama'
### Instruction: CREATE TABLE table_18384 ( "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 party of the first elected candidate in 19...
SELECT "Party" FROM table_18384 WHERE "First elected" = '1954'
### Instruction: CREATE TABLE table_18271 ( "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 party does incumbent Charles Edward Bennett belong...
SELECT "Party" FROM table_18271 WHERE "Incumbent" = 'Charles Edward Bennett'
### Instruction: CREATE TABLE table_47652 ( "Year" real, "Publication" text, "Country" text, "Accolade" text, "Rank" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the average year for the accolade 100 greatest singles of all time? ### Resp...
SELECT AVG("Year") FROM table_47652 WHERE "Accolade" = '100 greatest singles of all time'
### Instruction: CREATE TABLE table_42352 ( "Rank" real, "Name" text, "Team" text, "Games" real, "Assists" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest number of assists for the second rank when there were less than 2 games? ...
SELECT MAX("Assists") FROM table_42352 WHERE "Rank" = '2' AND "Games" < '2'
### Instruction: CREATE TABLE table_20873 ( "Year (affiliation)" text, "Wins" real, "Losses" real, "Winning Pct." text, "GB (Division Standing)" text, "Manager" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most losses for leslie mann ...
SELECT MAX("Losses") FROM table_20873 WHERE "Manager" = 'Leslie Mann'
### Instruction: CREATE TABLE table_36931 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which home team was playing on January 13? ...
SELECT "Home" FROM table_36931 WHERE "Date" = 'january 13'
### Instruction: CREATE TABLE table_29096 ( "Series #" real, "Episode #" real, "Title" text, "Director" text, "Writer" text, "Original Airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The director of the episode with the title 'The Sky is...
SELECT "Director" FROM table_29096 WHERE "Title" = 'The Sky is Falling'
### Instruction: CREATE TABLE table_7955 ( "Rank" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Gold that has a Silver less than 7 and Bronze less than 0 ### Response:
SELECT MAX("Gold") FROM table_7955 WHERE "Silver" < '7' AND "Bronze" < '0'
### Instruction: CREATE TABLE table_65208 ( "Period" text, "Team" text, "Player" text, "Penalty" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time does Dustin Byfuglien have in 1st period? ### Response:
SELECT "Time" FROM table_65208 WHERE "Period" = '1st' AND "Player" = 'dustin byfuglien'
### Instruction: CREATE TABLE table_422 ( "Symbol" text, "Description" text, "Success" text, "Date of completion" text, "Deadline for completion" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the success where deadline for completion is octo...
SELECT "Success" FROM table_422 WHERE "Deadline for completion" = 'October 7, 2007'
### Instruction: CREATE TABLE table_15366768_1 ( element VARCHAR, isotopic_mass___u__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the element with isotopic mass of 158.925 34(2)? ### Response:
SELECT element FROM table_15366768_1 WHERE isotopic_mass___u__ = "158.925 34(2)"
### Instruction: CREATE TABLE table_18170 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the incumbent of district Wisconsin 5? ### Res...
SELECT "Incumbent" FROM table_18170 WHERE "District" = 'Wisconsin 5'
### Instruction: CREATE TABLE table_50632 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What to par is located in the united states and has a player by the name of hal sutton? ...
SELECT "To par" FROM table_50632 WHERE "Country" = 'united states' AND "Player" = 'hal sutton'
### Instruction: CREATE TABLE table_204_200 ( id number, "iso/iec standard" text, "title" text, "status" text, "description" text, "wg" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many iso/iec were published before the year 2000 ? ###...
SELECT COUNT("iso/iec standard") FROM table_204_200 WHERE "status" < 2000
### Instruction: CREATE TABLE table_name_3 ( game INTEGER, points VARCHAR, february VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average game number that took place after February 13 against the Toronto Maple Leafs and...
SELECT AVG(game) FROM table_name_3 WHERE february > 13 AND opponent = "toronto maple leafs" AND points > 47
### Instruction: CREATE TABLE table_35421 ( "Name" text, "Innhabitants" real, "Area" real, "Mayor" text, "Party" text, "Municipal code" real, "Language form" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Mayor is from the KRF Party? ...
SELECT "Mayor" FROM table_35421 WHERE "Party" = 'krf'
### Instruction: CREATE TABLE table_44645 ( "Election" real, "Number of PNC votes" text, "Share of votes" text, "Seats" text, "Outcome of election" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many PNC votes did the election before 1996 have? ...
SELECT "Number of PNC votes" FROM table_44645 WHERE "Election" < '1996'
### Instruction: CREATE TABLE table_29362 ( "Vertical" real, "Horizontal" real, "Aspect ratio" text, "Pixel aspect ratio" text, "Scanning" text, "Frame rate ( Hz )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the maximum vertical mea...
SELECT MAX("Vertical") FROM table_29362 WHERE "Horizontal" = '640'
### Instruction: CREATE TABLE table_name_67 ( bob_dole VARCHAR, george_hw_bush VARCHAR, pat_robertson VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When George H.W. Bush had 81%, and Pat Robertson had 9%, what did Bob Dole have? ### Response:
SELECT bob_dole FROM table_name_67 WHERE george_hw_bush = "81%" AND pat_robertson = "9%"
### Instruction: CREATE TABLE organization_contact_individuals ( individual_id VARCHAR ) CREATE TABLE individuals ( individual_last_name VARCHAR, individual_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the last name of the individuals that hav...
SELECT DISTINCT t1.individual_last_name FROM individuals AS t1 JOIN organization_contact_individuals AS t2 ON t1.individual_id = t2.individual_id
### Instruction: CREATE TABLE table_64216 ( "Rank" real, "Athletes" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Rank of the Athletes with a Time of 3:43.491? ### Response:
SELECT COUNT("Rank") FROM table_64216 WHERE "Time" = '3:43.491'
### Instruction: CREATE TABLE table_3710 ( "Total #" real, "Episode #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is largest total number that was written by...
SELECT MAX("Total #") FROM table_3710 WHERE "Written by" = 'Sheri Elwood'
### Instruction: CREATE TABLE table_203_391 ( id number, "season" text, "greek league" text, "greek cup" text, "europe" text, "coach" text, "roster" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when was the last appearance in the greek lea...
SELECT MAX("season") FROM table_203_391 WHERE NOT "greek league" IS NULL
### Instruction: CREATE TABLE table_26345 ( "Music Library" text, "Year" real, "Media type" text, "Name of the media" text, "Composition name" text, "Composer" text, "Genre" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every media ...
SELECT "Media type" FROM table_26345 WHERE "Genre" = 'World'
### Instruction: CREATE TABLE table_28485 ( "Week #" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the order # for the original artist sarah mclach...
SELECT "Order #" FROM table_28485 WHERE "Original artist" = 'Sarah McLachlan'
### Instruction: CREATE TABLE table_38337 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the position of terry jones whose pick number was after 256? ### Response:
SELECT "Position" FROM table_38337 WHERE "Pick" > '256' AND "Player" = 'terry jones'
### Instruction: CREATE TABLE table_23398 ( "No. in series" text, "No. in season" real, "Family/families" text, "Location(s)" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode in the season was episode us18 in the...
SELECT COUNT("No. in season") FROM table_23398 WHERE "No. in series" = 'US18'
### Instruction: CREATE TABLE table_46311 ( "from" text, "aircraft" text, "carrier" text, "air wing" text, "tail code" text, "area" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which carrier was deployed on 18 July 1968? ### Response:
SELECT "carrier" FROM table_46311 WHERE "from" = '18 july 1968'
### Instruction: CREATE TABLE table_name_37 ( wins INTEGER, poles VARCHAR, season VARCHAR, podiums VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Wins, when Season is 2011, when Podiums is 1, and when Poles is less than 0? ### Re...
SELECT MIN(wins) FROM table_name_37 WHERE season = "2011" AND podiums = 1 AND poles < 0
### Instruction: CREATE TABLE table_62103 ( "Club" text, "Season's Last Head Coach" text, "City" text, "Stadium" text, "2004-2005 season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the stadium for the city of Braga? ### Response:
SELECT "Stadium" FROM table_62103 WHERE "City" = 'braga'
### Instruction: CREATE TABLE table_70429 ( "Player" text, "Country" text, "Year won" real, "Total" real, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest year won Paul Azinger had with a to par higher than 5? ### Respo...
SELECT MIN("Year won") FROM table_70429 WHERE "Player" = 'paul azinger' AND "To par" > '5'
### Instruction: CREATE TABLE table_79511 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Opponent on November 27, 2005? ### Response:
SELECT "Opponent" FROM table_79511 WHERE "Date" = 'november 27, 2005'
### Instruction: CREATE TABLE table_9360 ( "Name" text, "Pinnacle height planned" text, "Year completion expected" real, "Structure type" text, "Country" text, "Town" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the names for projects...
SELECT "Name" FROM table_9360 WHERE "Year completion expected" > '2016'
### 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. -- which player has the most years in the nba ? ###...
SELECT "name" FROM table_203_622 ORDER BY "years in nba" DESC LIMIT 1
### Instruction: CREATE TABLE table_75454 ( "Round" text, "Date" text, "Matches" real, "Clubs" text, "New entries this round" text, "Prize money" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many new entries this round have clubs 2 1? ##...
SELECT "New entries this round" FROM table_75454 WHERE "Clubs" = '2 → 1'
### Instruction: CREATE TABLE table_8765 ( "Callsign" text, "Frequency" text, "Band" text, "On-air ID" text, "Purpose" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the On-air ID of the broadcaster at frequency 0 801? ### Response:
SELECT "On-air ID" FROM table_8765 WHERE "Frequency" = '0 801'
### Instruction: CREATE TABLE table_35139 ( "Hand" text, "1 credit" text, "2 credits" text, "3 credits" text, "4 credits" text, "5 credits" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the 1 credit with a Hand of Theoretical Return? #...
SELECT "1 credit" FROM table_35139 WHERE "Hand" = 'theoretical return'
### Instruction: CREATE TABLE table_3920 ( "Episode #" real, "Series #" real, "Title" text, "Director" text, "Writer" text, "Original airdate" text, "Viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote 'what you mean...
SELECT "Writer" FROM table_3920 WHERE "Title" = 'What You Mean By Home'
### Instruction: CREATE TABLE table_204_235 ( id number, "season" text, "team" text, "country" text, "competition" text, "matches" number, "goals" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what country is team djurg rdens if not from ...
SELECT "country" FROM table_204_235 WHERE "team" = 'djurgardens if'
### Instruction: CREATE TABLE table_32163 ( "Region" text, "Date" real, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want the lowest date for catalog of 6561910008-1 ### Response:
SELECT MIN("Date") FROM table_32163 WHERE "Catalog" = '6561910008-1'
### Instruction: CREATE TABLE table_name_63 ( wins INTEGER, draws VARCHAR, season VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of wins for the team, Central District, who had less than 0 draws and took place...
SELECT MAX(wins) FROM table_name_63 WHERE season < 1995 AND team = "central district" AND draws < 0
### Instruction: CREATE TABLE table_42637 ( "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 Outback Steakhouse Pro-Am Tournament? ...
SELECT "Date" FROM table_42637 WHERE "Tournament" = 'outback steakhouse pro-am'
### Instruction: CREATE TABLE table_name_45 ( points VARCHAR, goals_scored VARCHAR, lost VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the total number of points when there was a lost larger than 6, when the team was Once Mun...
SELECT COUNT(points) FROM table_name_45 WHERE lost > 6 AND team = "once municipal" AND goals_scored < 8
### Instruction: CREATE TABLE table_55262 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the court surface when the score was 6 4, 6 1? ### Response:
SELECT "Surface" FROM table_55262 WHERE "Score" = '6–4, 6–1'
### Instruction: CREATE TABLE table_20538 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the outgoing m...
SELECT "Outgoing manager" FROM table_20538 WHERE "Team" = 'Aberdeen'
### Instruction: CREATE TABLE table_204_74 ( id number, "#" number, "title" text, "producers" text, "guest performers" text, "length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the last track produced by mr. lee ? ### Response:
SELECT "title" FROM table_204_74 WHERE "producers" = 'mr. lee' ORDER BY "#" DESC LIMIT 1
### Instruction: CREATE TABLE table_6149 ( "Year" real, "Finish position" text, "1st day" text, "2nd day" text, "3rd day" text, "4th Day" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which 2nd day has a year prior to 2009? ### Response:
SELECT "2nd day" FROM table_6149 WHERE "Year" < '2009'
### Instruction: CREATE TABLE table_64593 ( "Version" text, "Standard name" text, "Common name" text, "Downstream rate" text, "Upstream rate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the version of Itu g.992.3 Annex J? ### Response:
SELECT "Version" FROM table_64593 WHERE "Standard name" = 'itu g.992.3 annex j'
### Instruction: CREATE TABLE table_name_62 ( catalog VARCHAR, year VARCHAR, issued_title VARCHAR, label VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the catalog issued with the title of 1958 Miles on the Sony label at a year pr...
SELECT catalog FROM table_name_62 WHERE issued_title = "1958 miles" AND label = "sony" AND year < 2006
### Instruction: CREATE TABLE table_27002 ( "Name of Village" text, "Name in Syriac" text, "Number of Believers" real, "Number of Priests" real, "Number of Churches" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of believers for pat...
SELECT COUNT("Number of Believers") FROM table_27002 WHERE "Name of Village" = 'Patavur'
### Instruction: CREATE TABLE customers ( first_name VARCHAR, last_name VARCHAR, id VARCHAR ) CREATE TABLE invoices ( customer_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the customers first and last name of 10 least expensive invoices. ...
SELECT T1.first_name, T1.last_name FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id = T1.id ORDER BY total LIMIT 10
### Instruction: CREATE TABLE table_77850 ( "Building" text, "Height" text, "Floors" real, "Year" real, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What building shows 2013 and has more than 20 floors? ### Response:
SELECT "Building" FROM table_77850 WHERE "Year" = '2013' AND "Floors" > '20'
### Instruction: CREATE TABLE table_204_197 ( id number, "date" text, "time" text, "opponent#" text, "site" text, "tv" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many wins did the red raiders h...
SELECT COUNT(*) FROM table_204_197 WHERE "result" = 'w'
### Instruction: CREATE TABLE table_63214 ( "Island" text, "Country" text, "Population" text, "Area km\u00b2" text, "Density (per km\u00b2)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Japan's Area km ? ### Response:
SELECT "Area km\u00b2" FROM table_63214 WHERE "Country" = 'japan'
### Instruction: CREATE TABLE table_30624 ( "Position" text, "Player" text, "Period" text, "Teams" text, "Consecutive starts" real, "Playoffs" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What period(s) featured a left inside...
SELECT "Period" FROM table_30624 WHERE "Position" = 'Left inside linebacker'
### Instruction: CREATE TABLE table_69072 ( "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 74-77? ### ...
SELECT "Attendance" FROM table_69072 WHERE "Record" = '74-77'
### Instruction: CREATE TABLE table_9172 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What competition had a score of 3-0, and a result of 4-1? ### Response:
SELECT "Competition" FROM table_9172 WHERE "Score" = '3-0' AND "Result" = '4-1'
### Instruction: CREATE TABLE table_75617 ( "Source" text, "Date" text, "Goldberg" text, "Murray" text, "Silbert" text, "Undecided" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the undecided percentage of the poll where Goldberg had 6%...
SELECT "Undecided" FROM table_75617 WHERE "Goldberg" = '6%'
### Instruction: CREATE TABLE table_204_801 ( id number, "year" number, "derby\nwinner" text, "galaxy" number, "draw" number, "chivas" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who one the first match up in 2005 ? ### Response:
SELECT "derby\nwinner" FROM table_204_801 WHERE "year" = 2005
### Instruction: CREATE TABLE table_24061 ( "Episode No." real, "Title" text, "Directed by" text, "Written by" text, "Viewers (millions)" text, "Original airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes were titled 'Goin...
SELECT "Episode No." FROM table_24061 WHERE "Title" = 'Going Bodmin'
### Instruction: CREATE TABLE table_57941 ( "Year" text, "Driver" text, "Constructor" text, "Category" text, "Location" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the constructor when report shows report in...
SELECT "Constructor" FROM table_57941 WHERE "Report" = 'report' AND "Year" = '1955'
### Instruction: CREATE TABLE table_33875 ( "Player" text, "Ranking" text, "Event" text, "Surface" text, "Round" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Round has a Ranking of 2008 wta tour? ### Response:
SELECT "Round" FROM table_33875 WHERE "Ranking" = '2008 wta tour'
### Instruction: CREATE TABLE table_11734041_10 ( school_club_team_country VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Kimball, toby toby kimball is a player; How many times at school/ club team/country was the player present? ### Respon...
SELECT COUNT(school_club_team_country) FROM table_11734041_10 WHERE player = "Kimball, Toby Toby Kimball"
### Instruction: CREATE TABLE table_204_262 ( id number, "rank" number, "athlete" text, "time" text, "notes" text, "q" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long did it take peter matheka mutuku to complete the event ? ### Respons...
SELECT "time" FROM table_204_262 WHERE "athlete" = 'peter matheka mutuku'
### Instruction: CREATE TABLE table_23877 ( "#" text, "Date" text, "at/vs." text, "Opponent" text, "Score" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What game number had an attendance of 2813? ### Res...
SELECT "#" FROM table_23877 WHERE "Attendance" = '2813'
### Instruction: CREATE TABLE table_10979 ( "Name" text, "Street address in Detroit" text, "Years as tallest" text, "Height feet / m" text, "Floors" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Floors at st. joseph church? ###...
SELECT SUM("Floors") FROM table_10979 WHERE "Name" = 'st. joseph church'
### Instruction: CREATE TABLE table_name_97 ( votes INTEGER, riding VARCHAR, rank VARCHAR, occupation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the lowest in Votes with a Rank of 5th, has an Occupation of retired, along with a Riding of B...
SELECT MIN(votes) FROM table_name_97 WHERE rank = "5th" AND occupation = "retired" AND riding = "brant"
### Instruction: CREATE TABLE table_20867295_2 ( top_scorer VARCHAR, winner VARCHAR, third_place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When nac breda came in third place and psv eindhoven was the winner who is the top scorer? ### Response:
SELECT top_scorer FROM table_20867295_2 WHERE winner = "PSV Eindhoven" AND third_place = "NAC Breda"
### Instruction: CREATE TABLE table_39070 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was the game at Lincoln Financial...
SELECT "Date" FROM table_39070 WHERE "Game site" = 'lincoln financial field'
### Instruction: CREATE TABLE table_125 ( "Series #" real, "Episode #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the second episode of 'The Homecomi...
SELECT "Directed by" FROM table_125 WHERE "Written by" = 'Tommy Thompson'
### Instruction: CREATE TABLE table_name_52 ( to_par VARCHAR, country VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What To par has a Country of united states, and a Score of 67-66-78-77=288? ### Response:
SELECT to_par FROM table_name_52 WHERE country = "united states" AND score = 67 - 66 - 78 - 77 = 288
### Instruction: CREATE TABLE table_name_19 ( record_as_played VARCHAR, regular_season_vacated VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is shown for Record as played with a Regular season Vacated of 24 0 later than 1997? ### ...
SELECT record_as_played FROM table_name_19 WHERE regular_season_vacated = "24–0" AND season > 1997
### Instruction: CREATE TABLE table_24367 ( "Type of Record" text, "Attendance" real, "Date/Year" text, "Stadium" text, "Result/Games" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of attendance with the pre-season game as the ty...
SELECT COUNT("Attendance") FROM table_24367 WHERE "Type of Record" = 'Pre-season game'
### Instruction: CREATE TABLE table_25065 ( "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. -- How many Vacators were listed when the district was North...
SELECT COUNT("Vacator") FROM table_25065 WHERE "District" = 'North Carolina 3rd'
### Instruction: CREATE TABLE table_58178 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Tyre" text, "Driver" text, "Rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the entrant for chassis of gh1 ### Resp...
SELECT "Entrant" FROM table_58178 WHERE "Chassis" = 'gh1'