instruction
stringlengths 231
6.3k
| output
stringlengths 2
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_60344 (
"Nationality" text,
"Position" text,
"Bolton Wanderers career" text,
"Apps" real,
"Total" real,
"Goals" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Bolton Wanderers career has 293 Apps?
### Response:
|
SELECT "Bolton Wanderers career" FROM table_60344 WHERE "Apps" = '293'
|
### Instruction:
CREATE TABLE table_52357 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalogue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which label had a Japan region and a date of November 3, 2004?
### Response:
|
SELECT "Label" FROM table_52357 WHERE "Region" = 'japan' AND "Date" = 'november 3, 2004'
|
### Instruction:
CREATE TABLE table_2350 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Boilermakers points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the game with the record of 3-1?
### Response:
|
SELECT "Result" FROM table_2350 WHERE "Record" = '3-1'
|
### Instruction:
CREATE TABLE table_5104 (
"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 Points have a Drawn smaller than 0?
### Response:
|
SELECT COUNT("Points") FROM table_5104 WHERE "Drawn" < '0'
|
### Instruction:
CREATE TABLE table_70358 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the match against Masahiro Oishi, what was the record?
### Response:
|
SELECT "Record" FROM table_70358 WHERE "Opponent" = 'masahiro oishi'
|
### Instruction:
CREATE TABLE table_50019 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the player in t8 place with a 75-71=146 score?
### Response:
|
SELECT "Player" FROM table_50019 WHERE "Place" = 't8' AND "Score" = '75-71=146'
|
### Instruction:
CREATE TABLE table_70210 (
"Grand Prix" text,
"Pole position" text,
"Fastest lap" text,
"Winning driver" text,
"Winning constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the winning constructor for abu dhabi grand prix
### Response:
|
SELECT "Winning constructor" FROM table_70210 WHERE "Grand Prix" = 'abu dhabi grand prix'
|
### Instruction:
CREATE TABLE table_19449 (
"Position" text,
"Number" real,
"Name" text,
"Height" text,
"Weight" text,
"Class" text,
"Hometown" text,
"Games\u2191" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are all names for the position FS?
### Response:
|
SELECT "Name" FROM table_19449 WHERE "Position" = 'FS'
|
### Instruction:
CREATE TABLE table_4581 (
"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.
-- On which date was the venue at Windy Hill?
### Response:
|
SELECT "Date" FROM table_4581 WHERE "Venue" = 'windy hill'
|
### Instruction:
CREATE TABLE table_57766 (
"Heat." real,
"Race Title" text,
"Circuit" text,
"Location / State" text,
"Date" text,
"Winner" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest heat of the Lakeside race?
### Response:
|
SELECT MIN("Heat.") FROM table_57766 WHERE "Race Title" = 'lakeside'
|
### Instruction:
CREATE TABLE table_40943 (
"Tournament" text,
"Wins" real,
"Top-5" real,
"Top-25" real,
"Events" real,
"Cuts made" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of top-25s for events with 0 wins?
### Response:
|
SELECT MAX("Top-25") FROM table_40943 WHERE "Wins" < '0'
|
### Instruction:
CREATE TABLE table_name_28 (
_percentage_of_1_rep_max_last_set_ VARCHAR,
set_4 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many % of 1 Rep Max(Last Set) has a Set 4 of 145lb x 5reps?
### Response:
|
SELECT _percentage_of_1_rep_max_last_set_ FROM table_name_28 WHERE set_4 = "145lb x 5reps"
|
### Instruction:
CREATE TABLE table_41950 (
"Year" real,
"Team" text,
"Co-Drivers" text,
"Class" text,
"Laps" real,
"Pos." text,
"Class Pos." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Team that has the Laps of 379?
### Response:
|
SELECT "Team" FROM table_41950 WHERE "Laps" = '379'
|
### Instruction:
CREATE TABLE table_67311 (
"Name" text,
"Party" text,
"Hometown" text,
"District" text,
"Term" text,
"Legislatures" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the hometown of the representative that served the twenty-sixth legislature?
### Response:
|
SELECT "Hometown" FROM table_67311 WHERE "Legislatures" = 'twenty-sixth'
|
### Instruction:
CREATE TABLE table_11860 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings( $ )" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the low rank for hale irwin with under 32 wins?
### Response:
|
SELECT MIN("Rank") FROM table_11860 WHERE "Player" = 'hale irwin' AND "Wins" < '32'
|
### Instruction:
CREATE TABLE table_37662 (
"Name" text,
"Period" text,
"Starts" real,
"Wins" real,
"Losses" real,
"Ties" real,
"Win %" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Losses have a Name of blair kiel?
### Response:
|
SELECT COUNT("Losses") FROM table_37662 WHERE "Name" = 'blair kiel'
|
### Instruction:
CREATE TABLE table_name_78 (
total VARCHAR,
set_1 VARCHAR,
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Total with a Score of 3 0, and a Date of 14 oct, and has a Set 1 of 15 12?
### Response:
|
SELECT total FROM table_name_78 WHERE score = "3β0" AND date = "14 oct" AND set_1 = "15β12"
|
### Instruction:
CREATE TABLE table_5697 (
"Model" text,
"Engine" text,
"Displacement" text,
"Power" text,
"Torque" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which engine had a 48kw (65 ps) @ 5600 rpm power?
### Response:
|
SELECT "Engine" FROM table_5697 WHERE "Power" = '48kw (65 ps) @ 5600 rpm'
|
### Instruction:
CREATE TABLE table_10236 (
"Date" text,
"Venue" text,
"Opponent" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location of the game that was friendly and resulted in 2-3?
### Response:
|
SELECT "Venue" FROM table_10236 WHERE "Competition" = 'friendly' AND "Result" = '2-3'
|
### Instruction:
CREATE TABLE table_10577579_2 (
enrollment INTEGER,
founded VARCHAR,
type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the enrollment for the institution that was founded in 1866 and is a private/(african methodist) type?
### Response:
|
SELECT MAX(enrollment) FROM table_10577579_2 WHERE founded = 1866 AND type = "Private/(African Methodist)"
|
### Instruction:
CREATE TABLE table_56520 (
"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.
-- On which date did Richmond play as an away team?
### Response:
|
SELECT "Date" FROM table_56520 WHERE "Away team" = 'richmond'
|
### Instruction:
CREATE TABLE table_71554 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Decile for a school with a roll smaller than 3?
### Response:
|
SELECT MIN("Decile") FROM table_71554 WHERE "Roll" < '3'
|
### Instruction:
CREATE TABLE table_name_9 (
locomotive VARCHAR,
built VARCHAR,
type VARCHAR,
entered_service VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which locomotive had a 2-8-2t type, entered service year prior to 1915, and which was built after 1911?
### Response:
|
SELECT locomotive FROM table_name_9 WHERE type = "2-8-2t" AND entered_service < 1915 AND built > 1911
|
### Instruction:
CREATE TABLE table_71033 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team was the opponent when there was a score of 5 4 (11)?
### Response:
|
SELECT "Opponent" FROM table_71033 WHERE "Score" = '5β4 (11)'
|
### Instruction:
CREATE TABLE table_34514 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Result of l 17 20 had what attendance?
### Response:
|
SELECT "Attendance" FROM table_34514 WHERE "Result" = 'l 17β20'
|
### Instruction:
CREATE TABLE table_23059 (
"Series #" real,
"Episode #" real,
"Title" text,
"Written by" text,
"Directed by" text,
"Viewers" real,
"Original airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title for the episode that written by Michael Miller?
### Response:
|
SELECT "Title" FROM table_23059 WHERE "Written by" = 'Michael Miller'
|
### Instruction:
CREATE TABLE table_16342 (
"Model" text,
"RU" real,
"Max processors" text,
"Processor frequency" text,
"Max memory" text,
"Max disk capacity" text,
"GA Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ga date of the t5120 model?
### Response:
|
SELECT "GA Date" FROM table_16342 WHERE "Model" = 'T5120'
|
### Instruction:
CREATE TABLE table_name_55 (
chassis VARCHAR,
points VARCHAR,
engine VARCHAR,
entrant VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the chassis of Officine Alfieri Maserati with a Maserati Straight-6 engine and fewer than 6 points?
### Response:
|
SELECT chassis FROM table_name_55 WHERE engine = "maserati straight-6" AND entrant = "officine alfieri maserati" AND points < 6
|
### Instruction:
CREATE TABLE table_68597 (
"Outcome" text,
"Year" real,
"Tournament" text,
"Partner" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score resulted in a winner after 2008?
### Response:
|
SELECT "Score" FROM table_68597 WHERE "Outcome" = 'winner' AND "Year" > '2008'
|
### Instruction:
CREATE TABLE table_5987 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Rank of 5, and a Silver larger than 0 had what sum of total?
### Response:
|
SELECT SUM("Total") FROM table_5987 WHERE "Rank" = '5' AND "Silver" > '0'
|
### Instruction:
CREATE TABLE table_22737 (
"Submitting country" text,
"Film title used in nomination" text,
"Original title" text,
"Language(s)" text,
"Director(s)" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the original title of the film submitted by Greece?
### Response:
|
SELECT "Original title" FROM table_22737 WHERE "Submitting country" = 'Greece'
|
### Instruction:
CREATE TABLE table_60065 (
"Team 1" text,
"Score" text,
"Team 2" text,
"1st round" text,
"2nd round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Score of the match with USL Dunkerque (d2) as Team 2?
### Response:
|
SELECT "Score" FROM table_60065 WHERE "Team 2" = 'usl dunkerque (d2)'
|
### Instruction:
CREATE TABLE table_69811 (
"Year" text,
"Men's singles" text,
"Men's doubles" text,
"Women's doubles" text,
"Mixed doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which year has a Men's doubles of marcus ellis peter mills?
### Response:
|
SELECT "Year" FROM table_69811 WHERE "Men's doubles" = 'marcus ellis peter mills'
|
### Instruction:
CREATE TABLE table_287659_2 (
region_name VARCHAR,
regional_page__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which region has a regional page # of 1-3, 5-7, 9-11, 13-15?
### Response:
|
SELECT region_name FROM table_287659_2 WHERE regional_page__number = "1-3, 5-7, 9-11, 13-15"
|
### Instruction:
CREATE TABLE table_62493 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player is from Scotland and has a score of 74-70=144?
### Response:
|
SELECT "Player" FROM table_62493 WHERE "Score" = '74-70=144' AND "Country" = 'scotland'
|
### Instruction:
CREATE TABLE table_name_10 (
doctorate INTEGER,
masters VARCHAR,
specialist VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of doctorates the college of informatics and systems, which has 0 specialists and less than 2 master's degrees, have?
### Response:
|
SELECT MAX(doctorate) FROM table_name_10 WHERE specialist = 0 AND college = "informatics and systems" AND masters < 2
|
### Instruction:
CREATE TABLE table_78175 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps for a grid larger than 1 with a Time/Retired of halfshaft?
### Response:
|
SELECT "Laps" FROM table_78175 WHERE "Grid" > '1' AND "Time/Retired" = 'halfshaft'
|
### Instruction:
CREATE TABLE table_28637 (
"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 couple had a vote percentage of 5.8%?
### Response:
|
SELECT "Couple" FROM table_28637 WHERE "Vote percentage" = '5.8%'
|
### Instruction:
CREATE TABLE table_name_68 (
erp_w VARCHAR,
frequency_mhz VARCHAR,
city_of_license VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ERP W of a Frequency MHz greater than 89.5 in the city of Washburn, Texas?
### Response:
|
SELECT erp_w FROM table_name_68 WHERE frequency_mhz > 89.5 AND city_of_license = "washburn, texas"
|
### Instruction:
CREATE TABLE table_73150 (
"#" real,
"Episode" text,
"UK air date" text,
"Timeslot" text,
"Viewers (millions)" text,
"Audience share in timeslot" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most number for viewers being 6.95
### Response:
|
SELECT MAX("#") FROM table_73150 WHERE "Viewers (millions)" = '6.95'
|
### Instruction:
CREATE TABLE table_28730459_3 (
league_goals VARCHAR,
league_matches VARCHAR,
tebe_career VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of league goals for players with 10 league matches and a TeBe career of 2003?
### Response:
|
SELECT league_goals FROM table_28730459_3 WHERE league_matches = 10 AND tebe_career = "2003"
|
### Instruction:
CREATE TABLE table_78592 (
"Year" text,
"Award" text,
"Category" text,
"Nominated" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was there a nomination for Best Actress at the Kids' Choice Awards Argentina?
### Response:
|
SELECT "Year" FROM table_78592 WHERE "Award" = 'kids'' choice awards argentina' AND "Category" = 'best actress'
|
### Instruction:
CREATE TABLE table_44424 (
"Total" real,
"Score" text,
"Winning Team" text,
"Losing Team" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which venue had a losing team of south sydney rabbitohs?
### Response:
|
SELECT "Venue" FROM table_44424 WHERE "Losing Team" = 'south sydney rabbitohs'
|
### Instruction:
CREATE TABLE table_57988 (
"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 played home team at Victoria Park?
### Response:
|
SELECT "Home team" FROM table_57988 WHERE "Venue" = 'victoria park'
|
### Instruction:
CREATE TABLE table_33750 (
"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 melbourne's home team score?
### Response:
|
SELECT "Home team score" FROM table_33750 WHERE "Home team" = 'melbourne'
|
### Instruction:
CREATE TABLE table_203_670 (
id number,
"pos" text,
"driver" text,
"entrant" text,
"constructor" text,
"time/retired" text,
"grid" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of drivers who did not finish the 8th glover trophy race ?
### Response:
|
SELECT COUNT("driver") FROM table_203_670 WHERE "pos" IS NULL
|
### Instruction:
CREATE TABLE table_15523 (
"Character" text,
"Original West End Cast" text,
"Original Broadway Cast" text,
"First UK Tour Cast" text,
"First US Tour Cast" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was in the Original West End Cast when the Original Broadway Cast was audrie neenan?
### Response:
|
SELECT "Original West End Cast" FROM table_15523 WHERE "Original Broadway Cast" = 'audrie neenan'
|
### Instruction:
CREATE TABLE table_203_366 (
id number,
"pos" number,
"class" text,
"no" number,
"team" text,
"drivers" text,
"chassis" text,
"engine" text,
"laps" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which team completed only two laps ?
### Response:
|
SELECT "team" FROM table_203_366 WHERE "laps" = 2
|
### Instruction:
CREATE TABLE table_name_8 (
engine VARCHAR,
year VARCHAR,
chassis VARCHAR,
entrant VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the engine with chassis of maserati 250f and entrant of luigi piotti with year less than 1957
### Response:
|
SELECT engine FROM table_name_8 WHERE chassis = "maserati 250f" AND entrant = "luigi piotti" AND year < 1957
|
### Instruction:
CREATE TABLE table_name_70 (
week INTEGER,
date VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest week that has September 19, 1965 as the date, with an attendance less than 46,941?
### Response:
|
SELECT MIN(week) FROM table_name_70 WHERE date = "september 19, 1965" AND attendance < 46 OFFSET 941
|
### Instruction:
CREATE TABLE table_52164 (
"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 was Melbourne's home team opponent?
### Response:
|
SELECT "Home team" FROM table_52164 WHERE "Away team" = 'melbourne'
|
### Instruction:
CREATE TABLE table_3303 (
"Season" real,
"Champion" text,
"Second" text,
"Third" text,
"Team Champion" text,
"National Trophy/Rookie" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the champion if the national trophy/rookie is not held?
### Response:
|
SELECT "Champion" FROM table_3303 WHERE "National Trophy/Rookie" = 'not held'
|
### Instruction:
CREATE TABLE table_4868 (
"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 venue featured essendon as home team?
### Response:
|
SELECT "Venue" FROM table_4868 WHERE "Home team" = 'essendon'
|
### Instruction:
CREATE TABLE table_64622 (
"Award" text,
"Category" text,
"Year" real,
"Title" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years have an Award of venice film festival, and a Title of lust, caution?
### Response:
|
SELECT COUNT("Year") FROM table_64622 WHERE "Award" = 'venice film festival' AND "Title" = 'lust, caution'
|
### Instruction:
CREATE TABLE table_56224 (
"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 was the away team at MCG?
### Response:
|
SELECT "Away team" FROM table_56224 WHERE "Venue" = 'mcg'
|
### Instruction:
CREATE TABLE table_20204 (
"Ecosystem" text,
"Date of issue" text,
"Place of issue" text,
"No. stamps in sheet" real,
"Face Value" text,
"Printer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which location has the ecosystem of kelp forest?
### Response:
|
SELECT "Place of issue" FROM table_20204 WHERE "Ecosystem" = 'Kelp Forest'
|
### Instruction:
CREATE TABLE table_41518 (
"Date" text,
"Cover model" text,
"Centerfold model" text,
"Interview subject" text,
"20 Questions" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Centerfold Model when the Cover Model was Julie Lynn Cialini?
### Response:
|
SELECT "Centerfold model" FROM table_41518 WHERE "Cover model" = 'julie lynn cialini'
|
### Instruction:
CREATE TABLE table_39735 (
"Rank" real,
"Country" text,
"UNWTO Region" text,
"International tourism expenditure (2012)" text,
"International tourism expenditure (2011)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Italy's UNWTO region?
### Response:
|
SELECT "UNWTO Region" FROM table_39735 WHERE "Country" = 'italy'
|
### Instruction:
CREATE TABLE table_45741 (
"Date" text,
"Venue" text,
"Opponent" text,
"Result" text,
"Tournament" text,
"Scored" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest scored with a result of 46-18?
### Response:
|
SELECT MIN("Scored") FROM table_45741 WHERE "Result" = '46-18'
|
### Instruction:
CREATE TABLE table_19370 (
"Team" text,
"Average" text,
"Points" real,
"Played" real,
"1986-87" text,
"1987-88" text,
"1988-89" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the maximum number of matches played by a team?
### Response:
|
SELECT MAX("Played") FROM table_19370
|
### Instruction:
CREATE TABLE table_37047 (
"Year" real,
"Class" text,
"Team" text,
"Points" real,
"Rank" text,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank associated with 0 wins and a 350cc class?
### Response:
|
SELECT "Rank" FROM table_37047 WHERE "Wins" = '0' AND "Class" = '350cc'
|
### Instruction:
CREATE TABLE table_2769 (
"No. in series" real,
"No. in season" 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.
-- If the episode was written by Tim Balme, what was the original air date?
### Response:
|
SELECT "Original air date" FROM table_2769 WHERE "Written by" = 'Tim Balme'
|
### Instruction:
CREATE TABLE table_58790 (
"Name" text,
"Tournaments" real,
"Pro Debut" text,
"Top division debut" text,
"Highest rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Tournaments, when Highest Rank is 'Maegashira 1'?
### Response:
|
SELECT AVG("Tournaments") FROM table_58790 WHERE "Highest rank" = 'maegashira 1'
|
### Instruction:
CREATE TABLE table_18292 (
"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's the first elected with incumbent being joseph d. early
### Response:
|
SELECT "First elected" FROM table_18292 WHERE "Incumbent" = 'Joseph D. Early'
|
### Instruction:
CREATE TABLE table_7181 (
"Television service" text,
"Country" text,
"Language" text,
"Content" text,
"HDTV" text,
"Package/Option" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is HDTV, when Television service is cartello promozionale sky hd?
### Response:
|
SELECT "HDTV" FROM table_7181 WHERE "Television service" = 'cartello promozionale sky hd'
|
### Instruction:
CREATE TABLE table_72807 (
"Name" text,
"Latitude" text,
"Longitude" text,
"Diameter (km)" text,
"Year named" real,
"Name origin" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- At a latitude of 67.5n, what is the diameter?
### Response:
|
SELECT "Diameter (km)" FROM table_72807 WHERE "Latitude" = '67.5N'
|
### Instruction:
CREATE TABLE table_4827 (
"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 was the away team at Victoria Park?
### Response:
|
SELECT "Away team" FROM table_4827 WHERE "Venue" = 'victoria park'
|
### Instruction:
CREATE TABLE table_8322 (
"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 manager of the Heart of Midlothian?
### Response:
|
SELECT "Outgoing manager" FROM table_8322 WHERE "Team" = 'heart of midlothian'
|
### Instruction:
CREATE TABLE table_name_84 (
goals INTEGER,
assists VARCHAR,
years VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of goals joe keenan, who has more than 1 assists, had in 2007/08?
### Response:
|
SELECT MIN(goals) FROM table_name_84 WHERE years = "2007/08" AND name = "joe keenan" AND assists > 1
|
### Instruction:
CREATE TABLE table_33242 (
"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 did Collingwood play at home?
### Response:
|
SELECT "Home team" FROM table_33242 WHERE "Away team" = 'collingwood'
|
### Instruction:
CREATE TABLE table_70648 (
"Player" text,
"Date" text,
"Original Team" text,
"Offer Team" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result of Chris Gratton and Philadelphia Flyers as the Offer Team?
### Response:
|
SELECT "Result" FROM table_70648 WHERE "Offer Team" = 'philadelphia flyers' AND "Player" = 'chris gratton'
|
### Instruction:
CREATE TABLE table_73110 (
"Girl group" text,
"Country" text,
"Sold (albums and singles)" text,
"Genre" text,
"Studio albums" real,
"Members" text,
"Years active" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What group had 29 studio albums?
### Response:
|
SELECT "Girl group" FROM table_73110 WHERE "Studio albums" = '29'
|
### Instruction:
CREATE TABLE table_47360 (
"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 is the result of the match with an attendance of 73,855?
### Response:
|
SELECT "Result" FROM table_47360 WHERE "Attendance" = '73,855'
|
### Instruction:
CREATE TABLE table_72965 (
"Round" real,
"Circuit" text,
"Date" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning Driver" text,
"Winning Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the winning team on the circuit Zolder?
### Response:
|
SELECT "Winning Team" FROM table_72965 WHERE "Circuit" = 'Zolder'
|
### Instruction:
CREATE TABLE table_75476 (
"Game" real,
"February" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many february games had a record of 29 24 9?
### Response:
|
SELECT AVG("February") FROM table_75476 WHERE "Record" = '29β24β9'
|
### Instruction:
CREATE TABLE table_57398 (
"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 silver for Germany and less than 2?
### Response:
|
SELECT AVG("Silver") FROM table_57398 WHERE "Nation" = 'germany' AND "Rank" < '2'
|
### Instruction:
CREATE TABLE table_65264 (
"Year" real,
"Category" text,
"Film" text,
"Result" text,
"Lost to" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the film when the year is earlier than 2002 and the category is outstanding actress?
### Response:
|
SELECT "Film" FROM table_65264 WHERE "Year" < '2002' AND "Category" = 'outstanding actress'
|
### Instruction:
CREATE TABLE table_52494 (
"Block A" text,
"BLACK BUSHI" text,
"BUSHI" text,
"Kaz Hayashi" text,
"Kenny Omega" text,
"Minoru" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the kaz hayashi for block A being bushi
### Response:
|
SELECT "Kaz Hayashi" FROM table_52494 WHERE "Block A" = 'bushi'
|
### Instruction:
CREATE TABLE table_80276 (
"Year" text,
"Team" text,
"Chassis" text,
"Engine" text,
"Rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which engine finished 7th with the reynard 95i chassis?
### Response:
|
SELECT "Engine" FROM table_80276 WHERE "Rank" = '7th' AND "Chassis" = 'reynard 95i'
|
### Instruction:
CREATE TABLE table_57738 (
"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.
-- How many points did North Melbourne score?
### Response:
|
SELECT "Home team score" FROM table_57738 WHERE "Home team" = 'north melbourne'
|
### Instruction:
CREATE TABLE table_202_117 (
id number,
"date" text,
"ship" text,
"nationality" text,
"tonnage" number,
"fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was sunk the most ?
### Response:
|
SELECT "nationality" FROM table_202_117 WHERE "fate" = 'sunk' GROUP BY "nationality" ORDER BY COUNT(*) DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_name_22 (
tries INTEGER,
conv VARCHAR,
start VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of tries that has a start larger than 32, is a player of seremaia bai that also has a conversion score larger than 47?
### Response:
|
SELECT AVG(tries) FROM table_name_22 WHERE start > 32 AND player = "seremaia bai" AND conv > 47
|
### Instruction:
CREATE TABLE table_name_31 (
round VARCHAR,
number_of_fixtures VARCHAR,
main_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Round when the number of fixtures is more than 2, and the Main date of 7 and 28 november 2007?
### Response:
|
SELECT round FROM table_name_31 WHERE number_of_fixtures > 2 AND main_date = "7 and 28 november 2007"
|
### Instruction:
CREATE TABLE table_14104 (
"Season" text,
"Division" text,
"Tms." text,
"Pos." text,
"PFF NMCC" text,
"UFL Cup" text,
"AFC PC" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Season has a UFL Cup of tbd?
### Response:
|
SELECT "Season" FROM table_14104 WHERE "UFL Cup" = 'tbd'
|
### Instruction:
CREATE TABLE table_57454 (
"Date" text,
"Tournament" text,
"Location" text,
"Purse( $ )" real,
"Winner" text,
"Score" text,
"1st Prize( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the winner of the comfort classic
### Response:
|
SELECT "Winner" FROM table_57454 WHERE "Tournament" = 'comfort classic'
|
### Instruction:
CREATE TABLE table_6477 (
"Games" real,
"Drawn" real,
"Lost" real,
"Points difference" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Games has Points larger than 0 and a Lost smaller than 4?
### Response:
|
SELECT COUNT("Games") FROM table_6477 WHERE "Points" > '0' AND "Lost" < '4' AND "Drawn" < '0'
|
### Instruction:
CREATE TABLE table_10733530_3 (
_percentage_growth__2000_2008_ VARCHAR,
nation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of percentage growth 2000-2008 of uganda?
### Response:
|
SELECT COUNT(_percentage_growth__2000_2008_) FROM table_10733530_3 WHERE nation = "Uganda"
|
### Instruction:
CREATE TABLE table_34697 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many were in attendance with a loss of Prokopec (2-7)?
### Response:
|
SELECT "Attendance" FROM table_34697 WHERE "Loss" = 'prokopec (2-7)'
|
### Instruction:
CREATE TABLE table_30470 (
"Date" text,
"Time" text,
"Visiting team" text,
"Home team" text,
"Site" text,
"Broadcast" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Connecticut home games were broadcast?
### Response:
|
SELECT COUNT("Broadcast") FROM table_30470 WHERE "Home team" = 'Connecticut'
|
### Instruction:
CREATE TABLE table_204_121 (
id number,
"year" text,
"game" text,
"developer" text,
"setting" text,
"platform" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what year was the last year in which the zx plaform was used in a business simulation video game ?
### Response:
|
SELECT MAX("year") FROM table_204_121 WHERE "platform" = 'zx'
|
### Instruction:
CREATE TABLE table_54676 (
"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.
-- On April 28, what was the average number of people attending?
### Response:
|
SELECT AVG("Attendance") FROM table_54676 WHERE "Date" = 'april 28'
|
### Instruction:
CREATE TABLE table_50314 (
"Rank" real,
"Title" text,
"Studio" text,
"Director" text,
"Gross" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Rank is the lowest one that has a Gross of $54,215,416?
### Response:
|
SELECT MIN("Rank") FROM table_50314 WHERE "Gross" = '$54,215,416'
|
### Instruction:
CREATE TABLE table_73180 (
"Date" text,
"Team #1" text,
"Res." text,
"Team #2" text,
"Competition" text,
"Attendance" real,
"Remarks" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the attendance 22000?
### Response:
|
SELECT "Date" FROM table_73180 WHERE "Attendance" = '22000'
|
### Instruction:
CREATE TABLE table_75681 (
"Name" text,
"State" text,
"Status" text,
"Title" text,
"Appointment" text,
"Credentials Presented" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What state has an appointment for jul 12, 2001?
### Response:
|
SELECT "State" FROM table_75681 WHERE "Appointment" = 'jul 12, 2001'
|
### Instruction:
CREATE TABLE table_67062 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How did Johnnie Parsons finish when his qualifying time was 135.328?
### Response:
|
SELECT "Rank" FROM table_67062 WHERE "Qual" = '135.328'
|
### Instruction:
CREATE TABLE table_6628 (
"Name" text,
"Country" text,
"Type" text,
"Moving from" text,
"Transfer window" text,
"Ends" text,
"Transfer fee" text,
"Source" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What transfer window has baptista as the name?
### Response:
|
SELECT "Transfer window" FROM table_6628 WHERE "Name" = 'baptista'
|
### Instruction:
CREATE TABLE table_30060 (
"Dates" text,
"Race Name" text,
"Location" text,
"UCI Rating" text,
"Winner" text,
"Team" text,
"Series Leader" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what location has team trek-livestrong?
### Response:
|
SELECT "Location" FROM table_30060 WHERE "Team" = 'Trek-Livestrong'
|
### Instruction:
CREATE TABLE table_203_634 (
id number,
"date" text,
"venue" text,
"score" text,
"victor" text,
"comments" text,
"match reports" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many matches were played at ballymore , brisbane ?
### Response:
|
SELECT COUNT(*) FROM table_203_634 WHERE "venue" = 'ballymore, brisbane'
|
### Instruction:
CREATE TABLE table_204_633 (
id number,
"launch date" text,
"operator" text,
"name" text,
"sample origin" text,
"samples returned" text,
"recovery date" text,
"mission result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what year was the first success ?
### Response:
|
SELECT MIN("launch date") FROM table_204_633 WHERE "mission result" = 'success'
|
### Instruction:
CREATE TABLE table_42092 (
"Office" text,
"Democratic ticket" text,
"Republican ticket" text,
"American Labor ticket" text,
"Socialist ticket" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which American Labor candidate is running against the Socialist candidate Herman J. Hahn?
### Response:
|
SELECT "American Labor ticket" FROM table_42092 WHERE "Socialist ticket" = 'herman j. hahn'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.