instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_43540 (
"Round" real,
"Race Name" text,
"Circuit" text,
"City/Location" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the circuit portland international raceway?
### Response:
|
SELECT "Date" FROM table_43540 WHERE "Circuit" = 'portland international raceway'
|
### Instruction:
CREATE TABLE manufacturers (
code number,
name text,
headquarter text,
founder text,
revenue number
)
CREATE TABLE products (
code number,
name text,
price number,
manufacturer number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the total revenue for each manufacturer.
### Response:
|
SELECT SUM(revenue), name FROM manufacturers GROUP BY name
|
### Instruction:
CREATE TABLE table_44659 (
"Nat." text,
"Name" text,
"Moving from" text,
"Type" text,
"Transfer window" text,
"Ends" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type is Gonz lez?
### Response:
|
SELECT "Type" FROM table_44659 WHERE "Name" = 'gonzález'
|
### Instruction:
CREATE TABLE table_8276 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the attendance when the home team is chester city?
### Response:
|
SELECT "Attendance" FROM table_8276 WHERE "Home team" = 'chester city'
|
### Instruction:
CREATE TABLE medication (
name VARCHAR,
brand VARCHAR,
code VARCHAR
)
CREATE TABLE prescribes (
medication VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the number of medications prescribed for each brand.
### Response:
|
SELECT COUNT(*), T1.name FROM medication AS T1 JOIN prescribes AS T2 ON T1.code = T2.medication GROUP BY T1.brand
|
### Instruction:
CREATE TABLE table_name_64 (
results¹ VARCHAR,
type_of_game VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result for the 1964 summer olympics on october 18?
### Response:
|
SELECT results¹ FROM table_name_64 WHERE type_of_game = "1964 summer olympics" AND date = "october 18"
|
### Instruction:
CREATE TABLE table_203_543 (
id number,
"year" text,
"show" text,
"role" text,
"channel" text,
"extra" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which two shows appeared on the zee network ?
### Response:
|
SELECT "show" FROM table_203_543 WHERE "channel" = 'zee network'
|
### Instruction:
CREATE TABLE table_45859 (
"Number" real,
"Artist" text,
"Album" text,
"Average score" real,
"Number of reviews" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest score for Black Milk?
### Response:
|
SELECT MAX("Average score") FROM table_45859 WHERE "Artist" = 'black milk'
|
### Instruction:
CREATE TABLE table_14856 (
"Game" real,
"Date" text,
"Score" text,
"Location" text,
"Time" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the score for 1:36 time
### Response:
|
SELECT "Score" FROM table_14856 WHERE "Time" = '1:36'
|
### Instruction:
CREATE TABLE table_name_77 (
result VARCHAR,
first_elected VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result for incumbent Joseph McKenna who was first elected in 1884?
### Response:
|
SELECT result FROM table_name_77 WHERE first_elected = "1884" AND incumbent = "joseph mckenna"
|
### Instruction:
CREATE TABLE table_32023 (
"Week #" real,
"Finalists" text,
"Status" text,
"Eliminated" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the eliminated for week # larger than 4
### Response:
|
SELECT "Eliminated" FROM table_32023 WHERE "Week #" > '4'
|
### Instruction:
CREATE TABLE table_56704 (
"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 catalog number of the album whose region is the United Kingdom?
### Response:
|
SELECT "Catalog #" FROM table_56704 WHERE "Region" = 'united kingdom'
|
### Instruction:
CREATE TABLE table_24160890_3 (
regular_season_winner VARCHAR,
tournament_winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Cincinnati is the tournament winner how many regular season winners are there?
### Response:
|
SELECT COUNT(regular_season_winner) FROM table_24160890_3 WHERE tournament_winner = "Cincinnati"
|
### Instruction:
CREATE TABLE table_name_33 (
democrat VARCHAR,
sample_size VARCHAR,
republican VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Democrat when the Republican was Mike Huckabee, and the sample size was less than 495?
### Response:
|
SELECT democrat FROM table_name_33 WHERE sample_size < 495 AND republican = "mike huckabee"
|
### Instruction:
CREATE TABLE table_6154 (
"Medal" text,
"Name" text,
"Games" text,
"Sport" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team played in the 1964 Tokyo Games?
### Response:
|
SELECT "Name" FROM table_6154 WHERE "Games" = '1964 tokyo'
|
### Instruction:
CREATE TABLE table_225093_4 (
successor VARCHAR,
reason_for_change VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the successor when the reason for change is seat declared vacant January 2, 1808
### Response:
|
SELECT successor FROM table_225093_4 WHERE reason_for_change = "Seat declared vacant January 2, 1808"
|
### Instruction:
CREATE TABLE protein (
protein_name VARCHAR,
institution_id VARCHAR
)
CREATE TABLE institution (
institution VARCHAR,
institution_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the protein name and the institution name.
### Response:
|
SELECT T2.protein_name, T1.institution FROM institution AS T1 JOIN protein AS T2 ON T1.institution_id = T2.institution_id
|
### Instruction:
CREATE TABLE table_29301050_1 (
departure_pune VARCHAR,
arrival_lonavla VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what time does the train that arrives in lonavla at 22:22 depart pune
### Response:
|
SELECT departure_pune FROM table_29301050_1 WHERE arrival_lonavla = "22:22"
|
### Instruction:
CREATE TABLE table_42374 (
"Name" text,
"Novelty" text,
"Status" text,
"Authors" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the novelty of Tylocephale?
### Response:
|
SELECT "Novelty" FROM table_42374 WHERE "Name" = 'tylocephale'
|
### Instruction:
CREATE TABLE table_44353 (
"Game" real,
"Team" text,
"Score" text,
"Location Attendance" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the location attendance when the series is 4-3?
### Response:
|
SELECT "Location Attendance" FROM table_44353 WHERE "Series" = '4-3'
|
### Instruction:
CREATE TABLE table_11147852_1 (
channel_tv___dt__ VARCHAR,
year_of_affiliation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What channels have stations that were affiliated in 2002?
### Response:
|
SELECT channel_tv___dt__ FROM table_11147852_1 WHERE year_of_affiliation = "2002"
|
### Instruction:
CREATE TABLE table_28037619_2 (
written_by VARCHAR,
us_viewers__million_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wrote the episode that had 6.05 million U.s. viewers?
### Response:
|
SELECT written_by FROM table_28037619_2 WHERE us_viewers__million_ = "6.05"
|
### Instruction:
CREATE TABLE table_41852 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ICAO when the IATA is ist?
### Response:
|
SELECT "ICAO" FROM table_41852 WHERE "IATA" = 'ist'
|
### Instruction:
CREATE TABLE table_203_224 (
id number,
"title" text,
"year" number,
"channel" text,
"role" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times did she appear on bbc one ?
### Response:
|
SELECT COUNT(*) FROM table_203_224 WHERE "channel" = 'bbc one'
|
### Instruction:
CREATE TABLE table_53338 (
"Season" text,
"Division" text,
"Position" text,
"Played" text,
"Lost" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which season was 2nd position?
### Response:
|
SELECT "Season" FROM table_53338 WHERE "Position" = '2nd'
|
### Instruction:
CREATE TABLE table_72051 (
"Year" real,
"Office" text,
"Candidate" text,
"Popular Votes" real,
"Percentage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What percentage did chris wright receive?
### Response:
|
SELECT "Percentage" FROM table_72051 WHERE "Candidate" = 'chris wright'
|
### Instruction:
CREATE TABLE table_1621 (
"Official Name" text,
"Status" text,
"Area km 2" text,
"Population" real,
"Census Ranking" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the population of Cardwell?
### Response:
|
SELECT MIN("Population") FROM table_1621 WHERE "Official Name" = 'Cardwell'
|
### Instruction:
CREATE TABLE table_name_25 (
australian VARCHAR,
examples VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is 17th c., when Australian is 'i, , ', and when Examples is ' sophagus'?
### Response:
|
SELECT 17 AS th_c FROM table_name_25 WHERE australian = "i, ɪ, ə" AND examples = "œsophagus"
|
### Instruction:
CREATE TABLE table_45856 (
"Number" real,
"Artist" text,
"Album" text,
"Average score" real,
"Number of reviews" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of artists on Scarface?
### Response:
|
SELECT MAX("Number") FROM table_45856 WHERE "Artist" = 'scarface'
|
### Instruction:
CREATE TABLE table_32146 (
"Year" real,
"Tournament" text,
"Venue" text,
"Result" text,
"Extra" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the sum of year for extra of junior team competition
### Response:
|
SELECT SUM("Year") FROM table_32146 WHERE "Extra" = 'junior team competition'
|
### Instruction:
CREATE TABLE table_name_40 (
prize_money VARCHAR,
matches VARCHAR,
new_entries_this_round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the prize money amount after match 1, with 102 new entries to the round?
### Response:
|
SELECT prize_money FROM table_name_40 WHERE matches > 1 AND new_entries_this_round = "102"
|
### Instruction:
CREATE TABLE table_name_67 (
rank VARCHAR,
judge_m VARCHAR,
judge_e VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the rank when judge m is 65.93 and judge e is 65.56?
### Response:
|
SELECT rank FROM table_name_67 WHERE judge_m = "65.93" AND judge_e = "65.56"
|
### Instruction:
CREATE TABLE table_52206 (
"Rank" real,
"Movie" text,
"Year" real,
"Studio(s)" text,
"Third Week Nett. Gross" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the average year for 4 rank
### Response:
|
SELECT AVG("Year") FROM table_52206 WHERE "Rank" = '4'
|
### Instruction:
CREATE TABLE table_177766_1 (
constellation VARCHAR,
area__sqdeg_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of this constellation with an area of 245.375 sq. deg.?
### Response:
|
SELECT constellation FROM table_177766_1 WHERE area__sqdeg_ = "245.375"
|
### Instruction:
CREATE TABLE table_name_53 (
points INTEGER,
year VARCHAR,
entrant VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the Entrant of Sasol Jordan, add up all the points with a Year larger than 1993.
### Response:
|
SELECT SUM(points) FROM table_name_53 WHERE year > 1993 AND entrant = "sasol jordan"
|
### Instruction:
CREATE TABLE table_6343 (
"Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Winning constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Report is on 1 june?
### Response:
|
SELECT "Report" FROM table_6343 WHERE "Date" = '1 june'
|
### Instruction:
CREATE TABLE table_51038 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the away team, team Gillingham?
### Response:
|
SELECT "Date" FROM table_51038 WHERE "Away team" = 'gillingham'
|
### Instruction:
CREATE TABLE table_5759 (
"Candidate" text,
"Party" text,
"Votes" text,
"Quotient" text,
"Municipality" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Municipality of tampere involves which party?
### Response:
|
SELECT "Party" FROM table_5759 WHERE "Municipality" = 'tampere'
|
### Instruction:
CREATE TABLE table_name_45 (
attendance INTEGER,
date VARCHAR,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest attendance for the game before week 13 on December 9, 1973?
### Response:
|
SELECT MAX(attendance) FROM table_name_45 WHERE date = "december 9, 1973" AND week < 13
|
### Instruction:
CREATE TABLE table_name_84 (
genes INTEGER,
reference VARCHAR,
strain VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the average genes when the reference is 2009 and the strain is rku-1?
### Response:
|
SELECT AVG(genes) FROM table_name_84 WHERE reference = "2009" AND strain = "rku-1"
|
### Instruction:
CREATE TABLE list (
lastname text,
firstname text,
grade number,
classroom number
)
CREATE TABLE teachers (
lastname text,
firstname text,
classroom number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For each classroom report the grade that is taught in it. Report just the classroom number and the grade number.
### Response:
|
SELECT DISTINCT classroom, grade FROM list
|
### Instruction:
CREATE TABLE table_name_25 (
event VARCHAR,
method VARCHAR,
res VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which event did he win with a method of submission (triangle choke) and a time of n/a?
### Response:
|
SELECT event FROM table_name_25 WHERE res = "win" AND time = "n/a" AND method = "submission (triangle choke)"
|
### Instruction:
CREATE TABLE table_25518547_2 (
pick__number VARCHAR,
affiliation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many picks are there with an affiliation is the University of California Norcal Lamorinda United?
### Response:
|
SELECT COUNT(pick__number) FROM table_25518547_2 WHERE affiliation = "University of California NorCal Lamorinda United"
|
### Instruction:
CREATE TABLE table_10755 (
"Year" real,
"Location" text,
"Champion" text,
"Second" text,
"Third" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which year did Kati Klinzing finish 3rd?
### Response:
|
SELECT "Year" FROM table_10755 WHERE "Third" = 'kati klinzing'
|
### Instruction:
CREATE TABLE table_0 (
"Player" text,
"No." text,
"Nationality" text,
"Position" text,
"Years in Toronto" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is terrence ross' nationality
### Response:
|
SELECT "Nationality" FROM table_0 WHERE "Player" = 'Terrence Ross'
|
### Instruction:
CREATE TABLE table_527 (
"Branding" text,
"Callsign" text,
"Frequency" text,
"Power (kW)" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many places featured the DXCL Callsign?
### Response:
|
SELECT COUNT("Location") FROM table_527 WHERE "Callsign" = 'DXCL'
|
### Instruction:
CREATE TABLE table_69538 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was the record 62 84?
### Response:
|
SELECT "Date" FROM table_69538 WHERE "Record" = '62–84'
|
### Instruction:
CREATE TABLE table_name_55 (
result VARCHAR,
opponent VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- An attendance larger than 33,684 and an opponent of Hamilton Academical had this listed as a result?
### Response:
|
SELECT result FROM table_name_55 WHERE opponent = "hamilton academical" AND attendance > 33 OFFSET 684
|
### Instruction:
CREATE TABLE table_name_40 (
top_10 INTEGER,
cuts_made VARCHAR,
events VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most top-10 of the team with 8 cuts made and less than 11 events?
### Response:
|
SELECT MAX(top_10) FROM table_name_40 WHERE cuts_made = 8 AND events < 11
|
### Instruction:
CREATE TABLE table_58152 (
"Runs" text,
"Player" text,
"Opponent" text,
"Venue" text,
"Season" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player's runs are 270?
### Response:
|
SELECT "Player" FROM table_58152 WHERE "Runs" = '270'
|
### Instruction:
CREATE TABLE table_27704991_1 (
close_ranged_weapons VARCHAR,
special_weapon VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the special weapon is glass egg, what is the close ranged weapon?
### Response:
|
SELECT close_ranged_weapons FROM table_27704991_1 WHERE special_weapon = "Glass egg"
|
### Instruction:
CREATE TABLE table_name_12 (
years VARCHAR,
finals VARCHAR,
a_league VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What years have 9 (0) as the finals and 133 (1) as the A-League?
### Response:
|
SELECT years FROM table_name_12 WHERE finals = "9 (0)" AND a_league = "133 (1)"
|
### Instruction:
CREATE TABLE table_11217 (
"Stage" text,
"Winner" text,
"General classification" text,
"Points classification" text,
"Trofeo Fast Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the stage of team Once?
### Response:
|
SELECT "Stage" FROM table_11217 WHERE "Trofeo Fast Team" = 'once'
|
### Instruction:
CREATE TABLE table_65973 (
"Rank" real,
"Player" text,
"From" text,
"Transfer Fee (\u20ac millions)" text,
"Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many players were signed from Sevilla?
### Response:
|
SELECT COUNT("Year") FROM table_65973 WHERE "From" = 'sevilla'
|
### Instruction:
CREATE TABLE table_name_81 (
college_junior_club_team VARCHAR,
position VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What college, junior, or club team did defence player Rory Fitzpatrick play for?
### Response:
|
SELECT college_junior_club_team FROM table_name_81 WHERE position = "defence" AND player = "rory fitzpatrick"
|
### Instruction:
CREATE TABLE table_77475 (
"Country" text,
"Builder" text,
"Location" text,
"Ship" text,
"Class / type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Ship was Built by Cammell Laird?
### Response:
|
SELECT "Ship" FROM table_77475 WHERE "Builder" = 'cammell laird'
|
### Instruction:
CREATE TABLE table_name_62 (
type VARCHAR,
bie_recognised VARCHAR,
year_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the type when the bie recognised is yes and year(s) is 1960?
### Response:
|
SELECT type FROM table_name_62 WHERE bie_recognised = "yes" AND year_s_ = "1960"
|
### Instruction:
CREATE TABLE table_28654454_5 (
reunion_weight VARCHAR,
lbs_lost_reunion VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the reunion weight of the contestant that lost 52 lbs at the reunion?
### Response:
|
SELECT reunion_weight FROM table_28654454_5 WHERE lbs_lost_reunion = 52
|
### Instruction:
CREATE TABLE table_name_28 (
vertices INTEGER,
dual_archimedean_solid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Vertices have a Dual Archimedean solid of truncated dodecahedron?
### Response:
|
SELECT MAX(vertices) FROM table_name_28 WHERE dual_archimedean_solid = "truncated dodecahedron"
|
### Instruction:
CREATE TABLE table_name_25 (
division INTEGER,
playoffs VARCHAR,
regular_season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Division when the playoffs were the quarter finals, with a Regular Season of 5th?
### Response:
|
SELECT MAX(division) FROM table_name_25 WHERE playoffs = "quarter finals" AND regular_season = "5th"
|
### Instruction:
CREATE TABLE table_258 (
"University Name" text,
"Acronym" text,
"Date founded" real,
"Website" text,
"Official registration notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What University has the acrronym of USF
### Response:
|
SELECT "University Name" FROM table_258 WHERE "Acronym" = 'USF'
|
### Instruction:
CREATE TABLE table_24747844_2 (
money_list_rank INTEGER,
best_finish VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the minimum money list rank for the players having a best finish of T9?
### Response:
|
SELECT MIN(money_list_rank) FROM table_24747844_2 WHERE best_finish = "T9"
|
### Instruction:
CREATE TABLE table_2417330_3 (
date_of_successors_formal_installation VARCHAR,
successor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did Orville H. Browning (r) succeed?
### Response:
|
SELECT date_of_successors_formal_installation FROM table_2417330_3 WHERE successor = "Orville H. Browning (R)"
|
### Instruction:
CREATE TABLE table_67671 (
"Position" text,
"Player" text,
"County team" text,
"Club team(s)" text,
"Team Number" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which position has john keane as the player?
### Response:
|
SELECT "Position" FROM table_67671 WHERE "Player" = 'john keane'
|
### Instruction:
CREATE TABLE table_name_12 (
score VARCHAR,
time VARCHAR,
set_3 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score with a time at 18:00 and a score for set 3 of 13 25?
### Response:
|
SELECT score FROM table_name_12 WHERE time = "18:00" AND set_3 = "13–25"
|
### Instruction:
CREATE TABLE table_66907 (
"Year" real,
"Chassis" text,
"Engine(s)" text,
"Tyres" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the engines for 1983?
### Response:
|
SELECT "Engine(s)" FROM table_66907 WHERE "Year" = '1983'
|
### Instruction:
CREATE TABLE table_204_554 (
id number,
"rank" number,
"name" text,
"nation" text,
"time" text,
"speed" number,
"note" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is ranked first ?
### Response:
|
SELECT "name" FROM table_204_554 WHERE "rank" = 1
|
### Instruction:
CREATE TABLE table_name_64 (
grid VARCHAR,
laps VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many grids have 102 laps and a Time/Retired of + 6.18?
### Response:
|
SELECT COUNT(grid) FROM table_name_64 WHERE laps > 102 AND time_retired = "+ 6.18"
|
### Instruction:
CREATE TABLE table_58475 (
"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.
-- Which player has a nationality of spain?
### Response:
|
SELECT "Player" FROM table_58475 WHERE "Nationality" = 'spain'
|
### Instruction:
CREATE TABLE table_31851 (
"Name" text,
"National team career" text,
"Goals" text,
"Caps" text,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many goals were scored when there were 73 caps?
### Response:
|
SELECT "Goals" FROM table_31851 WHERE "Caps" = '73'
|
### Instruction:
CREATE TABLE table_60586 (
"Shooter" text,
"Event" text,
"Rank points" text,
"Score points" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score points when the rank points is 3?
### Response:
|
SELECT "Score points" FROM table_60586 WHERE "Rank points" = '3'
|
### Instruction:
CREATE TABLE table_name_59 (
date VARCHAR,
opponent VARCHAR,
surface VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date for hard surface at maybelline classic with opponent of wendy turnbull
### Response:
|
SELECT date FROM table_name_59 WHERE surface = "hard" AND tournament = "maybelline classic" AND opponent = "wendy turnbull"
|
### Instruction:
CREATE TABLE table_name_48 (
tries_for INTEGER,
team VARCHAR,
points_against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHich Tries has a Team of pau and Points against larger than 103?
### Response:
|
SELECT MIN(tries_for) FROM table_name_48 WHERE team = "pau" AND points_against > 103
|
### Instruction:
CREATE TABLE table_204_508 (
id number,
"no." number,
"race title" text,
"track" text,
"date" text,
"tv" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are the number of times a race was held in august ?
### Response:
|
SELECT COUNT(*) FROM table_204_508 WHERE "date" = 8
|
### Instruction:
CREATE TABLE table_name_29 (
party VARCHAR,
term_of_office VARCHAR,
state VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What party has a term of office of 1951 1966, and a State of sa?
### Response:
|
SELECT party FROM table_name_29 WHERE term_of_office = "1951–1966" AND state = "sa"
|
### Instruction:
CREATE TABLE table_204_146 (
id number,
"tie" number,
"home team" text,
"score" text,
"away team" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the first away team on the list ?
### Response:
|
SELECT "away team" FROM table_204_146 WHERE id = 1
|
### Instruction:
CREATE TABLE table_1489 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What teak was Brady Browne drafted onto?
### Response:
|
SELECT "CFL Team" FROM table_1489 WHERE "Player" = 'Brady Browne'
|
### Instruction:
CREATE TABLE table_9134 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for the away team, Ipswich Town?
### Response:
|
SELECT "Score" FROM table_9134 WHERE "Away team" = 'ipswich town'
|
### Instruction:
CREATE TABLE table_name_68 (
overall INTEGER,
college VARCHAR,
position VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the overall draft number for the running back drafted after round 1 from fresno state?
### Response:
|
SELECT SUM(overall) FROM table_name_68 WHERE position = "running back" AND round > 1 AND college = "fresno state"
|
### Instruction:
CREATE TABLE table_37691 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What wss the average round drafted for xavier players?
### Response:
|
SELECT AVG("Round") FROM table_37691 WHERE "School" = 'xavier'
|
### Instruction:
CREATE TABLE table_name_44 (
game INTEGER,
opponent VARCHAR,
november VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Game, when Opponent is 'Chicago Black Hawks', and when November is less than 16?
### Response:
|
SELECT MAX(game) FROM table_name_44 WHERE opponent = "chicago black hawks" AND november < 16
|
### Instruction:
CREATE TABLE table_43683 (
"Rank" real,
"Title" text,
"Studio" text,
"Director" text,
"Gross" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of ranks that had vestron as the studio?
### Response:
|
SELECT COUNT("Rank") FROM table_43683 WHERE "Studio" = 'vestron'
|
### Instruction:
CREATE TABLE table_204_238 (
id number,
"#" number,
"title" text,
"producer(s)" text,
"performer (s)" text,
"time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which is the shortest song ?
### Response:
|
SELECT "title" FROM table_204_238 ORDER BY "time" LIMIT 1
|
### Instruction:
CREATE TABLE table_49571 (
"Location" text,
"Year" real,
"Champion" text,
"Runner-up" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the runner-up in 1990?
### Response:
|
SELECT "Runner-up" FROM table_49571 WHERE "Year" = '1990'
|
### Instruction:
CREATE TABLE table_19292 (
"Celebrity" text,
"Famous for" text,
"Entered" text,
"Exited" text,
"Finished" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people finished 9th?
### Response:
|
SELECT COUNT("Exited") FROM table_19292 WHERE "Finished" = '9th'
|
### Instruction:
CREATE TABLE table_64584 (
"Wager" text,
"Winner" text,
"Loser" text,
"Location" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location where aaron grundy was the loser?
### Response:
|
SELECT "Location" FROM table_64584 WHERE "Loser" = 'aaron grundy'
|
### Instruction:
CREATE TABLE table_44772 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score when the home team was goole town?
### Response:
|
SELECT "Score" FROM table_44772 WHERE "Home team" = 'goole town'
|
### Instruction:
CREATE TABLE greatermanchestercrime (
crimeid text,
crimets time,
location text,
lsoa text,
type text,
outcome text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the last instance of a violent or sexual offense in Manchester?
### Response:
|
SELECT location FROM greatermanchestercrime WHERE type = "Violence and sexual offences" ORDER BY crimets DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_54707 (
"Catches" text,
"Player" text,
"Versus" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had a versus of sri lanka?
### Response:
|
SELECT "Player" FROM table_54707 WHERE "Versus" = 'sri lanka'
|
### Instruction:
CREATE TABLE table_80104 (
"Season" real,
"Winner" text,
"Team" text,
"Position" text,
"Win #" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the winner in the 2008 season?
### Response:
|
SELECT "Winner" FROM table_80104 WHERE "Season" = '2008'
|
### Instruction:
CREATE TABLE table_62166 (
"Party" text,
"Name in English" text,
"City" text,
"Province" text,
"Date of registration" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which province is Pamplona located in?
### Response:
|
SELECT "Province" FROM table_62166 WHERE "City" = 'pamplona'
|
### Instruction:
CREATE TABLE table_1405704_1 (
chassis VARCHAR,
season VARCHAR,
engine VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of chassis did a winning car with a Foyt engine have in 1979?
### Response:
|
SELECT chassis FROM table_1405704_1 WHERE season = 1979 AND engine = "Foyt"
|
### Instruction:
CREATE TABLE table_name_86 (
lecturers INTEGER,
department VARCHAR,
full_professors VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the least amount of lecturers in the accounting department with less than 5 full professors?
### Response:
|
SELECT MIN(lecturers) FROM table_name_86 WHERE department = "accounting" AND full_professors < 5
|
### Instruction:
CREATE TABLE table_name_93 (
top_10 INTEGER,
cuts_made VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Top-10 when there were 17 cuts made with less than 0 wins?
### Response:
|
SELECT AVG(top_10) FROM table_name_93 WHERE cuts_made = 17 AND wins < 0
|
### Instruction:
CREATE TABLE table_28461589_2 (
mins_played INTEGER,
good_passes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fewest minutes played for the player with exactly 638 good passes?
### Response:
|
SELECT MIN(mins_played) FROM table_28461589_2 WHERE good_passes = 638
|
### Instruction:
CREATE TABLE table_17933600_2 (
date_of_vacancy VARCHAR,
outgoing_manage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day did the job open up when bogi evi was outgoing?
### Response:
|
SELECT date_of_vacancy FROM table_17933600_2 WHERE outgoing_manage = "Bogićević"
|
### Instruction:
CREATE TABLE table_name_7 (
rank VARCHAR,
year VARCHAR,
start VARCHAR,
finish VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Jack McGrath's rank in 1955 when he started at 3 and finished at 26?
### Response:
|
SELECT rank FROM table_name_7 WHERE start = "3" AND finish = "26" AND year = "1955"
|
### Instruction:
CREATE TABLE table_20007413_6 (
compression_ratio VARCHAR,
rpo VARCHAR,
applications VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the compression ratio of the model with L35 RPO and 5 applications?
### Response:
|
SELECT compression_ratio FROM table_20007413_6 WHERE rpo = "L35" AND applications = 5
|
### Instruction:
CREATE TABLE table_31701 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the total number of attendance for week of 16
### Response:
|
SELECT COUNT("Attendance") FROM table_31701 WHERE "Week" = '16'
|
### Instruction:
CREATE TABLE table_name_83 (
position VARCHAR,
name VARCHAR,
nationality VARCHAR,
goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE POSITION FOR BRAZIL, WITH 27 GOALS, AND FOR NECA?
### Response:
|
SELECT position FROM table_name_83 WHERE nationality = "brazil" AND goals = 27 AND name = "neca"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.