instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_203_692 (
id number,
"name" text,
"pos." text,
"caps" number,
"goals" number,
"club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is olle ahlunds club and his position ?
### Response:
| SELECT "club", "pos." FROM table_203_692 WHERE "name" = 'olle ahlund' |
### Instruction:
CREATE TABLE table_56300 (
"Model" text,
"Years" text,
"Engine code" text,
"Power" text,
"Torque" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Torque of the Model 320td (diesel)?
### Response:
| SELECT "Torque" FROM table_56300 WHERE "Model" = '320td (diesel)' |
### Instruction:
CREATE TABLE table_7251 (
"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 Song choice when Elaine Paige was the Origina... | SELECT "Song choice" FROM table_7251 WHERE "Original artist" = 'elaine paige' |
### Instruction:
CREATE TABLE table_75087 (
"Rank" text,
"Stadium" text,
"Capacity" real,
"City" text,
"Country" text,
"Tournament hosted" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average capacity that has switzerland as the co... | SELECT AVG("Capacity") FROM table_75087 WHERE "Country" = 'switzerland' |
### Instruction:
CREATE TABLE table_28759261_5 (
dadar_xi_‘b’ VARCHAR,
good_shepherd VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the dadar xi b where the good shepherd is sea liner fc?
### Response:
| SELECT dadar_xi_‘b’ FROM table_28759261_5 WHERE good_shepherd = "Sea Liner FC" |
### Instruction:
CREATE TABLE table_name_13 (
sydney VARCHAR,
auckland VARCHAR,
gold_coast VARCHAR,
adelaide VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Sydney has a Gold Coast of yes, an Adelaide of no, and an Auckland of yes?
### Respons... | SELECT sydney FROM table_name_13 WHERE gold_coast = "yes" AND adelaide = "no" AND auckland = "yes" |
### Instruction:
CREATE TABLE table_58383 (
"Ship" text,
"Pennant number" text,
"Laid down" text,
"Launched" text,
"Completed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When is the completed date of the destroyer with a pennant number h63?
##... | SELECT "Completed" FROM table_58383 WHERE "Pennant number" = 'h63' |
### Instruction:
CREATE TABLE table_49397 (
"Class" text,
"Part 1" text,
"Part 2" text,
"Part 3" text,
"Part 4" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was part 2 when part 4 was *bl tanaz?
### Response:
| SELECT "Part 2" FROM table_49397 WHERE "Part 4" = '*blōtanaz' |
### Instruction:
CREATE TABLE table_name_77 (
call_sign VARCHAR,
erp_w VARCHAR,
frequency_mhz VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the frequency is 103.7 MHz and the ERP W is more than 10, what is the call sign?
### Response:
| SELECT call_sign FROM table_name_77 WHERE erp_w > 10 AND frequency_mhz = 103.7 |
### Instruction:
CREATE TABLE table_name_4 (
opponent_in_the_final VARCHAR,
surface VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Opponent of the match played on a Clay Surface with a Score of 6 0, 6 2?
### Response:
| SELECT opponent_in_the_final FROM table_name_4 WHERE surface = "clay" AND score = "6–0, 6–2" |
### Instruction:
CREATE TABLE table_204_48 (
id number,
"date" text,
"race name" text,
"location" text,
"uci rating" text,
"winner" text,
"team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the name of the first race in the year ?
... | SELECT "race name" FROM table_204_48 ORDER BY "date" LIMIT 1 |
### Instruction:
CREATE TABLE table_204_19 (
id number,
"university" text,
"winner" number,
"runner-up" number,
"years won" text,
"years runner-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who won the last championship recorded on this tab... | SELECT "university" FROM table_204_19 ORDER BY "years won" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_72742 (
"Former kingdom" text,
"Province" text,
"Hangul" text,
"Hanja" text,
"Capital" text,
"Modern equivalent" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The hanja is for what province?
### Response:
| SELECT "Province" FROM table_72742 WHERE "Hanja" = '朔州' |
### Instruction:
CREATE TABLE table_6862 (
"Couple" text,
"Style" text,
"Music" text,
"Choreographer(s)" text,
"Chosen by" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Style, when Choreographer(s) is Dave Scott?
### Response:
| SELECT "Style" FROM table_6862 WHERE "Choreographer(s)" = 'dave scott' |
### Instruction:
CREATE TABLE table_28120 (
"Series #" real,
"Season #" real,
"Title" text,
"Director" text,
"Writer(s)" text,
"Airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many directors worked on #158?
### Response:
| SELECT COUNT("Director") FROM table_28120 WHERE "Series #" = '158' |
### Instruction:
CREATE TABLE table_61714 (
"Date" text,
"Opponent#" text,
"Rank #" text,
"Site" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance when they had a ranking of #4?
### Respon... | SELECT "Attendance" FROM table_61714 WHERE "Rank #" = '4' |
### Instruction:
CREATE TABLE table_28658 (
"Name / designation" text,
"Year of introduction" text,
"Country of origin" text,
"Primary cartridge" text,
"primary user" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different years was the na... | SELECT COUNT("Year of introduction") FROM table_28658 WHERE "Name / designation" = 'CETME' |
### Instruction:
CREATE TABLE table_9754 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Year(s) won has a To par of +8?
### Response:
| SELECT "Year(s) won" FROM table_9754 WHERE "To par" = '+8' |
### Instruction:
CREATE TABLE table_48600 (
"Year" real,
"Track" text,
"250 cc" text,
"500 cc" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 250 cc with a year bigger than 1984?
### Response:
| SELECT "250 cc" FROM table_48600 WHERE "Year" > '1984' |
### Instruction:
CREATE TABLE table_53403 (
"Date" text,
"Venue" text,
"Result" text,
"Goals" real,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Goals have a Date of 7 february 2010?
### Response:
| SELECT MAX("Goals") FROM table_53403 WHERE "Date" = '7 february 2010' |
### Instruction:
CREATE TABLE table_name_17 (
club VARCHAR,
group VARCHAR,
stadium VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When in 2009 season has a Group of group b, and cancha del mystic with a Club of el tecal?
### Response:
| SELECT 2009 AS _season FROM table_name_17 WHERE group = "group b" AND stadium = "cancha del mystic" AND club = "el tecal" |
### Instruction:
CREATE TABLE table_68304 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are Tiger Woods' average earnings?
### Response:
| SELECT AVG("Money ( $ )") FROM table_68304 WHERE "Player" = 'tiger woods' |
### Instruction:
CREATE TABLE table_8949 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the sum of the Pick # that has the CFL Team of edmonton?
### Respon... | SELECT SUM("Pick #") FROM table_8949 WHERE "CFL Team" = 'edmonton' |
### Instruction:
CREATE TABLE table_14047 (
"Polling firm" text,
"Dates" text,
"Prog. Cons." text,
"New Democratic" text,
"Liberal" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which firm conducted a poll in August 2006?
### Response:
| SELECT "Polling firm" FROM table_14047 WHERE "Dates" = 'august 2006' |
### Instruction:
CREATE TABLE table_70022 (
"Season" real,
"Host" text,
"Winners" text,
"Score" text,
"Runners-up" text,
"Third place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the winner in 2010?
### Response:
| SELECT "Winners" FROM table_70022 WHERE "Season" = '2010' |
### Instruction:
CREATE TABLE table_74001 (
"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.
-- Name the district for anti-jacksonian
### Response:
| SELECT "District" FROM table_74001 WHERE "Party" = 'Anti-Jacksonian' |
### Instruction:
CREATE TABLE table_53603 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average attendance on april 24?
### Response:
| SELECT AVG("Attendance") FROM table_53603 WHERE "Date" = 'april 24' |
### Instruction:
CREATE TABLE table_68221 (
"Name" text,
"Entered office" text,
"Left office" text,
"Party" text,
"First Minister" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the minister from the party of minister for communi... | SELECT "Name" FROM table_68221 WHERE "Party" = 'minister for community safety and legal affairs' |
### Instruction:
CREATE TABLE table_75923 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Label of the B0011141-01 Catalog?
### Response:
| SELECT "Label" FROM table_75923 WHERE "Catalog" = 'b0011141-01' |
### Instruction:
CREATE TABLE rating (
rid number,
mid number,
stars number,
ratingdate time
)
CREATE TABLE movie (
mid number,
title text,
year number,
director text
)
CREATE TABLE reviewer (
rid number,
name text
)
-- Using valid SQLite, answer the following questions for t... | SELECT rid FROM reviewer WHERE name LIKE "%Mike%" |
### Instruction:
CREATE TABLE table_69813 (
"Country" text,
"Chart" text,
"Period" text,
"Peak position" text,
"Sales" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the period for south korea with peak position of #1
### Response:
| SELECT "Period" FROM table_69813 WHERE "Country" = 'south korea' AND "Peak position" = '#1' |
### Instruction:
CREATE TABLE table_48491 (
"Date" text,
"Opponent#" text,
"Site" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result for 10/04/1947?
### Response:
| SELECT "Result" FROM table_48491 WHERE "Date" = '10/04/1947' |
### Instruction:
CREATE TABLE table_51112 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- COunt the silver that has a Bronze smaller than 1?
### Response:
| SELECT SUM("Silver") FROM table_51112 WHERE "Bronze" < '1' |
### Instruction:
CREATE TABLE table_36568 (
"Outcome" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which tournament included an opponent of Marinko Matosevic?
### Response:
| SELECT "Tournament" FROM table_36568 WHERE "Opponent" = 'marinko matosevic' |
### Instruction:
CREATE TABLE table_30324 (
"Year Location" text,
"Mens Singles" text,
"Womens Singles" text,
"Mens Doubles" text,
"Womens Doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the year location for haruna fukuoka
### Respon... | SELECT "Year Location" FROM table_30324 WHERE "Womens Singles" = 'Haruna Fukuoka' |
### Instruction:
CREATE TABLE table_57762 (
"Name" text,
"Pennant" text,
"Builder" text,
"Laid Down" text,
"Launched" text,
"Commissioned" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the building for the r90 pennant?
### Response:
| SELECT "Builder" FROM table_57762 WHERE "Pennant" = 'r90' |
### 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.
-- which producers produced the majority of songs on this record ?
... | SELECT "producers" FROM table_204_74 GROUP BY "producers" ORDER BY COUNT("title") DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_204_906 (
id number,
"#" number,
"title" text,
"songwriters" text,
"producer(s)" text,
"performer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of songs produced by k def on the album ?
... | SELECT COUNT(*) FROM table_204_906 WHERE "songwriters" = 'k-def' |
### Instruction:
CREATE TABLE table_67571 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player has the score 72-67-69=208?
### Response:
| SELECT "Player" FROM table_67571 WHERE "Score" = '72-67-69=208' |
### Instruction:
CREATE TABLE table_name_22 (
rating VARCHAR,
air_date VARCHAR,
share VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Rating(s), when Air Date is June 25, 2008, and when Share is greater than 3?
### Response:
| SELECT COUNT(rating) FROM table_name_22 WHERE air_date = "june 25, 2008" AND share > 3 |
### Instruction:
CREATE TABLE college (
state VARCHAR,
cName VARCHAR
)
CREATE TABLE tryout (
cName VARCHAR,
pPos VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the states of the colleges that have students in the tryout who played in striker po... | SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'striker' |
### Instruction:
CREATE TABLE table_name_9 (
sno INTEGER,
state VARCHAR,
completion_schedule VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the completion schedule is 2016 for the state of jammu & kashmir, what is the smallest S.no.?
### Response:... | SELECT MIN(sno) FROM table_name_9 WHERE state = "jammu & kashmir" AND completion_schedule = "2016" |
### Instruction:
CREATE TABLE table_44630 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Money ( $ ), when Player is Greg Norman?
### Response:
| SELECT "Money ( $ )" FROM table_44630 WHERE "Player" = 'greg norman' |
### Instruction:
CREATE TABLE table_1825751_14 (
year VARCHAR,
pageant VARCHAR,
delegate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years was the pageant miss globe international and delegate was karen loren medrano agustin?
### Response:
| SELECT COUNT(year) FROM table_1825751_14 WHERE pageant = "Miss Globe International" AND delegate = "Karen Loren Medrano Agustin" |
### Instruction:
CREATE TABLE table_48489 (
"Date" text,
"Opponent#" text,
"Site" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What opponent had an attendance of 63,659?
### Response:
| SELECT "Opponent#" FROM table_48489 WHERE "Attendance" = '63,659' |
### Instruction:
CREATE TABLE table_28240 (
"NSG Nr." real,
"Name of the nature reserve" text,
"District / Town" text,
"Area (ha)" text,
"Date established" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many names does nature reserve 54 have?
... | SELECT COUNT("Name of the nature reserve") FROM table_28240 WHERE "NSG Nr." = '54' |
### Instruction:
CREATE TABLE table_20274 (
"Name" text,
"Overs Bowled" text,
"Maidens" real,
"Runs Conceded" real,
"Wickets" real,
"Extras" real,
"E.R." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most runs conceded
### Respon... | SELECT MAX("Runs Conceded") FROM table_20274 |
### Instruction:
CREATE TABLE table_63200 (
"Year" real,
"Song" text,
"Artist" text,
"Genre" text,
"Band Tour Venue" text,
"Exportable?" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What song was made by the sex pistols?
### Response:
| SELECT "Song" FROM table_63200 WHERE "Artist" = 'sex pistols' |
### Instruction:
CREATE TABLE table_67106 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the visiting team for stadium of ralph wilson stadium
### Response:
| SELECT "Visiting Team" FROM table_67106 WHERE "Stadium" = 'ralph wilson stadium' |
### Instruction:
CREATE TABLE table_203_300 (
id number,
"year" number,
"tournament" text,
"venue" text,
"result" text,
"extra" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many summer olympics has yelena slesarenko participated in ?
###... | SELECT COUNT(*) FROM table_203_300 WHERE "tournament" = 'summer olympics' |
### Instruction:
CREATE TABLE table_12480 (
"Name" text,
"Pos." text,
"Height" text,
"Weight" text,
"Date of Birth" text,
"Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has a Height of head coach: tam s farag ?
### Response:
| SELECT "Name" FROM table_12480 WHERE "Height" = 'head coach: tamás faragó' |
### Instruction:
CREATE TABLE table_name_56 (
week_3_sept_14 VARCHAR,
week_7_oct_12 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the week 3 opponent for the year that had a week 7 opponent of Georgia (5-1)?
### Response:
| SELECT week_3_sept_14 FROM table_name_56 WHERE week_7_oct_12 = "georgia (5-1)" |
### Instruction:
CREATE TABLE table_69481 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which class's call sign is wokg?
### Response:
| SELECT "Class" FROM table_69481 WHERE "Call sign" = 'wokg' |
### Instruction:
CREATE TABLE table_49127 (
"Team" text,
"City" text,
"State/Province" text,
"League" text,
"Est." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which mlb team is located in maryland?
### Response:
| SELECT "Team" FROM table_49127 WHERE "State/Province" = 'maryland' AND "League" = 'mlb' |
### Instruction:
CREATE TABLE table_5433 (
"Church name" text,
"Organized by" text,
"Date" text,
"Split off / Continuation of" text,
"Current status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which church was organized by George M. Hinkle?
##... | SELECT "Church name" FROM table_5433 WHERE "Organized by" = 'george m. hinkle' |
### Instruction:
CREATE TABLE table_77640 (
"Title" text,
"Year" real,
"Country" text,
"Directors" text,
"Music" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which music has the notes of AKA Africa Uncensored?
### Response:
| SELECT "Music" FROM table_77640 WHERE "Notes" = 'aka africa uncensored' |
### Instruction:
CREATE TABLE table_203_6 (
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.
-- what was the first date of the first... | SELECT "date" FROM table_203_6 ORDER BY id LIMIT 1 |
### Instruction:
CREATE TABLE table_76968 (
"Date" text,
"Opponent" text,
"Score" text,
"Result" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE OPPONENT WITH A SCORE OF 72-63?
### Response:
| SELECT "Opponent" FROM table_76968 WHERE "Score" = '72-63' |
### Instruction:
CREATE TABLE table_31661 (
"Date" text,
"Result" text,
"Opponent" text,
"Method" text,
"Round" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What resulted after 4 rounds with Ed Mahone?
### Response:
| SELECT "Result" FROM table_31661 WHERE "Round" > '4' AND "Opponent" = 'ed mahone' |
### Instruction:
CREATE TABLE table_36113 (
"Club" text,
"Founded" real,
"Homeground" text,
"Suburb" text,
"Seniors" text,
"Juniors" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did the Nerang Suburb get founded?
### Response:
| SELECT COUNT("Founded") FROM table_36113 WHERE "Suburb" = 'nerang' |
### Instruction:
CREATE TABLE table_47746 (
"Round" text,
"Team #1" text,
"Agg." text,
"Team #2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What round has Team #2 Gomel?
### Response:
| SELECT "Round" FROM table_47746 WHERE "Team #2" = 'gomel' |
### Instruction:
CREATE TABLE table_name_22 (
original_title VARCHAR,
director_s_ VARCHAR,
year VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the original title that was directed by Alain Resnais in France before 1986?
##... | SELECT original_title FROM table_name_22 WHERE year < 1986 AND country = "france" AND director_s_ = "alain resnais" |
### Instruction:
CREATE TABLE table_42798 (
"Name" text,
"Position" text,
"Number" real,
"Season" text,
"Acquisition via" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the player acquired via import and larger than 22?
### Res... | SELECT "Name" FROM table_42798 WHERE "Acquisition via" = 'import' AND "Number" > '22' |
### Instruction:
CREATE TABLE table_51197 (
"Year" real,
"Theme" text,
"Artist" text,
"Composition" text,
"Mintage" real,
"Issue Price" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the artist for the year of the snake?
### Response:
| SELECT "Artist" FROM table_51197 WHERE "Theme" = 'year of the snake' |
### Instruction:
CREATE TABLE table_24329 (
"Season" real,
"Episode" real,
"Episode Summary" text,
"Premier date" text,
"External Link" text,
"Coach" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the episode with maritza reveron
### Resp... | SELECT "Episode" FROM table_24329 WHERE "Coach" = 'Maritza Reveron' |
### Instruction:
CREATE TABLE table_204_538 (
id number,
"pos." number,
"driver" text,
"co-driver" text,
"car" text,
"time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many minutes below giandomenico basso did luca betti finish ?
### Re... | SELECT "time" FROM table_204_538 WHERE "driver" = 'luca betti' |
### Instruction:
CREATE TABLE table_61562 (
"Election" real,
"1st Member" text,
"1st Party" text,
"2nd Member" text,
"2nd Party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is all the total election that has conservative as 2nd party?
### ... | SELECT SUM("Election") FROM table_61562 WHERE "2nd Party" = 'conservative' |
### Instruction:
CREATE TABLE table_49830 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Time/Retired has a Rider of daijiro kato?
### Response:
| SELECT "Time/Retired" FROM table_49830 WHERE "Rider" = 'daijiro kato' |
### Instruction:
CREATE TABLE table_name_62 (
rank_by_average INTEGER,
competition_finish VARCHAR,
number_of_dances VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least rank by average for number of dances less than 9 and competition finish of 5... | SELECT MIN(rank_by_average) FROM table_name_62 WHERE competition_finish = 5 AND number_of_dances < 9 |
### Instruction:
CREATE TABLE table_16573 (
"Character" text,
"Portrayed by" text,
"First appearance" text,
"Last appearance" text,
"Duration" text,
"Episodes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the duration of Robert Joy's ... | SELECT COUNT("Duration") FROM table_16573 WHERE "Portrayed by" = 'Robert Joy' |
### Instruction:
CREATE TABLE table_29494 (
"Club" text,
"Location" text,
"Ground" text,
"Manager" text,
"Titles" real,
"Last title" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is the team that is managed by richard barnwell from?
###... | SELECT "Location" FROM table_29494 WHERE "Manager" = 'Richard Barnwell' |
### Instruction:
CREATE TABLE table_70804 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance of the game that had a loss of Wolf (3-4)?
### Response:
| SELECT "Attendance" FROM table_70804 WHERE "Loss" = 'wolf (3-4)' |
### Instruction:
CREATE TABLE table_24089503_1 (
kentucky_oaks VARCHAR,
belmont_stakes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Kentucky Oaks attendance the year the Belmont Stakes had 64,949 attendance?
### Response:
| SELECT kentucky_oaks FROM table_24089503_1 WHERE belmont_stakes = "64,949" |
### Instruction:
CREATE TABLE table_8158 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 2nd leg has a 1st leg of 2 0?
### Response:
| SELECT "2nd leg" FROM table_8158 WHERE "1st leg" = '2–0' |
### Instruction:
CREATE TABLE table_62018 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Week was the Record 4 7 1?
### Response:
| SELECT MIN("Week") FROM table_62018 WHERE "Record" = '4–7–1' |
### Instruction:
CREATE TABLE table_54210 (
"Player" text,
"Nationality" text,
"Position" text,
"Years for Jazz" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The Utah Jazz Player from UTEP was what nationality?
### Respo... | SELECT "Nationality" FROM table_54210 WHERE "School/Club Team" = 'utep' |
### Instruction:
CREATE TABLE table_18173916_8 (
friday VARCHAR,
tuesday VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which episode was Transmitted on friday if the episode of '414 insanely twisted shadow planet' was transmitted on tuesday?
### Response:... | SELECT friday FROM table_18173916_8 WHERE tuesday = "414 Insanely Twisted Shadow Planet" |
### Instruction:
CREATE TABLE table_203_576 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which nation earned only one silver medal ?
##... | SELECT "nation" FROM table_203_576 WHERE "silver" = 1 |
### Instruction:
CREATE TABLE table_13049 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team 2 has lokomotiva as team 1?
### Response:
| SELECT "Team 2" FROM table_13049 WHERE "Team 1" = 'lokomotiva' |
### Instruction:
CREATE TABLE table_11694832_1 (
us_viewers__millions_ VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many millions of U.S. viewers watched the show with a production code of 3T5769?
### Response:
| SELECT us_viewers__millions_ FROM table_11694832_1 WHERE production_code = "3T5769" |
### Instruction:
CREATE TABLE table_name_70 (
label VARCHAR,
date VARCHAR,
catalogue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Label for Date of 14 November 2003, and Catalogue tojp 60121-22?
### Response:
| SELECT label FROM table_name_70 WHERE date = "14 november 2003" AND catalogue = "tojp 60121-22" |
### Instruction:
CREATE TABLE table_51718 (
"Player" text,
"Height" text,
"School" text,
"Hometown" text,
"College" text,
"NBA Draft" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Player(s) have a Height of 6-3?
### Response:
| SELECT "Player" FROM table_51718 WHERE "Height" = '6-3' |
### Instruction:
CREATE TABLE table_name_48 (
institution VARCHAR,
nickname VARCHAR,
classification VARCHAR,
current_conference VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What institution is a NCAA Division i school and part of the NEC conference... | SELECT institution FROM table_name_48 WHERE classification = "ncaa division i" AND current_conference = "nec" AND nickname = "blue devils" |
### Instruction:
CREATE TABLE table_51430 (
"Player" text,
"Height" text,
"School" text,
"Hometown" text,
"College" text,
"NBA Draft" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school did samardo samuels go to?
### Response:
| SELECT "School" FROM table_51430 WHERE "Player" = 'samardo samuels' |
### Instruction:
CREATE TABLE table_6139 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the team 2 with a team 1 us gor e?
### Response:
| SELECT "Team 2" FROM table_6139 WHERE "Team 1" = 'us gorée' |
### Instruction:
CREATE TABLE table_name_61 (
points VARCHAR,
lost VARCHAR,
division VARCHAR,
league_pos VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of points for the conference division, a league position of 9th, and a lo... | SELECT COUNT(points) FROM table_name_61 WHERE division = "conference" AND league_pos = "9th" AND lost < 13 |
### Instruction:
CREATE TABLE table_12881 (
"Season" text,
"Level" text,
"Goals" text,
"Points" real,
"Domestic Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What season has a Level of 2nd, 29 points?
### Response:
| SELECT "Season" FROM table_12881 WHERE "Level" = '2nd' AND "Points" = '29' |
### Instruction:
CREATE TABLE PersonFriend (
name varchar(20),
friend varchar(20),
year INTEGER
)
CREATE TABLE Person (
name varchar(20),
age INTEGER,
city TEXT,
gender TEXT,
job TEXT
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- A bar char... | SELECT job, AVG(age) FROM Person GROUP BY job |
### Instruction:
CREATE TABLE table_28068063_3 (
proceed_to_quarter_final VARCHAR,
eliminated_from_competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who proceeded to the quarter final when the london irish were eliminated from competition?
### Res... | SELECT proceed_to_quarter_final FROM table_28068063_3 WHERE eliminated_from_competition = "London Irish" |
### Instruction:
CREATE TABLE table_name_19 (
civilian_deaths VARCHAR,
total_deaths__not_including_foreigners_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many civilians died in the conflict that left 178, excluding foreigners, dead?
### Response:
| SELECT civilian_deaths FROM table_name_19 WHERE total_deaths__not_including_foreigners_ = "178" |
### Instruction:
CREATE TABLE table_48434 (
"Season" text,
"GP\u2013GS" text,
"Yards" text,
"Long" text,
"Avg/G" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Long has redshirt for its Avg/G?
### Response:
| SELECT "Long" FROM table_48434 WHERE "Avg/G" = 'redshirt' |
### Instruction:
CREATE TABLE table_55246 (
"Year" text,
"President" text,
"Vice President" text,
"Gen.-Secretary" text,
"Treasurer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which year has a Gen.-Secretary of silvana jansen?
### Response:
| SELECT "Year" FROM table_55246 WHERE "Gen.-Secretary" = 'silvana jansen' |
### Instruction:
CREATE TABLE table_204_383 (
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 nations only took one medal ?
### Res... | SELECT COUNT("nation") FROM table_204_383 WHERE "total" = 1 |
### Instruction:
CREATE TABLE table_201_24 (
id number,
"episode number" number,
"original airdate" text,
"title" text,
"disc" number,
"description" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many episodes had their original airdate in f... | SELECT COUNT("episode number") FROM table_201_24 WHERE "original airdate" = 2 |
### Instruction:
CREATE TABLE table_8542 (
"Tournament" text,
"Surface" text,
"Week" text,
"Winner and score" text,
"Finalist" text,
"Semifinalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Surface has a Week of march 1?
### Respon... | SELECT "Surface" FROM table_8542 WHERE "Week" = 'march 1' |
### Instruction:
CREATE TABLE table_45484 (
"Year" real,
"Australian Open" text,
"French Open" text,
"Wimbledon" text,
"US Open" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of years Andy Murray was at Wimbledon?
### Res... | SELECT COUNT("Year") FROM table_45484 WHERE "Wimbledon" = 'andy murray' |
### Instruction:
CREATE TABLE table_31943 (
"Goal" real,
"Date" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the date for 2010 fifa world cup qualification
### Response:
| SELECT "Date" FROM table_31943 WHERE "Competition" = '2010 fifa world cup qualification' |
### Instruction:
CREATE TABLE table_24169 (
"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 episode have 8.4 millions viewer.
### Response:
| SELECT COUNT("Episode") FROM table_24169 WHERE "Viewers (in millions)" = '8.4' |
### Instruction:
CREATE TABLE table_19361 (
"Number" real,
"Name of administrative unit" text,
"Telephone (052)" text,
"Area (km 2 )" text,
"Population (people)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of administrative unit f... | SELECT "Name of administrative unit" FROM table_19361 WHERE "Number" = '4' |
### Instruction:
CREATE TABLE table_19834691_4 (
viewers__millions_ VARCHAR,
audience_share_in_timeslot VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of viewers for audience share in timeslot for 10.2%
### Response:
| SELECT COUNT(viewers__millions_) FROM table_19834691_4 WHERE audience_share_in_timeslot = "10.2%" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.