text
stringlengths 400
694
| __index_level_0__
int64 6
25k
|
---|---|
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is Score, when Opponent is Atlanta Hawks? ### Input: CREATE TABLE table_45432 (
"Date" text,
"H/A/N" text,
"Opponent" text,
"Score" text,
"Record" text
) ### Response: SELECT "Score" FROM table_45432 WHERE "Opponent" = 'atlanta hawks' | 12,754 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what number of silver medals was won by the nation with the most gold medals ? ### Input: CREATE TABLE table_204_822 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
) ### Response: SELECT "silver" FROM table_204_822 ORDER BY "gold" DESC LIMIT 1 | 13,076 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the IHSAA class of Centerville, which plays IHSAA class AA football? ### Input: CREATE TABLE table_65574 (
"School" text,
"Location" text,
"Mascot" text,
"Size" real,
"IHSAA Class" text,
"IHSAA Football Class" text,
"County" text
) ### Response: SELECT "IHSAA Class" FROM table_65574 WHERE "IHSAA Football Class" = 'aa' AND "School" = 'centerville' | 12,583 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the average number of conversions for the Cardiff Blues with less than 14 tries? ### Input: CREATE TABLE table_75625 (
"Team" text,
"Games" real,
"Tries" real,
"Conversions" real,
"Total Points" real
) ### Response: SELECT AVG("Conversions") FROM table_75625 WHERE "Team" = 'cardiff blues' AND "Tries" < '14' | 20,629 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is after intermediate algebra ### Input: CREATE TABLE table_13967239_2 (
senior__4th_year_ VARCHAR,
sophomore__grade_8_ VARCHAR
) ### Response: SELECT senior__4th_year_ FROM table_13967239_2 WHERE sophomore__grade_8_ = "Intermediate Algebra" | 20,918 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Year named of the Ganga Valles? ### Input: CREATE TABLE table_48665 (
"Name" text,
"Latitude" text,
"Longitude" text,
"Diameter (km)" real,
"Year named" real
) ### Response: SELECT MAX("Year named") FROM table_48665 WHERE "Name" = 'ganga valles' | 2,715 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many models numbered L5506 have a QPI speed? ### Input: CREATE TABLE table_269920_17 (
qpi_speed__gt_s_ VARCHAR,
model VARCHAR
) ### Response: SELECT COUNT(qpi_speed__gt_s_) FROM table_269920_17 WHERE model = "L5506" | 3,017 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the runner-up for the event that ended with a winning score of 15 (66-67-70-70=273)? ### Input: CREATE TABLE table_name_27 (
runner_s__up VARCHAR,
winning_score VARCHAR
) ### Response: SELECT runner_s__up FROM table_name_27 WHERE winning_score = –15(66 - 67 - 70 - 70 = 273) | 4,619 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: in the irish national final for the eurovision song contest in 1990 , how many artists received less than 90 points ? ### Input: CREATE TABLE table_203_695 (
id number,
"draw" number,
"artist" text,
"song" text,
"points" number,
"place" text
) ### Response: SELECT COUNT("artist") FROM table_203_695 WHERE "points" < 90 | 11,543 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: If the Country of Origin is Denmark and the year of introduction is 1962, what is the primary cartridge? ### Input: CREATE TABLE table_26389588_1 (
primary_cartridge VARCHAR,
year_of_introduction VARCHAR,
country_of_origin VARCHAR
) ### Response: SELECT primary_cartridge FROM table_26389588_1 WHERE year_of_introduction = "1962" AND country_of_origin = "Denmark" | 4,572 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the result for goal # more than 4 ### Input: CREATE TABLE table_68062 (
"Goal #" real,
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
) ### Response: SELECT "Result" FROM table_68062 WHERE "Goal #" > '4' | 14,647 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Bronze of 2, and a Silver smaller than 0 then what is the sum of the gold? ### Input: CREATE TABLE table_38352 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) ### Response: SELECT SUM("Gold") FROM table_38352 WHERE "Bronze" = '2' AND "Silver" < '0' | 1,786 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what country won more gold medals than any other ? ### Input: CREATE TABLE table_204_595 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
) ### Response: SELECT "nation" FROM table_204_595 ORDER BY "gold" DESC LIMIT 1 | 5,082 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the largest population count in any of the census divisions in 2006? ### Input: CREATE TABLE table_24303 (
"Census division" text,
"Area (km\u00b2)" text,
"Pop. (2011)" real,
"Pop. (2006)" real,
"Pop. (2001)" real,
"Pop. (1996)" real
) ### Response: SELECT MAX("Pop. (2006)") FROM table_24303 | 19,780 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which advisor has most number of students? ### Input: CREATE TABLE has_allergy (
stuid number,
allergy text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE allergy_type (
allergy text,
allergytype text
) ### Response: SELECT advisor FROM student GROUP BY advisor ORDER BY COUNT(*) DESC LIMIT 1 | 22,497 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the opponent in week 13? ### Input: CREATE TABLE table_79230 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Score" text,
"Record" text
) ### Response: SELECT "Opponent" FROM table_79230 WHERE "Week" = '13' | 239 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Railway number(s) has a Year(s) of manufacture of 1899 1907? ### Input: CREATE TABLE table_name_93 (
railway_number_s_ VARCHAR,
year_s__of_manufacture VARCHAR
) ### Response: SELECT railway_number_s_ FROM table_name_93 WHERE year_s__of_manufacture = "1899–1907" | 18,343 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What type of surface was used for the game played on September 20, 1993? ### Input: CREATE TABLE table_6977 (
"Date" text,
"Tournament" text,
"Surface" text,
"Partnering" text,
"Opponents in the final" text,
"Score" text
) ### Response: SELECT "Surface" FROM table_6977 WHERE "Date" = 'september 20, 1993' | 6,811 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the least matches for year 2008 ### Input: CREATE TABLE table_20325 (
"Year" real,
"Matches" real,
"Wins" real,
"Losses" real,
"No Result" real,
"Tied" real,
"Success Rate" text,
"Position" text,
"Summary" text
) ### Response: SELECT MIN("Matches") FROM table_20325 WHERE "Year" = '2008' | 14,620 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the first year listed ? ### Input: CREATE TABLE table_204_357 (
id number,
"year" number,
"div." text,
"pos." text,
"cup" text,
"top scorer (league)" text,
"score" number
) ### Response: SELECT "year" FROM table_204_357 WHERE id = 1 | 18,258 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When t3 is the best finish what is the lowest amount of tournaments played? ### Input: CREATE TABLE table_24330912_1 (
tournaments_played INTEGER,
best_finish VARCHAR
) ### Response: SELECT MIN(tournaments_played) FROM table_24330912_1 WHERE best_finish = "T3" | 16,023 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the callsign that has a station type of relay and a channel number of TV-2? ### Input: CREATE TABLE table_24673888_1 (
callsign VARCHAR,
station_type VARCHAR,
ch__number VARCHAR
) ### Response: SELECT callsign FROM table_24673888_1 WHERE station_type = "Relay" AND ch__number = "TV-2" | 8,414 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: according to this list , how many countries sold weapons to iraq ? ### Input: CREATE TABLE table_203_587 (
id number,
"country" text,
"weapon designation" text,
"weapon description" text,
"year(s) delivered" text,
"quantity delivered" number
) ### Response: SELECT COUNT(DISTINCT "country") FROM table_203_587 | 20,544 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: hba1c between 7 and 9 % ### Input: CREATE TABLE table_train_229 (
"id" int,
"hemoglobin_a1c_hba1c" float,
"active_metabolic" bool,
"body_weight" float,
"hba1c" float,
"age" float,
"NOUSE" float
) ### Response: SELECT * FROM table_train_229 WHERE hba1c >= 7 AND hemoglobin_a1c_hba1c <= 9 | 14,016 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the score for columbus visitor ### Input: CREATE TABLE table_67079 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
) ### Response: SELECT "Score" FROM table_67079 WHERE "Visitor" = 'columbus' | 19,507 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the score of the game at Great Western Forum? ### Input: CREATE TABLE table_63167 (
"Game" text,
"Date" text,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Record" text
) ### Response: SELECT "Score" FROM table_63167 WHERE "Location/Attendance" = 'great western forum' | 13,633 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the record when the attendance was 41,573? ### Input: CREATE TABLE table_77731 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
) ### Response: SELECT "Record" FROM table_77731 WHERE "Attendance" = '41,573' | 4,620 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who played women's singles in 1933? ### Input: CREATE TABLE table_5346 (
"Year" text,
"Men's singles" text,
"Women's singles" text,
"Men's doubles" text,
"Women's doubles" text,
"Mixed doubles" text
) ### Response: SELECT "Women's singles" FROM table_5346 WHERE "Year" = '1933' | 642 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the frequency for the active rock format? ### Input: CREATE TABLE table_66082 (
"Frequency" text,
"Call sign" text,
"Branding" text,
"Format" text,
"Owner" text
) ### Response: SELECT "Frequency" FROM table_66082 WHERE "Format" = 'active rock' | 7,133 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the Original Canadian air-date for the episode directed by mark rydell? ### Input: CREATE TABLE table_55368 (
"Title" text,
"Original story author" text,
"Director" text,
"Original U.S. air-date" text,
"Original Canadian air-date" text
) ### Response: SELECT "Original Canadian air-date" FROM table_55368 WHERE "Director" = 'mark rydell' | 24,989 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many Total medals did the country with 16 Silver and less than 32 Bronze receive? ### Input: CREATE TABLE table_46365 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) ### Response: SELECT MIN("Total") FROM table_46365 WHERE "Silver" = '16' AND "Bronze" < '32' | 3,532 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many entries have a HK viewers of 2.23 million, and a Rank below 2? ### Input: CREATE TABLE table_name_34 (
peak VARCHAR,
hk_viewers VARCHAR,
rank VARCHAR
) ### Response: SELECT COUNT(peak) FROM table_name_34 WHERE hk_viewers = "2.23 million" AND rank > 2 | 23,989 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What grand prix was held at Granollers? ### Input: CREATE TABLE table_49527 (
"Year" text,
"Designated Grand Prix" text,
"Track" text,
"250 cc" text,
"350 cc" text,
"500 cc" text,
"Report" text
) ### Response: SELECT "Designated Grand Prix" FROM table_49527 WHERE "Track" = 'granollers' | 10,966 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who is the opponent at the IFA: Clash of the Champions? ### Input: CREATE TABLE table_9635 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text
) ### Response: SELECT "Opponent" FROM table_9635 WHERE "Event" = 'ifa: clash of the champions' | 5,742 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is shown for november 3 when june 10-11 is june 10, 1964? ### Input: CREATE TABLE table_25252080_3 (
november_3 VARCHAR,
june_10_11 VARCHAR
) ### Response: SELECT november_3 FROM table_25252080_3 WHERE june_10_11 = "June 10, 1964" | 15,232 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Away team score when home's score is 10.16 (76)? ### Input: CREATE TABLE table_58073 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) ### Response: SELECT "Away team score" FROM table_58073 WHERE "Home team score" = '10.16 (76)' | 21,552 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many tons was the ship from norway? ### Input: CREATE TABLE table_11529 (
"Date" text,
"Ship" text,
"Tons" real,
"Nationality" text,
"Fate and location" text
) ### Response: SELECT COUNT("Tons") FROM table_11529 WHERE "Nationality" = 'norway' | 16,352 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the minoru that has a hikaru sato of x and super crazy of yang (8:36) ### Input: CREATE TABLE table_name_22 (
minoru VARCHAR,
hikaru_sato VARCHAR,
super_crazy VARCHAR
) ### Response: SELECT minoru FROM table_name_22 WHERE hikaru_sato = "x" AND super_crazy = "yang (8:36)" | 12,331 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the name of the first team on this chart ? ### Input: CREATE TABLE table_204_468 (
id number,
"pos" number,
"no" number,
"driver" text,
"team" text,
"laps" number,
"time/retired" text,
"grid" number,
"points" number
) ### Response: SELECT "team" FROM table_204_468 WHERE id = 1 | 18,939 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Tell me the event name for michael mcdowell and billy leslie ### Input: CREATE TABLE table_name_98 (
event_name VARCHAR,
pole_winner VARCHAR,
race_winner VARCHAR
) ### Response: SELECT event_name FROM table_name_98 WHERE pole_winner = "michael mcdowell" AND race_winner = "billy leslie" | 7,494 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Melbourne has an Auckland of no, and a Gold Coast of no? ### Input: CREATE TABLE table_68015 (
"Sydney" text,
"Melbourne" text,
"Perth" text,
"Adelaide" text,
"Gold Coast" text,
"Auckland" text
) ### Response: SELECT "Melbourne" FROM table_68015 WHERE "Auckland" = 'no' AND "Gold Coast" = 'no' | 8,644 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Part number(s) has a L3 cache of 8 mb and a sSpec number of sr0pl(e1)? ### Input: CREATE TABLE table_name_71 (
part_number_s_ VARCHAR,
l3_cache VARCHAR,
sspec_number VARCHAR
) ### Response: SELECT part_number_s_ FROM table_name_71 WHERE l3_cache = "8 mb" AND sspec_number = "sr0pl(e1)" | 19,084 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the lowest amount of points held by the Epperly Indy roadster in 1959? ### Input: CREATE TABLE table_67407 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
) ### Response: SELECT MIN("Points") FROM table_67407 WHERE "Chassis" = 'epperly indy roadster' AND "Year" = '1959' | 8,683 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which team scored 4.11 (35) while playing away? ### Input: CREATE TABLE table_10966 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) ### Response: SELECT "Away team" FROM table_10966 WHERE "Away team score" = '4.11 (35)' | 21,893 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: largest victory ### Input: CREATE TABLE table_203_57 (
id number,
"year" number,
"round" text,
"against" text,
"score" text,
"scorers" text
) ### Response: SELECT "score" FROM table_203_57 ORDER BY "score" - "score" DESC LIMIT 1 | 6,075 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: only 402,026 kilometres were traveled in what service date ? ### Input: CREATE TABLE table_203_27 (
id number,
"number" number,
"serial no" number,
"entered service" text,
"withdrawn" text,
"kilometres travelled" number
) ### Response: SELECT "entered service" FROM table_203_27 WHERE "kilometres travelled" = 402026 | 8,127 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the nationality of Cardinal-Bishop of Albano? ### Input: CREATE TABLE table_14122 (
"Elector" text,
"Nationality" text,
"Cardinalatial order and title" text,
"Elevated" text,
"Elevator" text,
"Notes" text
) ### Response: SELECT "Nationality" FROM table_14122 WHERE "Cardinalatial order and title" = 'cardinal-bishop of albano' | 10,418 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the 2009 final placing? ### Input: CREATE TABLE table_32252 (
"Season" real,
"Series" text,
"Team" text,
"Races" text,
"Wins" text,
"Poles" text,
"Podiums" text,
"Points" text,
"Final Placing" text
) ### Response: SELECT "Final Placing" FROM table_32252 WHERE "Season" = '2009' | 7,722 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: In what division will you find the team nicknamed the Silver Eagles ### Input: CREATE TABLE table_1273 (
"School" text,
"Nickname" text,
"Colors" text,
"League" text,
"Class" text,
"Division" text
) ### Response: SELECT "Division" FROM table_1273 WHERE "Nickname" = 'Silver Eagles' | 22,618 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the results against the Philadelphia Eagles? ### Input: CREATE TABLE table_43528 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
) ### Response: SELECT "Result" FROM table_43528 WHERE "Opponent" = 'philadelphia eagles' | 12,853 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the male incarceration rate of maule? ### Input: CREATE TABLE table_25042332_31 (
incarceration_rate_male INTEGER,
region VARCHAR
) ### Response: SELECT MAX(incarceration_rate_male) FROM table_25042332_31 WHERE region = "Maule" | 147 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Tell me the post-season record for kansas city ### Input: CREATE TABLE table_31575 (
"Season" text,
"Manager" text,
"Record [a ]" text,
"Win %" real,
"Post-season record [e ]" text,
"Post-season win %" text,
"MLB affiliate" text
) ### Response: SELECT "Post-season record [e ]" FROM table_31575 WHERE "MLB affiliate" = 'kansas city' | 3,301 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Institutional authority has a Rocket launch of rehnuma-10? ### Input: CREATE TABLE table_57777 (
"Rocket launch" text,
"Launch Date" text,
"Mission" text,
"Institutional authority" text,
"Launch Site" text,
"Outcomes" text,
"Derivatives" text
) ### Response: SELECT "Institutional authority" FROM table_57777 WHERE "Rocket launch" = 'rehnuma-10' | 24,127 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the goals when the country is wal, the name is smith and apps is more than 0? ### Input: CREATE TABLE table_name_83 (
goals INTEGER,
apps VARCHAR,
country VARCHAR,
name VARCHAR
) ### Response: SELECT SUM(goals) FROM table_name_83 WHERE country = "wal" AND name = "smith" AND apps > 0 | 22,811 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many swimsuits have an Evening Gown larger than 9, and an Interview larger than 8.405? ### Input: CREATE TABLE table_name_32 (
swimsuit VARCHAR,
evening_gown VARCHAR,
interview VARCHAR
) ### Response: SELECT COUNT(swimsuit) FROM table_name_32 WHERE evening_gown > 9 AND interview > 8.405 | 1,359 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many games did team iurbentia bilbao have with rebounds higher than 212? ### Input: CREATE TABLE table_8569 (
"Rank" real,
"Name" text,
"Team" text,
"Games" real,
"Rebounds" real
) ### Response: SELECT SUM("Games") FROM table_8569 WHERE "Team" = 'iurbentia bilbao' AND "Rebounds" > '212' | 19,749 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the largest attendance number when the Chicago Cardinals were the opponent and the week was less than 4? ### Input: CREATE TABLE table_name_48 (
attendance INTEGER,
opponent VARCHAR,
week VARCHAR
) ### Response: SELECT MAX(attendance) FROM table_name_48 WHERE opponent = "chicago cardinals" AND week < 4 | 2,056 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the system called that is named ELKJS? ### Input: CREATE TABLE table_77524 (
"Name" text,
"Actual version" text,
"System" text,
"Platform" text,
"License" text
) ### Response: SELECT "System" FROM table_77524 WHERE "Name" = 'elkjs' | 2,324 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the oldest ship of these three : highlea , hijack or hi falutin ? ### Input: CREATE TABLE table_204_33 (
id number,
"number" number,
"name" text,
"year built" number,
"boat builder" text,
"current status" text
) ### Response: SELECT "name" FROM table_204_33 WHERE "name" IN ('highlea', 'hijack', 'hi-falutin') ORDER BY "year built" LIMIT 1 | 15,467 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the total number of Round with a Method of submission (ankle lock), a Location of tokyo, japan, and a Record of 13-5-2? ### Input: CREATE TABLE table_name_84 (
round INTEGER,
record VARCHAR,
method VARCHAR,
location VARCHAR
) ### Response: SELECT SUM(round) FROM table_name_84 WHERE method = "submission (ankle lock)" AND location = "tokyo, japan" AND record = "13-5-2" | 15,605 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which ranking has money of $82 and Al Watrous as the player? ### Input: CREATE TABLE table_13158 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real,
"Money ( $ )" real
) ### Response: SELECT "Place" FROM table_13158 WHERE "Money ( $ )" = '82' AND "Player" = 'al watrous' | 19,415 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the total number of silver with rank number 6? ### Input: CREATE TABLE table_7454 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) ### Response: SELECT COUNT("Silver") FROM table_7454 WHERE "Rank" = '6' | 23,593 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which player has 0 goals, 1 tries, 4 points, and plays in the Prop position? ### Input: CREATE TABLE table_name_19 (
player VARCHAR,
position VARCHAR,
points VARCHAR,
goals VARCHAR,
tries VARCHAR
) ### Response: SELECT player FROM table_name_19 WHERE goals = 0 AND tries = 1 AND points = 4 AND position = "prop" | 1,475 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: which is the biggest production code? ### Input: CREATE TABLE table_73415 (
"Season no." real,
"Series no." real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"U.S. Viewers (millions)" text
) ### Response: SELECT MAX("Production code") FROM table_73415 | 12,633 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the to par of player tom weiskopf, who has a 71-74=145 score? ### Input: CREATE TABLE table_77461 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) ### Response: SELECT "To par" FROM table_77461 WHERE "Score" = '71-74=145' AND "Player" = 'tom weiskopf' | 6,987 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the match report for the game played at forthbank stadium against stirling albion? ### Input: CREATE TABLE table_name_29 (
match_report VARCHAR,
opponents VARCHAR,
venue VARCHAR
) ### Response: SELECT match_report FROM table_name_29 WHERE opponents = "stirling albion" AND venue = "forthbank stadium" | 15,263 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the height of representative #6? ### Input: CREATE TABLE table_30272 (
"Represent" real,
"Contestant" text,
"Age" real,
"Height" text,
"Hometown" text,
"Sponsor" text
) ### Response: SELECT "Height" FROM table_30272 WHERE "Represent" = '6' | 7,056 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many independent candidates were on the ballot for alderman in 1919 ? ### Input: CREATE TABLE table_204_736 (
id number,
"party" text,
"candidate" text,
"votes" number
) ### Response: SELECT COUNT("candidate") FROM table_204_736 WHERE "party" = 'independent' | 326 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the opponent on November 26, 1989? ### Input: CREATE TABLE table_33675 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Attendance" real
) ### Response: SELECT "Opponent" FROM table_33675 WHERE "Date" = 'november 26, 1989' | 6,248 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Round has a School/Club Team of arizona, and a Pick smaller than 298? ### Input: CREATE TABLE table_name_68 (
round INTEGER,
school_club_team VARCHAR,
pick VARCHAR
) ### Response: SELECT MAX(round) FROM table_name_68 WHERE school_club_team = "arizona" AND pick < 298 | 14,950 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What are the Ages of the Seashell Trust School with Ofsted Report? ### Input: CREATE TABLE table_8414 (
"School" text,
"Locality" text,
"Ages" text,
"Report" text,
"Website" text
) ### Response: SELECT "Ages" FROM table_8414 WHERE "Report" = 'ofsted' AND "School" = 'seashell trust' | 1,815 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the place when the performance is 60.73m? ### Input: CREATE TABLE table_54893 (
"Year" real,
"Place" text,
"Event" text,
"Performance" text,
"Age (years)" real
) ### Response: SELECT "Place" FROM table_54893 WHERE "Performance" = '60.73m' | 3,809 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the co-driver that had a class position of 2nd? ### Input: CREATE TABLE table_80333 (
"Year" real,
"Class" text,
"Tyres" text,
"Team" text,
"Co-Drivers" text,
"Pos." text,
"Class Pos." text
) ### Response: SELECT "Co-Drivers" FROM table_80333 WHERE "Class Pos." = '2nd' | 22,421 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What are the highest points that Emmitt Smith had? ### Input: CREATE TABLE table_34512 (
"Rank" text,
"Player" text,
"Position" text,
"Career" text,
"Points" real
) ### Response: SELECT MAX("Points") FROM table_34512 WHERE "Player" = 'emmitt smith' | 21,873 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When was the game that was held at the Princes Park? ### Input: CREATE TABLE table_32808 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) ### Response: SELECT "Date" FROM table_32808 WHERE "Venue" = 'princes park' | 11,238 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the score at Olympic Stadium Tokyo, Japan? ### Input: CREATE TABLE table_63868 (
"Date" text,
"Venue" text,
"Score" text,
"Comp" text,
"Report" text
) ### Response: SELECT "Score" FROM table_63868 WHERE "Venue" = 'olympic stadium tokyo, japan' | 13,621 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What nationality is the player from the College of Cincinnati? ### Input: CREATE TABLE table_11342 (
"Round" text,
"Pick" text,
"Player" text,
"Position" text,
"Nationality" text,
"Team" text,
"College" text
) ### Response: SELECT "Nationality" FROM table_11342 WHERE "College" = 'cincinnati' | 6,974 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the song released by Travis? ### Input: CREATE TABLE table_28090 (
"Entered [A ]" text,
"Weeks in top 10" real,
"Single" text,
"Artist" text,
"Peak" real,
"Peak reached [A ]" text,
"Weeks at number 1" real
) ### Response: SELECT "Single" FROM table_28090 WHERE "Artist" = 'Travis' | 16,517 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the total wins with less than 2 ties, 18 goals, and less than 2 losses? ### Input: CREATE TABLE table_name_2 (
wins INTEGER,
losses VARCHAR,
ties VARCHAR,
goals_against VARCHAR
) ### Response: SELECT SUM(wins) FROM table_name_2 WHERE ties < 2 AND goals_against = 18 AND losses < 2 | 130 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What film did abdelatif hwidar direct that was in the short film 2007 prix uip category? ### Input: CREATE TABLE table_name_93 (
film VARCHAR,
category VARCHAR,
director_s_ VARCHAR
) ### Response: SELECT film FROM table_name_93 WHERE category = "short film 2007 prix uip" AND director_s_ = "abdelatif hwidar" | 12,328 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: who won after arazi ? ### Input: CREATE TABLE table_204_62 (
id number,
"year" number,
"winner" text,
"second" text,
"third" text,
"starters" number
) ### Response: SELECT "winner" FROM table_204_62 WHERE "year" > (SELECT "year" FROM table_204_62 WHERE "winner" = 'arazi') ORDER BY "year" LIMIT 1 | 9,435 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: who is the the incumbent with candidates being john m. vorys (r) 61.5% jacob f. myers (d) 38.5% ### Input: CREATE TABLE table_1342013_34 (
incumbent VARCHAR,
candidates VARCHAR
) ### Response: SELECT incumbent FROM table_1342013_34 WHERE candidates = "John M. Vorys (R) 61.5% Jacob F. Myers (D) 38.5%" | 9,674 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many years in the nba did mark madsen play ? ### Input: CREATE TABLE table_203_622 (
id number,
"date" text,
"team" text,
"name" text,
"position" text,
"years in nba" number,
"notes" text
) ### Response: SELECT "years in nba" FROM table_203_622 WHERE "name" = 'mark madsen' | 8,416 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the result of the game that was played at Soldier Field? ### Input: CREATE TABLE table_66882 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" real
) ### Response: SELECT "Result" FROM table_66882 WHERE "Game site" = 'soldier field' | 3,676 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the English Title of Fanny Och Alexander? ### Input: CREATE TABLE table_79996 (
"Year" real,
"English title" text,
"Original title" text,
"Country" text,
"Director(s)" text
) ### Response: SELECT "English title" FROM table_79996 WHERE "Original title" = 'fanny och alexander' | 1,034 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many novelists are listed ? ### Input: CREATE TABLE table_203_449 (
id number,
"name" text,
"lifetime" text,
"nationality" text,
"notable as" text,
"notes" text
) ### Response: SELECT COUNT(*) FROM table_203_449 WHERE "notable as" = 'novelist' | 9,397 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which nhl team has the player kevin mckay? ### Input: CREATE TABLE table_4127 (
"Pick" text,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
) ### Response: SELECT "NHL team" FROM table_4127 WHERE "Player" = 'Kevin McKay' | 6,552 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many gold when silver is less than 32, bronze is 25, and overall is less than 67? ### Input: CREATE TABLE table_name_17 (
gold INTEGER,
overall VARCHAR,
silver VARCHAR,
bronze VARCHAR
) ### Response: SELECT SUM(gold) FROM table_name_17 WHERE silver < 32 AND bronze = 25 AND overall < 67 | 23,674 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many away games did the bridgeport barrage have ? ### Input: CREATE TABLE table_203_853 (
id number,
"date" text,
"opponent" text,
"home/away" text,
"field" text,
"result" text
) ### Response: SELECT COUNT(*) FROM table_203_853 WHERE "home/away" = 'away' | 21,713 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What company is the producer in the chennai mohan power plant? ### Input: CREATE TABLE table_56452 (
"Power Plant" text,
"Producer" text,
"Location" text,
"State" text,
"Total Capacity (MWe)" real
) ### Response: SELECT "Producer" FROM table_56452 WHERE "Power Plant" = 'chennai mohan' | 9,882 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is minimum age for different job title, sort in descending by the X. ### Input: CREATE TABLE PersonFriend (
name varchar(20),
friend varchar(20),
year INTEGER
)
CREATE TABLE Person (
name varchar(20),
age INTEGER,
city TEXT,
gender TEXT,
job TEXT
) ### Response: SELECT job, MIN(age) FROM Person GROUP BY job ORDER BY job DESC | 12,590 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the sum Total (kg) associated with a Snatch less than 110, and a Clean & jerk larger than 120? ### Input: CREATE TABLE table_56020 (
"Name" text,
"Bodyweight" real,
"Snatch" real,
"Clean & jerk" real,
"Total (kg)" real
) ### Response: SELECT SUM("Total (kg)") FROM table_56020 WHERE "Snatch" < '110' AND "Clean & jerk" > '120' | 7,180 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what was the number of cyclists from heat 2 ? ### Input: CREATE TABLE table_204_155 (
id number,
"rank" number,
"heat" number,
"athlete" text,
"nationality" text,
"time" number,
"notes" text
) ### Response: SELECT COUNT(*) FROM table_204_155 WHERE "heat" = 2 | 14,979 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What title was released in 1971? ### Input: CREATE TABLE table_36549 (
"Year" real,
"Title" text,
"Format" text,
"Label" text,
"Catalogno" text,
"Remark" text
) ### Response: SELECT "Title" FROM table_36549 WHERE "Year" = '1971' | 19,007 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many years had a 100 m hurdles event at the world championships in Osaka, Japan? ### Input: CREATE TABLE table_60746 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Event" text
) ### Response: SELECT SUM("Year") FROM table_60746 WHERE "Event" = '100 m hurdles' AND "Competition" = 'world championships' AND "Venue" = 'osaka, japan' | 8,498 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What model is the n m (lb ft)@1500-2500 torque? ### Input: CREATE TABLE table_79392 (
"Model" text,
"Years" text,
"Engine code" text,
"Power" text,
"Torque" text
) ### Response: SELECT "Model" FROM table_79392 WHERE "Torque" = 'n·m (lb·ft)@1500-2500' | 13,550 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which series has a season prior to 2009? ### Input: CREATE TABLE table_9256 (
"Season" real,
"Conference" text,
"Champion" text,
"Format" text,
"Series" text,
"Runner-Up" text
) ### Response: SELECT "Series" FROM table_9256 WHERE "Season" < '2009' | 13,657 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What are the mm dimensions of the Plustek Mobileoffice D28 Corporate? ### Input: CREATE TABLE table_20790 (
"product" text,
"dimensions (mm)" text,
"dpi" real,
"pages per minute (color)" real,
"max page size" text,
"interface" text
) ### Response: SELECT "dimensions (mm)" FROM table_20790 WHERE "product" = 'Plustek MobileOffice D28 Corporate' | 5,259 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is Natalya's Time? ### Input: CREATE TABLE table_12864 (
"Elimination" text,
"Wrestler" text,
"Team" text,
"Eliminated by" text,
"Elimination Move" text,
"Time" text
) ### Response: SELECT "Time" FROM table_12864 WHERE "Wrestler" = 'natalya' | 1,249 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which title was No. 4 in season? ### Input: CREATE TABLE table_20545 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written By" text,
"Originalairdate" text,
"TV Broadcast" text
) ### Response: SELECT "Title" FROM table_20545 WHERE "No. in season" = '4' | 21,575 |