instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_31763 (
"Draw" real,
"Artist" text,
"Song" text,
"Place" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the aggregate of place for points being 35?
### Response:
|
SELECT SUM("Place") FROM table_31763 WHERE "Points" = '35'
|
### Instruction:
CREATE TABLE station (
id VARCHAR,
city VARCHAR
)
CREATE TABLE trip (
end_station_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Count the number of trips that did not end in San Francisco city.
### Response:
|
SELECT COUNT(*) FROM trip AS T1 JOIN station AS T2 ON T1.end_station_id = T2.id WHERE T2.city <> "San Francisco"
|
### Instruction:
CREATE TABLE table_70941 (
"Round" real,
"Name" text,
"Position" text,
"School" text,
"Signed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What round was Bob Randall selected in?
### Response:
|
SELECT MAX("Round") FROM table_70941 WHERE "Name" = 'bob randall'
|
### Instruction:
CREATE TABLE table_38925 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Save" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Save is on June 15?
### Response:
|
SELECT "Save" FROM table_38925 WHERE "Date" = 'june 15'
|
### Instruction:
CREATE TABLE table_2501754_3 (
prod_code VARCHAR,
viewing_figures_millions VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the production code for the episode had 5.55 million viewers?
### Response:
|
SELECT prod_code FROM table_2501754_3 WHERE viewing_figures_millions = "5.55"
|
### Instruction:
CREATE TABLE table_11147852_1 (
owned_since VARCHAR,
city_of_license_market VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The station located in Albuquerque has been owned since what year?
### Response:
|
SELECT owned_since FROM table_11147852_1 WHERE city_of_license_market = "Albuquerque"
|
### Instruction:
CREATE TABLE table_18108 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest first elected?
### Response:
|
SELECT MIN("First elected") FROM table_18108
|
### Instruction:
CREATE TABLE table_name_41 (
winner VARCHAR,
pole_position VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Winner, when Pole Position is Ben Spies, and when Date is Elkhart Lake, Wisconsin?
### Response:
|
SELECT winner FROM table_name_41 WHERE pole_position = "ben spies" AND date = "elkhart lake, wisconsin"
|
### Instruction:
CREATE TABLE table_78346 (
"Name" text,
"Builder" text,
"Wheel arrangement" text,
"Works Number" real,
"Built" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the work number for Victor?
### Response:
|
SELECT "Works Number" FROM table_78346 WHERE "Name" = 'victor'
|
### Instruction:
CREATE TABLE table_47178 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the place of the player who scored less than 70?
### Response:
|
SELECT "Place" FROM table_47178 WHERE "Score" < '70'
|
### Instruction:
CREATE TABLE table_name_54 (
october INTEGER,
record VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest date in october for a game number larger than 8 with a record of 4-4-0?
### Response:
|
SELECT MAX(october) FROM table_name_54 WHERE record = "4-4-0" AND game > 8
|
### Instruction:
CREATE TABLE table_name_51 (
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the to par number with a score of 67-66-71-71=275?
### Response:
|
SELECT to_par FROM table_name_51 WHERE score = 67 - 66 - 71 - 71 = 275
|
### Instruction:
CREATE TABLE table_16401 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many fb players were drafted?
### Response:
|
SELECT COUNT("Pick #") FROM table_16401 WHERE "Position" = 'FB'
|
### Instruction:
CREATE TABLE table_16075179_6 (
date_of_appointment VARCHAR,
outgoing_manager VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the date of appointment for the manager replacing Wim Jansen?
### Response:
|
SELECT date_of_appointment FROM table_16075179_6 WHERE outgoing_manager = "Wim Jansen"
|
### Instruction:
CREATE TABLE table_name_42 (
bowling_figures_wickets_runs__overs_ VARCHAR,
bowler VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were GD Mcgrath's bowling figures?
### Response:
|
SELECT bowling_figures_wickets_runs__overs_ FROM table_name_42 WHERE bowler = "gd mcgrath"
|
### Instruction:
CREATE TABLE table_2781227_4 (
college_junior_club_team VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For player is adam wiesel mention all the college/junior/club team
### Response:
|
SELECT college_junior_club_team FROM table_2781227_4 WHERE player = "Adam Wiesel"
|
### Instruction:
CREATE TABLE table_34835 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many scores have paul casey as a player?
### Response:
|
SELECT COUNT("Score") FROM table_34835 WHERE "Player" = 'paul casey'
|
### Instruction:
CREATE TABLE table_name_52 (
points VARCHAR,
year VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points does the year after 1986 with a AGS JH23B chassis have?
### Response:
|
SELECT points FROM table_name_52 WHERE year > 1986 AND chassis = "ags jh23b"
|
### Instruction:
CREATE TABLE table_16008 (
"Nomination" text,
"Actors Name" text,
"Film Name" text,
"Director" text,
"Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which actors are from Ukraine?
### Response:
|
SELECT "Actors Name" FROM table_16008 WHERE "Country" = 'Ukraine'
|
### Instruction:
CREATE TABLE table_51934 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the driver with the grid of 13?
### Response:
|
SELECT "Driver" FROM table_51934 WHERE "Grid" = '13'
|
### Instruction:
CREATE TABLE table_2226817_6 (
no_in_season INTEGER,
no_in_series VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the season number of the episode with series number 84?
### Response:
|
SELECT MIN(no_in_season) FROM table_2226817_6 WHERE no_in_series = 84
|
### Instruction:
CREATE TABLE table_45108 (
"Type" text,
"Name" text,
"Title" text,
"Royal house" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What title did Mentuhotep IV have?
### Response:
|
SELECT "Title" FROM table_45108 WHERE "Name" = 'mentuhotep iv'
|
### Instruction:
CREATE TABLE table_14460 (
"Year active" text,
"Title" text,
"Role" text,
"Medium" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the role of Rachel active in TV?
### Response:
|
SELECT "Year active" FROM table_14460 WHERE "Role" = 'rachel'
|
### Instruction:
CREATE TABLE table_43468 (
"Index" text,
"Name" text,
"Song" text,
"Group Song" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Group Song of Shine ?
### Response:
|
SELECT "Group Song" FROM table_43468 WHERE "Name" = 'shine 王幸儿'
|
### Instruction:
CREATE TABLE table_55042 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record as of September 1?
### Response:
|
SELECT "Record" FROM table_55042 WHERE "Date" = 'september 1'
|
### Instruction:
CREATE TABLE table_name_8 (
first_season INTEGER,
city VARCHAR,
capacity VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the smallest season for Montreal that's greater than 5,100 for capacity?
### Response:
|
SELECT MIN(first_season) FROM table_name_8 WHERE city = "montreal" AND capacity > 5 OFFSET 100
|
### Instruction:
CREATE TABLE table_21926985_2 (
state_rank_by_revenue VARCHAR,
known_for VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank of the company known for retailing?
### Response:
|
SELECT COUNT(state_rank_by_revenue) FROM table_21926985_2 WHERE known_for = "Retailing"
|
### Instruction:
CREATE TABLE table_name_88 (
games INTEGER,
name VARCHAR,
assists VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the mean number of games for pablo prigioni when there are more than 14 assists?
### Response:
|
SELECT AVG(games) FROM table_name_88 WHERE name = "pablo prigioni" AND assists > 14
|
### Instruction:
CREATE TABLE table_name_70 (
population INTEGER,
density VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHat is the number of Population has a Density of 50.09 and a Rank larger than 30?
### Response:
|
SELECT SUM(population) FROM table_name_70 WHERE density = 50.09 AND rank > 30
|
### Instruction:
CREATE TABLE table_74614 (
"Player" text,
"Nationality" text,
"Position" text,
"From" text,
"School/Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position was for Arizona State?
### Response:
|
SELECT "Position" FROM table_74614 WHERE "School/Country" = 'arizona state'
|
### Instruction:
CREATE TABLE table_61368 (
"Number" real,
"Time" real,
"Aircraft" text,
"Opponent" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is number 21's highest time?
### Response:
|
SELECT MAX("Time") FROM table_61368 WHERE "Number" = '21'
|
### Instruction:
CREATE TABLE table_63810 (
"Title" text,
"Author" text,
"First Issue" text,
"Last Issue" text,
"Completed?" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the First Issue date of Soul Eater?
### Response:
|
SELECT "First Issue" FROM table_63810 WHERE "Title" = 'soul eater'
|
### Instruction:
CREATE TABLE table_16025095_1 (
attendance INTEGER,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the minimum crowd on January 24, 1987?
### Response:
|
SELECT MIN(attendance) FROM table_16025095_1 WHERE date = "January 24, 1987"
|
### Instruction:
CREATE TABLE table_name_51 (
silver VARCHAR,
rank VARCHAR,
total VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Silver, when Total is greater than 4, when Bronze is 2, and when Rank is greater than 1?
### Response:
|
SELECT silver FROM table_name_51 WHERE total > 4 AND bronze = "2" AND rank > 1
|
### Instruction:
CREATE TABLE table_name_89 (
film_title_used_in_nomination VARCHAR,
director VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the film title used in nomination for the film directed by Gheorghe Vitanidis?
### Response:
|
SELECT film_title_used_in_nomination FROM table_name_89 WHERE director = "gheorghe vitanidis"
|
### Instruction:
CREATE TABLE table_77689 (
"Player" text,
"Shoots" text,
"Acquired" real,
"Place of Birth" text,
"Joined from" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who acquired tom norton?
### Response:
|
SELECT "Acquired" FROM table_77689 WHERE "Player" = 'tom norton'
|
### Instruction:
CREATE TABLE table_name_83 (
grid VARCHAR,
time VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many grids were there races with more than 10 laps and a time of +34.121?
### Response:
|
SELECT COUNT(grid) FROM table_name_83 WHERE time = "+34.121" AND laps > 10
|
### Instruction:
CREATE TABLE table_1315616_1 (
kōhaku__number VARCHAR,
red_team_host VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what number k haku was the red team host Peggy Hayama?
### Response:
|
SELECT kōhaku__number FROM table_1315616_1 WHERE red_team_host = "Peggy Hayama"
|
### Instruction:
CREATE TABLE table_name_72 (
spike INTEGER,
weight VARCHAR,
block VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Spike when the Weight was more than 84, and Block was less than 315?
### Response:
|
SELECT SUM(spike) FROM table_name_72 WHERE weight > 84 AND block < 315
|
### Instruction:
CREATE TABLE table_62968 (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Author's Company is Ruth Kanner Theatre Group?
### Response:
|
SELECT "author" FROM table_62968 WHERE "company" = 'ruth kanner theatre group'
|
### Instruction:
CREATE TABLE table_1205598_1 (
nhl_team_s_ VARCHAR,
metropolitan_area VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many NHL teams are there in the Phoenix, Arizona area?
### Response:
|
SELECT COUNT(nhl_team_s_) FROM table_1205598_1 WHERE metropolitan_area = "Phoenix, Arizona"
|
### Instruction:
CREATE TABLE table_name_64 (
year INTEGER,
result VARCHAR,
world_rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Year has a Result smaller than 20.31, and a World Rank of 5th?
### Response:
|
SELECT AVG(year) FROM table_name_64 WHERE result < 20.31 AND world_rank = "5th"
|
### Instruction:
CREATE TABLE table_name_46 (
date VARCHAR,
year VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date, when the Year is after 1978, and when the Location is Memorial Stadium (Baltimore)?
### Response:
|
SELECT date FROM table_name_46 WHERE year > 1978 AND location = "memorial stadium (baltimore)"
|
### Instruction:
CREATE TABLE table_60435 (
"Symbol" text,
"Prefix" text,
"SI Meaning" text,
"Binary meaning" text,
"Size difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What;s the SI Meaning for symbol m?
### Response:
|
SELECT "SI Meaning" FROM table_60435 WHERE "Symbol" = 'm'
|
### Instruction:
CREATE TABLE table_2226343_1 (
laps VARCHAR,
average_speed__mph_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps have an average speed of 141.911?
### Response:
|
SELECT laps FROM table_2226343_1 WHERE average_speed__mph_ = "141.911"
|
### Instruction:
CREATE TABLE table_11406866_2 (
opponent VARCHAR,
tv VARCHAR,
game_site VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the opponent where tv is abc and game site is tampa stadium
### Response:
|
SELECT opponent FROM table_11406866_2 WHERE tv = "ABC" AND game_site = "Tampa Stadium"
|
### Instruction:
CREATE TABLE table_name_54 (
opponent VARCHAR,
res VARCHAR,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the fight against when loss was the result at the Gladiator Challenge 87: Collision Course event?
### Response:
|
SELECT opponent FROM table_name_54 WHERE res = "loss" AND event = "gladiator challenge 87: collision course"
|
### Instruction:
CREATE TABLE table_10644 (
"Tournament" text,
"Winner" text,
"Runner-up" text,
"Score" text,
"Third Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the winner for majorca
### Response:
|
SELECT "Winner" FROM table_10644 WHERE "Tournament" = 'majorca'
|
### Instruction:
CREATE TABLE table_name_37 (
round VARCHAR,
venue VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the round at St. Mirren Park with more than 4,555 people attending?
### Response:
|
SELECT round FROM table_name_37 WHERE venue = "st. mirren park" AND attendance > 4 OFFSET 555
|
### Instruction:
CREATE TABLE table_65741 (
"Original NFL team" text,
"Player" text,
"Pos." text,
"College" text,
"Conf." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Original NFL team of the CB Player?
### Response:
|
SELECT "Original NFL team" FROM table_65741 WHERE "Pos." = 'cb'
|
### Instruction:
CREATE TABLE table_204_966 (
id number,
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what format did france use ?
### Response:
|
SELECT "format" FROM table_204_966 WHERE "region" = 'france'
|
### Instruction:
CREATE TABLE table_name_19 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1988 result that has a 1994 result of A, and 3r as the 1987 result?
### Response:
|
SELECT 1988 FROM table_name_19 WHERE 1994 = "a" AND 1987 = "3r"
|
### Instruction:
CREATE TABLE table_204_423 (
id number,
"name" text,
"location" text,
"city" text,
"listing date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many historic sites are listed in coldwater ?
### Response:
|
SELECT COUNT("name") FROM table_204_423 WHERE "city" = 'coldwater'
|
### Instruction:
CREATE TABLE table_2588674_1 (
pop_density INTEGER,
village VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the population density of mongmong-toto-maite?
### Response:
|
SELECT MIN(pop_density) FROM table_2588674_1 WHERE village = "Mongmong-Toto-Maite"
|
### Instruction:
CREATE TABLE table_name_2 (
release_date VARCHAR,
developer_s_ VARCHAR,
type VARCHAR,
genre VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did Riot Games release their 3D MOBA game?
### Response:
|
SELECT release_date FROM table_name_2 WHERE type = "3d" AND genre = "moba" AND developer_s_ = "riot games"
|
### Instruction:
CREATE TABLE table_name_67 (
played INTEGER,
team VARCHAR,
place VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the sum of played for c.d. luis ngel firpo and place more than 3
### Response:
|
SELECT SUM(played) FROM table_name_67 WHERE team = "c.d. luis ángel firpo" AND place > 3
|
### Instruction:
CREATE TABLE table_203_509 (
id number,
"year" number,
"laetare medalist" text,
"position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are the total number of times soldier is listed as the position on this chart ?
### Response:
|
SELECT COUNT(*) FROM table_203_509 WHERE "position" = 'soldier'
|
### Instruction:
CREATE TABLE table_34711 (
"Year" text,
"National Champion" text,
"Runner-Up" text,
"Location" text,
"Host" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Year was Rhode Island the National Champion?
### Response:
|
SELECT "Year" FROM table_34711 WHERE "National Champion" = 'rhode island'
|
### Instruction:
CREATE TABLE table_name_48 (
country VARCHAR,
to_par VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Country, when To Par is ' 2', and when Player is 'Tsuneyuki Nakajima'?
### Response:
|
SELECT country FROM table_name_48 WHERE to_par = "–2" AND player = "tsuneyuki nakajima"
|
### Instruction:
CREATE TABLE table_name_52 (
series__number INTEGER,
original_air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What series # had an original air date of november 30, 1996?
### Response:
|
SELECT MIN(series__number) FROM table_name_52 WHERE original_air_date = "november 30, 1996"
|
### Instruction:
CREATE TABLE table_40884 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What airport is in Sabha?
### Response:
|
SELECT "Airport" FROM table_40884 WHERE "City" = 'sabha'
|
### Instruction:
CREATE TABLE table_11275 (
"Year of award" real,
"Date(s)" text,
"Sport" text,
"Winner" text,
"Loser" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What losing team plays hockey?
### Response:
|
SELECT "Loser" FROM table_11275 WHERE "Sport" = 'hockey'
|
### Instruction:
CREATE TABLE table_2562572_44 (
population__2011_ VARCHAR,
settlement VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the population in 2011 of banatski karlovac?
### Response:
|
SELECT population__2011_ FROM table_2562572_44 WHERE settlement = "Banatski Karlovac"
|
### Instruction:
CREATE TABLE table_75351 (
"Date" text,
"Course" text,
"Distance" text,
"Type" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date with a winner of km (mi)?
### Response:
|
SELECT "Date" FROM table_75351 WHERE "Winner" = 'km (mi)'
|
### Instruction:
CREATE TABLE table_13761 (
"Score" text,
"Shooter" text,
"Date" text,
"Comp" text,
"Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the date the score was 379?
### Response:
|
SELECT "Date" FROM table_13761 WHERE "Score" = '379'
|
### Instruction:
CREATE TABLE table_name_45 (
laps INTEGER,
time VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the least Laps for grid larger than 2 with 35:26.734
### Response:
|
SELECT MIN(laps) FROM table_name_45 WHERE time = "35:26.734" AND grid > 2
|
### Instruction:
CREATE TABLE table_203_24 (
id number,
"date" text,
"home team" text,
"score" text,
"away team" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the average score of all home team members for all dates ?
### Response:
|
SELECT AVG("score") FROM table_203_24
|
### Instruction:
CREATE TABLE table_245801_1 (
launch_date VARCHAR,
crew VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the launch date for vladimir lyakhov , aleksandr pavlovich aleksandrov
### Response:
|
SELECT launch_date FROM table_245801_1 WHERE crew = "Vladimir Lyakhov , Aleksandr Pavlovich Aleksandrov"
|
### Instruction:
CREATE TABLE table_283203_1 (
location VARCHAR,
capacity VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is the team that has a stadium capable of a capacity of 10,517 5,006 located?
### Response:
|
SELECT location FROM table_283203_1 WHERE capacity = "10,517 5,006"
|
### Instruction:
CREATE TABLE table_name_84 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2006 that has a 2r in 2004, and a 2r in 2005?
### Response:
|
SELECT 2006 FROM table_name_84 WHERE 2004 = "2r" AND 2005 = "2r"
|
### Instruction:
CREATE TABLE table_32511 (
"Year" real,
"Game" text,
"Team" text,
"Runner-up" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team defeated the Capital City Giants?
### Response:
|
SELECT "Team" FROM table_32511 WHERE "Runner-up" = 'capital city giants'
|
### Instruction:
CREATE TABLE table_21269441_4 (
tournament_venue__city_ VARCHAR,
regular_season_winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the tourney when Weber State won the regular season?
### Response:
|
SELECT tournament_venue__city_ FROM table_21269441_4 WHERE regular_season_winner = "Weber State"
|
### Instruction:
CREATE TABLE table_22368322_2 (
date_of_report VARCHAR,
tier_1_ratio VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date of report for tier 1 ratio being 3.9%
### Response:
|
SELECT date_of_report FROM table_22368322_2 WHERE tier_1_ratio = "3.9%"
|
### Instruction:
CREATE TABLE table_77971 (
"Player" text,
"Team" text,
"Date" text,
"Opposition" text,
"Game" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What game did Eoin Holohan play in?
### Response:
|
SELECT "Game" FROM table_77971 WHERE "Player" = 'eoin holohan'
|
### Instruction:
CREATE TABLE table_name_32 (
points_against VARCHAR,
played VARCHAR,
club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points against did Carmarthen Athletic RFC have when they played 22 games ?
### Response:
|
SELECT points_against FROM table_name_32 WHERE played = "22" AND club = "carmarthen athletic rfc"
|
### Instruction:
CREATE TABLE table_76425 (
"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 Record on July 12?
### Response:
|
SELECT "Record" FROM table_76425 WHERE "Date" = 'july 12'
|
### Instruction:
CREATE TABLE table_66667 (
"Rank" real,
"Rowers" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Time of the Rowers in Rank 1?
### Response:
|
SELECT "Time" FROM table_66667 WHERE "Rank" = '1'
|
### Instruction:
CREATE TABLE table_25580292_13 (
aggressive_rider VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the aggressive rider when the winner was luis le n s nchez?
### Response:
|
SELECT aggressive_rider FROM table_25580292_13 WHERE winner = "Luis León Sánchez"
|
### Instruction:
CREATE TABLE table_18536769_1 (
owner VARCHAR,
branding VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When classic hits 102.1 cjcy is the branding who is the owner?
### Response:
|
SELECT owner FROM table_18536769_1 WHERE branding = "Classic Hits 102.1 CJCY"
|
### Instruction:
CREATE TABLE table_36953 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- that was held in 1964?
### Response:
|
SELECT "Event" FROM table_36953 WHERE "Year" = '1964'
|
### Instruction:
CREATE TABLE table_name_28 (
man_of_the_match VARCHAR,
venue VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Man of the Match when they played the Romford Raiders at home?
### Response:
|
SELECT man_of_the_match FROM table_name_28 WHERE venue = "home" AND opponent = "romford raiders"
|
### Instruction:
CREATE TABLE table_11964154_9 (
record VARCHAR,
location_attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the record where location attendance is keyarena 13,627
### Response:
|
SELECT record FROM table_11964154_9 WHERE location_attendance = "KeyArena 13,627"
|
### Instruction:
CREATE TABLE table_16729930_18 (
tdp VARCHAR,
release_price___usd__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For a release price of $72, what is the TDP of the microprocessor?
### Response:
|
SELECT tdp FROM table_16729930_18 WHERE release_price___usd__ = "$72"
|
### Instruction:
CREATE TABLE table_79449 (
"Year" real,
"Program" text,
"Role" text,
"Episode" text,
"First aired" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the roles of the Bionic Woman?
### Response:
|
SELECT "Role" FROM table_79449 WHERE "Program" = 'the bionic woman'
|
### Instruction:
CREATE TABLE swimmer (
name VARCHAR,
id VARCHAR
)
CREATE TABLE record (
swimmer_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the names of swimmers who has a result of 'win'.
### Response:
|
SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Win'
|
### Instruction:
CREATE TABLE table_name_54 (
_number___county VARCHAR,
enrollment VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the county of Eastern Pekin school with fewer than 774 enrolled?
### Response:
|
SELECT _number___county FROM table_name_54 WHERE enrollment < 774 AND school = "eastern pekin"
|
### Instruction:
CREATE TABLE instruments (
bandmateid VARCHAR
)
CREATE TABLE Band (
id VARCHAR,
lastname VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find all the instruments ever used by the musician with last name 'Heilo'?
### Response:
|
SELECT instrument FROM instruments AS T1 JOIN Band AS T2 ON T1.bandmateid = T2.id WHERE T2.lastname = "Heilo"
|
### Instruction:
CREATE TABLE table_name_78 (
grade VARCHAR,
jockey VARCHAR,
runner_up_winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What grade did jockey Robby Albarado get when racing with Ravens Pass?
### Response:
|
SELECT grade FROM table_name_78 WHERE jockey = "robby albarado" AND runner_up_winner = "ravens pass"
|
### Instruction:
CREATE TABLE table_70016 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalogue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which region has a date of 1970?
### Response:
|
SELECT "Region" FROM table_70016 WHERE "Date" = '1970'
|
### Instruction:
CREATE TABLE table_name_27 (
country VARCHAR,
series_premiere VARCHAR,
tv_network_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country has a series premier of unknown and mbc action as their TV network?
### Response:
|
SELECT country FROM table_name_27 WHERE series_premiere = "unknown" AND tv_network_s_ = "mbc action"
|
### Instruction:
CREATE TABLE table_name_46 (
region VARCHAR,
label VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What region has the label of alfa records and the date of January 23, 1987?
### Response:
|
SELECT region FROM table_name_46 WHERE label = "alfa records" AND date = "january 23, 1987"
|
### Instruction:
CREATE TABLE table_62989 (
"Title" text,
"Series" text,
"Director" text,
"Production Num." text,
"Release date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the director of Clean Pastures?
### Response:
|
SELECT "Director" FROM table_62989 WHERE "Title" = 'clean pastures'
|
### Instruction:
CREATE TABLE table_23177573_1 (
rank__week_ VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the week ranking of the episode written by Russel Friend & Garrett Lerner?
### Response:
|
SELECT rank__week_ FROM table_23177573_1 WHERE written_by = "Russel Friend & Garrett Lerner"
|
### Instruction:
CREATE TABLE table_11680175_1 (
bötzow VARCHAR,
vehlefanz VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the number for B tzow where Vehlefanz is 1.800?
### Response:
|
SELECT bötzow FROM table_11680175_1 WHERE vehlefanz = "1.800"
|
### Instruction:
CREATE TABLE table_name_88 (
to_par VARCHAR,
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the To par for t10 place and score of 72-71=143
### Response:
|
SELECT to_par FROM table_name_88 WHERE place = "t10" AND score = 72 - 71 = 143
|
### Instruction:
CREATE TABLE table_name_63 (
formula VARCHAR,
refractive_index_es__5893nm VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which formula has a refractive index 589.3 at 1.97?
### Response:
|
SELECT formula FROM table_name_63 WHERE refractive_index_es__5893nm = "1.97"
|
### Instruction:
CREATE TABLE table_name_65 (
year VARCHAR,
funny_car VARCHAR,
top_fuel VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which year did John Force win Funny Car and Mike Dunn win in Top Fuel?
### Response:
|
SELECT year FROM table_name_65 WHERE funny_car = "john force" AND top_fuel = "mike dunn"
|
### Instruction:
CREATE TABLE table_name_81 (
rank INTEGER,
publication VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Rank, when Publication is Dagsavisen, and when Year is less than 2005?
### Response:
|
SELECT MAX(rank) FROM table_name_81 WHERE publication = "dagsavisen" AND year < 2005
|
### Instruction:
CREATE TABLE table_name_45 (
presenter VARCHAR,
uk_broadcast_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the presenter of the episode broadcast in the UK on 1996-09-25?
### Response:
|
SELECT presenter FROM table_name_45 WHERE uk_broadcast_date = "1996-09-25"
|
### Instruction:
CREATE TABLE table_name_60 (
wins INTEGER,
average VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of wins for years after 1999 with averages over 73.02?
### Response:
|
SELECT MAX(wins) FROM table_name_60 WHERE average > 73.02 AND year > 1999
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.