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 are the minimum points for tommy kendall? ### Input: CREATE TABLE table_3898 (
"Position" real,
"Driver" text,
"Points" real,
"Winnings" text,
"Series" text
) ### Response: SELECT MIN("Points") FROM table_3898 WHERE "Driver" = 'Tommy Kendall' | 21,074 |
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 day is south melbourne the away side? ### Input: CREATE TABLE table_33703 (
"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_33703 WHERE "Away team" = 'south melbourne' | 9,571 |
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 landesliga mitte sv t rk g c m nchen ### Input: CREATE TABLE table_20181270_3 (
landesliga_mitte VARCHAR,
bayernliga VARCHAR
) ### Response: SELECT landesliga_mitte FROM table_20181270_3 WHERE bayernliga = "SV Türk Gücü München" | 4,746 |
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 comedian that has a pair no larger than 5 with a comedian II: Jimmy Moses? ### Input: CREATE TABLE table_70253 (
"Pair No." real,
"Comedian:1" text,
"Comedian:II" text,
"Tansen(Singers)" text,
"Place(Result)" text
) ### Response: SELECT "Comedian:1" FROM table_70253 WHERE "Pair No." > '5' AND "Comedian:II" = 'jimmy moses' | 3,992 |
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 surface on 21 june 1993? ### Input: CREATE TABLE table_77181 (
"Outcome" text,
"Date" text,
"Championship" text,
"Surface" text,
"Opponent" text,
"Score" text
) ### Response: SELECT "Surface" FROM table_77181 WHERE "Date" = '21 june 1993' | 15,524 |
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 2013 (86th) Ceremony? ### Input: CREATE TABLE table_42396 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Original title" text,
"Director" text,
"Result" text
) ### Response: SELECT "Result" FROM table_42396 WHERE "Year (Ceremony)" = '2013 (86th)' | 3,390 |
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 tie no has Watford as the date? ### Input: CREATE TABLE table_48292 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
) ### Response: SELECT "Tie no" FROM table_48292 WHERE "Date" = 'watford' | 21,530 |
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 Tie No, when Score is 'Marlow United won 4 2 on penalties'? ### Input: CREATE TABLE table_12333 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" text
) ### Response: SELECT "Tie no" FROM table_12333 WHERE "Score" = 'marlow united won 4–2 on penalties' | 19,650 |
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 date for circuit of interlagos ### Input: CREATE TABLE table_56890 (
"Race" text,
"Circuit" text,
"Date" text,
"Pole position" text,
"Fastest lap" text,
"Winning driver" text,
"Constructor" text,
"Tyre" text,
"Report" text
) ### Response: SELECT "Date" FROM table_56890 WHERE "Circuit" = 'interlagos' | 7,807 |
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 Record at the game that had an attendance of 21,191? ### Input: CREATE TABLE table_54398 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
) ### Response: SELECT "Record" FROM table_54398 WHERE "Attendance" = '21,191' | 2,369 |
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 gunfire victim Maria Cecilia Rosa with 6 years of Tenure Date of Death? ### Input: CREATE TABLE table_9580 (
"Name" text,
"Rank" text,
"Tenure" text,
"Date of death" text,
"Cause of death" text
) ### Response: SELECT "Date of death" FROM table_9580 WHERE "Cause of death" = 'gunfire' AND "Tenure" = '6 years' AND "Name" = 'maria cecilia rosa' | 14,228 |
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 cr number? ### Input: CREATE TABLE table_22640 (
"HR no." text,
"HR name" text,
"CR no." real,
"LMS no." real,
"Built" text,
"Works" text,
"Withdrawn" text
) ### Response: SELECT MIN("CR no.") FROM table_22640 | 18,558 |
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 owner with a frequency of 0 101.1 fm? ### Input: CREATE TABLE table_5780 (
"Call sign" text,
"Frequency" text,
"City of License" text,
"Owner" text,
"Format" text
) ### Response: SELECT "Owner" FROM table_5780 WHERE "Frequency" = '0 101.1 fm' | 8,562 |
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: List all titles with a 57 series number. ### Input: CREATE TABLE table_29485 (
"No. in Series" real,
"No. in Season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (millions)" text
) ### Response: SELECT "Title" FROM table_29485 WHERE "No. in Series" = '57' | 6,074 |
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 parties are named the Center Alliance ### Input: CREATE TABLE table_23687 (
"English party name" text,
"Norwegian party name" text,
"Associated ideology" text,
"Current leader" text,
"International affiliation" text,
"2013 Parliamentary election" text,
"County councils ( 2011 )" real
) ### Response: SELECT COUNT("2013 Parliamentary election") FROM table_23687 WHERE "English party name" = 'Center Alliance' | 4,999 |
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 spvgg vohenstrau is the oberpfalz what is the season? ### Input: CREATE TABLE table_25737 (
"Season" text,
"Oberbayern A" text,
"Oberbayern B" text,
"Niederbayern" text,
"Schwaben" text,
"Oberpfalz" text
) ### Response: SELECT "Season" FROM table_25737 WHERE "Oberpfalz" = 'SpVgg Vohenstrauß' | 21,578 |
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 position of the player whose college is Western Kentucky? ### Input: CREATE TABLE table_19485 (
"Pick #" real,
"NFL Team" text,
"Player" text,
"Position" text,
"College" text
) ### Response: SELECT "Position" FROM table_19485 WHERE "College" = 'Western Kentucky' | 16,105 |
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 mike bibby (9) has the highest amount of assists what is the location and attendance? ### Input: CREATE TABLE table_17311759_9 (
location_attendance VARCHAR,
high_assists VARCHAR
) ### Response: SELECT location_attendance FROM table_17311759_9 WHERE high_assists = "Mike Bibby (9)" | 17,511 |
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 Chest is Supplied by Gilbert? ### Input: CREATE TABLE table_44513 (
"Year" text,
"Supplier" text,
"Chest" text,
"Sleeves" text,
"Back" text
) ### Response: SELECT "Chest" FROM table_44513 WHERE "Supplier" = 'gilbert' | 23,747 |
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: Bar chart of mean price from each name, order names in desc order. ### Input: CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
) ### Response: SELECT Name, AVG(Price) FROM Products GROUP BY Name ORDER BY Name DESC | 14,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 lowest 1971 number of the Macedonian population with a 2002 value greater than 133 and a 1991 value less than 171? ### Input: CREATE TABLE table_name_15 (
number_1971 INTEGER
) ### Response: SELECT MIN(number_1971) FROM table_name_15 WHERE 2002 > 133 AND 1991 < 171 | 4,141 |
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 times did mocho cota lose to chamaco valaguez ? ### Input: CREATE TABLE table_204_373 (
id number,
"wager" text,
"winner" text,
"loser" text,
"location" text,
"date" text
) ### Response: SELECT COUNT(*) FROM table_204_373 WHERE "loser" = 'mocho cota' AND "winner" = 'chamaco valaguez' | 4,186 |
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: of these players , who had the longest career ? ### Input: CREATE TABLE table_203_754 (
id number,
"no." number,
"player" text,
"position" text,
"career" text,
"date no. retired" text
) ### Response: SELECT "player" FROM table_203_754 ORDER BY "career" - "career" DESC LIMIT 1 | 13,464 |
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: number of victories ### Input: CREATE TABLE table_203_746 (
id number,
"date" text,
"opponent" text,
"score" text,
"leading scorer" text,
"attendance" number,
"record" text
) ### Response: SELECT COUNT(*) FROM table_203_746 WHERE "score" > "score" | 5,665 |
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 player scored 70-72-70=212? ### Input: CREATE TABLE table_60317 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) ### Response: SELECT "Player" FROM table_60317 WHERE "Score" = '70-72-70=212' | 20,515 |
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 size of Centerville in 89 Wayne county with an IHSAA class of AA in the year before 1974? ### Input: CREATE TABLE table_name_61 (
size VARCHAR,
school VARCHAR,
_number___county VARCHAR,
year_joined VARCHAR,
ihsaa_class VARCHAR
) ### Response: SELECT size FROM table_name_61 WHERE year_joined < 1974 AND ihsaa_class = "aa" AND _number___county = "89 wayne" AND school = "centerville" | 16,564 |
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 Segment A for when Segment C is s Sailboard? ### Input: CREATE TABLE table_19940 (
"Series Ep." text,
"Episode" real,
"Netflix" text,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
) ### Response: SELECT "Segment A" FROM table_19940 WHERE "Segment C" = 's Sailboard' | 15,962 |
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 cup apps for the season where there are more than 10 league goals and 23 league apps? ### Input: CREATE TABLE table_name_17 (
cup_apps VARCHAR,
league_goals VARCHAR,
league_apps VARCHAR
) ### Response: SELECT cup_apps FROM table_name_17 WHERE league_goals > 10 AND league_apps = 23 | 15,178 |
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: On October 24, who played at home when there was a decision of Ward? ### Input: CREATE TABLE table_58477 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
) ### Response: SELECT "Home" FROM table_58477 WHERE "Decision" = 'ward' AND "Date" = 'october 24' | 515 |
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 format was used the most according to this chart ? ### Input: CREATE TABLE table_203_545 (
id number,
"single/ep" text,
"release date" text,
"label" text,
"format(s)" text,
"uk singles chart position" number,
"notes" text
) ### Response: SELECT "format(s)" FROM table_203_545 GROUP BY "format(s)" ORDER BY COUNT(*) DESC LIMIT 1 | 15,111 |
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 highest percentage of speakers other than polish ? ### Input: CREATE TABLE table_203_88 (
id number,
"language" text,
"number" number,
"percentage (%)" number,
"males" number,
"females" number
) ### Response: SELECT "language" FROM table_203_88 WHERE "language" <> 'polish' ORDER BY "percentage (%)" DESC LIMIT 1 | 14,951 |
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 reports of races took place on october 16? ### Input: CREATE TABLE table_16255 (
"Rnd" text,
"Race Name" text,
"Circuit" text,
"City/Location" text,
"Date" text,
"Pole position" text,
"Winning driver" text,
"Winning team" text,
"Report" text
) ### Response: SELECT COUNT("Report") FROM table_16255 WHERE "Date" = 'October 16' | 9,712 |
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 Away team is essendon, what was the Date they played? ### Input: CREATE TABLE table_55039 (
"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_55039 WHERE "Away team" = 'essendon' | 2,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: Name province of 1936 viana do castelo ### Input: CREATE TABLE table_24800 (
"District" text,
"Municipalities" real,
"Parishes" real,
"Province of 1936" text,
"Region" text
) ### Response: SELECT "Province of 1936" FROM table_24800 WHERE "District" = 'Viana do Castelo' | 12,265 |
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 height of the school club team members in clemson? ### Input: CREATE TABLE table_17169 (
"Player" text,
"No.(s)" real,
"Height in Ft." text,
"Position" text,
"Years for Rockets" text,
"School/Club Team/Country" text
) ### Response: SELECT "Height in Ft." FROM table_17169 WHERE "School/Club Team/Country" = 'Clemson' | 15,173 |
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 votes for brown in the place that had 84.1% for coakley? ### Input: CREATE TABLE table_24115349_6 (
brown_votes INTEGER,
coakley__percentage VARCHAR
) ### Response: SELECT MAX(brown_votes) FROM table_24115349_6 WHERE coakley__percentage = "84.1%" | 4,758 |
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 Year saw the Production of Wicked at the Helpmann Awards Award ceremony? ### Input: CREATE TABLE table_61781 (
"Year" real,
"Award ceremony" text,
"Role" text,
"Production" text,
"Result" text
) ### Response: SELECT "Year" FROM table_61781 WHERE "Production" = 'wicked' AND "Award ceremony" = 'helpmann awards' | 9,176 |
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: uncontrolled hyperglycemia ### Input: CREATE TABLE table_train_189 (
"id" int,
"alt" float,
"hyperglycemia" bool,
"liver_disease" bool,
"smoking" bool,
"alcohol_abuse" bool,
"drug_abuse" bool,
"triglyceride_tg" float,
"NOUSE" float
) ### Response: SELECT * FROM table_train_189 WHERE hyperglycemia = 1 | 12,813 |
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 earliest year for the Ligier Gitanes? ### Input: CREATE TABLE table_68427 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
) ### Response: SELECT MIN("Year") FROM table_68427 WHERE "Entrant" = 'ligier gitanes' | 22,295 |
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 of games played when the losses is less than 7, the wins is 6 and the goals for is more than 76? ### Input: CREATE TABLE table_name_31 (
games_played INTEGER,
goals_for VARCHAR,
losses VARCHAR,
wins VARCHAR
) ### Response: SELECT SUM(games_played) FROM table_name_31 WHERE losses < 7 AND wins = 6 AND goals_for > 76 | 6,251 |
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 score when TSV Siegen was the runner-up? ### Input: CREATE TABLE table_66063 (
"Year" text,
"Champions" text,
"Score" text,
"Runners-up" text,
"Venue" text
) ### Response: SELECT "Score" FROM table_66063 WHERE "Runners-up" = 'tsv siegen' | 3,931 |
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 did the green bay packers pick? ### Input: CREATE TABLE table_73736 (
"Pick #" real,
"NFL Team" text,
"Player" text,
"Position" text,
"College" text
) ### Response: SELECT "Player" FROM table_73736 WHERE "NFL Team" = 'Green Bay Packers' | 5,592 |
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 constructor has laps less than 100 and a time/retired +10 laps? ### Input: CREATE TABLE table_54219 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) ### Response: SELECT "Constructor" FROM table_54219 WHERE "Laps" < '100' AND "Time/Retired" = '+10 laps' | 12,838 |
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 report for an away team of Sydney Spirit and score of 96-87? ### Input: CREATE TABLE table_9336 (
"Date" text,
"Home team" text,
"Score" text,
"Away team" text,
"Venue" text,
"Box Score" text,
"Report" text
) ### Response: SELECT "Report" FROM table_9336 WHERE "Away team" = 'sydney spirit' AND "Score" = '96-87' | 11,651 |
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 Interview has a Province of monte cristi and a Swimsuit larger than 7.27 ### Input: CREATE TABLE table_name_75 (
interview INTEGER,
province VARCHAR,
swimsuit VARCHAR
) ### Response: SELECT SUM(interview) FROM table_name_75 WHERE province = "monte cristi" AND swimsuit > 7.27 | 5,279 |
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 total number of % wt comp 1 foR % wt comp 2 or 27 ### Input: CREATE TABLE table_name_1 (
_percentage_wt_comp_1 VARCHAR,
_percentage_wt_comp_2 VARCHAR
) ### Response: SELECT COUNT(_percentage_wt_comp_1) FROM table_name_1 WHERE _percentage_wt_comp_2 = 27 | 17,669 |
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 date of stade des martyrs, dr congo ### Input: CREATE TABLE table_31578 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
) ### Response: SELECT "Date" FROM table_31578 WHERE "Venue" = 'stade des martyrs, dr congo' | 13,010 |
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 number of laps with a time/retired of +38.426? ### Input: CREATE TABLE table_5147 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) ### Response: SELECT MIN("Laps") FROM table_5147 WHERE "Time/Retired" = '+38.426' | 11,002 |
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 draw for the english meaning Eyes that Never Lie? ### Input: CREATE TABLE table_19523708_1 (
draw VARCHAR,
language VARCHAR,
english_meaning VARCHAR
) ### Response: SELECT draw FROM table_19523708_1 WHERE language = "English" AND english_meaning = "Eyes That Never Lie" | 7,491 |
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 studio analyst has Scott Oake for the ice level reporter? ### Input: CREATE TABLE table_10711 (
"Year" real,
"Network" text,
"Play-by-play" text,
"Colour commentator(s)" text,
"Ice level reporters" text,
"Studio host" text,
"Studio analysts" text
) ### Response: SELECT "Studio analysts" FROM table_10711 WHERE "Ice level reporters" = 'scott oake' | 12,508 |
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 tajik is the ethnicity what is islam? ### Input: CREATE TABLE table_20936 (
"Ethnicity" text,
"Islam" text,
"Christianity" text,
"Judaism" text,
"Buddhism" text,
"Other" text,
"Atheism" text,
"n/a" text
) ### Response: SELECT "Islam" FROM table_20936 WHERE "Ethnicity" = 'Tajik' | 24,015 |
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 millions of viewers did the episode written by Andrea Conway Kagey? ### Input: CREATE TABLE table_23399481_4 (
us_viewers__in_millions_ VARCHAR,
written_by VARCHAR
) ### Response: SELECT us_viewers__in_millions_ FROM table_23399481_4 WHERE written_by = "Andrea Conway Kagey" | 22,074 |
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 sign has a red border and a warning sign? ### Input: CREATE TABLE table_57200 (
"Type of sign" text,
"Shape" text,
"Border" text,
"Background colour" text,
"Text/Symbol" text
) ### Response: SELECT "Text/Symbol" FROM table_57200 WHERE "Border" = 'red' AND "Type of sign" = 'warning' | 2,299 |
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 winning driver driving the winning car March - Honda 86j, with the winning team Team Nova? ### Input: CREATE TABLE table_4915 (
"Date" text,
"Round" text,
"Circuit" text,
"Winning driver" text,
"Winning team" text,
"Winning car" text
) ### Response: SELECT "Winning driver" FROM table_4915 WHERE "Winning car" = 'march - honda 86j' AND "Winning team" = 'team nova' | 3,835 |
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 score when york city was the home team? ### Input: CREATE TABLE table_63205 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
) ### Response: SELECT "Score" FROM table_63205 WHERE "Home team" = 'york city' | 2,018 |
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 teams finished in the top team with an average finish of 23.3? ### Input: CREATE TABLE table_2190919_1 (
top_10 VARCHAR,
avg_finish VARCHAR
) ### Response: SELECT COUNT(top_10) FROM table_2190919_1 WHERE avg_finish = "23.3" | 5,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 genre is Led Zeppelin? ### Input: CREATE TABLE table_69981 (
"Artist" text,
"Country of origin" text,
"Period active" text,
"Release-year of first charted record" real,
"Genre" text,
"Claimed sales" text
) ### Response: SELECT "Genre" FROM table_69981 WHERE "Artist" = 'led zeppelin' | 2,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: In which round did Roy Salvadori won Class D and Alan Hutcheson won Class B? ### Input: CREATE TABLE table_24853015_1 (
round VARCHAR,
class_d_winner VARCHAR,
class_b_winner VARCHAR
) ### Response: SELECT round FROM table_24853015_1 WHERE class_d_winner = "Roy Salvadori" AND class_b_winner = "Alan Hutcheson" | 13,771 |
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 overall amount of no votes? ### Input: CREATE TABLE table_27901 (
"meas. num" real,
"passed" text,
"YES votes" real,
"NO votes" real,
"% YES" text,
"Const. Amd.?" text,
"type" text,
"description" text
) ### Response: SELECT MIN("NO votes") FROM table_27901 | 11,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: what was the difference in points in week ones match up ? ### Input: CREATE TABLE table_204_662 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"attendance" number,
"bye" text
) ### Response: SELECT ABS("result" - "result") FROM table_204_662 WHERE "week" = 1 | 12,634 |
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 host nations if the winner was Hong Kong 207/6 (47.1 overs)? ### Input: CREATE TABLE table_22577693_1 (
host_nation_s_ VARCHAR,
winner VARCHAR
) ### Response: SELECT host_nation_s_ FROM table_22577693_1 WHERE winner = "Hong Kong 207/6 (47.1 overs)" | 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: Which Touchdowns is the lowest one that has Extra points smaller than 14, and a Player of white, and Points smaller than 5? ### Input: CREATE TABLE table_name_98 (
touchdowns INTEGER,
points VARCHAR,
extra_points VARCHAR,
player VARCHAR
) ### Response: SELECT MIN(touchdowns) FROM table_name_98 WHERE extra_points < 14 AND player = "white" AND points < 5 | 4,162 |
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 transfer window of the player moving to Panionios? ### Input: CREATE TABLE table_58968 (
"Nat." text,
"Name" text,
"Moving to" text,
"Type" text,
"Transfer window" text
) ### Response: SELECT "Transfer window" FROM table_58968 WHERE "Moving to" = 'panionios' | 2,234 |
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 when the spurs were the visitors? ### Input: CREATE TABLE table_54090 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
) ### Response: SELECT "Score" FROM table_54090 WHERE "Visitor" = 'spurs' | 4,057 |
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 of the private colleges is the oldest, and whose nickname is the Mountaineers? ### Input: CREATE TABLE table_74673 (
"Institution" text,
"Nickname" text,
"Location" text,
"Founded" real,
"Type" text,
"Enrollment" real
) ### Response: SELECT MIN("Founded") FROM table_74673 WHERE "Type" = 'private' AND "Nickname" = 'mountaineers' | 1,342 |
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 highest number of points for a position less than 3 and less than 1 loss? ### Input: CREATE TABLE table_39868 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
) ### Response: SELECT MAX("Points") FROM table_39868 WHERE "Position" < '3' AND "Lost" < '1' | 3,568 |
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 game had a 0:0 result? ### Input: CREATE TABLE table_37777 (
"Date" text,
"City" text,
"Opponent" text,
"Results\u00b9" text,
"Type of game" text
) ### Response: SELECT "Type of game" FROM table_37777 WHERE "Results\u00b9" = '0:0' | 3,091 |
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: serological evidence of hiv ### Input: CREATE TABLE table_train_183 (
"id" int,
"anemia" bool,
"hiv_infection" bool,
"hemoglobin_a1c_hba1c" float,
"creatinine_clearance_cl" float,
"panel_reactive_antibodies" int,
"NOUSE" float
) ### Response: SELECT * FROM table_train_183 WHERE hiv_infection = 1 | 23,027 |
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 Original Air Date is 10January2008, what directors released on that date? ### Input: CREATE TABLE table_11642945_1 (
director VARCHAR,
original_air_date VARCHAR
) ### Response: SELECT director FROM table_11642945_1 WHERE original_air_date = "10January2008" | 7,021 |
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 high assists for l 98 103 (ot) ### Input: CREATE TABLE table_72889 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) ### Response: SELECT "High assists" FROM table_72889 WHERE "Score" = 'L 98–103 (OT)' | 3,162 |
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: For the 27 arrow match event, what's the sum of all scores for that event? ### Input: CREATE TABLE table_45015 (
"Event" text,
"Score" real,
"Name" text,
"Nation" text,
"Games" text,
"Date" text
) ### Response: SELECT SUM("Score") FROM table_45015 WHERE "Event" = '27 arrow match' | 21,456 |
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 of all total medals with more than 2 bronze medals and more than 1 gold medal for the United States? ### Input: CREATE TABLE table_name_27 (
total INTEGER,
gold VARCHAR,
bronze VARCHAR,
nation VARCHAR
) ### Response: SELECT SUM(total) FROM table_name_27 WHERE bronze > 2 AND nation = "united states" AND gold > 1 | 3,932 |
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 release November 17, 2009 in a 16:9 aspect ratio? ### Input: CREATE TABLE table_8583 (
"DVD title" text,
"Season" text,
"Aspect ratio" text,
"Episode count" real,
"Time length" text,
"Release date" text
) ### Response: SELECT "DVD title" FROM table_8583 WHERE "Aspect ratio" = '16:9' AND "Release date" = 'november 17, 2009' | 1,925 |
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 numeric decline from peak population when the perfect decline from peak population is -16.76% ### Input: CREATE TABLE table_name_99 (
numeric_decline_from_peak_population VARCHAR,
percent_decline_from_peak_population VARCHAR
) ### Response: SELECT numeric_decline_from_peak_population FROM table_name_99 WHERE percent_decline_from_peak_population = "-16.76%" | 18,311 |
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 Week 11 when Week 10 had Nebraska (7-1)? ### Input: CREATE TABLE table_name_99 (
week_11_nov_6 VARCHAR,
week_10_oct_30 VARCHAR
) ### Response: SELECT week_11_nov_6 FROM table_name_99 WHERE week_10_oct_30 = "nebraska (7-1)" | 2,320 |
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 extra points are there that Herrnstein had with less than 2 touchdowns and less than 0 field goals? ### Input: CREATE TABLE table_name_35 (
extra_points INTEGER,
field_goals VARCHAR,
touchdowns VARCHAR,
player VARCHAR
) ### Response: SELECT AVG(extra_points) FROM table_name_35 WHERE touchdowns < 2 AND player = "herrnstein" AND field_goals < 0 | 10,247 |
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 Country has a ICAO of ltcd? ### Input: CREATE TABLE table_7006 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
) ### Response: SELECT "Country" FROM table_7006 WHERE "ICAO" = 'ltcd' | 11,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: Which elementary schools list Cort Monroe as the principal from 2013 to 2014? ### Input: CREATE TABLE table_14254419_3 (
elementary_schools VARCHAR,
principal__2013_2014_ VARCHAR
) ### Response: SELECT elementary_schools FROM table_14254419_3 WHERE principal__2013_2014_ = "Cort Monroe" | 5,299 |
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 directed the episodes that aired December 15, 1956? ### Input: CREATE TABLE table_28110 (
"Series #" real,
"Season #" real,
"Title" text,
"Director" text,
"Writer(s)" text,
"Airdate" text
) ### Response: SELECT "Director" FROM table_28110 WHERE "Airdate" = 'December 15, 1956' | 194 |
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 score when the result is loss, the year is 1980 and the competition is world group, consolation round? ### Input: CREATE TABLE table_name_45 (
score VARCHAR,
competition VARCHAR,
result VARCHAR,
year VARCHAR
) ### Response: SELECT score FROM table_name_45 WHERE result = "loss" AND year = "1980" AND competition = "world group, consolation round" | 13,436 |
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 most overall for james davis and round more than 5 ### Input: CREATE TABLE table_68008 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"College" text
) ### Response: SELECT MAX("Overall") FROM table_68008 WHERE "Player" = 'james davis' AND "Round" > '5' | 23,937 |
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: Find the dates of assessment notes for students with first name 'Fanny'. ### Input: CREATE TABLE Students (
student_id VARCHAR,
first_name VARCHAR
)
CREATE TABLE Assessment_Notes (
date_of_notes VARCHAR,
student_id VARCHAR
) ### Response: SELECT T1.date_of_notes FROM Assessment_Notes AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.first_name = "Fanny" | 18,389 |
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 of the game against the Boston Bruins and after game 68? ### Input: CREATE TABLE table_49349 (
"Game" real,
"March" real,
"Opponent" text,
"Score" text,
"Record" text
) ### Response: SELECT "Score" FROM table_49349 WHERE "Game" > '68' AND "Opponent" = 'boston bruins' | 5,894 |
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 highest run ratio Japan, which has less than 58 runs and 5 wins, have? ### Input: CREATE TABLE table_name_36 (
run_ratio INTEGER,
team VARCHAR,
runs_allowed VARCHAR,
wins VARCHAR
) ### Response: SELECT MAX(run_ratio) FROM table_name_36 WHERE runs_allowed < 58 AND wins = 5 AND team = "japan" | 19,323 |
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 with an Opened (closing date if defunct) of 1995 and has a Length of miles (m), in Illinois? ### Input: CREATE TABLE table_name_9 (
name VARCHAR,
state VARCHAR,
opened__closing_date_if_defunct_ VARCHAR,
length VARCHAR
) ### Response: SELECT name FROM table_name_9 WHERE opened__closing_date_if_defunct_ = "1995" AND length = "miles (m)" AND state = "illinois" | 361 |
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 hot 100 reaction in week of top 13 for Kanye West? ### Input: CREATE TABLE table_52338 (
"Week" text,
"Performer(s)" text,
"Hot 100 Reaction" text,
"Hot Digital Songs Reaction" text,
"Notes" text
) ### Response: SELECT "Hot 100 Reaction" FROM table_52338 WHERE "Week" = 'top 13' AND "Performer(s)" = 'kanye west' | 11,059 |
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 episodes were put out in Region 4 on March 4, 2010? ### Input: CREATE TABLE table_14855908_3 (
episodes INTEGER,
region_4 VARCHAR
) ### Response: SELECT MAX(episodes) FROM table_14855908_3 WHERE region_4 = "March 4, 2010" | 18,291 |
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 for prothrombin time are there where platelet count is 'decreased or unaffected'? ### Input: CREATE TABLE table_1555308_1 (
prothrombin_time VARCHAR,
platelet_count VARCHAR
) ### Response: SELECT COUNT(prothrombin_time) FROM table_1555308_1 WHERE platelet_count = "Decreased or unaffected" | 3,025 |
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 viewers (m) when the rating is 6.4 and the share is more than 11? ### Input: CREATE TABLE table_name_12 (
viewers__m_ VARCHAR,
rating VARCHAR,
share VARCHAR
) ### Response: SELECT COUNT(viewers__m_) FROM table_name_12 WHERE rating = 6.4 AND share > 11 | 7,667 |
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 final score when the Buffalo Bills were the visiting team? ### Input: CREATE TABLE table_70683 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
) ### Response: SELECT "Final Score" FROM table_70683 WHERE "Visiting Team" = 'buffalo bills' | 4,943 |
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 Aleko Berdzenishvili's song? ### Input: CREATE TABLE table_40448 (
"Draw" real,
"Artist" text,
"Song" text,
"Result" text,
"Place" real
) ### Response: SELECT "Song" FROM table_40448 WHERE "Artist" = 'aleko berdzenishvili' | 14,671 |
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 year was the most recent US Open championship? ### Input: CREATE TABLE table_19864 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents in the final" text,
"Score in the final" text
) ### Response: SELECT MAX("Year") FROM table_19864 WHERE "Championship" = 'US Open' | 5,314 |
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: Show the title and score of the movie with a bar chart, show X-axis in descending order. ### Input: CREATE TABLE Reviewer (
rID int,
name text
)
CREATE TABLE Rating (
rID int,
mID int,
stars int,
ratingDate date
)
CREATE TABLE Movie (
mID int,
title text,
year int,
director text
) ### Response: SELECT title, stars FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID ORDER BY title DESC | 16,908 |
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 highest rank for the react of 0.198, and the time more than 20.42? ### Input: CREATE TABLE table_65296 (
"Rank" real,
"Lane" real,
"Athlete" text,
"Nationality" text,
"Time" real,
"React" real
) ### Response: SELECT MAX("Rank") FROM table_65296 WHERE "React" = '0.198' AND "Time" > '20.42' | 21,957 |
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 year has a railway class of 250? ### Input: CREATE TABLE table_5679 (
"Gauge" text,
"Railway" text,
"Class" text,
"Works no." text,
"Year" text,
"Builder" text
) ### Response: SELECT "Year" FROM table_5679 WHERE "Class" = '250' | 18,522 |
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 game on July 12 played against? ### Input: CREATE TABLE table_23324 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location" text,
"Record" text
) ### Response: SELECT "Opponent" FROM table_23324 WHERE "Date" = 'July 12' | 1,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: What is the Free Agent Type for player bryant johnson? ### Input: CREATE TABLE table_41442 (
"Pos." text,
"Player" text,
"Free Agent Type" text,
"2007 Team" text,
"Contract" text
) ### Response: SELECT "Free Agent Type" FROM table_41442 WHERE "Player" = 'bryant johnson' | 19,736 |
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 engine has an Entrant of team lotus, and a Year larger than 1962? ### Input: CREATE TABLE table_68161 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
) ### Response: SELECT "Engine" FROM table_68161 WHERE "Entrant" = 'team lotus' AND "Year" > '1962' | 1,277 |
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 Result, when Director is Veljko Bulaji category:articles with hcards, and when Original title is Sarajevski Atentat? ### Input: CREATE TABLE table_name_46 (
result VARCHAR,
director VARCHAR,
original_title VARCHAR
) ### Response: SELECT result FROM table_name_46 WHERE director = "veljko bulajić category:articles with hcards" AND original_title = "sarajevski atentat" | 13,098 |
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 municipalities have above 15 % korean american percentage of overall population ? ### Input: CREATE TABLE table_204_190 (
id number,
"rank" number,
"city" text,
"county" text,
"state" text,
"percentage" text
) ### Response: SELECT COUNT("city") FROM table_204_190 WHERE "percentage" > 15 | 4,116 |