instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
What is title numer 103's rank for weekly rank sky1?
CREATE TABLE table_26826304_2 (weekly_rank_sky1 VARCHAR, _number VARCHAR)
SELECT weekly_rank_sky1 FROM table_26826304_2 WHERE _number = 103
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26826304_2 (weekly_rank_sky1 VARCHAR, _number VARCHAR) Question: What is title numer 103's rank for weekly rank sky1? [/INST] SELECT weekly_rank_sky1 FROM table_26826304_2 WHERE _number = 103 </s>
What was the rank by Weekly Rank Sky1 for title number 97?
CREATE TABLE table_26826304_2 (weekly_rank_sky1 INTEGER, _number VARCHAR)
SELECT MIN(weekly_rank_sky1) FROM table_26826304_2 WHERE _number = 97
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26826304_2 (weekly_rank_sky1 INTEGER, _number VARCHAR) Question: What was the rank by Weekly Rank Sky1 for title number 97? [/INST] SELECT MIN(weekly_rank_sky1) FROM table_26826304_2 WHERE _number = 97 </s>
What was the weekly rank by Virgin media for the title aired on May 20, 2010?
CREATE TABLE table_26826304_2 (weekly_rank_virgin_media INTEGER, air_date VARCHAR)
SELECT MIN(weekly_rank_virgin_media) FROM table_26826304_2 WHERE air_date = "May 20, 2010"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26826304_2 (weekly_rank_virgin_media INTEGER, air_date VARCHAR) Question: What was the weekly rank by Virgin media for the title aired on May 20, 2010? [/INST] SELECT MIN(weekly_rank_virgin_media) FROM table_26826304_2 WHERE air_date = "May 20, 2010" </s>
A what time was the title aired in October 22, 2009
CREATE TABLE table_26826304_2 (timeslot VARCHAR, air_date VARCHAR)
SELECT timeslot FROM table_26826304_2 WHERE air_date = "October 22, 2009"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26826304_2 (timeslot VARCHAR, air_date VARCHAR) Question: A what time was the title aired in October 22, 2009 [/INST] SELECT timeslot FROM table_26826304_2 WHERE air_date = "October 22, 2009" </s>
What is the hand number of the hand where player 1 is south and the east wind is prevailing?
CREATE TABLE table_26853172_1 (hand_number VARCHAR, player_1 VARCHAR, prevailing_wind VARCHAR)
SELECT COUNT(hand_number) FROM table_26853172_1 WHERE player_1 = "South" AND prevailing_wind = "East"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26853172_1 (hand_number VARCHAR, player_1 VARCHAR, prevailing_wind VARCHAR) Question: What is the hand number of the hand where player 1 is south and the east wind is prevailing? [/INST] SELECT COUNT(hand_number) FROM table_26853172_1 WHERE player_1 = "South" AND prevailing_wind = "East" </s>
What is player 1 when player 3 is South and the prevailing wind is South?
CREATE TABLE table_26853172_1 (player_1 VARCHAR, player_3 VARCHAR, prevailing_wind VARCHAR)
SELECT player_1 FROM table_26853172_1 WHERE player_3 = "South" AND prevailing_wind = "South"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26853172_1 (player_1 VARCHAR, player_3 VARCHAR, prevailing_wind VARCHAR) Question: What is player 1 when player 3 is South and the prevailing wind is South? [/INST] SELECT player_1 FROM table_26853172_1 WHERE player_3 = "South" AND prevailing_wind = "South" </s>
Who directed the episode that had 0.54 million U.S. viewers?
CREATE TABLE table_26914076_4 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT directed_by FROM table_26914076_4 WHERE us_viewers__millions_ = "0.54"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26914076_4 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) Question: Who directed the episode that had 0.54 million U.S. viewers? [/INST] SELECT directed_by FROM table_26914076_4 WHERE us_viewers__millions_ = "0.54" </s>
Who wrote the teleplay for the episode directed by Tim Robbins?
CREATE TABLE table_26914076_4 (teleplay_by VARCHAR, directed_by VARCHAR)
SELECT teleplay_by FROM table_26914076_4 WHERE directed_by = "Tim Robbins"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26914076_4 (teleplay_by VARCHAR, directed_by VARCHAR) Question: Who wrote the teleplay for the episode directed by Tim Robbins? [/INST] SELECT teleplay_by FROM table_26914076_4 WHERE directed_by = "Tim Robbins" </s>
Who directed the episode that had 0.57 million U.S. viewers?
CREATE TABLE table_26914076_4 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT directed_by FROM table_26914076_4 WHERE us_viewers__millions_ = "0.57"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26914076_4 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) Question: Who directed the episode that had 0.57 million U.S. viewers? [/INST] SELECT directed_by FROM table_26914076_4 WHERE us_viewers__millions_ = "0.57" </s>
What number episode in the season was watched by 0.49 million U.S. viewers?
CREATE TABLE table_26914076_4 (_number INTEGER, us_viewers__millions_ VARCHAR)
SELECT MAX(_number) FROM table_26914076_4 WHERE us_viewers__millions_ = "0.49"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26914076_4 (_number INTEGER, us_viewers__millions_ VARCHAR) Question: What number episode in the season was watched by 0.49 million U.S. viewers? [/INST] SELECT MAX(_number) FROM table_26914076_4 WHERE us_viewers__millions_ = "0.49" </s>
How many times is the series italian and the circuit is valencia?
CREATE TABLE table_26920192_5 (round VARCHAR, series VARCHAR, circuit VARCHAR)
SELECT COUNT(round) FROM table_26920192_5 WHERE series = "Italian" AND circuit = "Valencia"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26920192_5 (round VARCHAR, series VARCHAR, circuit VARCHAR) Question: How many times is the series italian and the circuit is valencia? [/INST] SELECT COUNT(round) FROM table_26920192_5 WHERE series = "Italian" AND circuit = "Valencia" </s>
Who had the fastest lap for the circuit magione?
CREATE TABLE table_26920192_5 (fastest_lap VARCHAR, circuit VARCHAR)
SELECT fastest_lap FROM table_26920192_5 WHERE circuit = "Magione"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26920192_5 (fastest_lap VARCHAR, circuit VARCHAR) Question: Who had the fastest lap for the circuit magione? [/INST] SELECT fastest_lap FROM table_26920192_5 WHERE circuit = "Magione" </s>
Who had the fastest lap when the winning driver is giorgio sanna?
CREATE TABLE table_26920192_5 (fastest_lap VARCHAR, winning_driver VARCHAR)
SELECT fastest_lap FROM table_26920192_5 WHERE winning_driver = "Giorgio Sanna"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26920192_5 (fastest_lap VARCHAR, winning_driver VARCHAR) Question: Who had the fastest lap when the winning driver is giorgio sanna? [/INST] SELECT fastest_lap FROM table_26920192_5 WHERE winning_driver = "Giorgio Sanna" </s>
Who had the fastest lap when the winning driver was kristian ghedina?
CREATE TABLE table_26920192_5 (fastest_lap VARCHAR, winning_driver VARCHAR)
SELECT fastest_lap FROM table_26920192_5 WHERE winning_driver = "Kristian Ghedina"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26920192_5 (fastest_lap VARCHAR, winning_driver VARCHAR) Question: Who had the fastest lap when the winning driver was kristian ghedina? [/INST] SELECT fastest_lap FROM table_26920192_5 WHERE winning_driver = "Kristian Ghedina" </s>
What is the title of the episode directed by Romeo Tirone?
CREATE TABLE table_26961951_6 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_26961951_6 WHERE directed_by = "Romeo Tirone"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26961951_6 (title VARCHAR, directed_by VARCHAR) Question: What is the title of the episode directed by Romeo Tirone? [/INST] SELECT title FROM table_26961951_6 WHERE directed_by = "Romeo Tirone" </s>
When did the episode written by Abe Sylvia originally air?
CREATE TABLE table_26961951_6 (original_air_date VARCHAR, written_by VARCHAR)
SELECT original_air_date FROM table_26961951_6 WHERE written_by = "Abe Sylvia"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26961951_6 (original_air_date VARCHAR, written_by VARCHAR) Question: When did the episode written by Abe Sylvia originally air? [/INST] SELECT original_air_date FROM table_26961951_6 WHERE written_by = "Abe Sylvia" </s>
Which episode number had a viewership of 0.56 million?
CREATE TABLE table_26961951_6 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
SELECT MAX(no_in_series) FROM table_26961951_6 WHERE us_viewers__million_ = "0.56"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26961951_6 (no_in_series INTEGER, us_viewers__million_ VARCHAR) Question: Which episode number had a viewership of 0.56 million? [/INST] SELECT MAX(no_in_series) FROM table_26961951_6 WHERE us_viewers__million_ = "0.56" </s>
Who was the writer in the episode directed by Jesse Peretz?
CREATE TABLE table_26961951_6 (written_by VARCHAR, directed_by VARCHAR)
SELECT written_by FROM table_26961951_6 WHERE directed_by = "Jesse Peretz"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26961951_6 (written_by VARCHAR, directed_by VARCHAR) Question: Who was the writer in the episode directed by Jesse Peretz? [/INST] SELECT written_by FROM table_26961951_6 WHERE directed_by = "Jesse Peretz" </s>
With the Royal Navy as Combatants B, what was the result?
CREATE TABLE table_26977890_1 (result VARCHAR, combatants_b VARCHAR)
SELECT result FROM table_26977890_1 WHERE combatants_b = "Royal Navy"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26977890_1 (result VARCHAR, combatants_b VARCHAR) Question: With the Royal Navy as Combatants B, what was the result? [/INST] SELECT result FROM table_26977890_1 WHERE combatants_b = "Royal Navy" </s>
In what conflicts was the Italian Navy Combatants B?
CREATE TABLE table_26977890_1 (conflict VARCHAR, combatants_b VARCHAR)
SELECT conflict FROM table_26977890_1 WHERE combatants_b = "Italian Navy"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26977890_1 (conflict VARCHAR, combatants_b VARCHAR) Question: In what conflicts was the Italian Navy Combatants B? [/INST] SELECT conflict FROM table_26977890_1 WHERE combatants_b = "Italian Navy" </s>
How many battles resulted in Battle of the Yellow Sea?
CREATE TABLE table_26977890_1 (result VARCHAR, battles VARCHAR)
SELECT COUNT(result) FROM table_26977890_1 WHERE battles = "Battle of the Yellow Sea"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26977890_1 (result VARCHAR, battles VARCHAR) Question: How many battles resulted in Battle of the Yellow Sea? [/INST] SELECT COUNT(result) FROM table_26977890_1 WHERE battles = "Battle of the Yellow Sea" </s>
What is Paul Coward 492cc nourish Weslake's lowest rank?
CREATE TABLE table_26986076_3 (rank INTEGER, rider VARCHAR)
SELECT MIN(rank) FROM table_26986076_3 WHERE rider = "Paul Coward 492cc Nourish Weslake"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26986076_3 (rank INTEGER, rider VARCHAR) Question: What is Paul Coward 492cc nourish Weslake's lowest rank? [/INST] SELECT MIN(rank) FROM table_26986076_3 WHERE rider = "Paul Coward 492cc Nourish Weslake" </s>
What was the time on Monday August 23rd for Steve Linsdell 499cc royal enfield seeley?
CREATE TABLE table_26986076_3 (mon_23_aug VARCHAR, rider VARCHAR)
SELECT mon_23_aug FROM table_26986076_3 WHERE rider = "Steve Linsdell 499cc Royal Enfield Seeley"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26986076_3 (mon_23_aug VARCHAR, rider VARCHAR) Question: What was the time on Monday August 23rd for Steve Linsdell 499cc royal enfield seeley? [/INST] SELECT mon_23_aug FROM table_26986076_3 WHERE rider = "Steve Linsdell 499cc Royal Enfield Seeley" </s>
Does the model e5504 have a turbo boost?
CREATE TABLE table_269920_17 (turbo_boost VARCHAR, model VARCHAR)
SELECT turbo_boost FROM table_269920_17 WHERE model = "E5504"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_269920_17 (turbo_boost VARCHAR, model VARCHAR) Question: Does the model e5504 have a turbo boost? [/INST] SELECT turbo_boost FROM table_269920_17 WHERE model = "E5504" </s>
What is the speed of model x5560?
CREATE TABLE table_269920_17 (speed__ghz_ VARCHAR, model VARCHAR)
SELECT speed__ghz_ FROM table_269920_17 WHERE model = "X5560"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_269920_17 (speed__ghz_ VARCHAR, model VARCHAR) Question: What is the speed of model x5560? [/INST] SELECT speed__ghz_ FROM table_269920_17 WHERE model = "X5560" </s>
What is the maximum L3 cache of the processor whose speed is 2.00 GHZ, has a QPI speed of 4.8 gt/s, and is model e5504?
CREATE TABLE table_269920_17 (l3_cache__mb_ INTEGER, model VARCHAR, qpi_speed__gt_s_ VARCHAR, speed__ghz_ VARCHAR)
SELECT MAX(l3_cache__mb_) FROM table_269920_17 WHERE qpi_speed__gt_s_ = "4.8" AND speed__ghz_ = "2.00" AND model = "E5504"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_269920_17 (l3_cache__mb_ INTEGER, model VARCHAR, qpi_speed__gt_s_ VARCHAR, speed__ghz_ VARCHAR) Question: What is the maximum L3 cache of the processor whose speed is 2.00 GHZ, has a QPI speed of 4.8 gt/s, and is model e5504? [/INST] SELECT MAX(l3_cache__mb_) FROM table_269920_17 WHERE qpi_speed__gt_s_ = "4.8" AND speed__ghz_ = "2.00" AND model = "E5504" </s>
How many models numbered L5506 have a QPI speed?
CREATE TABLE table_269920_17 (qpi_speed__gt_s_ VARCHAR, model VARCHAR)
SELECT COUNT(qpi_speed__gt_s_) FROM table_269920_17 WHERE model = "L5506"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_269920_17 (qpi_speed__gt_s_ VARCHAR, model VARCHAR) Question: How many models numbered L5506 have a QPI speed? [/INST] SELECT COUNT(qpi_speed__gt_s_) FROM table_269920_17 WHERE model = "L5506" </s>
What was game 3 when there were under 2.61m viewers?
CREATE TABLE table_27039190_3 (game_3 VARCHAR, viewers VARCHAR)
SELECT game_3 FROM table_27039190_3 WHERE viewers = "Under 2.61m"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27039190_3 (game_3 VARCHAR, viewers VARCHAR) Question: What was game 3 when there were under 2.61m viewers? [/INST] SELECT game_3 FROM table_27039190_3 WHERE viewers = "Under 2.61m" </s>
How many episodes had 4.44m viewers?
CREATE TABLE table_27039190_3 (episode VARCHAR, viewers VARCHAR)
SELECT COUNT(episode) FROM table_27039190_3 WHERE viewers = "4.44m"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27039190_3 (episode VARCHAR, viewers VARCHAR) Question: How many episodes had 4.44m viewers? [/INST] SELECT COUNT(episode) FROM table_27039190_3 WHERE viewers = "4.44m" </s>
What committees do the district 46 members serve on?
CREATE TABLE table_27050981_7 (committee VARCHAR, district VARCHAR)
SELECT committee FROM table_27050981_7 WHERE district = "46"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27050981_7 (committee VARCHAR, district VARCHAR) Question: What committees do the district 46 members serve on? [/INST] SELECT committee FROM table_27050981_7 WHERE district = "46" </s>
Name the least league apps for total apps of 5
CREATE TABLE table_27086613_5 (league_apps INTEGER, total_apps VARCHAR)
SELECT MIN(league_apps) FROM table_27086613_5 WHERE total_apps = 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27086613_5 (league_apps INTEGER, total_apps VARCHAR) Question: Name the least league apps for total apps of 5 [/INST] SELECT MIN(league_apps) FROM table_27086613_5 WHERE total_apps = 5 </s>
Name the least fa cup goals with fa cup apps being 2 and fw
CREATE TABLE table_27086613_5 (fa_cup_goals INTEGER, fa_cup_apps VARCHAR, position VARCHAR)
SELECT MIN(fa_cup_goals) FROM table_27086613_5 WHERE fa_cup_apps = 2 AND position = "FW"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27086613_5 (fa_cup_goals INTEGER, fa_cup_apps VARCHAR, position VARCHAR) Question: Name the least fa cup goals with fa cup apps being 2 and fw [/INST] SELECT MIN(fa_cup_goals) FROM table_27086613_5 WHERE fa_cup_apps = 2 AND position = "FW" </s>
Name the total apps for league apps being 4
CREATE TABLE table_27086613_5 (total_apps VARCHAR, league_apps VARCHAR)
SELECT total_apps FROM table_27086613_5 WHERE league_apps = 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27086613_5 (total_apps VARCHAR, league_apps VARCHAR) Question: Name the total apps for league apps being 4 [/INST] SELECT total_apps FROM table_27086613_5 WHERE league_apps = 4 </s>
Please mention those appointment dates those are replaced by alfredo aglietti
CREATE TABLE table_27114708_2 (date_of_appointment VARCHAR, replaced_by VARCHAR)
SELECT date_of_appointment FROM table_27114708_2 WHERE replaced_by = "Alfredo Aglietti"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27114708_2 (date_of_appointment VARCHAR, replaced_by VARCHAR) Question: Please mention those appointment dates those are replaced by alfredo aglietti [/INST] SELECT date_of_appointment FROM table_27114708_2 WHERE replaced_by = "Alfredo Aglietti" </s>
Mention all the applicable team who are replaced by gianluca atzori
CREATE TABLE table_27114708_2 (team VARCHAR, replaced_by VARCHAR)
SELECT team FROM table_27114708_2 WHERE replaced_by = "Gianluca Atzori"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27114708_2 (team VARCHAR, replaced_by VARCHAR) Question: Mention all the applicable team who are replaced by gianluca atzori [/INST] SELECT team FROM table_27114708_2 WHERE replaced_by = "Gianluca Atzori" </s>
For team reggina please mention all the outgoing manager
CREATE TABLE table_27114708_2 (outgoing_manager VARCHAR, team VARCHAR)
SELECT outgoing_manager FROM table_27114708_2 WHERE team = "Reggina"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27114708_2 (outgoing_manager VARCHAR, team VARCHAR) Question: For team reggina please mention all the outgoing manager [/INST] SELECT outgoing_manager FROM table_27114708_2 WHERE team = "Reggina" </s>
For team ascoli please mention all the appointment date.
CREATE TABLE table_27114708_2 (date_of_appointment VARCHAR, team VARCHAR)
SELECT date_of_appointment FROM table_27114708_2 WHERE team = "Ascoli"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27114708_2 (date_of_appointment VARCHAR, team VARCHAR) Question: For team ascoli please mention all the appointment date. [/INST] SELECT date_of_appointment FROM table_27114708_2 WHERE team = "Ascoli" </s>
For outgoing manager is alberto malesani mention all the applicable replaced by person
CREATE TABLE table_27114708_2 (replaced_by VARCHAR, outgoing_manager VARCHAR)
SELECT replaced_by FROM table_27114708_2 WHERE outgoing_manager = "Alberto Malesani"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27114708_2 (replaced_by VARCHAR, outgoing_manager VARCHAR) Question: For outgoing manager is alberto malesani mention all the applicable replaced by person [/INST] SELECT replaced_by FROM table_27114708_2 WHERE outgoing_manager = "Alberto Malesani" </s>
For livorno team mention all the manner of departure
CREATE TABLE table_27114708_2 (manner_of_departure VARCHAR, team VARCHAR)
SELECT manner_of_departure FROM table_27114708_2 WHERE team = "Livorno"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27114708_2 (manner_of_departure VARCHAR, team VARCHAR) Question: For livorno team mention all the manner of departure [/INST] SELECT manner_of_departure FROM table_27114708_2 WHERE team = "Livorno" </s>
Phil Klemmer wrote all titles and production code is 3t6455.
CREATE TABLE table_27115960_1 (title VARCHAR, written_by VARCHAR, production_code VARCHAR)
SELECT title FROM table_27115960_1 WHERE written_by = "Phil Klemmer" AND production_code = "3T6455"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27115960_1 (title VARCHAR, written_by VARCHAR, production_code VARCHAR) Question: Phil Klemmer wrote all titles and production code is 3t6455. [/INST] SELECT title FROM table_27115960_1 WHERE written_by = "Phil Klemmer" AND production_code = "3T6455" </s>
Season 9 all the titles were no. in series.
CREATE TABLE table_27115960_1 (title VARCHAR, no_in_series VARCHAR)
SELECT title FROM table_27115960_1 WHERE no_in_series = 9
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27115960_1 (title VARCHAR, no_in_series VARCHAR) Question: Season 9 all the titles were no. in series. [/INST] SELECT title FROM table_27115960_1 WHERE no_in_series = 9 </s>
Title is the total number where u.s. viewers (million) is 7.56.
CREATE TABLE table_27115960_1 (title VARCHAR, us_viewers__million_ VARCHAR)
SELECT COUNT(title) FROM table_27115960_1 WHERE us_viewers__million_ = "7.56"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27115960_1 (title VARCHAR, us_viewers__million_ VARCHAR) Question: Title is the total number where u.s. viewers (million) is 7.56. [/INST] SELECT COUNT(title) FROM table_27115960_1 WHERE us_viewers__million_ = "7.56" </s>
How many items appear in the written by column in episode 3?
CREATE TABLE table_27155243_4 (written_by VARCHAR, episode__number VARCHAR)
SELECT COUNT(written_by) FROM table_27155243_4 WHERE episode__number = 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27155243_4 (written_by VARCHAR, episode__number VARCHAR) Question: How many items appear in the written by column in episode 3? [/INST] SELECT COUNT(written_by) FROM table_27155243_4 WHERE episode__number = 3 </s>
What episode was written by Matt Maclennan?
CREATE TABLE table_27155243_4 (episode__number INTEGER, written_by VARCHAR)
SELECT MAX(episode__number) FROM table_27155243_4 WHERE written_by = "Matt MacLennan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27155243_4 (episode__number INTEGER, written_by VARCHAR) Question: What episode was written by Matt Maclennan? [/INST] SELECT MAX(episode__number) FROM table_27155243_4 WHERE written_by = "Matt MacLennan" </s>
What is largest total number that was written by Sheri Elwood?
CREATE TABLE table_27155243_4 (total__number INTEGER, written_by VARCHAR)
SELECT MAX(total__number) FROM table_27155243_4 WHERE written_by = "Sheri Elwood"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27155243_4 (total__number INTEGER, written_by VARCHAR) Question: What is largest total number that was written by Sheri Elwood? [/INST] SELECT MAX(total__number) FROM table_27155243_4 WHERE written_by = "Sheri Elwood" </s>
Name the air date for ratings of 2.19 million
CREATE TABLE table_27218002_1 (originalairdate VARCHAR, ratings VARCHAR)
SELECT originalairdate FROM table_27218002_1 WHERE ratings = "2.19 Million"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27218002_1 (originalairdate VARCHAR, ratings VARCHAR) Question: Name the air date for ratings of 2.19 million [/INST] SELECT originalairdate FROM table_27218002_1 WHERE ratings = "2.19 Million" </s>
Name who directed the air date of 12 july 2010
CREATE TABLE table_27218002_1 (directed_by VARCHAR, originalairdate VARCHAR)
SELECT directed_by FROM table_27218002_1 WHERE originalairdate = "12 July 2010"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27218002_1 (directed_by VARCHAR, originalairdate VARCHAR) Question: Name who directed the air date of 12 july 2010 [/INST] SELECT directed_by FROM table_27218002_1 WHERE originalairdate = "12 July 2010" </s>
Name the least episode number for jonathan harvey
CREATE TABLE table_27218002_1 (episode__number INTEGER, written_by VARCHAR)
SELECT MIN(episode__number) FROM table_27218002_1 WHERE written_by = "Jonathan Harvey"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27218002_1 (episode__number INTEGER, written_by VARCHAR) Question: Name the least episode number for jonathan harvey [/INST] SELECT MIN(episode__number) FROM table_27218002_1 WHERE written_by = "Jonathan Harvey" </s>
Name the total number of written by for 26 july 2010
CREATE TABLE table_27218002_1 (written_by VARCHAR, originalairdate VARCHAR)
SELECT COUNT(written_by) FROM table_27218002_1 WHERE originalairdate = "26 July 2010"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27218002_1 (written_by VARCHAR, originalairdate VARCHAR) Question: Name the total number of written by for 26 july 2010 [/INST] SELECT COUNT(written_by) FROM table_27218002_1 WHERE originalairdate = "26 July 2010" </s>
Which season had a result of 1–0 (aet)?
CREATE TABLE table_27274566_2 (season VARCHAR, result VARCHAR)
SELECT season FROM table_27274566_2 WHERE result = "1–0 (aet)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27274566_2 (season VARCHAR, result VARCHAR) Question: Which season had a result of 1–0 (aet)? [/INST] SELECT season FROM table_27274566_2 WHERE result = "1–0 (aet)" </s>
What is the date in the 2007-08 season where the away team was the kaizer chiefs?
CREATE TABLE table_27274566_2 (date VARCHAR, season VARCHAR, away_team VARCHAR)
SELECT date FROM table_27274566_2 WHERE season = "2007-08" AND away_team = "Kaizer Chiefs"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27274566_2 (date VARCHAR, season VARCHAR, away_team VARCHAR) Question: What is the date in the 2007-08 season where the away team was the kaizer chiefs? [/INST] SELECT date FROM table_27274566_2 WHERE season = "2007-08" AND away_team = "Kaizer Chiefs" </s>
How many dates are shown for the home team of orlando pirates and result of 1–3?
CREATE TABLE table_27274566_2 (date VARCHAR, home_team VARCHAR, result VARCHAR)
SELECT COUNT(date) FROM table_27274566_2 WHERE home_team = "Orlando Pirates" AND result = "1–3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27274566_2 (date VARCHAR, home_team VARCHAR, result VARCHAR) Question: How many dates are shown for the home team of orlando pirates and result of 1–3? [/INST] SELECT COUNT(date) FROM table_27274566_2 WHERE home_team = "Orlando Pirates" AND result = "1–3" </s>
What is the division where the result was 0–2?
CREATE TABLE table_27274566_2 (division VARCHAR, result VARCHAR)
SELECT division FROM table_27274566_2 WHERE result = "0–2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27274566_2 (division VARCHAR, result VARCHAR) Question: What is the division where the result was 0–2? [/INST] SELECT division FROM table_27274566_2 WHERE result = "0–2" </s>
What is the date where the home team was kaizer chiefs and the division was mtn 8 semi-final?
CREATE TABLE table_27274566_2 (date VARCHAR, home_team VARCHAR, division VARCHAR)
SELECT date FROM table_27274566_2 WHERE home_team = "Kaizer Chiefs" AND division = "MTN 8 Semi-final"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27274566_2 (date VARCHAR, home_team VARCHAR, division VARCHAR) Question: What is the date where the home team was kaizer chiefs and the division was mtn 8 semi-final? [/INST] SELECT date FROM table_27274566_2 WHERE home_team = "Kaizer Chiefs" AND division = "MTN 8 Semi-final" </s>
What are the L2 cache specifications of part number amql64dam22gg?
CREATE TABLE table_27277284_27 (l2_cache VARCHAR, order_part_number VARCHAR)
SELECT l2_cache FROM table_27277284_27 WHERE order_part_number = "AMQL64DAM22GG"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27277284_27 (l2_cache VARCHAR, order_part_number VARCHAR) Question: What are the L2 cache specifications of part number amql64dam22gg? [/INST] SELECT l2_cache FROM table_27277284_27 WHERE order_part_number = "AMQL64DAM22GG" </s>
What is the operating voltage of part number amql64dam22gg?
CREATE TABLE table_27277284_27 (voltage VARCHAR, order_part_number VARCHAR)
SELECT voltage FROM table_27277284_27 WHERE order_part_number = "AMQL64DAM22GG"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27277284_27 (voltage VARCHAR, order_part_number VARCHAR) Question: What is the operating voltage of part number amql64dam22gg? [/INST] SELECT voltage FROM table_27277284_27 WHERE order_part_number = "AMQL64DAM22GG" </s>
What are the possible multipliers for 1900MHz processors?
CREATE TABLE table_27277284_27 (mult_1 VARCHAR, frequency VARCHAR)
SELECT mult_1 FROM table_27277284_27 WHERE frequency = "1900MHz"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27277284_27 (mult_1 VARCHAR, frequency VARCHAR) Question: What are the possible multipliers for 1900MHz processors? [/INST] SELECT mult_1 FROM table_27277284_27 WHERE frequency = "1900MHz" </s>
How many thermal design power levels does part number amql65dam22gg have?
CREATE TABLE table_27277284_27 (tdp VARCHAR, order_part_number VARCHAR)
SELECT COUNT(tdp) FROM table_27277284_27 WHERE order_part_number = "AMQL65DAM22GG"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27277284_27 (tdp VARCHAR, order_part_number VARCHAR) Question: How many thermal design power levels does part number amql65dam22gg have? [/INST] SELECT COUNT(tdp) FROM table_27277284_27 WHERE order_part_number = "AMQL65DAM22GG" </s>
What kind of sockets does a 2100MHz Athlon X2 QL-64 use?
CREATE TABLE table_27277284_27 (socket VARCHAR, frequency VARCHAR, model_number VARCHAR)
SELECT socket FROM table_27277284_27 WHERE frequency = "2100MHz" AND model_number = "Athlon X2 QL-64"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27277284_27 (socket VARCHAR, frequency VARCHAR, model_number VARCHAR) Question: What kind of sockets does a 2100MHz Athlon X2 QL-64 use? [/INST] SELECT socket FROM table_27277284_27 WHERE frequency = "2100MHz" AND model_number = "Athlon X2 QL-64" </s>
What is the total number of years active listings where Asian Cup played as a captain is Japan 1992?
CREATE TABLE table_272865_20 (years_active VARCHAR, asian_cup_played_as_a_captain VARCHAR)
SELECT COUNT(years_active) FROM table_272865_20 WHERE asian_cup_played_as_a_captain = "Japan 1992"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_272865_20 (years_active VARCHAR, asian_cup_played_as_a_captain VARCHAR) Question: What is the total number of years active listings where Asian Cup played as a captain is Japan 1992? [/INST] SELECT COUNT(years_active) FROM table_272865_20 WHERE asian_cup_played_as_a_captain = "Japan 1992" </s>
How many matches as captain were played where Asian Cup played as a captain is Qatar 1988
CREATE TABLE table_272865_20 (matches_as_captain VARCHAR, asian_cup_played_as_a_captain VARCHAR)
SELECT matches_as_captain FROM table_272865_20 WHERE asian_cup_played_as_a_captain = "Qatar 1988"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_272865_20 (matches_as_captain VARCHAR, asian_cup_played_as_a_captain VARCHAR) Question: How many matches as captain were played where Asian Cup played as a captain is Qatar 1988 [/INST] SELECT matches_as_captain FROM table_272865_20 WHERE asian_cup_played_as_a_captain = "Qatar 1988" </s>
What were the years active where Asian Cup played as a captain is Iran 1976?
CREATE TABLE table_272865_20 (years_active VARCHAR, asian_cup_played_as_a_captain VARCHAR)
SELECT years_active FROM table_272865_20 WHERE asian_cup_played_as_a_captain = "Iran 1976"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_272865_20 (years_active VARCHAR, asian_cup_played_as_a_captain VARCHAR) Question: What were the years active where Asian Cup played as a captain is Iran 1976? [/INST] SELECT years_active FROM table_272865_20 WHERE asian_cup_played_as_a_captain = "Iran 1976" </s>
What were the years active where Asian Cup played as a captain is Qatar 1988?
CREATE TABLE table_272865_20 (years_active VARCHAR, asian_cup_played_as_a_captain VARCHAR)
SELECT years_active FROM table_272865_20 WHERE asian_cup_played_as_a_captain = "Qatar 1988"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_272865_20 (years_active VARCHAR, asian_cup_played_as_a_captain VARCHAR) Question: What were the years active where Asian Cup played as a captain is Qatar 1988? [/INST] SELECT years_active FROM table_272865_20 WHERE asian_cup_played_as_a_captain = "Qatar 1988" </s>
Who is the first driver(s) when the country is romania?
CREATE TABLE table_27279050_3 (first_driver_s_ VARCHAR, country VARCHAR)
SELECT first_driver_s_ FROM table_27279050_3 WHERE country = "Romania"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27279050_3 (first_driver_s_ VARCHAR, country VARCHAR) Question: Who is the first driver(s) when the country is romania? [/INST] SELECT first_driver_s_ FROM table_27279050_3 WHERE country = "Romania" </s>
How many times is last/current driver(s) 3 november 2013 is adderly fong ( 2013 )?
CREATE TABLE table_27279050_3 (country VARCHAR, last_current_driver_s__3_november_2013 VARCHAR)
SELECT COUNT(country) FROM table_27279050_3 WHERE last_current_driver_s__3_november_2013 = "Adderly Fong ( 2013 )"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27279050_3 (country VARCHAR, last_current_driver_s__3_november_2013 VARCHAR) Question: How many times is last/current driver(s) 3 november 2013 is adderly fong ( 2013 )? [/INST] SELECT COUNT(country) FROM table_27279050_3 WHERE last_current_driver_s__3_november_2013 = "Adderly Fong ( 2013 )" </s>
Who is the last/current driver(s) 3 november 2013 when first driver(s) is marlon stöckinger , kotaro sakurai ( 2011 )?
CREATE TABLE table_27279050_3 (last_current_driver_s__3_november_2013 VARCHAR, first_driver_s_ VARCHAR)
SELECT last_current_driver_s__3_november_2013 FROM table_27279050_3 WHERE first_driver_s_ = "Marlon Stöckinger , Kotaro Sakurai ( 2011 )"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27279050_3 (last_current_driver_s__3_november_2013 VARCHAR, first_driver_s_ VARCHAR) Question: Who is the last/current driver(s) 3 november 2013 when first driver(s) is marlon stöckinger , kotaro sakurai ( 2011 )? [/INST] SELECT last_current_driver_s__3_november_2013 FROM table_27279050_3 WHERE first_driver_s_ = "Marlon Stöckinger , Kotaro Sakurai ( 2011 )" </s>
What is the country when last/current driver(s) 3 november 2013 is daniel abt ( 2012 )?
CREATE TABLE table_27279050_3 (country VARCHAR, last_current_driver_s__3_november_2013 VARCHAR)
SELECT country FROM table_27279050_3 WHERE last_current_driver_s__3_november_2013 = "Daniel Abt ( 2012 )"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27279050_3 (country VARCHAR, last_current_driver_s__3_november_2013 VARCHAR) Question: What is the country when last/current driver(s) 3 november 2013 is daniel abt ( 2012 )? [/INST] SELECT country FROM table_27279050_3 WHERE last_current_driver_s__3_november_2013 = "Daniel Abt ( 2012 )" </s>
How many losses did the club who had 9 bonus points and 11 wins have?
CREATE TABLE table_27293285_2 (lost VARCHAR, bonus_points VARCHAR, won VARCHAR)
SELECT lost FROM table_27293285_2 WHERE bonus_points = "9" AND won = "11"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27293285_2 (lost VARCHAR, bonus_points VARCHAR, won VARCHAR) Question: How many losses did the club who had 9 bonus points and 11 wins have? [/INST] SELECT lost FROM table_27293285_2 WHERE bonus_points = "9" AND won = "11" </s>
How many bonus points did the club who had 379 points for have?
CREATE TABLE table_27293285_2 (bonus_points VARCHAR, points_for VARCHAR)
SELECT bonus_points FROM table_27293285_2 WHERE points_for = "379"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27293285_2 (bonus_points VARCHAR, points_for VARCHAR) Question: How many bonus points did the club who had 379 points for have? [/INST] SELECT bonus_points FROM table_27293285_2 WHERE points_for = "379" </s>
Which club had 5 bonus points?
CREATE TABLE table_27293285_2 (club VARCHAR, bonus_points VARCHAR)
SELECT club FROM table_27293285_2 WHERE bonus_points = "5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27293285_2 (club VARCHAR, bonus_points VARCHAR) Question: Which club had 5 bonus points? [/INST] SELECT club FROM table_27293285_2 WHERE bonus_points = "5" </s>
How many bonus points did the club who had 18 losses have?
CREATE TABLE table_27293285_2 (bonus_points VARCHAR, lost VARCHAR)
SELECT bonus_points FROM table_27293285_2 WHERE lost = "18"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27293285_2 (bonus_points VARCHAR, lost VARCHAR) Question: How many bonus points did the club who had 18 losses have? [/INST] SELECT bonus_points FROM table_27293285_2 WHERE lost = "18" </s>
How many points for did Munster have?
CREATE TABLE table_27293285_2 (points_for VARCHAR, club VARCHAR)
SELECT points_for FROM table_27293285_2 WHERE club = "Munster"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27293285_2 (points_for VARCHAR, club VARCHAR) Question: How many points for did Munster have? [/INST] SELECT points_for FROM table_27293285_2 WHERE club = "Munster" </s>
How many points against did the club who had 353 points for have?
CREATE TABLE table_27293285_2 (points_against VARCHAR, points_for VARCHAR)
SELECT points_against FROM table_27293285_2 WHERE points_for = "353"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27293285_2 (points_against VARCHAR, points_for VARCHAR) Question: How many points against did the club who had 353 points for have? [/INST] SELECT points_against FROM table_27293285_2 WHERE points_for = "353" </s>
What was the team the Suns played against in game number 4?
CREATE TABLE table_27312918_5 (team VARCHAR, game VARCHAR)
SELECT team FROM table_27312918_5 WHERE game = 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27312918_5 (team VARCHAR, game VARCHAR) Question: What was the team the Suns played against in game number 4? [/INST] SELECT team FROM table_27312918_5 WHERE game = 4 </s>
Who got the most points in game number 5?
CREATE TABLE table_27312918_5 (high_points VARCHAR, game VARCHAR)
SELECT high_points FROM table_27312918_5 WHERE game = 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27312918_5 (high_points VARCHAR, game VARCHAR) Question: Who got the most points in game number 5? [/INST] SELECT high_points FROM table_27312918_5 WHERE game = 5 </s>
What is the default desktop environment when the code base is ubuntu 8.04 and edition is fluxbox ce?
CREATE TABLE table_27329061_2 (default_desktop_environment VARCHAR, code_base VARCHAR, edition VARCHAR)
SELECT default_desktop_environment FROM table_27329061_2 WHERE code_base = "Ubuntu 8.04" AND edition = "Fluxbox CE"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27329061_2 (default_desktop_environment VARCHAR, code_base VARCHAR, edition VARCHAR) Question: What is the default desktop environment when the code base is ubuntu 8.04 and edition is fluxbox ce? [/INST] SELECT default_desktop_environment FROM table_27329061_2 WHERE code_base = "Ubuntu 8.04" AND edition = "Fluxbox CE" </s>
What is the compatible repository when the version is old version, no longer supported: 9 and default desktop environment is lxde?
CREATE TABLE table_27329061_2 (compatible_repository VARCHAR, version VARCHAR, default_desktop_environment VARCHAR)
SELECT compatible_repository FROM table_27329061_2 WHERE version = "Old version, no longer supported: 9" AND default_desktop_environment = "LXDE"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27329061_2 (compatible_repository VARCHAR, version VARCHAR, default_desktop_environment VARCHAR) Question: What is the compatible repository when the version is old version, no longer supported: 9 and default desktop environment is lxde? [/INST] SELECT compatible_repository FROM table_27329061_2 WHERE version = "Old version, no longer supported: 9" AND default_desktop_environment = "LXDE" </s>
What is the the codename when the code base is ubuntu 8.04 and the edition is fluxbox ce?
CREATE TABLE table_27329061_2 (codename VARCHAR, code_base VARCHAR, edition VARCHAR)
SELECT codename FROM table_27329061_2 WHERE code_base = "Ubuntu 8.04" AND edition = "Fluxbox CE"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27329061_2 (codename VARCHAR, code_base VARCHAR, edition VARCHAR) Question: What is the the codename when the code base is ubuntu 8.04 and the edition is fluxbox ce? [/INST] SELECT codename FROM table_27329061_2 WHERE code_base = "Ubuntu 8.04" AND edition = "Fluxbox CE" </s>
What is the default desktop environment when the edition is kde and the compatible repository is ubuntu 13.04?
CREATE TABLE table_27329061_2 (default_desktop_environment VARCHAR, edition VARCHAR, compatible_repository VARCHAR)
SELECT default_desktop_environment FROM table_27329061_2 WHERE edition = "KDE" AND compatible_repository = "Ubuntu 13.04"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27329061_2 (default_desktop_environment VARCHAR, edition VARCHAR, compatible_repository VARCHAR) Question: What is the default desktop environment when the edition is kde and the compatible repository is ubuntu 13.04? [/INST] SELECT default_desktop_environment FROM table_27329061_2 WHERE edition = "KDE" AND compatible_repository = "Ubuntu 13.04" </s>
What is the version when the codename is ada?
CREATE TABLE table_27329061_2 (version VARCHAR, codename VARCHAR)
SELECT version FROM table_27329061_2 WHERE codename = "Ada"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27329061_2 (version VARCHAR, codename VARCHAR) Question: What is the version when the codename is ada? [/INST] SELECT version FROM table_27329061_2 WHERE codename = "Ada" </s>
What is the version when the compatible reposityory is xubuntu 10.04
CREATE TABLE table_27329061_2 (version VARCHAR, compatible_repository VARCHAR)
SELECT version FROM table_27329061_2 WHERE compatible_repository = "Xubuntu 10.04"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27329061_2 (version VARCHAR, compatible_repository VARCHAR) Question: What is the version when the compatible reposityory is xubuntu 10.04 [/INST] SELECT version FROM table_27329061_2 WHERE compatible_repository = "Xubuntu 10.04" </s>
What is the highest population in 2001?
CREATE TABLE table_27366772_3 (population__2001_ INTEGER)
SELECT MAX(population__2001_) FROM table_27366772_3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27366772_3 (population__2001_ INTEGER) Question: What is the highest population in 2001? [/INST] SELECT MAX(population__2001_) FROM table_27366772_3 </s>
What district is known in Armenian as քանաքեր-զեյթուն?
CREATE TABLE table_27366772_3 (district VARCHAR, armenian VARCHAR)
SELECT district FROM table_27366772_3 WHERE armenian = "Քանաքեր-Զեյթուն"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27366772_3 (district VARCHAR, armenian VARCHAR) Question: What district is known in Armenian as քանաքեր-զեյթուն? [/INST] SELECT district FROM table_27366772_3 WHERE armenian = "Քանաքեր-Զեյթուն" </s>
What is the Armenian name of the district that is 8.37 km² large?
CREATE TABLE table_27366772_3 (armenian VARCHAR, area__km²_ VARCHAR)
SELECT armenian FROM table_27366772_3 WHERE area__km²_ = "8.37"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27366772_3 (armenian VARCHAR, area__km²_ VARCHAR) Question: What is the Armenian name of the district that is 8.37 km² large? [/INST] SELECT armenian FROM table_27366772_3 WHERE area__km²_ = "8.37" </s>
What is the name of the soccer stadium in NL providence?
CREATE TABLE table_27369069_1 (soccer_stadium VARCHAR, province VARCHAR)
SELECT soccer_stadium FROM table_27369069_1 WHERE province = "NL"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27369069_1 (soccer_stadium VARCHAR, province VARCHAR) Question: What is the name of the soccer stadium in NL providence? [/INST] SELECT soccer_stadium FROM table_27369069_1 WHERE province = "NL" </s>
which providence's soccer stadium was founded in 2005?
CREATE TABLE table_27369069_1 (province VARCHAR, founded VARCHAR)
SELECT province FROM table_27369069_1 WHERE founded = 2005
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27369069_1 (province VARCHAR, founded VARCHAR) Question: which providence's soccer stadium was founded in 2005? [/INST] SELECT province FROM table_27369069_1 WHERE founded = 2005 </s>
What is the team mascot for the soccer team in Charlottetown?
CREATE TABLE table_27369069_1 (varsity_name VARCHAR, city VARCHAR)
SELECT varsity_name FROM table_27369069_1 WHERE city = "Charlottetown"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27369069_1 (varsity_name VARCHAR, city VARCHAR) Question: What is the team mascot for the soccer team in Charlottetown? [/INST] SELECT varsity_name FROM table_27369069_1 WHERE city = "Charlottetown" </s>
Which province has the soccer stadium that holds 4,000 people?
CREATE TABLE table_27369069_1 (province VARCHAR, stadium_capacity VARCHAR)
SELECT province FROM table_27369069_1 WHERE stadium_capacity = "4,000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27369069_1 (province VARCHAR, stadium_capacity VARCHAR) Question: Which province has the soccer stadium that holds 4,000 people? [/INST] SELECT province FROM table_27369069_1 WHERE stadium_capacity = "4,000" </s>
Which University's soccer stadium in named Moncton Stadium?
CREATE TABLE table_27369069_1 (university VARCHAR, soccer_stadium VARCHAR)
SELECT university FROM table_27369069_1 WHERE soccer_stadium = "Moncton Stadium"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27369069_1 (university VARCHAR, soccer_stadium VARCHAR) Question: Which University's soccer stadium in named Moncton Stadium? [/INST] SELECT university FROM table_27369069_1 WHERE soccer_stadium = "Moncton Stadium" </s>
Name the current womens lacrosse conference for 6000 enrollment
CREATE TABLE table_27378582_1 (current_womens_lacrosse_conference VARCHAR, enrollment VARCHAR)
SELECT current_womens_lacrosse_conference FROM table_27378582_1 WHERE enrollment = 6000
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27378582_1 (current_womens_lacrosse_conference VARCHAR, enrollment VARCHAR) Question: Name the current womens lacrosse conference for 6000 enrollment [/INST] SELECT current_womens_lacrosse_conference FROM table_27378582_1 WHERE enrollment = 6000 </s>
Name the city for enrollment being 19900
CREATE TABLE table_27378582_1 (city VARCHAR, enrollment VARCHAR)
SELECT city FROM table_27378582_1 WHERE enrollment = 19900
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27378582_1 (city VARCHAR, enrollment VARCHAR) Question: Name the city for enrollment being 19900 [/INST] SELECT city FROM table_27378582_1 WHERE enrollment = 19900 </s>
Name the current womens lacrosse conference for bison
CREATE TABLE table_27378582_1 (current_womens_lacrosse_conference VARCHAR, nickname VARCHAR)
SELECT current_womens_lacrosse_conference FROM table_27378582_1 WHERE nickname = "Bison"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27378582_1 (current_womens_lacrosse_conference VARCHAR, nickname VARCHAR) Question: Name the current womens lacrosse conference for bison [/INST] SELECT current_womens_lacrosse_conference FROM table_27378582_1 WHERE nickname = "Bison" </s>
Name the most founded for bison
CREATE TABLE table_27378582_1 (founded INTEGER, nickname VARCHAR)
SELECT MAX(founded) FROM table_27378582_1 WHERE nickname = "Bison"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27378582_1 (founded INTEGER, nickname VARCHAR) Question: Name the most founded for bison [/INST] SELECT MAX(founded) FROM table_27378582_1 WHERE nickname = "Bison" </s>
How many weeks was K.Maro at #1?
CREATE TABLE table_27441210_12 (weeks_at__number1 INTEGER, artist VARCHAR)
SELECT MAX(weeks_at__number1) FROM table_27441210_12 WHERE artist = "K.Maro"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27441210_12 (weeks_at__number1 INTEGER, artist VARCHAR) Question: How many weeks was K.Maro at #1? [/INST] SELECT MAX(weeks_at__number1) FROM table_27441210_12 WHERE artist = "K.Maro" </s>
How many weeks was France at #1?
CREATE TABLE table_27441210_12 (weeks_at__number1 INTEGER, country VARCHAR)
SELECT MAX(weeks_at__number1) FROM table_27441210_12 WHERE country = "France"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27441210_12 (weeks_at__number1 INTEGER, country VARCHAR) Question: How many weeks was France at #1? [/INST] SELECT MAX(weeks_at__number1) FROM table_27441210_12 WHERE country = "France" </s>
Name the number one singles for week 1 being 5
CREATE TABLE table_27441210_20 (number_one_single_s_ VARCHAR, weeks_at__number1 VARCHAR)
SELECT number_one_single_s_ FROM table_27441210_20 WHERE weeks_at__number1 = 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27441210_20 (number_one_single_s_ VARCHAR, weeks_at__number1 VARCHAR) Question: Name the number one singles for week 1 being 5 [/INST] SELECT number_one_single_s_ FROM table_27441210_20 WHERE weeks_at__number1 = 5 </s>
Name the number one singles for desvarieux, jacob
CREATE TABLE table_27441210_5 (number_one_single_s_ VARCHAR, artist VARCHAR)
SELECT number_one_single_s_ FROM table_27441210_5 WHERE artist = "Desvarieux, Jacob"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27441210_5 (number_one_single_s_ VARCHAR, artist VARCHAR) Question: Name the number one singles for desvarieux, jacob [/INST] SELECT number_one_single_s_ FROM table_27441210_5 WHERE artist = "Desvarieux, Jacob" </s>
Name the least weeks at number 1 for 1988
CREATE TABLE table_27441210_5 (weeks_at__number1 INTEGER, year VARCHAR)
SELECT MIN(weeks_at__number1) FROM table_27441210_5 WHERE year = 1988
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27441210_5 (weeks_at__number1 INTEGER, year VARCHAR) Question: Name the least weeks at number 1 for 1988 [/INST] SELECT MIN(weeks_at__number1) FROM table_27441210_5 WHERE year = 1988 </s>
What is the name of the episode that was written by Scott M. Gimple?
CREATE TABLE table_27450976_1 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_27450976_1 WHERE written_by = "Scott M. Gimple"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27450976_1 (title VARCHAR, written_by VARCHAR) Question: What is the name of the episode that was written by Scott M. Gimple? [/INST] SELECT title FROM table_27450976_1 WHERE written_by = "Scott M. Gimple" </s>
What is the title of the episode with a production code of 2j5504?
CREATE TABLE table_27450976_1 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_27450976_1 WHERE production_code = "2J5504"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27450976_1 (title VARCHAR, production_code VARCHAR) Question: What is the title of the episode with a production code of 2j5504? [/INST] SELECT title FROM table_27450976_1 WHERE production_code = "2J5504" </s>