instruction
stringlengths 231
6.3k
| output
stringlengths 2
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_5818 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What opponent in the final has rockford, Illinois as the tournament?
### Response:
|
SELECT "Opponent in the final" FROM table_5818 WHERE "Tournament" = 'rockford, illinois'
|
### Instruction:
CREATE TABLE table_10359 (
"Catalogue Number" text,
"Artist" text,
"Tracks" text,
"Type" text,
"Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the type of disc by Logistics after 2004?
### Response:
|
SELECT "Type" FROM table_10359 WHERE "Year" > '2004' AND "Artist" = 'logistics'
|
### Instruction:
CREATE TABLE table_name_9 (
score VARCHAR,
location_attendance VARCHAR,
high_rebounds VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Score, when Location Attendance is 'Madison Square Garden Unknown', and when High Rebounds is 'Sidney Green (10)'?
### Response:
|
SELECT score FROM table_name_9 WHERE location_attendance = "madison square garden unknown" AND high_rebounds = "sidney green (10)"
|
### Instruction:
CREATE TABLE table_40179 (
"Name" text,
"Pos." text,
"Height" text,
"Weight" real,
"Year" text,
"Hometown (Previous school)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Weight of the person who is 6'9'?
### Response:
|
SELECT AVG("Weight") FROM table_40179 WHERE "Height" = '6''9'
|
### Instruction:
CREATE TABLE table_79419 (
"Time" text,
"Wind" text,
"Athlete" text,
"Nationality" text,
"Location of race" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the wind when the time was 19.32?
### Response:
|
SELECT "Wind" FROM table_79419 WHERE "Time" = '19.32'
|
### Instruction:
CREATE TABLE table_203_498 (
id number,
"first issued" text,
"design" text,
"slogan" text,
"serial format" text,
"serials issued" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the design on the first issued plates ?
### Response:
|
SELECT "design" FROM table_203_498 ORDER BY "first issued" LIMIT 1
|
### Instruction:
CREATE TABLE table_23395 (
"No. in series" text,
"No. in season" real,
"Family/families" text,
"Location(s)" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What family was featured in episode us14 of the series?
### Response:
|
SELECT "Family/families" FROM table_23395 WHERE "No. in series" = 'US14'
|
### Instruction:
CREATE TABLE table_71502 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest number in attendance when the record is 1-1-0?
### Response:
|
SELECT MAX("Attendance") FROM table_71502 WHERE "Record" = '1-1-0'
|
### Instruction:
CREATE TABLE table_204_409 (
id number,
"date" text,
"race name" text,
"location" text,
"uci rating" number,
"winner" text,
"team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which was the only race held in cameroon ?
### Response:
|
SELECT "race name" FROM table_204_409 WHERE "location" = 'cameroon'
|
### Instruction:
CREATE TABLE table_204_250 (
id number,
"date" text,
"opponent#" text,
"rank#" text,
"site" text,
"result" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what site at most is taken place ?
### Response:
|
SELECT "site" FROM table_204_250 GROUP BY "site" ORDER BY COUNT(*) DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_name_73 (
att_cmp_int VARCHAR,
effic VARCHAR,
gp_gs VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the att-cmp-int with an effic smaller than 117.88 and a gp-gs of 10-0?
### Response:
|
SELECT att_cmp_int FROM table_name_73 WHERE effic < 117.88 AND gp_gs = "10-0"
|
### Instruction:
CREATE TABLE table_36124 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When has Score of 4 5 and quebec nordiques as Visitor?
### Response:
|
SELECT "Date" FROM table_36124 WHERE "Score" = '4–5' AND "Visitor" = 'quebec nordiques'
|
### Instruction:
CREATE TABLE table_13919 (
"Position" text,
"Gymnast" text,
"A Score" real,
"B Score" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the total number of Total that has the B Score of 9.15?
### Response:
|
SELECT COUNT("Total") FROM table_13919 WHERE "B Score" = '9.15'
|
### Instruction:
CREATE TABLE table_25418 (
"Year" real,
"Majors" real,
"ATP wins" real,
"Total wins" real,
"Earnings ($)" real,
"Money list rank" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what year was his money list rank 3?
### Response:
|
SELECT MIN("Year") FROM table_25418 WHERE "Money list rank" = '3'
|
### Instruction:
CREATE TABLE table_name_35 (
l1_cache VARCHAR,
fsb_speed VARCHAR,
clock_speed VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which L1 Cache has an FSB speed of 800mhz and a clock speed of 1.2ghz?
### Response:
|
SELECT l1_cache FROM table_name_35 WHERE fsb_speed = "800mhz" AND clock_speed = "1.2ghz"
|
### Instruction:
CREATE TABLE table_76572 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many total golds do teams have when the total medals is less than 1?
### Response:
|
SELECT SUM("Gold") FROM table_76572 WHERE "Total" < '1'
|
### Instruction:
CREATE TABLE tryout (
pid number,
cname text,
ppos text,
decision text
)
CREATE TABLE college (
cname text,
state text,
enr number
)
CREATE TABLE player (
pid number,
pname text,
ycard text,
hs number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average training hours of all players?
### Response:
|
SELECT AVG(hs) FROM player
|
### Instruction:
CREATE TABLE table_22753245_1 (
margin VARCHAR,
party VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many margin results are listed in the election that was won by L. Adaikalaraj C and the party was the Indian national congress?
### Response:
|
SELECT COUNT(margin) FROM table_22753245_1 WHERE party = "Indian National Congress" AND winner = "L. Adaikalaraj c"
|
### Instruction:
CREATE TABLE table_50359 (
"Team" text,
"Head Coach" text,
"Team Captain" text,
"Kitmaker" text,
"Shirt sponsor" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the team whose shirt sponsor is Krombacher, who is the team captain?
### Response:
|
SELECT "Team Captain" FROM table_50359 WHERE "Shirt sponsor" = 'krombacher'
|
### Instruction:
CREATE TABLE table_2551 (
"Season" text,
"Player" text,
"Nationality" text,
"Team" text,
"Points" real,
"Average" text,
"Played" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games were played by the player with 927 points?
### Response:
|
SELECT "Played" FROM table_2551 WHERE "Points" = '927'
|
### Instruction:
CREATE TABLE table_9443 (
"Name" text,
"Born-Died" text,
"Term start" text,
"Term end" text,
"Political Party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Name has a Term end of 18 july 1944?
### Response:
|
SELECT "Name" FROM table_9443 WHERE "Term end" = '18 july 1944'
|
### Instruction:
CREATE TABLE table_54208 (
"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.
-- What Utah Jazz guard, played at BYU?
### Response:
|
SELECT "Player" FROM table_54208 WHERE "Position" = 'guard' AND "School/Club Team" = 'byu'
|
### Instruction:
CREATE TABLE table_203_153 (
id number,
"stamp issue date" text,
"stamp set" text,
"#cards" text,
"card set ref" text,
"qty. issued" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which stamp set had the greatest quantity issued ?
### Response:
|
SELECT "stamp set" FROM table_203_153 ORDER BY "qty. issued" DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_53160 (
"Rd #" real,
"Pick #" real,
"Player" text,
"Team (League)" text,
"Reg GP" real,
"Pl GP" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest PL GP for a round greater than 9?
### Response:
|
SELECT MAX("Pl GP") FROM table_53160 WHERE "Rd #" > '9'
|
### Instruction:
CREATE TABLE table_name_41 (
year INTEGER,
seat_factor VARCHAR,
flying_hours VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the earliest year that had more than 105,579 flying hours and a seat factor of 68%?
### Response:
|
SELECT MIN(year) FROM table_name_41 WHERE seat_factor = "68%" AND flying_hours > 105 OFFSET 579
|
### Instruction:
CREATE TABLE table_37133 (
"Games" real,
"Drawn" real,
"Lost" real,
"Goal difference" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the sum of drawn with lost more than 1 and games less than 5
### Response:
|
SELECT SUM("Drawn") FROM table_37133 WHERE "Lost" > '1' AND "Games" < '5'
|
### Instruction:
CREATE TABLE table_name_25 (
set_5 VARCHAR,
set_2 VARCHAR,
set_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the set 5 of the match with a set 2 of 26-24 and a set 1 of 27-25?
### Response:
|
SELECT set_5 FROM table_name_25 WHERE set_2 = "26-24" AND set_1 = "27-25"
|
### Instruction:
CREATE TABLE table_21094 (
"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.
-- How many schools are named otafuku tholi?
### Response:
|
SELECT COUNT("Year named") FROM table_21094 WHERE "Name" = 'Otafuku Tholi'
|
### Instruction:
CREATE TABLE table_name_33 (
property_taxes VARCHAR,
year VARCHAR,
total_revenue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were property taxes in a year when total revenue was $40,891,700 after 2002?
### Response:
|
SELECT property_taxes FROM table_name_33 WHERE year > 2002 AND total_revenue = "$40,891,700"
|
### Instruction:
CREATE TABLE table_name_96 (
score INTEGER,
number VARCHAR,
drop_goals VARCHAR,
penalties VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- drop goals larger than 0, and a Penalties of 52, and a Number larger than 5 had what lowest score?
### Response:
|
SELECT MIN(score) FROM table_name_96 WHERE drop_goals > 0 AND penalties = 52 AND number > 5
|
### Instruction:
CREATE TABLE table_13285 (
"Vessel:" text,
"Type:" text,
"Built:" real,
"Owned since:" real,
"Responsible:" text,
"Status:" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Type has a Responsible of stavangerske?
### Response:
|
SELECT "Type:" FROM table_13285 WHERE "Responsible:" = 'stavangerske'
|
### Instruction:
CREATE TABLE table_name_44 (
tie_no VARCHAR,
date VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- /What is Tie No, when Date is 18 February 1956, and when Away Team is Tottenham Hotspur?
### Response:
|
SELECT tie_no FROM table_name_44 WHERE date = "18 february 1956" AND away_team = "tottenham hotspur"
|
### Instruction:
CREATE TABLE table_69036 (
"Game" real,
"Date" text,
"Location" text,
"Time" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people went to the game that lasted 2:37 after game 2?
### Response:
|
SELECT SUM("Attendance") FROM table_69036 WHERE "Game" > '2' AND "Time" = '2:37'
|
### Instruction:
CREATE TABLE table_30768 (
"Branding" text,
"Callsign" text,
"Frequency" text,
"Power (kW)" text,
"Station Type" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many locations have the callsign DXGH?
### Response:
|
SELECT COUNT("Location") FROM table_30768 WHERE "Callsign" = 'DXGH'
|
### Instruction:
CREATE TABLE table_23114705_7 (
original_air_date VARCHAR,
nz_viewers__thousand_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the air date of the episod that had 456.58 thousand viewers?
### Response:
|
SELECT original_air_date FROM table_23114705_7 WHERE nz_viewers__thousand_ = "456.58"
|
### Instruction:
CREATE TABLE table_38892 (
"Date" text,
"City" text,
"Opponent" text,
"Results\u00b9" text,
"Type of game" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type of game had a result of 1:2?
### Response:
|
SELECT "Type of game" FROM table_38892 WHERE "Results\u00b9" = '1:2'
|
### Instruction:
CREATE TABLE table_15045 (
"Country" text,
"Film title used in nomination" text,
"Language" text,
"Original title" text,
"Director" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the film title used in nomination for the film from South Korea?
### Response:
|
SELECT "Film title used in nomination" FROM table_15045 WHERE "Country" = 'south korea'
|
### Instruction:
CREATE TABLE table_62637 (
"Club" text,
"Head Coach" text,
"City" text,
"Stadium" text,
"2002-2003 season" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Head Coach casemiro mior is at which Club?
### Response:
|
SELECT "Club" FROM table_62637 WHERE "Head Coach" = 'casemiro mior'
|
### Instruction:
CREATE TABLE table_15510 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the score in the loss to tapani (0-1)?
### Response:
|
SELECT "Score" FROM table_15510 WHERE "Loss" = 'tapani (0-1)'
|
### Instruction:
CREATE TABLE table_76955 (
"Date" text,
"Opponent" text,
"Site" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many spectators attended the game on 11/09/1935?
### Response:
|
SELECT "Attendance" FROM table_76955 WHERE "Date" = '11/09/1935'
|
### Instruction:
CREATE TABLE table_20878 (
"Player" text,
"VFL Games" real,
"VFL Club(s)" text,
"Rank held at time of death" text,
"Date of death" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day did ARchie Roberts die?
### Response:
|
SELECT "Date of death" FROM table_20878 WHERE "Player" = 'Archie Roberts'
|
### Instruction:
CREATE TABLE table_204_785 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which is the only country to not receive a gold medal ?
### Response:
|
SELECT "nation" FROM table_204_785 WHERE "gold" = 0
|
### Instruction:
CREATE TABLE table_203_755 (
id number,
"singing position" number,
"song title" text,
"informal translation" text,
"act" text,
"percentage of votes" text,
"final position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of songs that are listed in the table ?
### Response:
|
SELECT COUNT("song title") FROM table_203_755
|
### Instruction:
CREATE TABLE table_name_17 (
company_or_product_name VARCHAR,
episode VARCHAR,
money_requested__£_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Company or Product name requested 70,000 on Episode 11?
### Response:
|
SELECT company_or_product_name FROM table_name_17 WHERE episode = "episode 11" AND money_requested__£_ = "70,000"
|
### Instruction:
CREATE TABLE table_10112 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which game site has an Opponent of buffalo bills?
### Response:
|
SELECT "Game site" FROM table_10112 WHERE "Opponent" = 'buffalo bills'
|
### Instruction:
CREATE TABLE table_42379 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What 1st leg has 52-70 as the agg.?
### Response:
|
SELECT "1st leg" FROM table_42379 WHERE "Agg." = '52-70'
|
### Instruction:
CREATE TABLE table_30447 (
"Episode" text,
"Date Aired" text,
"Timeslot" text,
"Rating" text,
"Nightly Rank" real,
"Weekly Rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rating of episode 1.04?
### Response:
|
SELECT "Rating" FROM table_30447 WHERE "Episode" = '1.04'
|
### Instruction:
CREATE TABLE table_18380 (
"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.
-- Which district elected incumbent Earle Cabell?
### Response:
|
SELECT "District" FROM table_18380 WHERE "Incumbent" = 'Earle Cabell'
|
### Instruction:
CREATE TABLE table_34990 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the date of the game that has the Bulls as a visiting team?
### Response:
|
SELECT "Date" FROM table_34990 WHERE "Visitor" = 'bulls'
|
### Instruction:
CREATE TABLE table_14253123_1 (
area_sq_mi__km_2____rank_ VARCHAR,
county_seat VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Vincennes is the county seat what is the area sq mi (km 2 ) (rank) ?
### Response:
|
SELECT area_sq_mi__km_2____rank_ FROM table_14253123_1 WHERE county_seat = "Vincennes"
|
### Instruction:
CREATE TABLE table_46422 (
"Name" text,
"Country" text,
"Loan Club" text,
"Started" text,
"Ended" text,
"Start Source" text,
"End Source" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when was the loan ended when the country is ghana?
### Response:
|
SELECT "Ended" FROM table_46422 WHERE "Country" = 'ghana'
|
### Instruction:
CREATE TABLE table_77762 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the low week from october 15, 1961?
### Response:
|
SELECT MIN("Week") FROM table_77762 WHERE "Date" = 'october 15, 1961'
|
### Instruction:
CREATE TABLE table_203_611 (
id number,
"player" text,
"hr" number,
"date reached 500 hr" text,
"team" text,
"seasons played" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many players hit more than 600 runs in their career ?
### Response:
|
SELECT COUNT("player") FROM table_203_611 WHERE "hr" > 600
|
### Instruction:
CREATE TABLE table_25516 (
"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.
-- Who directed the episode titled 'Two Towns'?
### Response:
|
SELECT "Directed by" FROM table_25516 WHERE "Title" = 'Two Towns'
|
### Instruction:
CREATE TABLE table_10849 (
"Season" real,
"Overall" real,
"Slalom" real,
"Giant Slalom" text,
"Super G" text,
"Downhill" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which giant slalom had an Overall number of 25?
### Response:
|
SELECT "Giant Slalom" FROM table_10849 WHERE "Overall" = '25'
|
### Instruction:
CREATE TABLE table_65237 (
"Title" text,
"Series" text,
"Characters" text,
"Production Num." real,
"Release date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The film titled Bosko's fox hunt had what as the smallest production number?
### Response:
|
SELECT MIN("Production Num.") FROM table_65237 WHERE "Title" = 'bosko''s fox hunt'
|
### Instruction:
CREATE TABLE table_20360535_4 (
original_air_date VARCHAR,
directed_by VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the original air date of the episode directed by Ben Jones and written by Steven Melching?
### Response:
|
SELECT original_air_date FROM table_20360535_4 WHERE directed_by = "Ben Jones" AND written_by = "Steven Melching"
|
### Instruction:
CREATE TABLE table_65390 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the place when the score was 65-70-72=207?
### Response:
|
SELECT "Place" FROM table_65390 WHERE "Score" = '65-70-72=207'
|
### Instruction:
CREATE TABLE table_67465 (
"Stage" text,
"Winner" text,
"General classification" text,
"Points Classification" text,
"Team Classification" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the points classification for quick step-innergetic with stage 7
### Response:
|
SELECT "Points Classification" FROM table_67465 WHERE "Team Classification" = 'quick step-innergetic' AND "Stage" = '7'
|
### Instruction:
CREATE TABLE table_61830 (
"School" text,
"Location" text,
"Nickname(s)" text,
"Colors" text,
"Years Member" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Nickname(s) has a Location of elkville, illinois?
### Response:
|
SELECT "Nickname(s)" FROM table_61830 WHERE "Location" = 'elkville, illinois'
|
### Instruction:
CREATE TABLE table_1314 (
"Team" text,
"Titles" real,
"Runner-up" real,
"Third place" real,
"Fourth place" real,
"Years participated" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the team is Toronto how many times did they place third?
### Response:
|
SELECT COUNT("Third place") FROM table_1314 WHERE "Team" = 'Toronto'
|
### Instruction:
CREATE TABLE table_7022 (
"Name" text,
"Status" text,
"Authors" text,
"Unit" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the non-mammal from brazil of the unit of caturrita formation?
### Response:
|
SELECT "Name" FROM table_7022 WHERE "Location" = 'brazil' AND "Unit" = 'caturrita formation'
|
### Instruction:
CREATE TABLE table_63694 (
"School" text,
"City" text,
"Team Name" text,
"County" text,
"Year Joined" text,
"Year Left" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did the team based in the city of Winamac join the conference?
### Response:
|
SELECT "Year Joined" FROM table_63694 WHERE "City" = 'winamac'
|
### Instruction:
CREATE TABLE table_name_63 (
chassis_code VARCHAR,
power VARCHAR,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Chassis code has a 200d model and a Power of ps (kw; hp) @ 4200?
### Response:
|
SELECT chassis_code FROM table_name_63 WHERE power = "ps (kw; hp) @ 4200" AND model = "200d"
|
### Instruction:
CREATE TABLE table_68253 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least total for 1978 years won
### Response:
|
SELECT MIN("Total") FROM table_68253 WHERE "Year(s) won" = '1978'
|
### Instruction:
CREATE TABLE table_30853 (
"Series" real,
"Premiere" text,
"Finale" text,
"Runners-up" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the season for which Brendan Lynch is the runner-up?
### Response:
|
SELECT "Winner" FROM table_30853 WHERE "Runners-up" = 'Brendan Lynch'
|
### Instruction:
CREATE TABLE table_57752 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score with a Home of colorado, and a Date with may 11?
### Response:
|
SELECT "Score" FROM table_57752 WHERE "Home" = 'colorado' AND "Date" = 'may 11'
|
### Instruction:
CREATE TABLE table_name_80 (
high_rebounds VARCHAR,
high_assists VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is High Rebounds, when High Assists is 'Rafer Alston , Rashard Lewis , Hedo T rko lu (3)'?
### Response:
|
SELECT high_rebounds FROM table_name_80 WHERE high_assists = "rafer alston , rashard lewis , hedo türkoğlu (3)"
|
### Instruction:
CREATE TABLE table_name_42 (
l2_cache VARCHAR,
frequency VARCHAR,
model_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which L2-Cache has a Frequency of 1333 mhz, and a Model Number of c3 1.3a?
### Response:
|
SELECT l2_cache FROM table_name_42 WHERE frequency = "1333 mhz" AND model_number = "c3 1.3a"
|
### Instruction:
CREATE TABLE table_203_609 (
id number,
"#" number,
"matters" text,
"sections of the constitution allowing their institution" text,
"eligible petitioners" text,
"type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many matters have political party as their type ?
### Response:
|
SELECT COUNT("matters") FROM table_203_609 WHERE "type" = 'political party'
|
### Instruction:
CREATE TABLE table_50664 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE 2ND LEG WITH TEAM 1 OF SPORTING?
### Response:
|
SELECT "2nd leg" FROM table_50664 WHERE "Team 1" = 'sporting'
|
### Instruction:
CREATE TABLE table_18104 (
"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.
-- Who were the candidates in the Maryland 5 district election?
### Response:
|
SELECT "Candidates" FROM table_18104 WHERE "District" = 'Maryland 5'
|
### Instruction:
CREATE TABLE table_26598 (
"Week" real,
"Date" text,
"Opponent" text,
"Location" text,
"Final Score" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many locations did the team play at on week 7?
### Response:
|
SELECT COUNT("Location") FROM table_26598 WHERE "Week" = '7'
|
### Instruction:
CREATE TABLE table_60649 (
"Date" text,
"Opponent" text,
"Score" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE DECISION FOR NOVEMBER 28?
### Response:
|
SELECT "Decision" FROM table_60649 WHERE "Date" = 'november 28'
|
### Instruction:
CREATE TABLE table_52279 (
"Years" text,
"Winners" text,
"Runners-Up" text,
"Score" text,
"Third" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the year of the competition in which Odd Grenland was the runner-up?
### Response:
|
SELECT "Years" FROM table_52279 WHERE "Runners-Up" = 'odd grenland'
|
### Instruction:
CREATE TABLE table_204_401 (
id number,
"rank" number,
"lane" number,
"name" text,
"nationality" text,
"react" number,
"time" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the first person to finish in heat 1 ?
### Response:
|
SELECT "name" FROM table_204_401 WHERE "rank" = 1
|
### Instruction:
CREATE TABLE table_23126 (
"Pick #" real,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many nationalities does Tom Colley have?
### Response:
|
SELECT COUNT("Nationality") FROM table_23126 WHERE "Player" = 'Tom Colley'
|
### Instruction:
CREATE TABLE table_11570 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What driver has a grid of under 10, and under 70 laps?
### Response:
|
SELECT "Driver" FROM table_11570 WHERE "Grid" < '10' AND "Laps" < '70'
|
### Instruction:
CREATE TABLE table_204_157 (
id number,
"date" text,
"opponent#" text,
"rank#" text,
"site" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the combined result on 9/28 ?
### Response:
|
SELECT "result" FROM table_204_157 WHERE "date" = '09/28/1946'
|
### Instruction:
CREATE TABLE table_66852 (
"Round" text,
"Fixtures" real,
"Clubs" text,
"New entries" text,
"Leagues entering" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the item for Leagues entering, when the value for Clubs is 8 4?
### Response:
|
SELECT "Leagues entering" FROM table_66852 WHERE "Clubs" = '8 → 4'
|
### Instruction:
CREATE TABLE table_77125 (
"Date" text,
"Opponent#" text,
"Site" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Site when the date is 11/11/1950?
### Response:
|
SELECT "Site" FROM table_77125 WHERE "Date" = '11/11/1950'
|
### Instruction:
CREATE TABLE table_18308 (
"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 year was Jerry Huckaby first elected?
### Response:
|
SELECT "First elected" FROM table_18308 WHERE "Incumbent" = 'Jerry Huckaby'
|
### Instruction:
CREATE TABLE table_28918 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result in the election in the Kentucky 1 district?
### Response:
|
SELECT "Result" FROM table_28918 WHERE "District" = 'Kentucky 1'
|
### Instruction:
CREATE TABLE table_16202 (
"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.
-- Who are the writers for the episode 'solo'?
### Response:
|
SELECT "Written by" FROM table_16202 WHERE "Title" = 'Solo'
|
### Instruction:
CREATE TABLE table_54999 (
"Fare Categories" text,
"Base Fares" text,
"Day Pass" text,
"7-Day Pass" text,
"30-Day Pass" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Base Fare in the senior/disabled category?
### Response:
|
SELECT "Base Fares" FROM table_54999 WHERE "Fare Categories" = 'senior/disabled'
|
### Instruction:
CREATE TABLE table_13142 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Year(s) won has a Total of 289?
### Response:
|
SELECT "Year(s) won" FROM table_13142 WHERE "Total" = '289'
|
### Instruction:
CREATE TABLE table_40826 (
"AIRLINE" text,
"ICAO" text,
"IATA" text,
"CALLSIGN" text,
"COMMENCED OPERATIONS" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ICAO for Air Busan?
### Response:
|
SELECT "ICAO" FROM table_40826 WHERE "CALLSIGN" = 'air busan'
|
### Instruction:
CREATE TABLE table_name_49 (
bronze INTEGER,
gold VARCHAR,
total VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most number of Bronze medals won among the countries that have won more than 1 medal, more than 1 gold medal, and have a rank bigger than 1?
### Response:
|
SELECT MAX(bronze) FROM table_name_49 WHERE total > 1 AND rank > 1 AND gold > 1
|
### Instruction:
CREATE TABLE table_55247 (
"Year" text,
"President" text,
"Vice President" text,
"Gen.-Secretary" text,
"Treasurer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Gen.-Secretary that has a Vice President named charlotte saes?
### Response:
|
SELECT "Gen.-Secretary" FROM table_55247 WHERE "Vice President" = 'charlotte saes'
|
### Instruction:
CREATE TABLE table_41632 (
"Rank" real,
"Location" text,
"Total Passengers" real,
"Annual change" text,
"Capacity in use" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is the airport located that has a 98.9% in use capacity?
### Response:
|
SELECT "Location" FROM table_41632 WHERE "Capacity in use" = '98.9%'
|
### Instruction:
CREATE TABLE table_23508196_2 (
officers_o_s INTEGER,
total_usaaf VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many officers o/s were there on the day when the number of USAAF was 2373882?
### Response:
|
SELECT MAX(officers_o_s) FROM table_23508196_2 WHERE total_usaaf = 2373882
|
### Instruction:
CREATE TABLE table_49440 (
"Date" text,
"Round" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real,
"Scorers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result the R3 round?
### Response:
|
SELECT "Result" FROM table_49440 WHERE "Round" = 'r3'
|
### Instruction:
CREATE TABLE table_204_802 (
id number,
"tie no" number,
"home team" text,
"score" text,
"away team" text,
"date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many replays were there in the first round proper , november 1988 ?
### Response:
|
SELECT COUNT(*) FROM table_204_802 WHERE "tie no" = 'replay'
|
### Instruction:
CREATE TABLE table_40722 (
"Player" text,
"Nationality" text,
"Position" text,
"Years in Orlando" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school/club team did Amal McCaskill play for?
### Response:
|
SELECT "School/Club Team" FROM table_40722 WHERE "Player" = 'amal mccaskill'
|
### Instruction:
CREATE TABLE table_name_59 (
elevation_msnm VARCHAR,
population_censo_2007_hab_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the elevation msnm for a population censo 2007(hab) of 77.392*?
### Response:
|
SELECT elevation_msnm FROM table_name_59 WHERE population_censo_2007_hab_ = "77.392*"
|
### Instruction:
CREATE TABLE table_14109 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"TV Time" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which TV Time has a Result of w 24 17?
### Response:
|
SELECT "TV Time" FROM table_14109 WHERE "Result" = 'w 24–17'
|
### Instruction:
CREATE TABLE table_66013 (
"School" text,
"Location" text,
"Mascot" text,
"County" text,
"Year Joined" text,
"Year Left" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which year did the school with the mascot of the Vikings join?
### Response:
|
SELECT "Year Joined" FROM table_66013 WHERE "Mascot" = 'vikings'
|
### Instruction:
CREATE TABLE table_13334 (
"Season" text,
"Rounds" real,
"Champion" text,
"Most tries" text,
"Player of the Year" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the rounds for champion New Zealand (130 points)?
### Response:
|
SELECT AVG("Rounds") FROM table_13334 WHERE "Champion" = 'new zealand (130 points)'
|
### Instruction:
CREATE TABLE table_39431 (
"Category" text,
"Type" text,
"Attribute" text,
"Bubbles" text,
"Cancelable" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the attribute for mutation and domcharacterdatamodified
### Response:
|
SELECT "Attribute" FROM table_39431 WHERE "Category" = 'mutation' AND "Type" = 'domcharacterdatamodified'
|
### Instruction:
CREATE TABLE table_17133 (
"Series #" real,
"Season #" real,
"Title" text,
"Director(s)" text,
"Writer(s)" text,
"Original airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the director for the title, 'funhouse'?
### Response:
|
SELECT "Director(s)" FROM table_17133 WHERE "Title" = 'Funhouse'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.