instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_42482 ( "Volume:Issue" text, "Issue Date(s)" text, "Weeks on Top" real, "Song" text, "Artist" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Song with an Issue Date(s) that is 19 june? ### Response:
SELECT "Song" FROM table_42482 WHERE "Issue Date(s)" = '19 june'
### Instruction: CREATE TABLE table_41419 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what event was the technical de...
SELECT "Event" FROM table_41419 WHERE "Method" = 'technical decision (split)'
### Instruction: CREATE TABLE table_75102 ( "Date" text, "Tournament" text, "Location" text, "Winner" text, "Score" text, "1st prize ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the winner of the tournament in Georgia on Oct 3? ...
SELECT "Winner" FROM table_75102 WHERE "Location" = 'georgia' AND "Date" = 'oct 3'
### Instruction: CREATE TABLE table_name_17 ( d__max_ INTEGER, taper VARCHAR, c__max_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What total D (max) has a taper of 1:20.047, and a C (max) bigger than 65.5? ### Response:
SELECT SUM(d__max_) FROM table_name_17 WHERE taper = "1:20.047" AND c__max_ > 65.5
### Instruction: CREATE TABLE table_name_16 ( ends_lost INTEGER, stolen_ends_for VARCHAR, stolen_ends_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest ends lost when the stolen ends for is less than 13, and stolten ends against i...
SELECT MIN(ends_lost) FROM table_name_16 WHERE stolen_ends_for < 13 AND stolen_ends_against = 6
### Instruction: CREATE TABLE table_204_622 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in what city did piotr 's last 1st place finish o...
SELECT "venue" FROM table_204_622 WHERE "position" = 1 ORDER BY "year" DESC LIMIT 1
### Instruction: CREATE TABLE table_7371 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many lost stats have a play...
SELECT COUNT("Lost") FROM table_7371 WHERE "Played" < '8'
### Instruction: CREATE TABLE table_2562572_54 ( dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the dominant religion in 2002 for the population of 2337 in 2011? ### Response:
SELECT dominant_religion__2002_ FROM table_2562572_54 WHERE population__2011_ = 2337
### Instruction: CREATE TABLE table_3777 ( "Game" real, "January" real, "Opponent" text, "Score" text, "Decision" text, "Location/Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the decision was by Lalime, when i...
SELECT "January" FROM table_3777 WHERE "Decision" = 'Lalime'
### Instruction: CREATE TABLE table_204_479 ( id number, "defendant" text, "arrested" text, "charge" text, "result" text, "sentence" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many defedants were arrested in december of 1955 ? ### Resp...
SELECT COUNT("defendant") FROM table_204_479 WHERE "arrested" = 12 AND "arrested" = 1955
### Instruction: CREATE TABLE table_50921 ( "Episode" text, "Air Date" text, "Timeslot" text, "18-49" text, "Viewers" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the timeslot for the episode with an 18-49 of 2.2/7? ### Response:
SELECT "Timeslot" FROM table_50921 WHERE "18-49" = '2.2/7'
### Instruction: CREATE TABLE table_26826304_2 ( weekly_rank_virgin_media INTEGER, air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the weekly rank by Virgin media for the title aired on May 20, 2010? ### Response:
SELECT MIN(weekly_rank_virgin_media) FROM table_26826304_2 WHERE air_date = "May 20, 2010"
### Instruction: CREATE TABLE table_3164 ( "Saddle cloth" real, "Horse" text, "Trainer" text, "Jockey" text, "Weight (kg)" text, "Barrier [b ]" real, "Placing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the horse when the jockey ...
SELECT "Horse" FROM table_3164 WHERE "Jockey" = 'Peter Wells'
### Instruction: CREATE TABLE table_55003 ( "Year" text, "Make & Model" text, "Length" text, "Engine Type" text, "Numbers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For numbers of 2600-2825 (223 buses), what is the length? ### Response:
SELECT "Length" FROM table_55003 WHERE "Numbers" = '2600-2825 (223 buses)'
### 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. -- city in the same parish of moncton ### Response:...
SELECT "official name" FROM table_204_158 WHERE "official name" <> 'moncton' AND "parish" = 'moncton'
### Instruction: CREATE TABLE table_30274 ( "Series no." real, "Season no." 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. -- name the title ...
SELECT "Title" FROM table_30274 WHERE "Production code" = '201'
### Instruction: CREATE TABLE table_2364 ( "Institution" text, "Location" text, "Year Joined" real, "Affiliation" text, "Enrollment" real, "Mascot" text, "Colors" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the affiliation of the ...
SELECT "Affiliation" FROM table_2364 WHERE "Mascot" = 'Hilltoppers'
### Instruction: CREATE TABLE table_22800 ( "Year" text, "League" text, "Reg. Season" text, "Playoffs" text, "Owner(s)" text, "Avg. Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in the year 1995/96 what was the reg. season ### Res...
SELECT "Reg. Season" FROM table_22800 WHERE "Year" = '1995/96'
### Instruction: CREATE TABLE table_name_22 ( average_cards_a_game INTEGER, season VARCHAR, red_cards VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Average Cards a game has a Season of 2004/2005, and a Red Cards larger than 3? ### Response:
SELECT MIN(average_cards_a_game) FROM table_name_22 WHERE season = "2004/2005" AND red_cards > 3
### Instruction: CREATE TABLE table_42686 ( "Chart" text, "Single title" text, "Debut position" real, "Peak position" real, "Chart run" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many chart runs had a debut position of more than 7 when peak ...
SELECT COUNT("Chart run") FROM table_42686 WHERE "Debut position" > '7' AND "Peak position" = '11'
### Instruction: CREATE TABLE table_45347 ( "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 was Juli's winning margin on Aug 24, 1986? ### Response:...
SELECT "Margin of victory" FROM table_45347 WHERE "Date" = 'aug 24, 1986'
### Instruction: CREATE TABLE table_name_26 ( stuffit VARCHAR, iso_cd_image VARCHAR, lha_lzh VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the StuffitX value that has a Stuffit of unknown, LHA/LZH of yes, and unknown ISO/CD image? ### Response...
SELECT stuffit AS X FROM table_name_26 WHERE stuffit = "unknown" AND lha_lzh = "yes" AND iso_cd_image = "unknown"
### Instruction: CREATE TABLE table_13836704_4 ( total_passengers_2008 VARCHAR, change_2008_09 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the total passengers 2008 with change 2008/09 being 6.5% ### Response:
SELECT total_passengers_2008 FROM table_13836704_4 WHERE change_2008_09 = "6.5%"
### Instruction: CREATE TABLE table_11605 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did Hawthorn play as the a...
SELECT "Date" FROM table_11605 WHERE "Away team" = 'hawthorn'
### Instruction: CREATE TABLE table_63590 ( "Date" text, "Team 1" text, "Result" text, "Team 2" text, "Ground" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team is 2 when 1 is Taipower and the result is 0-1? ### Response:
SELECT "Team 2" FROM table_63590 WHERE "Team 1" = 'taipower' AND "Result" = '0-1'
### Instruction: CREATE TABLE customer_contact_channels ( customer_id VARCHAR ) CREATE TABLE customers ( customer_id VARCHAR, customer_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which contact channel has been used by the customer with name 'Til...
SELECT DISTINCT channel_code FROM customers AS t1 JOIN customer_contact_channels AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name = "Tillman Ernser"
### Instruction: CREATE TABLE table_7466 ( "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 nationality of the player that plays forward and is...
SELECT "Nationality" FROM table_7466 WHERE "Position" = 'forward' AND "School/Club Team" = 'depaul'
### Instruction: CREATE TABLE table_16542 ( "Year" real, "Title" text, "Format" text, "Studio" text, "Release Date" text, "Copyright Information" text, "Catalog Number" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- where catalog number is 8...
SELECT "Studio" FROM table_16542 WHERE "Catalog Number" = '81258'
### Instruction: CREATE TABLE table_53608 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the attendance for a home venue and a w 3-0 result? ### Response:
SELECT AVG("Attendance") FROM table_53608 WHERE "Venue" = 'home' AND "Result" = 'w 3-0'
### Instruction: CREATE TABLE table_26601 ( "Week" real, "Date" text, "Opponent" text, "Location" text, "Final Score" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least attendance for l 36 1 ###...
SELECT MIN("Attendance") FROM table_26601 WHERE "Final Score" = 'L 36–1'
### Instruction: CREATE TABLE table_23242 ( "Rank" real, "Couple" text, "Judges" real, "Public" real, "Total" real, "Vote percentage" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total result for couple Ellery a...
SELECT COUNT("Result") FROM table_23242 WHERE "Couple" = 'Ellery and Frankie'
### Instruction: CREATE TABLE table_62956 ( "Draw" real, "Artist" text, "Song" text, "Percentage" text, "Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Artist has a Place of 3 or less with a Percentage of 38.60%? ### Response:
SELECT "Artist" FROM table_62956 WHERE "Place" < '3' AND "Percentage" = '38.60%'
### Instruction: CREATE TABLE table_31085 ( "Rk" real, "Name" text, "Country" text, "Matches Played" real, "Matches Won" real, "Points" real, "Prize Money (USD)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country does the player nam...
SELECT "Country" FROM table_31085 WHERE "Name" = 'Mark Cox'
### Instruction: CREATE TABLE table_29102 ( "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. -- What was the first numbered episode in the series titl...
SELECT MIN("Series #") FROM table_29102 WHERE "Title" = 'The Wind Beneath Our Wings'
### Instruction: CREATE TABLE table_17547 ( "No. in 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 episodes were titled 'a pi...
SELECT COUNT("Written by") FROM table_17547 WHERE "Title" = 'A Pig in a Poke'
### Instruction: CREATE TABLE table_25122 ( "Details" text, "Host Nation(s)" text, "Final Venue" text, "Winner" text, "Result" text, "Runner-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winner if the final venue is Kowloon Cric...
SELECT "Winner" FROM table_25122 WHERE "Final Venue" = 'Kowloon Cricket Club'
### Instruction: CREATE TABLE table_name_89 ( player VARCHAR, nationality VARCHAR, round VARCHAR, draft VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Player has a Draft of 1994, a Pick larger than 8, a Round of 10, and a Nati...
SELECT player FROM table_name_89 WHERE draft = 1994 AND pick > 8 AND round = "10" AND nationality = "canada"
### Instruction: CREATE TABLE table_74126 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Decision" text, "Location/Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the december for record 14-17-...
SELECT "December" FROM table_74126 WHERE "Record" = '14-17-4'
### Instruction: CREATE TABLE table_32483 ( "Band Ch." real, "Call" text, "City" text, "Owner" text, "Operator" text, "Virt. Ch." real, "Nickname" text, "Programming" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What channel has an ope...
SELECT "Programming" FROM table_32483 WHERE "Operator" = 'ivptc'
### Instruction: CREATE TABLE table_76815 ( "1976" text, "1977" text, "1978" text, "1979" text, "1980" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is 1977 when 1978 is 4.1? ### Response:
SELECT "1977" FROM table_76815 WHERE "1978" = '4.1'
### Instruction: CREATE TABLE table_22852 ( "Year" real, "Worldwide" real, "Africa" real, "America" real, "Asia" real, "Australia" real, "Europe" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many members did Europe have the year that A...
SELECT "Europe" FROM table_22852 WHERE "America" = '403892'
### Instruction: CREATE TABLE table_35726 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What surface was used when she played with R...
SELECT "Surface" FROM table_35726 WHERE "Partner" = 'remi tezuka'
### Instruction: CREATE TABLE table_74647 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Driver" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team uses a Cosworth DFV V8 engine and DN9 Chassis? ### Response:
SELECT "Entrant" FROM table_74647 WHERE "Engine" = 'cosworth dfv v8' AND "Chassis" = 'dn9'
### Instruction: CREATE TABLE table_28876 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what district was the incumbent Charles A. Wickliffe...
SELECT "District" FROM table_28876 WHERE "Incumbent" = 'Charles A. Wickliffe'
### Instruction: CREATE TABLE table_35090 ( "Year" text, "Best Film" text, "Best Director" text, "Best Actor" text, "Best Actress" text, "Best Supporting Actress" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Best Actress has a Year of 20...
SELECT "Best Actress" FROM table_35090 WHERE "Year" = '2012 6th'
### Instruction: CREATE TABLE table_55227 ( "Event" text, "Record" text, "Athlete" text, "Nationality" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the record for the 400 m event on 4 september 2009? ### Response:
SELECT "Record" FROM table_55227 WHERE "Date" = '4 september 2009' AND "Event" = '400 m'
### Instruction: CREATE TABLE table_63891 ( "Actor" text, "Character" text, "Soap Opera" text, "Years" text, "Duration" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the years when the duration is 13 years and the character is renee phelan?...
SELECT "Years" FROM table_63891 WHERE "Duration" = '13 years' AND "Character" = 'renee phelan'
### Instruction: CREATE TABLE table_7147 ( "Year" real, "Artist" text, "Album" text, "Label" text, "Credit" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the artist for the album, Christmas under the reunion label with the guitar? ### Res...
SELECT "Artist" FROM table_7147 WHERE "Label" = 'reunion' AND "Credit" = 'guitar' AND "Album" = 'christmas'
### Instruction: CREATE TABLE table_40944 ( "Season" text, "Round" text, "Opponents" text, "Home leg" text, "Away leg" text, "Aggregate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the home leg who are opponents of rotor volgograd #...
SELECT "Home leg" FROM table_40944 WHERE "Opponents" = 'rotor volgograd'
### Instruction: CREATE TABLE table_34897 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Democratic incumbent in the South Carolina 5 District? ### Respo...
SELECT "Incumbent" FROM table_34897 WHERE "Party" = 'democratic' AND "District" = 'south carolina 5'
### Instruction: CREATE TABLE table_57431 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team played South Melbourn...
SELECT "Away team" FROM table_57431 WHERE "Home team" = 'south melbourne'
### Instruction: CREATE TABLE table_1576 ( "Constituency" text, "Electorate" real, "Votes" real, "Turnout" text, "Yes" real, "No" real, "Spoilt" real, "Percent Yes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most number of l...
SELECT MAX("No") FROM table_1576 WHERE "Constituency" = 'Leitrim'
### Instruction: CREATE TABLE table_38995 ( "Jyutping" text, "Character" text, "Portuguese" text, "Relative value" text, "Metric value" text, "Imperial value" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the relative value that contains...
SELECT "Relative value" FROM table_38995 WHERE "Jyutping" = 'daam3'
### Instruction: CREATE TABLE table_52090 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What driver has a grid under 12 with a Time/Retired of + 3 laps? ### Response:
SELECT "Driver" FROM table_52090 WHERE "Grid" < '12' AND "Time/Retired" = '+ 3 laps'
### Instruction: CREATE TABLE table_55304 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the crowd total at mcg?...
SELECT COUNT("Crowd") FROM table_55304 WHERE "Venue" = 'mcg'
### Instruction: CREATE TABLE table_3063 ( "Week" real, "Date" text, "Kickoff" text, "Opponent" text, "Final score" text, "Team record" text, "Game site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What game date wa...
SELECT "Date" FROM table_3063 WHERE "Game site" = 'AOL Arena'
### Instruction: CREATE TABLE table_32199 ( "Round" real, "Overall" real, "Player" text, "Position" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which round did Paul McDonald have an overall greater than 109? ### Resp...
SELECT MAX("Round") FROM table_32199 WHERE "Player" = 'paul mcdonald' AND "Overall" > '109'
### Instruction: CREATE TABLE table_68560 ( "Season" text, "Competition" text, "Round" text, "Opponents" text, "Home leg" text, "Away leg" text, "Aggregate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the aggregate with opponents of ...
SELECT "Aggregate" FROM table_68560 WHERE "Opponents" = 'tauras'
### Instruction: CREATE TABLE table_57272 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which date has an Away team of ...
SELECT "Date" FROM table_57272 WHERE "Away team" = 'fitzroy'
### Instruction: CREATE TABLE table_203_672 ( id number, "week" number, "date" text, "opponent" text, "result" text, "venue" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of fans in attendance at the ...
SELECT "attendance" FROM table_203_672 WHERE "venue" = 'mile high stadium'
### Instruction: CREATE TABLE table_59074 ( "Edition" text, "Round" text, "Date" text, "Partner" text, "Surface" text, "Opponents" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result when the partner was magdale...
SELECT "Result" FROM table_59074 WHERE "Partner" = 'magdalena maleeva'
### Instruction: CREATE TABLE table_73752 ( "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. -- who is the buena vista edidtion where specia...
SELECT "Buena Vista edition" FROM table_73752 WHERE "Special edition" = 'Koichi Sakaguchi'
### Instruction: CREATE TABLE table_36842 ( "Rank" text, "Film" text, "Director(s)" text, "Producer(s)" text, "Writer(s)" text, "Production Company" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the director that worked with Dana Dorian...
SELECT "Director(s)" FROM table_36842 WHERE "Writer(s)" = 'dana dorian'
### Instruction: CREATE TABLE table_5279 ( "Rider" text, "Bike" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What grid has an average time of +22.505 and laps larger than 23? ### Response:
SELECT AVG("Grid") FROM table_5279 WHERE "Time" = '+22.505' AND "Laps" > '23'
### Instruction: CREATE TABLE table_55675 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the time/retired with Laps of 47 and driver of ren arnoux ### Response:
SELECT "Time/Retired" FROM table_55675 WHERE "Laps" = '47' AND "Driver" = 'rené arnoux'
### Instruction: CREATE TABLE table_25637 ( "No." real, "Place & date" text, "Target" text, "Area damaged" text, "Cause of damage" text, "Intercepted by Patriot" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the place and date that the...
SELECT "Place & date" FROM table_25637 WHERE "Area damaged" = 'Apartments area'
### Instruction: CREATE TABLE table_203_138 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many competitions were not fri...
SELECT COUNT(DISTINCT "date") FROM table_203_138 WHERE "competition" <> 'friendly'
### Instruction: CREATE TABLE table_34359 ( "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 format for the United States dated July 23, 2002? ### Response:
SELECT "Format" FROM table_34359 WHERE "Region" = 'united states' AND "Date" = 'july 23, 2002'
### Instruction: CREATE TABLE table_20404716_1 ( spanish_title VARCHAR, film_title_used_in_nomination VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Spanish title of the film whose title used in nomination was Ogu and Mampato in Rapa Nui? ### R...
SELECT spanish_title FROM table_20404716_1 WHERE film_title_used_in_nomination = "Ogu and Mampato in Rapa Nui"
### Instruction: CREATE TABLE table_35505 ( "County" text, "Population" real, "Per capita income" text, "Median household income" text, "Median family income" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the median household income where t...
SELECT "Median household income" FROM table_35505 WHERE "Per capita income" = '$28,789'
### Instruction: CREATE TABLE table_69394 ( "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 smallest number of gold medals corresponding to the total rank with more than 4 br...
SELECT MIN("Gold") FROM table_69394 WHERE "Rank" = 'total' AND "Bronze" > '4'
### Instruction: CREATE TABLE table_51131 ( "Institution" text, "Location" text, "Founded" real, "Affiliation" text, "Enrollment" real, "Nickname" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the team nickname of university of wisconsi...
SELECT "Nickname" FROM table_51131 WHERE "Institution" = 'university of wisconsin-platteville'
### Instruction: CREATE TABLE table_68068 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date did Aymo Maggi win the Rome Grand Prix ...
SELECT "Date" FROM table_68068 WHERE "Winning driver" = 'aymo maggi' AND "Name" = 'rome grand prix'
### Instruction: CREATE TABLE table_43156 ( "Week" real, "Date" text, "Time ( PT )" text, "Opponent" text, "Result" text, "Record" text, "Game site" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has new england patriots as the opp...
SELECT "Date" FROM table_43156 WHERE "Opponent" = 'new england patriots'
### Instruction: CREATE TABLE table_6130 ( "Year" real, "Winner" text, "Jockey" text, "Trainer" text, "Owner" text, "Time" text, "Purse" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the purse when the trainer was Aidan O'Brien? ...
SELECT "Purse" FROM table_6130 WHERE "Trainer" = 'aidan o''brien'
### Instruction: CREATE TABLE table_204_443 ( id number, "week" number, "date" text, "opponent" text, "result" text, "game site" text, "attendance" number, "bye" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- name the game site with the ...
SELECT "game site" FROM table_204_443 ORDER BY "attendance" DESC LIMIT 1
### Instruction: CREATE TABLE table_65920 ( "Rank" real, "Player" text, "County" text, "Tally" text, "Total" real, "Opposition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Total has a Rank smaller than 3, and a County of cork? ### Res...
SELECT MIN("Total") FROM table_65920 WHERE "Rank" < '3' AND "County" = 'cork'
### Instruction: CREATE TABLE table_11795 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did Footscray play an...
SELECT "Date" FROM table_11795 WHERE "Away team" = 'footscray'
### Instruction: CREATE TABLE table_27738 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times this institution was fou...
SELECT COUNT("Founded") FROM table_27738 WHERE "Nickname" = 'Beavers'
### Instruction: CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text ) -- Using valid SQLite, answer the following questions for t...
SELECT Class, AVG(age) FROM captain GROUP BY Class
### Instruction: CREATE TABLE table_33024 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What home team has Richmond lis...
SELECT "Home team" FROM table_33024 WHERE "Away team" = 'richmond'
### Instruction: CREATE TABLE table_27829 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who direc...
SELECT "Directed by" FROM table_27829 WHERE "Title" = 'Sperminator'
### 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. -- how many characters were played in the tv series d.c. in ...
SELECT COUNT(*) FROM table_203_710 WHERE "year" = 2000
### Instruction: CREATE TABLE table_49651 ( "Stop no." text, "Platform" text, "Line" text, "Stopping pattern" text, "Destination" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Stop No., when Destination is [2778] Claisebrook Station Platfor...
SELECT "Stop no." FROM table_49651 WHERE "Destination" = '[2778] claisebrook station platforms'
### Instruction: CREATE TABLE table_55517 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Extra" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result of the european indoor championships after 1974? ### Response:
SELECT "Result" FROM table_55517 WHERE "Tournament" = 'european indoor championships' AND "Year" > '1974'
### Instruction: CREATE TABLE table_203_251 ( id number, "place" text, "player" text, "country" text, "score" text, "to par" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are the number of players from the united states with a score of 1...
SELECT COUNT("player") FROM table_203_251 WHERE "country" = 'united states' AND "score" = 139
### Instruction: CREATE TABLE table_67650 ( "Res." text, "Record" text, "Opponent" text, "Type" text, "Rd., Time" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the record of the match on 2009-07-18? ### Response:
SELECT "Record" FROM table_67650 WHERE "Date" = '2009-07-18'
### Instruction: CREATE TABLE table_17598 ( "#" real, "Nation" text, "Winners" real, "Runners-up" real, "3rd Place" real, "4th Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times did kingfisher east bengal fc win? ### Response...
SELECT MIN("Winners") FROM table_17598 WHERE "Nation" = 'Kingfisher East Bengal FC'
### Instruction: CREATE TABLE table_25055040_22 ( sprint_classification VARCHAR, mountains_classification VARCHAR, general_classification VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Ryan Anderson won the mountains classification, and Michael Roge...
SELECT sprint_classification FROM table_25055040_22 WHERE mountains_classification = "Ryan Anderson" AND general_classification = "Michael Rogers"
### Instruction: CREATE TABLE table_39660 ( "Number" real, "Result" text, "Date" text, "Score" text, "Opponent" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the number of the game played on January 2, 1936? ### Response...
SELECT MIN("Number") FROM table_39660 WHERE "Date" = 'january 2, 1936'
### Instruction: CREATE TABLE table_43531 ( "Name" text, "Country" text, "Type" text, "Moving from" text, "Transfer window" text, "Ends" real, "Transfer fee" text, "Source" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name ...
SELECT "Name" FROM table_43531 WHERE "Transfer window" = 'winter'
### Instruction: CREATE TABLE table_65158 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country is the athlete latt shwe zin with notes of sc/d from? ### Response:
SELECT "Country" FROM table_65158 WHERE "Notes" = 'sc/d' AND "Athlete" = 'latt shwe zin'
### Instruction: CREATE TABLE table_33616 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the away side at windy h...
SELECT "Away team" FROM table_33616 WHERE "Venue" = 'windy hill'
### Instruction: CREATE TABLE table_50688 ( "Position" real, "Name" text, "Played" real, "Drawn" real, "Lost" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many average points did svg burgkirchen have with a loss smaller than...
SELECT AVG("Points") FROM table_50688 WHERE "Name" = 'svg burgkirchen' AND "Lost" < '6'
### Instruction: CREATE TABLE table_37256 ( "Rank" real, "Stadium" text, "Capacity" real, "City" text, "Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Capacity is the lowest one that has a Rank smaller than 15, and a City of belgrade?...
SELECT MIN("Capacity") FROM table_37256 WHERE "Rank" < '15' AND "City" = 'belgrade'
### Instruction: CREATE TABLE table_1692 ( "Province" text, "Provincial capital" text, "Largest city" text, "Area (km 2 )" real, "Population (2013)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of provincial captial where the pr...
SELECT COUNT("Provincial capital") FROM table_1692 WHERE "Province" = 'Northern Cape'
### Instruction: CREATE TABLE table_68100 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which year is that has a Entrant of belond equa-flow / calif. muffler? ### Response:
SELECT "Year" FROM table_68100 WHERE "Entrant" = 'belond equa-flow / calif. muffler'
### Instruction: CREATE TABLE table_66474 ( "City of license" text, "Identifier" text, "Frequency" text, "Power" text, "Class" text, "RECNet" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What power has A as the class, and 93.7 as the frequency...
SELECT "Power" FROM table_66474 WHERE "Class" = 'a' AND "Frequency" = '93.7'
### Instruction: CREATE TABLE table_191 ( "Team" text, "Head Coach" text, "President" text, "Home Ground" text, "Location" text, "Founded" real, "Website" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The head coach, steve radoslavic, is re...
SELECT "Website" FROM table_191 WHERE "Head Coach" = 'Steve Radoslavic'
### Instruction: CREATE TABLE table_name_68 ( builder VARCHAR, order_year VARCHAR, fuel_propulsion VARCHAR, model VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which builder has a Fuel Propulsion of diesel, a Model of d40lf, and an Order Year of 200...
SELECT builder FROM table_name_68 WHERE fuel_propulsion = "diesel" AND model = "d40lf" AND order_year = "2005"