instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
Who was the opponent when they played at the Skydome?
CREATE TABLE table_name_53 (opponent VARCHAR, location_attendance VARCHAR)
SELECT opponent FROM table_name_53 WHERE location_attendance = "skydome"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (opponent VARCHAR, location_attendance VARCHAR) Question: Who was the opponent when they played at the Skydome? [/INST] SELECT opponent FROM table_name_53 WHERE location_attendance = "skydome" </s>
What was the record on January 17?
CREATE TABLE table_name_61 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_61 WHERE date = "january 17"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (record VARCHAR, date VARCHAR) Question: What was the record on January 17? [/INST] SELECT record FROM table_name_61 WHERE date = "january 17" </s>
What was the location and attendance when the record was 19-17?
CREATE TABLE table_name_69 (location_attendance VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_name_69 WHERE record = "19-17"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (location_attendance VARCHAR, record VARCHAR) Question: What was the location and attendance when the record was 19-17? [/INST] SELECT location_attendance FROM table_name_69 WHERE record = "19-17" ...
What city joined the Independents conference after 1963?
CREATE TABLE table_name_26 (city VARCHAR, year_joined VARCHAR, conference_joined VARCHAR)
SELECT city FROM table_name_26 WHERE year_joined > 1963 AND conference_joined = "independents"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (city VARCHAR, year_joined VARCHAR, conference_joined VARCHAR) Question: What city joined the Independents conference after 1963? [/INST] SELECT city FROM table_name_26 WHERE year_joined > 1963 AND...
What is the year that the Gary team with mascot of the Tornado joined?
CREATE TABLE table_name_94 (year_joined INTEGER, city VARCHAR, mascot VARCHAR)
SELECT MIN(year_joined) FROM table_name_94 WHERE city = "gary" AND mascot = "tornado"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (year_joined INTEGER, city VARCHAR, mascot VARCHAR) Question: What is the year that the Gary team with mascot of the Tornado joined? [/INST] SELECT MIN(year_joined) FROM table_name_94 WHERE city = ...
What was the previous conference for the team with the Governors as their mascot that joined the Indiana Lake Shore conference?
CREATE TABLE table_name_88 (previous_conference VARCHAR, conference_joined VARCHAR, mascot VARCHAR)
SELECT previous_conference FROM table_name_88 WHERE conference_joined = "indiana lake shore" AND mascot = "governors"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (previous_conference VARCHAR, conference_joined VARCHAR, mascot VARCHAR) Question: What was the previous conference for the team with the Governors as their mascot that joined the Indiana Lake Shor...
What is the year that the Roughriders left the conference?
CREATE TABLE table_name_25 (year_left INTEGER, mascot VARCHAR)
SELECT MAX(year_left) FROM table_name_25 WHERE mascot = "roughriders"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (year_left INTEGER, mascot VARCHAR) Question: What is the year that the Roughriders left the conference? [/INST] SELECT MAX(year_left) FROM table_name_25 WHERE mascot = "roughriders" </s>
What conference did the city of Valparaiso join?
CREATE TABLE table_name_5 (conference_joined VARCHAR, city VARCHAR)
SELECT conference_joined FROM table_name_5 WHERE city = "valparaiso"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (conference_joined VARCHAR, city VARCHAR) Question: What conference did the city of Valparaiso join? [/INST] SELECT conference_joined FROM table_name_5 WHERE city = "valparaiso" </s>
What is the duration of the character Bartha Zsolt?
CREATE TABLE table_name_93 (duration VARCHAR, character VARCHAR)
SELECT duration FROM table_name_93 WHERE character = "bartha zsolt"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (duration VARCHAR, character VARCHAR) Question: What is the duration of the character Bartha Zsolt? [/INST] SELECT duration FROM table_name_93 WHERE character = "bartha zsolt" </s>
How many losses have jake sharp as the name, with a long less than 30?
CREATE TABLE table_name_81 (loss VARCHAR, name VARCHAR, long VARCHAR)
SELECT COUNT(loss) FROM table_name_81 WHERE name = "jake sharp" AND long < 30
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (loss VARCHAR, name VARCHAR, long VARCHAR) Question: How many losses have jake sharp as the name, with a long less than 30? [/INST] SELECT COUNT(loss) FROM table_name_81 WHERE name = "jake sharp" A...
What is the average long that has 1581 as a gain, with a loss less than 308?
CREATE TABLE table_name_72 (long INTEGER, gain VARCHAR, loss VARCHAR)
SELECT AVG(long) FROM table_name_72 WHERE gain = 1581 AND loss < 308
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (long INTEGER, gain VARCHAR, loss VARCHAR) Question: What is the average long that has 1581 as a gain, with a loss less than 308? [/INST] SELECT AVG(long) FROM table_name_72 WHERE gain = 1581 AND l...
How many gains have a long greater than 8, with avg/g of 124.9?
CREATE TABLE table_name_27 (gain INTEGER, long VARCHAR, avg_g VARCHAR)
SELECT SUM(gain) FROM table_name_27 WHERE long > 8 AND avg_g = 124.9
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (gain INTEGER, long VARCHAR, avg_g VARCHAR) Question: How many gains have a long greater than 8, with avg/g of 124.9? [/INST] SELECT SUM(gain) FROM table_name_27 WHERE long > 8 AND avg_g = 124.9 </...
How many longs have a gain less than 379, and 0.8 as an avg/g?
CREATE TABLE table_name_11 (long INTEGER, gain VARCHAR, avg_g VARCHAR)
SELECT SUM(long) FROM table_name_11 WHERE gain < 379 AND avg_g = 0.8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (long INTEGER, gain VARCHAR, avg_g VARCHAR) Question: How many longs have a gain less than 379, and 0.8 as an avg/g? [/INST] SELECT SUM(long) FROM table_name_11 WHERE gain < 379 AND avg_g = 0.8 </s...
What is the lowest gain that has toben opurum as the name, with an avg/g less than 54.1?
CREATE TABLE table_name_35 (gain INTEGER, name VARCHAR, avg_g VARCHAR)
SELECT MIN(gain) FROM table_name_35 WHERE name = "toben opurum" AND avg_g < 54.1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (gain INTEGER, name VARCHAR, avg_g VARCHAR) Question: What is the lowest gain that has toben opurum as the name, with an avg/g less than 54.1? [/INST] SELECT MIN(gain) FROM table_name_35 WHERE name...
Which Driver has a Grid smaller than 17, and Points larger than 0, and a Lapse of 87, and a Time/Retired of 1:48:11.023?
CREATE TABLE table_name_72 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR, points VARCHAR)
SELECT driver FROM table_name_72 WHERE grid < 17 AND points > 0 AND laps = 87 AND time_retired = "1:48:11.023"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR, points VARCHAR) Question: Which Driver has a Grid smaller than 17, and Points larger than 0, and a Lapse of 87, and a Time/Retired...
Which Points have a Grid larger than 7, and a Driver of alex tagliani, and a Lapse smaller than 85?
CREATE TABLE table_name_56 (points INTEGER, laps VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT MAX(points) FROM table_name_56 WHERE grid > 7 AND driver = "alex tagliani" AND laps < 85
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (points INTEGER, laps VARCHAR, grid VARCHAR, driver VARCHAR) Question: Which Points have a Grid larger than 7, and a Driver of alex tagliani, and a Lapse smaller than 85? [/INST] SELECT MAX(points)...
What date has uefa euro 2008 qualification as the competition?
CREATE TABLE table_name_55 (date VARCHAR, competition VARCHAR)
SELECT date FROM table_name_55 WHERE competition = "uefa euro 2008 qualification"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (date VARCHAR, competition VARCHAR) Question: What date has uefa euro 2008 qualification as the competition? [/INST] SELECT date FROM table_name_55 WHERE competition = "uefa euro 2008 qualification...
What date has friendly as the competition, with pretoria, South Africa as the venue?
CREATE TABLE table_name_79 (date VARCHAR, competition VARCHAR, venue VARCHAR)
SELECT date FROM table_name_79 WHERE competition = "friendly" AND venue = "pretoria, south africa"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (date VARCHAR, competition VARCHAR, venue VARCHAR) Question: What date has friendly as the competition, with pretoria, South Africa as the venue? [/INST] SELECT date FROM table_name_79 WHERE compet...
What is the lowest final score of the American Cup competition before 2009?
CREATE TABLE table_name_15 (score_final INTEGER, competition_description VARCHAR, year VARCHAR)
SELECT MIN(score_final) FROM table_name_15 WHERE competition_description = "american cup" AND year < 2009
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (score_final INTEGER, competition_description VARCHAR, year VARCHAR) Question: What is the lowest final score of the American Cup competition before 2009? [/INST] SELECT MIN(score_final) FROM table...
What is the result for the game before week 7 against BYE?
CREATE TABLE table_name_95 (result VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_95 WHERE week < 7 AND opponent = "bye"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (result VARCHAR, week VARCHAR, opponent VARCHAR) Question: What is the result for the game before week 7 against BYE? [/INST] SELECT result FROM table_name_95 WHERE week < 7 AND opponent = "bye" </...
What was the date for the game after week 16?
CREATE TABLE table_name_74 (date VARCHAR, week INTEGER)
SELECT date FROM table_name_74 WHERE week > 16
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (date VARCHAR, week INTEGER) Question: What was the date for the game after week 16? [/INST] SELECT date FROM table_name_74 WHERE week > 16 </s>
What was the attendance for the game against tampa bay buccaneers?
CREATE TABLE table_name_61 (attendance VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_61 WHERE opponent = "tampa bay buccaneers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (attendance VARCHAR, opponent VARCHAR) Question: What was the attendance for the game against tampa bay buccaneers? [/INST] SELECT attendance FROM table_name_61 WHERE opponent = "tampa bay buccanee...
What was the date of the game after week 5 with 62,262 fans attending?
CREATE TABLE table_name_82 (date VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_82 WHERE week > 5 AND attendance = "62,262"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (date VARCHAR, week VARCHAR, attendance VARCHAR) Question: What was the date of the game after week 5 with 62,262 fans attending? [/INST] SELECT date FROM table_name_82 WHERE week > 5 AND attendanc...
Which Location has a Record of 5–2–1?
CREATE TABLE table_name_31 (location VARCHAR, record VARCHAR)
SELECT location FROM table_name_31 WHERE record = "5–2–1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (location VARCHAR, record VARCHAR) Question: Which Location has a Record of 5–2–1? [/INST] SELECT location FROM table_name_31 WHERE record = "5–2–1" </s>
Which Record has an Event of inoki bom-ba-ye 2002?
CREATE TABLE table_name_1 (record VARCHAR, event VARCHAR)
SELECT record FROM table_name_1 WHERE event = "inoki bom-ba-ye 2002"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (record VARCHAR, event VARCHAR) Question: Which Record has an Event of inoki bom-ba-ye 2002? [/INST] SELECT record FROM table_name_1 WHERE event = "inoki bom-ba-ye 2002" </s>
Which Opponent has a Record of 2–0?
CREATE TABLE table_name_80 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_80 WHERE record = "2–0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (opponent VARCHAR, record VARCHAR) Question: Which Opponent has a Record of 2–0? [/INST] SELECT opponent FROM table_name_80 WHERE record = "2–0" </s>
Which Record has a Round larger than 2, and an Event of bellator 38?
CREATE TABLE table_name_62 (record VARCHAR, round VARCHAR, event VARCHAR)
SELECT record FROM table_name_62 WHERE round > 2 AND event = "bellator 38"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (record VARCHAR, round VARCHAR, event VARCHAR) Question: Which Record has a Round larger than 2, and an Event of bellator 38? [/INST] SELECT record FROM table_name_62 WHERE round > 2 AND event = "b...
What was John Jones's pick#?
CREATE TABLE table_name_30 (pick INTEGER, player VARCHAR)
SELECT SUM(pick) FROM table_name_30 WHERE player = "john jones"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (pick INTEGER, player VARCHAR) Question: What was John Jones's pick#? [/INST] SELECT SUM(pick) FROM table_name_30 WHERE player = "john jones" </s>
What was the pick # of the player who has a hometown/school of Atlanta, GA?
CREATE TABLE table_name_62 (pick INTEGER, hometown_school VARCHAR)
SELECT AVG(pick) FROM table_name_62 WHERE hometown_school = "atlanta, ga"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (pick INTEGER, hometown_school VARCHAR) Question: What was the pick # of the player who has a hometown/school of Atlanta, GA? [/INST] SELECT AVG(pick) FROM table_name_62 WHERE hometown_school = "at...
What is Mañana es para siempre of impreuna pentru totdeauna from Monday to Friday?
CREATE TABLE table_name_34 (monday_to_friday VARCHAR, mañana_es_para_siempre VARCHAR)
SELECT monday_to_friday FROM table_name_34 WHERE mañana_es_para_siempre = "impreuna pentru totdeauna"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (monday_to_friday VARCHAR, mañana_es_para_siempre VARCHAR) Question: What is Mañana es para siempre of impreuna pentru totdeauna from Monday to Friday? [/INST] SELECT monday_to_friday FROM table_na...
When does the El Canal de las Estrellas of pop tv show from Monday to Friday?
CREATE TABLE table_name_87 (monday_to_friday VARCHAR, el_canal_de_las_estrellas VARCHAR)
SELECT monday_to_friday FROM table_name_87 WHERE el_canal_de_las_estrellas = "pop tv"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (monday_to_friday VARCHAR, el_canal_de_las_estrellas VARCHAR) Question: When does the El Canal de las Estrellas of pop tv show from Monday to Friday? [/INST] SELECT monday_to_friday FROM table_name...
What is the enrollment for the AAAA class in IHSAA?
CREATE TABLE table_name_85 (enrollment INTEGER, ihsaa_football_class VARCHAR)
SELECT SUM(enrollment) FROM table_name_85 WHERE ihsaa_football_class = "aaaa"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (enrollment INTEGER, ihsaa_football_class VARCHAR) Question: What is the enrollment for the AAAA class in IHSAA? [/INST] SELECT SUM(enrollment) FROM table_name_85 WHERE ihsaa_football_class = "aaaa...
What is the IHSAA Football class at Culver?
CREATE TABLE table_name_93 (ihsaa_football_class VARCHAR, location VARCHAR)
SELECT ihsaa_football_class FROM table_name_93 WHERE location = "culver"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (ihsaa_football_class VARCHAR, location VARCHAR) Question: What is the IHSAA Football class at Culver? [/INST] SELECT ihsaa_football_class FROM table_name_93 WHERE location = "culver" </s>
What school has the Lancers as their mascot?
CREATE TABLE table_name_86 (location VARCHAR, mascot VARCHAR)
SELECT location FROM table_name_86 WHERE mascot = "lancers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (location VARCHAR, mascot VARCHAR) Question: What school has the Lancers as their mascot? [/INST] SELECT location FROM table_name_86 WHERE mascot = "lancers" </s>
What is the total enrollment at Laville?
CREATE TABLE table_name_97 (enrollment VARCHAR, school VARCHAR)
SELECT COUNT(enrollment) FROM table_name_97 WHERE school = "laville"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (enrollment VARCHAR, school VARCHAR) Question: What is the total enrollment at Laville? [/INST] SELECT COUNT(enrollment) FROM table_name_97 WHERE school = "laville" </s>
What is the highest average for teams ranked higher than 9?
CREATE TABLE table_name_30 (avg INTEGER, rank INTEGER)
SELECT MAX(avg) FROM table_name_30 WHERE rank > 9
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (avg INTEGER, rank INTEGER) Question: What is the highest average for teams ranked higher than 9? [/INST] SELECT MAX(avg) FROM table_name_30 WHERE rank > 9 </s>
What is the name of the 2008 club with Nadia Centoni Category:Articles with hCards?
CREATE TABLE table_name_69 (name VARCHAR)
SELECT 2008 AS _club FROM table_name_69 WHERE name = "nadia centoni category:articles with hcards"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (name VARCHAR) Question: What is the name of the 2008 club with Nadia Centoni Category:Articles with hCards? [/INST] SELECT 2008 AS _club FROM table_name_69 WHERE name = "nadia centoni category:art...
Which 2008 club has the name Francesca Piccinini Category:Articles with hCards?
CREATE TABLE table_name_71 (name VARCHAR)
SELECT 2008 AS _club FROM table_name_71 WHERE name = "francesca piccinini category:articles with hcards"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (name VARCHAR) Question: Which 2008 club has the name Francesca Piccinini Category:Articles with hCards? [/INST] SELECT 2008 AS _club FROM table_name_71 WHERE name = "francesca piccinini category:a...
What is the least amount of wins when against is 1314?
CREATE TABLE table_name_41 (wins INTEGER, against VARCHAR)
SELECT MIN(wins) FROM table_name_41 WHERE against = 1314
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (wins INTEGER, against VARCHAR) Question: What is the least amount of wins when against is 1314? [/INST] SELECT MIN(wins) FROM table_name_41 WHERE against = 1314 </s>
What is the number of against when the wins were 8, and a Club of South Warrnambool, with less than 0 draws?
CREATE TABLE table_name_29 (against INTEGER, draws VARCHAR, wins VARCHAR, club VARCHAR)
SELECT SUM(against) FROM table_name_29 WHERE wins = 8 AND club = "south warrnambool" AND draws < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (against INTEGER, draws VARCHAR, wins VARCHAR, club VARCHAR) Question: What is the number of against when the wins were 8, and a Club of South Warrnambool, with less than 0 draws? [/INST] SELECT SU...
What is the number of wins when the against is larger than 1155, for Warrnambool, with more than 0 draws?
CREATE TABLE table_name_20 (wins INTEGER, draws VARCHAR, against VARCHAR, club VARCHAR)
SELECT AVG(wins) FROM table_name_20 WHERE against > 1155 AND club = "warrnambool" AND draws > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (wins INTEGER, draws VARCHAR, against VARCHAR, club VARCHAR) Question: What is the number of wins when the against is larger than 1155, for Warrnambool, with more than 0 draws? [/INST] SELECT AVG(w...
What score has 15.0% as the 2012?
CREATE TABLE table_name_87 (score VARCHAR)
SELECT score FROM table_name_87 WHERE 2012 = "15.0%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (score VARCHAR) Question: What score has 15.0% as the 2012? [/INST] SELECT score FROM table_name_87 WHERE 2012 = "15.0%" </s>
What 2008 has 14.2% as the 2009?
CREATE TABLE table_name_31 (Id VARCHAR)
SELECT 2008 FROM table_name_31 WHERE 2009 = "14.2%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (Id VARCHAR) Question: What 2008 has 14.2% as the 2009? [/INST] SELECT 2008 FROM table_name_31 WHERE 2009 = "14.2%" </s>
What score has 15.0% as the 2012?
CREATE TABLE table_name_16 (score VARCHAR)
SELECT score FROM table_name_16 WHERE 2012 = "15.0%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (score VARCHAR) Question: What score has 15.0% as the 2012? [/INST] SELECT score FROM table_name_16 WHERE 2012 = "15.0%" </s>
What 2009 has 18.5% as the 2007?
CREATE TABLE table_name_49 (Id VARCHAR)
SELECT 2009 FROM table_name_49 WHERE 2007 = "18.5%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (Id VARCHAR) Question: What 2009 has 18.5% as the 2007? [/INST] SELECT 2009 FROM table_name_49 WHERE 2007 = "18.5%" </s>
What 2011 has 12.7% as the 2010?
CREATE TABLE table_name_33 (Id VARCHAR)
SELECT 2011 FROM table_name_33 WHERE 2010 = "12.7%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (Id VARCHAR) Question: What 2011 has 12.7% as the 2010? [/INST] SELECT 2011 FROM table_name_33 WHERE 2010 = "12.7%" </s>
What is the Week of the game with a Result of L 24-0?
CREATE TABLE table_name_44 (week INTEGER, result VARCHAR)
SELECT MAX(week) FROM table_name_44 WHERE result = "l 24-0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (week INTEGER, result VARCHAR) Question: What is the Week of the game with a Result of L 24-0? [/INST] SELECT MAX(week) FROM table_name_44 WHERE result = "l 24-0" </s>
What is the Week number on December 18, 1960?
CREATE TABLE table_name_17 (week VARCHAR, date VARCHAR)
SELECT COUNT(week) FROM table_name_17 WHERE date = "december 18, 1960"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (week VARCHAR, date VARCHAR) Question: What is the Week number on December 18, 1960? [/INST] SELECT COUNT(week) FROM table_name_17 WHERE date = "december 18, 1960" </s>
Which pick played the Defensive End position?
CREATE TABLE table_name_3 (pick VARCHAR, position VARCHAR)
SELECT pick FROM table_name_3 WHERE position = "defensive end"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (pick VARCHAR, position VARCHAR) Question: Which pick played the Defensive End position? [/INST] SELECT pick FROM table_name_3 WHERE position = "defensive end" </s>
How many picks were taken before round 3 and played Linebacker?
CREATE TABLE table_name_41 (pick VARCHAR, position VARCHAR, round VARCHAR)
SELECT COUNT(pick) FROM table_name_41 WHERE position = "linebacker" AND round < 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (pick VARCHAR, position VARCHAR, round VARCHAR) Question: How many picks were taken before round 3 and played Linebacker? [/INST] SELECT COUNT(pick) FROM table_name_41 WHERE position = "linebacker"...
What is the average number of silver medals won among nations that won 9 medals total?
CREATE TABLE table_name_88 (silver INTEGER, total VARCHAR)
SELECT AVG(silver) FROM table_name_88 WHERE total = 9
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (silver INTEGER, total VARCHAR) Question: What is the average number of silver medals won among nations that won 9 medals total? [/INST] SELECT AVG(silver) FROM table_name_88 WHERE total = 9 </s>
Which Round has a Pick larger than 179?
CREATE TABLE table_name_63 (round INTEGER, pick INTEGER)
SELECT MAX(round) FROM table_name_63 WHERE pick > 179
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (round INTEGER, pick INTEGER) Question: Which Round has a Pick larger than 179? [/INST] SELECT MAX(round) FROM table_name_63 WHERE pick > 179 </s>
What is jamar martin's highest pick?
CREATE TABLE table_name_33 (pick INTEGER, player VARCHAR)
SELECT MAX(pick) FROM table_name_33 WHERE player = "jamar martin"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (pick INTEGER, player VARCHAR) Question: What is jamar martin's highest pick? [/INST] SELECT MAX(pick) FROM table_name_33 WHERE player = "jamar martin" </s>
What teams rank is higher than 4 with a speed of 104.574mph?
CREATE TABLE table_name_91 (team VARCHAR, rank VARCHAR, speed VARCHAR)
SELECT team FROM table_name_91 WHERE rank > 4 AND speed = "104.574mph"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (team VARCHAR, rank VARCHAR, speed VARCHAR) Question: What teams rank is higher than 4 with a speed of 104.574mph? [/INST] SELECT team FROM table_name_91 WHERE rank > 4 AND speed = "104.574mph" </s...
What team does Anthony Redmond ride for?
CREATE TABLE table_name_32 (team VARCHAR, rider VARCHAR)
SELECT team FROM table_name_32 WHERE rider = "anthony redmond"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (team VARCHAR, rider VARCHAR) Question: What team does Anthony Redmond ride for? [/INST] SELECT team FROM table_name_32 WHERE rider = "anthony redmond" </s>
What was the speed with a time of 1:03.41.86 and a rank smaller than 3?
CREATE TABLE table_name_86 (speed VARCHAR, rank VARCHAR, time VARCHAR)
SELECT speed FROM table_name_86 WHERE rank < 3 AND time = "1:03.41.86"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (speed VARCHAR, rank VARCHAR, time VARCHAR) Question: What was the speed with a time of 1:03.41.86 and a rank smaller than 3? [/INST] SELECT speed FROM table_name_86 WHERE rank < 3 AND time = "1:03...
What school in 72 Scott county has an enrollment more than 473 with an AAA IHSAA Class?
CREATE TABLE table_name_11 (school VARCHAR, _number___county VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)
SELECT school FROM table_name_11 WHERE enrollment > 473 AND ihsaa_class = "aaa" AND _number___county = "72 scott"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (school VARCHAR, _number___county VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR) Question: What school in 72 Scott county has an enrollment more than 473 with an AAA IHSAA Class? [/INST] SELECT ...
What's the mascot of Eastern Pekin having less than 627 enrolled and an AA for their IHSAA Class?
CREATE TABLE table_name_34 (mascot VARCHAR, school VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)
SELECT mascot FROM table_name_34 WHERE enrollment < 627 AND ihsaa_class = "aa" AND school = "eastern pekin"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (mascot VARCHAR, school VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR) Question: What's the mascot of Eastern Pekin having less than 627 enrolled and an AA for their IHSAA Class? [/INST] SELECT ...
What's the most enrolled having the dragons for a mascot and an AAA for the IHSAA Class?
CREATE TABLE table_name_88 (enrollment INTEGER, ihsaa_class VARCHAR, mascot VARCHAR)
SELECT MAX(enrollment) FROM table_name_88 WHERE ihsaa_class = "aaa" AND mascot = "dragons"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (enrollment INTEGER, ihsaa_class VARCHAR, mascot VARCHAR) Question: What's the most enrolled having the dragons for a mascot and an AAA for the IHSAA Class? [/INST] SELECT MAX(enrollment) FROM tabl...
What's the county of Eastern Pekin school with fewer than 774 enrolled?
CREATE TABLE table_name_54 (_number___county VARCHAR, enrollment VARCHAR, school VARCHAR)
SELECT _number___county FROM table_name_54 WHERE enrollment < 774 AND school = "eastern pekin"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (_number___county VARCHAR, enrollment VARCHAR, school VARCHAR) Question: What's the county of Eastern Pekin school with fewer than 774 enrolled? [/INST] SELECT _number___county FROM table_name_54 W...
What's the location of the school having the panthers as a mascot with an AAA for the IHSAA Class?
CREATE TABLE table_name_28 (location VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)
SELECT location FROM table_name_28 WHERE ihsaa_class = "aaa" AND mascot = "panthers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (location VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR) Question: What's the location of the school having the panthers as a mascot with an AAA for the IHSAA Class? [/INST] SELECT location FROM tab...
What's the IHSAA Class when the mascot was the Musketeers?
CREATE TABLE table_name_1 (ihsaa_class VARCHAR, mascot VARCHAR)
SELECT ihsaa_class FROM table_name_1 WHERE mascot = "musketeers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (ihsaa_class VARCHAR, mascot VARCHAR) Question: What's the IHSAA Class when the mascot was the Musketeers? [/INST] SELECT ihsaa_class FROM table_name_1 WHERE mascot = "musketeers" </s>
Who was the director of Chaser on the Rocks?
CREATE TABLE table_name_74 (director VARCHAR, title VARCHAR)
SELECT director FROM table_name_74 WHERE title = "chaser on the rocks"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (director VARCHAR, title VARCHAR) Question: Who was the director of Chaser on the Rocks? [/INST] SELECT director FROM table_name_74 WHERE title = "chaser on the rocks" </s>
What are the characters from the movie Suppressed Duck?
CREATE TABLE table_name_80 (characters VARCHAR, title VARCHAR)
SELECT characters FROM table_name_80 WHERE title = "suppressed duck"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (characters VARCHAR, title VARCHAR) Question: What are the characters from the movie Suppressed Duck? [/INST] SELECT characters FROM table_name_80 WHERE title = "suppressed duck" </s>
How many picks on average did Jay Bruchak have before round 6?
CREATE TABLE table_name_7 (pick INTEGER, player VARCHAR, round VARCHAR)
SELECT AVG(pick) FROM table_name_7 WHERE player = "jay bruchak" AND round < 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (pick INTEGER, player VARCHAR, round VARCHAR) Question: How many picks on average did Jay Bruchak have before round 6? [/INST] SELECT AVG(pick) FROM table_name_7 WHERE player = "jay bruchak" AND rou...
How many rounds did Pierre Bland have a pick larger than 148?
CREATE TABLE table_name_13 (round VARCHAR, pick VARCHAR, player VARCHAR)
SELECT COUNT(round) FROM table_name_13 WHERE pick > 148 AND player = "pierre bland"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (round VARCHAR, pick VARCHAR, player VARCHAR) Question: How many rounds did Pierre Bland have a pick larger than 148? [/INST] SELECT COUNT(round) FROM table_name_13 WHERE pick > 148 AND player = "p...
What was the earliest round that Purdue had a pick larger than 10?
CREATE TABLE table_name_16 (round INTEGER, college VARCHAR, pick VARCHAR)
SELECT MIN(round) FROM table_name_16 WHERE college = "purdue" AND pick > 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (round INTEGER, college VARCHAR, pick VARCHAR) Question: What was the earliest round that Purdue had a pick larger than 10? [/INST] SELECT MIN(round) FROM table_name_16 WHERE college = "purdue" AND...
How many picks did Jay Bruchak have?
CREATE TABLE table_name_31 (pick VARCHAR, player VARCHAR)
SELECT COUNT(pick) FROM table_name_31 WHERE player = "jay bruchak"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (pick VARCHAR, player VARCHAR) Question: How many picks did Jay Bruchak have? [/INST] SELECT COUNT(pick) FROM table_name_31 WHERE player = "jay bruchak" </s>
In what round was the Alianza home game?
CREATE TABLE table_name_85 (round VARCHAR, home VARCHAR)
SELECT round FROM table_name_85 WHERE home = "alianza"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (round VARCHAR, home VARCHAR) Question: In what round was the Alianza home game? [/INST] SELECT round FROM table_name_85 WHERE home = "alianza" </s>
What was the visiting team that played a round 16 game?
CREATE TABLE table_name_48 (away VARCHAR, round VARCHAR)
SELECT away FROM table_name_48 WHERE round = "round 16"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (away VARCHAR, round VARCHAR) Question: What was the visiting team that played a round 16 game? [/INST] SELECT away FROM table_name_48 WHERE round = "round 16" </s>
How many weeks have an Attendance of 62,289?
CREATE TABLE table_name_68 (week INTEGER, attendance VARCHAR)
SELECT SUM(week) FROM table_name_68 WHERE attendance = 62 OFFSET 289 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (week INTEGER, attendance VARCHAR) Question: How many weeks have an Attendance of 62,289? [/INST] SELECT SUM(week) FROM table_name_68 WHERE attendance = 62 OFFSET 289 ROWS </s>
Which Week has an Attendance larger than 65,070?
CREATE TABLE table_name_57 (week INTEGER, attendance INTEGER)
SELECT MAX(week) FROM table_name_57 WHERE attendance > 65 OFFSET 070 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (week INTEGER, attendance INTEGER) Question: Which Week has an Attendance larger than 65,070? [/INST] SELECT MAX(week) FROM table_name_57 WHERE attendance > 65 OFFSET 070 ROWS </s>
Which Week has an Opponent of atlanta falcons, and an Attendance smaller than 63,114?
CREATE TABLE table_name_58 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
SELECT MIN(week) FROM table_name_58 WHERE opponent = "atlanta falcons" AND attendance < 63 OFFSET 114 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (week INTEGER, opponent VARCHAR, attendance VARCHAR) Question: Which Week has an Opponent of atlanta falcons, and an Attendance smaller than 63,114? [/INST] SELECT MIN(week) FROM table_name_58 WHER...
which Tms has a Season of 2013?
CREATE TABLE table_name_59 (tms VARCHAR, season VARCHAR)
SELECT tms FROM table_name_59 WHERE season = "2013"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (tms VARCHAR, season VARCHAR) Question: which Tms has a Season of 2013? [/INST] SELECT tms FROM table_name_59 WHERE season = "2013" </s>
What's the population with a code more than 90902 and an area less than 1,335.47?
CREATE TABLE table_name_19 (population INTEGER, code VARCHAR, area__km_2__ VARCHAR)
SELECT MIN(population) FROM table_name_19 WHERE code > 90902 AND area__km_2__ < 1 OFFSET 335.47 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (population INTEGER, code VARCHAR, area__km_2__ VARCHAR) Question: What's the population with a code more than 90902 and an area less than 1,335.47? [/INST] SELECT MIN(population) FROM table_name_1...
What's the most area of Bochum Part 2 with a population less than 15,911?
CREATE TABLE table_name_72 (area__km_2__ INTEGER, place VARCHAR, population VARCHAR)
SELECT MAX(area__km_2__) FROM table_name_72 WHERE place = "bochum part 2" AND population < 15 OFFSET 911 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (area__km_2__ INTEGER, place VARCHAR, population VARCHAR) Question: What's the most area of Bochum Part 2 with a population less than 15,911? [/INST] SELECT MAX(area__km_2__) FROM table_name_72 WHE...
What is the Original NFL team of the CB Player?
CREATE TABLE table_name_31 (original_nfl_team VARCHAR, pos VARCHAR)
SELECT original_nfl_team FROM table_name_31 WHERE pos = "cb"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (original_nfl_team VARCHAR, pos VARCHAR) Question: What is the Original NFL team of the CB Player? [/INST] SELECT original_nfl_team FROM table_name_31 WHERE pos = "cb" </s>
What is the College of the WR Player from SWC Conf?
CREATE TABLE table_name_70 (college VARCHAR, conf VARCHAR, pos VARCHAR)
SELECT college FROM table_name_70 WHERE conf = "swc" AND pos = "wr"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (college VARCHAR, conf VARCHAR, pos VARCHAR) Question: What is the College of the WR Player from SWC Conf? [/INST] SELECT college FROM table_name_70 WHERE conf = "swc" AND pos = "wr" </s>
What Player is from the College of memphis?
CREATE TABLE table_name_5 (player VARCHAR, college VARCHAR)
SELECT player FROM table_name_5 WHERE college = "memphis"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (player VARCHAR, college VARCHAR) Question: What Player is from the College of memphis? [/INST] SELECT player FROM table_name_5 WHERE college = "memphis" </s>
What is the College of the LB Player with Big Ten Conf.?
CREATE TABLE table_name_70 (college VARCHAR, pos VARCHAR, conf VARCHAR)
SELECT college FROM table_name_70 WHERE pos = "lb" AND conf = "big ten"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (college VARCHAR, pos VARCHAR, conf VARCHAR) Question: What is the College of the LB Player with Big Ten Conf.? [/INST] SELECT college FROM table_name_70 WHERE pos = "lb" AND conf = "big ten" </s>
How many draws are there when there are 11 wins, and more than 7 losses?
CREATE TABLE table_name_92 (draws INTEGER, wins VARCHAR, losses VARCHAR)
SELECT SUM(draws) FROM table_name_92 WHERE wins = 11 AND losses > 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (draws INTEGER, wins VARCHAR, losses VARCHAR) Question: How many draws are there when there are 11 wins, and more than 7 losses? [/INST] SELECT SUM(draws) FROM table_name_92 WHERE wins = 11 AND los...
What is the draws when there are less than 3 losses and more than 16 wins?
CREATE TABLE table_name_20 (draws INTEGER, losses VARCHAR, wins VARCHAR)
SELECT MAX(draws) FROM table_name_20 WHERE losses < 3 AND wins > 16
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (draws INTEGER, losses VARCHAR, wins VARCHAR) Question: What is the draws when there are less than 3 losses and more than 16 wins? [/INST] SELECT MAX(draws) FROM table_name_20 WHERE losses < 3 AND ...
What is the wins when there are 5 losses, and against is more than 1205?
CREATE TABLE table_name_33 (wins INTEGER, losses VARCHAR, against VARCHAR)
SELECT MAX(wins) FROM table_name_33 WHERE losses = 5 AND against > 1205
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (wins INTEGER, losses VARCHAR, against VARCHAR) Question: What is the wins when there are 5 losses, and against is more than 1205? [/INST] SELECT MAX(wins) FROM table_name_33 WHERE losses = 5 AND a...
What is the losses when Sunrayia FL is Red Cliffs, and the against is more than 2294?
CREATE TABLE table_name_20 (losses INTEGER, sunrayia_fl VARCHAR, against VARCHAR)
SELECT AVG(losses) FROM table_name_20 WHERE sunrayia_fl = "red cliffs" AND against > 2294
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (losses INTEGER, sunrayia_fl VARCHAR, against VARCHAR) Question: What is the losses when Sunrayia FL is Red Cliffs, and the against is more than 2294? [/INST] SELECT AVG(losses) FROM table_name_20 ...
What is the number against when losses are smaller than 3, and wins arelarger than 16?
CREATE TABLE table_name_73 (against VARCHAR, losses VARCHAR, wins VARCHAR)
SELECT COUNT(against) FROM table_name_73 WHERE losses < 3 AND wins > 16
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (against VARCHAR, losses VARCHAR, wins VARCHAR) Question: What is the number against when losses are smaller than 3, and wins arelarger than 16? [/INST] SELECT COUNT(against) FROM table_name_73 WHE...
What is the Notes of the Frequency with Call sign CFUN-FM-1?
CREATE TABLE table_name_33 (notes VARCHAR, call_sign VARCHAR)
SELECT notes FROM table_name_33 WHERE call_sign = "cfun-fm-1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (notes VARCHAR, call_sign VARCHAR) Question: What is the Notes of the Frequency with Call sign CFUN-FM-1? [/INST] SELECT notes FROM table_name_33 WHERE call_sign = "cfun-fm-1" </s>
What is the Format of FM 100.5 Licensed to Hope?
CREATE TABLE table_name_65 (format VARCHAR, notes VARCHAR, frequency VARCHAR)
SELECT format FROM table_name_65 WHERE notes = "licensed to hope" AND frequency = "fm 100.5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (format VARCHAR, notes VARCHAR, frequency VARCHAR) Question: What is the Format of FM 100.5 Licensed to Hope? [/INST] SELECT format FROM table_name_65 WHERE notes = "licensed to hope" AND frequency...
What is the Notes of the Frequency with a call sign of CBUE-FM?
CREATE TABLE table_name_82 (notes VARCHAR, call_sign VARCHAR)
SELECT notes FROM table_name_82 WHERE call_sign = "cbue-fm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (notes VARCHAR, call_sign VARCHAR) Question: What is the Notes of the Frequency with a call sign of CBUE-FM? [/INST] SELECT notes FROM table_name_82 WHERE call_sign = "cbue-fm" </s>
what is the average dynamo when draw is more than 0, played is less than 15 and spartak is more than 1?
CREATE TABLE table_name_25 (dynamo INTEGER, spartak VARCHAR, draw VARCHAR, played VARCHAR)
SELECT AVG(dynamo) FROM table_name_25 WHERE draw > 0 AND played < 15 AND spartak > 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (dynamo INTEGER, spartak VARCHAR, draw VARCHAR, played VARCHAR) Question: what is the average dynamo when draw is more than 0, played is less than 15 and spartak is more than 1? [/INST] SELECT AVG(...
what is the highest spartak when played is less than 15 and dynamo is less than 3?
CREATE TABLE table_name_42 (spartak INTEGER, played VARCHAR, dynamo VARCHAR)
SELECT MAX(spartak) FROM table_name_42 WHERE played < 15 AND dynamo < 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (spartak INTEGER, played VARCHAR, dynamo VARCHAR) Question: what is the highest spartak when played is less than 15 and dynamo is less than 3? [/INST] SELECT MAX(spartak) FROM table_name_42 WHERE p...
what is the most draw when the competition is soviet league and dynamo is more than 34?
CREATE TABLE table_name_19 (draw INTEGER, competition VARCHAR, dynamo VARCHAR)
SELECT MAX(draw) FROM table_name_19 WHERE competition = "soviet league" AND dynamo > 34
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (draw INTEGER, competition VARCHAR, dynamo VARCHAR) Question: what is the most draw when the competition is soviet league and dynamo is more than 34? [/INST] SELECT MAX(draw) FROM table_name_19 WHE...
what is the sum of spartak when played is 102 and draw is less than 19?
CREATE TABLE table_name_54 (spartak INTEGER, played VARCHAR, draw VARCHAR)
SELECT SUM(spartak) FROM table_name_54 WHERE played = 102 AND draw < 19
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (spartak INTEGER, played VARCHAR, draw VARCHAR) Question: what is the sum of spartak when played is 102 and draw is less than 19? [/INST] SELECT SUM(spartak) FROM table_name_54 WHERE played = 102 A...
what is the least dynamo when spartak is more than 9, competition is totals and draw is more than 24?
CREATE TABLE table_name_12 (dynamo INTEGER, draw VARCHAR, spartak VARCHAR, competition VARCHAR)
SELECT MIN(dynamo) FROM table_name_12 WHERE spartak > 9 AND competition = "totals" AND draw > 24
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (dynamo INTEGER, draw VARCHAR, spartak VARCHAR, competition VARCHAR) Question: what is the least dynamo when spartak is more than 9, competition is totals and draw is more than 24? [/INST] SELECT M...
What's the result when the Washington Redskins were the opponents on a week after 8?
CREATE TABLE table_name_85 (result VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_85 WHERE week > 8 AND opponent = "washington redskins"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (result VARCHAR, week VARCHAR, opponent VARCHAR) Question: What's the result when the Washington Redskins were the opponents on a week after 8? [/INST] SELECT result FROM table_name_85 WHERE week >...
What is the 4.45 for Anna Rogowska from Poland?
CREATE TABLE table_name_46 (nationality VARCHAR, name VARCHAR)
SELECT 445 FROM table_name_46 WHERE nationality = "poland" AND name = "anna rogowska"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (nationality VARCHAR, name VARCHAR) Question: What is the 4.45 for Anna Rogowska from Poland? [/INST] SELECT 445 FROM table_name_46 WHERE nationality = "poland" AND name = "anna rogowska" </s>
What is the 4.45 for Yelena Isinbayeva?
CREATE TABLE table_name_5 (name VARCHAR)
SELECT 445 FROM table_name_5 WHERE name = "yelena isinbayeva"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (name VARCHAR) Question: What is the 4.45 for Yelena Isinbayeva? [/INST] SELECT 445 FROM table_name_5 WHERE name = "yelena isinbayeva" </s>
What is Anna Rogowska's average result?
CREATE TABLE table_name_7 (result INTEGER, name VARCHAR)
SELECT AVG(result) FROM table_name_7 WHERE name = "anna rogowska"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (result INTEGER, name VARCHAR) Question: What is Anna Rogowska's average result? [/INST] SELECT AVG(result) FROM table_name_7 WHERE name = "anna rogowska" </s>
What national has 4.45 for o and 4.55 for xo?
CREATE TABLE table_name_13 (nationality VARCHAR)
SELECT nationality FROM table_name_13 WHERE 445 = "o" AND 455 = "xo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (nationality VARCHAR) Question: What national has 4.45 for o and 4.55 for xo? [/INST] SELECT nationality FROM table_name_13 WHERE 445 = "o" AND 455 = "xo" </s>
What is the sum of staterooms in with a year buit of 2008, and a crew less than 28?
CREATE TABLE table_name_62 (staterooms INTEGER, year_built VARCHAR, crew VARCHAR)
SELECT SUM(staterooms) FROM table_name_62 WHERE year_built = 2008 AND crew < 28
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (staterooms INTEGER, year_built VARCHAR, crew VARCHAR) Question: What is the sum of staterooms in with a year buit of 2008, and a crew less than 28? [/INST] SELECT SUM(staterooms) FROM table_name_6...
What is the total for guests with a ship name of rv indochina, and a crew smaller than 28?
CREATE TABLE table_name_89 (guests VARCHAR, ship_name VARCHAR, crew VARCHAR)
SELECT COUNT(guests) FROM table_name_89 WHERE ship_name = "rv indochina" AND crew < 28
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (guests VARCHAR, ship_name VARCHAR, crew VARCHAR) Question: What is the total for guests with a ship name of rv indochina, and a crew smaller than 28? [/INST] SELECT COUNT(guests) FROM table_name_8...