instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
state the skating song of graeme & kristina
CREATE TABLE table_19744915_3 (skating_song VARCHAR, couple VARCHAR)
SELECT skating_song FROM table_19744915_3 WHERE couple = "Graeme & Kristina"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19744915_3 (skating_song VARCHAR, couple VARCHAR) Question: state the skating song of graeme & kristina [/INST] SELECT skating_song FROM table_19744915_3 WHERE couple = "Graeme & Kristina" </s>
what is the scoreboard when karen was 4.5
CREATE TABLE table_19744915_3 (scoreboard VARCHAR, karen VARCHAR)
SELECT scoreboard FROM table_19744915_3 WHERE karen = "4.5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19744915_3 (scoreboard VARCHAR, karen VARCHAR) Question: what is the scoreboard when karen was 4.5 [/INST] SELECT scoreboard FROM table_19744915_3 WHERE karen = "4.5" </s>
how many coupless totalled 14.5
CREATE TABLE table_19744915_3 (couple VARCHAR, total VARCHAR)
SELECT COUNT(couple) FROM table_19744915_3 WHERE total = "14.5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19744915_3 (couple VARCHAR, total VARCHAR) Question: how many coupless totalled 14.5 [/INST] SELECT COUNT(couple) FROM table_19744915_3 WHERE total = "14.5" </s>
Name the nickname for enrollment being 9000
CREATE TABLE table_1974545_1 (nickname VARCHAR, enrollment VARCHAR)
SELECT nickname FROM table_1974545_1 WHERE enrollment = 9000
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1974545_1 (nickname VARCHAR, enrollment VARCHAR) Question: Name the nickname for enrollment being 9000 [/INST] SELECT nickname FROM table_1974545_1 WHERE enrollment = 9000 </s>
what type is the institute that enrolled 2102
CREATE TABLE table_1974632_1 (type VARCHAR, enrollment VARCHAR)
SELECT type FROM table_1974632_1 WHERE enrollment = 2102
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1974632_1 (type VARCHAR, enrollment VARCHAR) Question: what type is the institute that enrolled 2102 [/INST] SELECT type FROM table_1974632_1 WHERE enrollment = 2102 </s>
where is the private/presbyterian institute
CREATE TABLE table_1974632_1 (location VARCHAR, type VARCHAR)
SELECT location FROM table_1974632_1 WHERE type = "Private/Presbyterian"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1974632_1 (location VARCHAR, type VARCHAR) Question: where is the private/presbyterian institute [/INST] SELECT location FROM table_1974632_1 WHERE type = "Private/Presbyterian" </s>
what type of institution is alvernia university
CREATE TABLE table_1974632_1 (type VARCHAR, institution VARCHAR)
SELECT type FROM table_1974632_1 WHERE institution = "Alvernia University"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1974632_1 (type VARCHAR, institution VARCHAR) Question: what type of institution is alvernia university [/INST] SELECT type FROM table_1974632_1 WHERE institution = "Alvernia University" </s>
state the institution in glenside, pennsylvania
CREATE TABLE table_1974632_1 (institution VARCHAR, location VARCHAR)
SELECT institution FROM table_1974632_1 WHERE location = "Glenside, Pennsylvania"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1974632_1 (institution VARCHAR, location VARCHAR) Question: state the institution in glenside, pennsylvania [/INST] SELECT institution FROM table_1974632_1 WHERE location = "Glenside, Pennsylvania" </s>
What was the result when John Barrow was the incumbent first elected in 2004?
CREATE TABLE table_19753079_13 (result VARCHAR, first_elected VARCHAR, incumbent VARCHAR)
SELECT result FROM table_19753079_13 WHERE first_elected = 2004 AND incumbent = "John Barrow"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19753079_13 (result VARCHAR, first_elected VARCHAR, incumbent VARCHAR) Question: What was the result when John Barrow was the incumbent first elected in 2004? [/INST] SELECT result FROM table_19753079_13 WHERE first_elected = 2004 AND incumbent = "John Barrow" </s>
How many incumbents are there in the georgia 8 district when the party is democratic?
CREATE TABLE table_19753079_13 (incumbent VARCHAR, party VARCHAR, district VARCHAR)
SELECT COUNT(incumbent) FROM table_19753079_13 WHERE party = "Democratic" AND district = "Georgia 8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19753079_13 (incumbent VARCHAR, party VARCHAR, district VARCHAR) Question: How many incumbents are there in the georgia 8 district when the party is democratic? [/INST] SELECT COUNT(incumbent) FROM table_19753079_13 WHERE party = "Democratic" AND district = "Georgia 8" </s>
In what district is the incumbent John Linder?
CREATE TABLE table_19753079_13 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_19753079_13 WHERE incumbent = "John Linder"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19753079_13 (district VARCHAR, incumbent VARCHAR) Question: In what district is the incumbent John Linder? [/INST] SELECT district FROM table_19753079_13 WHERE incumbent = "John Linder" </s>
What was the result of the Georgia 8 district?
CREATE TABLE table_19753079_13 (result VARCHAR, district VARCHAR)
SELECT result FROM table_19753079_13 WHERE district = "Georgia 8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19753079_13 (result VARCHAR, district VARCHAR) Question: What was the result of the Georgia 8 district? [/INST] SELECT result FROM table_19753079_13 WHERE district = "Georgia 8" </s>
What is the mind of the one that has qut reason?
CREATE TABLE table_19760_1 (mind VARCHAR, reason VARCHAR)
SELECT mind FROM table_19760_1 WHERE reason = "qut"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19760_1 (mind VARCHAR, reason VARCHAR) Question: What is the mind of the one that has qut reason? [/INST] SELECT mind FROM table_19760_1 WHERE reason = "qut" </s>
What is the understanding of the one that has νοῦς nous reasoning?
CREATE TABLE table_19760_1 (understanding VARCHAR, reason VARCHAR)
SELECT understanding FROM table_19760_1 WHERE reason = "νοῦς Nous"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19760_1 (understanding VARCHAR, reason VARCHAR) Question: What is the understanding of the one that has νοῦς nous reasoning? [/INST] SELECT understanding FROM table_19760_1 WHERE reason = "νοῦς Nous" </s>
Name the total number for % popular vote for # of seats won for 83
CREATE TABLE table_19769687_3 (_percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR)
SELECT COUNT(_percentage_of_popular_vote) FROM table_19769687_3 WHERE _number_of_seats_won = 83
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19769687_3 (_percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR) Question: Name the total number for % popular vote for # of seats won for 83 [/INST] SELECT COUNT(_percentage_of_popular_vote) FROM table_19769687_3 WHERE _number_of_seats_won = 83 </s>
Name the % of popular vote for election for 1926
CREATE TABLE table_19769687_3 (_percentage_of_popular_vote VARCHAR, election VARCHAR)
SELECT _percentage_of_popular_vote FROM table_19769687_3 WHERE election = "1926"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19769687_3 (_percentage_of_popular_vote VARCHAR, election VARCHAR) Question: Name the % of popular vote for election for 1926 [/INST] SELECT _percentage_of_popular_vote FROM table_19769687_3 WHERE election = "1926" </s>
Name the most # of seats won
CREATE TABLE table_19769687_3 (_number_of_seats_won INTEGER)
SELECT MAX(_number_of_seats_won) FROM table_19769687_3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19769687_3 (_number_of_seats_won INTEGER) Question: Name the most # of seats won [/INST] SELECT MAX(_number_of_seats_won) FROM table_19769687_3 </s>
Name the most number of total votes for election for 1878
CREATE TABLE table_19769687_3 (_number_of_total_votes INTEGER, election VARCHAR)
SELECT MAX(_number_of_total_votes) FROM table_19769687_3 WHERE election = "1878"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19769687_3 (_number_of_total_votes INTEGER, election VARCHAR) Question: Name the most number of total votes for election for 1878 [/INST] SELECT MAX(_number_of_total_votes) FROM table_19769687_3 WHERE election = "1878" </s>
What is the number for the french open 1974?
CREATE TABLE table_197638_7 (_number INTEGER, french_open VARCHAR)
SELECT MAX(_number) FROM table_197638_7 WHERE french_open = 1974
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_197638_7 (_number INTEGER, french_open VARCHAR) Question: What is the number for the french open 1974? [/INST] SELECT MAX(_number) FROM table_197638_7 WHERE french_open = 1974 </s>
When was the Australian open?
CREATE TABLE table_197638_7 (australian_open INTEGER)
SELECT MAX(australian_open) FROM table_197638_7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_197638_7 (australian_open INTEGER) Question: When was the Australian open? [/INST] SELECT MAX(australian_open) FROM table_197638_7 </s>
How many ages have Maureen Connolly Brinker as the player?
CREATE TABLE table_197638_7 (age VARCHAR, player VARCHAR)
SELECT COUNT(age) FROM table_197638_7 WHERE player = "Maureen Connolly Brinker"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_197638_7 (age VARCHAR, player VARCHAR) Question: How many ages have Maureen Connolly Brinker as the player? [/INST] SELECT COUNT(age) FROM table_197638_7 WHERE player = "Maureen Connolly Brinker" </s>
When is the French Open when serena williams is the player?
CREATE TABLE table_197638_7 (french_open INTEGER, player VARCHAR)
SELECT MIN(french_open) FROM table_197638_7 WHERE player = "Serena Williams"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_197638_7 (french_open INTEGER, player VARCHAR) Question: When is the French Open when serena williams is the player? [/INST] SELECT MIN(french_open) FROM table_197638_7 WHERE player = "Serena Williams" </s>
how many dismissals in a game with 191 innings
CREATE TABLE table_19769948_26 (dismissals VARCHAR, innings VARCHAR)
SELECT COUNT(dismissals) FROM table_19769948_26 WHERE innings = 191
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19769948_26 (dismissals VARCHAR, innings VARCHAR) Question: how many dismissals in a game with 191 innings [/INST] SELECT COUNT(dismissals) FROM table_19769948_26 WHERE innings = 191 </s>
How many residence cities have an English name of Province of Viborg and Nyslott?
CREATE TABLE table_198175_2 (residence_city VARCHAR, english_name VARCHAR)
SELECT COUNT(residence_city) FROM table_198175_2 WHERE english_name = "Province of Viborg and Nyslott"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_198175_2 (residence_city VARCHAR, english_name VARCHAR) Question: How many residence cities have an English name of Province of Viborg and Nyslott? [/INST] SELECT COUNT(residence_city) FROM table_198175_2 WHERE english_name = "Province of Viborg and Nyslott" </s>
What is the highest value for map number?
CREATE TABLE table_198175_2 (map_number INTEGER)
SELECT MAX(map_number) FROM table_198175_2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_198175_2 (map_number INTEGER) Question: What is the highest value for map number? [/INST] SELECT MAX(map_number) FROM table_198175_2 </s>
What is every Swedish name for residence city is Loviisa?
CREATE TABLE table_198175_2 (swedish_name VARCHAR, residence_city VARCHAR)
SELECT swedish_name FROM table_198175_2 WHERE residence_city = "Loviisa"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_198175_2 (swedish_name VARCHAR, residence_city VARCHAR) Question: What is every Swedish name for residence city is Loviisa? [/INST] SELECT swedish_name FROM table_198175_2 WHERE residence_city = "Loviisa" </s>
What is every Finnish name for the English name of Province of Viborg and Nyslott?
CREATE TABLE table_198175_2 (finnish_name VARCHAR, english_name VARCHAR)
SELECT finnish_name FROM table_198175_2 WHERE english_name = "Province of Viborg and Nyslott"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_198175_2 (finnish_name VARCHAR, english_name VARCHAR) Question: What is every Finnish name for the English name of Province of Viborg and Nyslott? [/INST] SELECT finnish_name FROM table_198175_2 WHERE english_name = "Province of Viborg and Nyslott" </s>
What is the traditional Chinese character set for the location that has an area of 181?
CREATE TABLE table_1982739_2 (traditional_chinese VARCHAR, area VARCHAR)
SELECT traditional_chinese FROM table_1982739_2 WHERE area = 181
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1982739_2 (traditional_chinese VARCHAR, area VARCHAR) Question: What is the traditional Chinese character set for the location that has an area of 181? [/INST] SELECT traditional_chinese FROM table_1982739_2 WHERE area = 181 </s>
What is the total number of areas that are called Nanqiao District?
CREATE TABLE table_1982739_2 (area VARCHAR, english_name VARCHAR)
SELECT COUNT(area) FROM table_1982739_2 WHERE english_name = "Nanqiao District"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1982739_2 (area VARCHAR, english_name VARCHAR) Question: What is the total number of areas that are called Nanqiao District? [/INST] SELECT COUNT(area) FROM table_1982739_2 WHERE english_name = "Nanqiao District" </s>
What is the number of English names that have a Traditional Chinese name of 全椒縣?
CREATE TABLE table_1982739_2 (english_name VARCHAR, traditional_chinese VARCHAR)
SELECT COUNT(english_name) FROM table_1982739_2 WHERE traditional_chinese = "全椒縣"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1982739_2 (english_name VARCHAR, traditional_chinese VARCHAR) Question: What is the number of English names that have a Traditional Chinese name of 全椒縣? [/INST] SELECT COUNT(english_name) FROM table_1982739_2 WHERE traditional_chinese = "全椒縣" </s>
What is the Pinyin name for Dingyuan County?
CREATE TABLE table_1982739_2 (pinyin VARCHAR, english_name VARCHAR)
SELECT pinyin FROM table_1982739_2 WHERE english_name = "Dingyuan County"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1982739_2 (pinyin VARCHAR, english_name VARCHAR) Question: What is the Pinyin name for Dingyuan County? [/INST] SELECT pinyin FROM table_1982739_2 WHERE english_name = "Dingyuan County" </s>
What are Doug Davis' maximum pitching stats?
CREATE TABLE table_19839391_3 (stats INTEGER, pitcher VARCHAR)
SELECT MAX(stats) FROM table_19839391_3 WHERE pitcher = "Doug Davis"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19839391_3 (stats INTEGER, pitcher VARCHAR) Question: What are Doug Davis' maximum pitching stats? [/INST] SELECT MAX(stats) FROM table_19839391_3 WHERE pitcher = "Doug Davis" </s>
List the pitchers for the 1970 season
CREATE TABLE table_19839391_3 (pitcher VARCHAR, seasons VARCHAR)
SELECT pitcher FROM table_19839391_3 WHERE seasons = "1970"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19839391_3 (pitcher VARCHAR, seasons VARCHAR) Question: List the pitchers for the 1970 season [/INST] SELECT pitcher FROM table_19839391_3 WHERE seasons = "1970" </s>
How many wins had a win percentage of 0.667
CREATE TABLE table_19839391_3 (wins VARCHAR, winning__percentage VARCHAR)
SELECT wins FROM table_19839391_3 WHERE winning__percentage = "0.667"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19839391_3 (wins VARCHAR, winning__percentage VARCHAR) Question: How many wins had a win percentage of 0.667 [/INST] SELECT wins FROM table_19839391_3 WHERE winning__percentage = "0.667" </s>
how many "no decisions" are there with 3 wins and a win percentage of 1.000?
CREATE TABLE table_19839391_3 (no_decisions INTEGER, winning__percentage VARCHAR, wins VARCHAR)
SELECT MIN(no_decisions) FROM table_19839391_3 WHERE winning__percentage = "1.000" AND wins = 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19839391_3 (no_decisions INTEGER, winning__percentage VARCHAR, wins VARCHAR) Question: how many "no decisions" are there with 3 wins and a win percentage of 1.000? [/INST] SELECT MIN(no_decisions) FROM table_19839391_3 WHERE winning__percentage = "1.000" AND wins = 3 </s>
stae the least number of wins in 1986
CREATE TABLE table_19864214_3 (wins INTEGER, seasons VARCHAR)
SELECT MIN(wins) FROM table_19864214_3 WHERE seasons = "1986"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19864214_3 (wins INTEGER, seasons VARCHAR) Question: stae the least number of wins in 1986 [/INST] SELECT MIN(wins) FROM table_19864214_3 WHERE seasons = "1986" </s>
what is the least number of no decisions for scott feldman category:articles with hcards
CREATE TABLE table_19864214_3 (no_decisions INTEGER, pitcher VARCHAR)
SELECT MIN(no_decisions) FROM table_19864214_3 WHERE pitcher = "Scott Feldman Category:Articles with hCards"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19864214_3 (no_decisions INTEGER, pitcher VARCHAR) Question: what is the least number of no decisions for scott feldman category:articles with hcards [/INST] SELECT MIN(no_decisions) FROM table_19864214_3 WHERE pitcher = "Scott Feldman Category:Articles with hCards" </s>
what is the number of starts in 1977
CREATE TABLE table_19864214_3 (starts VARCHAR, seasons VARCHAR)
SELECT starts FROM table_19864214_3 WHERE seasons = "1977"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19864214_3 (starts VARCHAR, seasons VARCHAR) Question: what is the number of starts in 1977 [/INST] SELECT starts FROM table_19864214_3 WHERE seasons = "1977" </s>
who was the pitcher in seasons 1982, 1984, 1985, 1987, 1988, 1989
CREATE TABLE table_19864214_3 (pitcher VARCHAR, seasons VARCHAR)
SELECT pitcher FROM table_19864214_3 WHERE seasons = "1982, 1984, 1985, 1987, 1988, 1989"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19864214_3 (pitcher VARCHAR, seasons VARCHAR) Question: who was the pitcher in seasons 1982, 1984, 1985, 1987, 1988, 1989 [/INST] SELECT pitcher FROM table_19864214_3 WHERE seasons = "1982, 1984, 1985, 1987, 1988, 1989" </s>
how many wins did pitcher jon matlack category:articles with hcards achieve
CREATE TABLE table_19864214_3 (wins VARCHAR, pitcher VARCHAR)
SELECT COUNT(wins) FROM table_19864214_3 WHERE pitcher = "Jon Matlack Category:Articles with hCards"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19864214_3 (wins VARCHAR, pitcher VARCHAR) Question: how many wins did pitcher jon matlack category:articles with hcards achieve [/INST] SELECT COUNT(wins) FROM table_19864214_3 WHERE pitcher = "Jon Matlack Category:Articles with hCards" </s>
How many series are there total?
CREATE TABLE table_19897294_4 (no_in_series INTEGER)
SELECT MAX(no_in_series) FROM table_19897294_4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19897294_4 (no_in_series INTEGER) Question: How many series are there total? [/INST] SELECT MAX(no_in_series) FROM table_19897294_4 </s>
What family had a no.overall of UK10?
CREATE TABLE table_19897294_4 (family_families VARCHAR, no_overall VARCHAR)
SELECT family_families FROM table_19897294_4 WHERE no_overall = "UK10"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19897294_4 (family_families VARCHAR, no_overall VARCHAR) Question: What family had a no.overall of UK10? [/INST] SELECT family_families FROM table_19897294_4 WHERE no_overall = "UK10" </s>
What's the highest division number through the years?
CREATE TABLE table_1990460_1 (division INTEGER)
SELECT MAX(division) FROM table_1990460_1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1990460_1 (division INTEGER) Question: What's the highest division number through the years? [/INST] SELECT MAX(division) FROM table_1990460_1 </s>
What's the lowest division number of the 6th, Great Lakes season?
CREATE TABLE table_1990460_1 (division INTEGER, regular_season VARCHAR)
SELECT MIN(division) FROM table_1990460_1 WHERE regular_season = "6th, Great Lakes"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1990460_1 (division INTEGER, regular_season VARCHAR) Question: What's the lowest division number of the 6th, Great Lakes season? [/INST] SELECT MIN(division) FROM table_1990460_1 WHERE regular_season = "6th, Great Lakes" </s>
What's the team's status in the Open Cup in 2006?
CREATE TABLE table_1990460_1 (open_cup VARCHAR, year VARCHAR)
SELECT open_cup FROM table_1990460_1 WHERE year = 2006
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1990460_1 (open_cup VARCHAR, year VARCHAR) Question: What's the team's status in the Open Cup in 2006? [/INST] SELECT open_cup FROM table_1990460_1 WHERE year = 2006 </s>
When did the 4th, Midwest season happen?
CREATE TABLE table_1990460_1 (year VARCHAR, regular_season VARCHAR)
SELECT year FROM table_1990460_1 WHERE regular_season = "4th, Midwest"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1990460_1 (year VARCHAR, regular_season VARCHAR) Question: When did the 4th, Midwest season happen? [/INST] SELECT year FROM table_1990460_1 WHERE regular_season = "4th, Midwest" </s>
how many spokesperson where in 2004
CREATE TABLE table_1992924_3 (spokesperson VARCHAR, year_s_ VARCHAR)
SELECT COUNT(spokesperson) FROM table_1992924_3 WHERE year_s_ = 2004
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1992924_3 (spokesperson VARCHAR, year_s_ VARCHAR) Question: how many spokesperson where in 2004 [/INST] SELECT COUNT(spokesperson) FROM table_1992924_3 WHERE year_s_ = 2004 </s>
who is the dual commentator at the channel with spokesperson larisa verbickaya
CREATE TABLE table_1992924_3 (Dual VARCHAR, spokesperson VARCHAR)
SELECT Dual AS commentator FROM table_1992924_3 WHERE spokesperson = "Larisa Verbickaya"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1992924_3 (Dual VARCHAR, spokesperson VARCHAR) Question: who is the dual commentator at the channel with spokesperson larisa verbickaya [/INST] SELECT Dual AS commentator FROM table_1992924_3 WHERE spokesperson = "Larisa Verbickaya" </s>
state all the spokesperson for the channel where commentator is dmitriy guberniyev
CREATE TABLE table_1992924_3 (spokesperson VARCHAR, commentator VARCHAR)
SELECT spokesperson FROM table_1992924_3 WHERE commentator = "Dmitriy Guberniyev"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1992924_3 (spokesperson VARCHAR, commentator VARCHAR) Question: state all the spokesperson for the channel where commentator is dmitriy guberniyev [/INST] SELECT spokesperson FROM table_1992924_3 WHERE commentator = "Dmitriy Guberniyev" </s>
When is the first broadcast for episodes where Rufus's guest is Jack Whitehall?
CREATE TABLE table_19930660_3 (first_broadcast VARCHAR, rufus_guest VARCHAR)
SELECT first_broadcast FROM table_19930660_3 WHERE rufus_guest = "Jack Whitehall"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19930660_3 (first_broadcast VARCHAR, rufus_guest VARCHAR) Question: When is the first broadcast for episodes where Rufus's guest is Jack Whitehall? [/INST] SELECT first_broadcast FROM table_19930660_3 WHERE rufus_guest = "Jack Whitehall" </s>
Which episodes have Chris Addison as Rufus's guest?
CREATE TABLE table_19930660_3 (episode VARCHAR, rufus_guest VARCHAR)
SELECT episode FROM table_19930660_3 WHERE rufus_guest = "Chris Addison"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19930660_3 (episode VARCHAR, rufus_guest VARCHAR) Question: Which episodes have Chris Addison as Rufus's guest? [/INST] SELECT episode FROM table_19930660_3 WHERE rufus_guest = "Chris Addison" </s>
What is the resulting score for the episodes where Rufus's guest is Sean Lock?
CREATE TABLE table_19930660_3 (winner VARCHAR, rufus_guest VARCHAR)
SELECT winner FROM table_19930660_3 WHERE rufus_guest = "Sean Lock"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19930660_3 (winner VARCHAR, rufus_guest VARCHAR) Question: What is the resulting score for the episodes where Rufus's guest is Sean Lock? [/INST] SELECT winner FROM table_19930660_3 WHERE rufus_guest = "Sean Lock" </s>
What is the first broadcast date for episode 3x10?
CREATE TABLE table_19930660_3 (first_broadcast VARCHAR, episode VARCHAR)
SELECT first_broadcast FROM table_19930660_3 WHERE episode = "3x10"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19930660_3 (first_broadcast VARCHAR, episode VARCHAR) Question: What is the first broadcast date for episode 3x10? [/INST] SELECT first_broadcast FROM table_19930660_3 WHERE episode = "3x10" </s>
What index was created by the United Nations (UNDP) and reached 2nd place in the LA Ranking?
CREATE TABLE table_19948664_1 (index__year_ VARCHAR, author___editor___source VARCHAR, ranking_la__2_ VARCHAR)
SELECT index__year_ FROM table_19948664_1 WHERE author___editor___source = "United Nations (UNDP)" AND ranking_la__2_ = "2nd"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19948664_1 (index__year_ VARCHAR, author___editor___source VARCHAR, ranking_la__2_ VARCHAR) Question: What index was created by the United Nations (UNDP) and reached 2nd place in the LA Ranking? [/INST] SELECT index__year_ FROM table_19948664_1 WHERE author___editor___source = "United Nations (UNDP)" AND ranking_la__2_ = "2nd" </s>
How many countries were sampled in the index created by The Economist, published in 2007 and ranked 2nd in the LA Ranking?
CREATE TABLE table_19948664_1 (countries_sampled INTEGER, ranking_la__2_ VARCHAR, author___editor___source VARCHAR, year_of_publication VARCHAR)
SELECT MAX(countries_sampled) FROM table_19948664_1 WHERE author___editor___source = "The Economist" AND year_of_publication = "2007" AND ranking_la__2_ = "2nd"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19948664_1 (countries_sampled INTEGER, ranking_la__2_ VARCHAR, author___editor___source VARCHAR, year_of_publication VARCHAR) Question: How many countries were sampled in the index created by The Economist, published in 2007 and ranked 2nd in the LA Ranking? [/INST] SELECT MAX(countries_sampled) FROM table_19948664_1 WHERE author___editor___source = "The Economist" AND year_of_publication = "2007" AND ranking_la__2_ = "2nd" </s>
What's the wold ranking of the index by Transparency International?
CREATE TABLE table_19948664_1 (world_ranking__1_ VARCHAR, author___editor___source VARCHAR)
SELECT world_ranking__1_ FROM table_19948664_1 WHERE author___editor___source = "Transparency International"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19948664_1 (world_ranking__1_ VARCHAR, author___editor___source VARCHAR) Question: What's the wold ranking of the index by Transparency International? [/INST] SELECT world_ranking__1_ FROM table_19948664_1 WHERE author___editor___source = "Transparency International" </s>
How many countries were sampled for the index in 2nd place in the LA ranking and 23rd in the world ranking?
CREATE TABLE table_19948664_1 (countries_sampled VARCHAR, ranking_la__2_ VARCHAR, world_ranking__1_ VARCHAR)
SELECT countries_sampled FROM table_19948664_1 WHERE ranking_la__2_ = "2nd" AND world_ranking__1_ = "23rd"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19948664_1 (countries_sampled VARCHAR, ranking_la__2_ VARCHAR, world_ranking__1_ VARCHAR) Question: How many countries were sampled for the index in 2nd place in the LA ranking and 23rd in the world ranking? [/INST] SELECT countries_sampled FROM table_19948664_1 WHERE ranking_la__2_ = "2nd" AND world_ranking__1_ = "23rd" </s>
How many countries were sampled for the Prosperity Index (2008)?
CREATE TABLE table_19948664_1 (countries_sampled INTEGER, index__year_ VARCHAR)
SELECT MAX(countries_sampled) FROM table_19948664_1 WHERE index__year_ = "Prosperity Index (2008)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19948664_1 (countries_sampled INTEGER, index__year_ VARCHAR) Question: How many countries were sampled for the Prosperity Index (2008)? [/INST] SELECT MAX(countries_sampled) FROM table_19948664_1 WHERE index__year_ = "Prosperity Index (2008)" </s>
What is the playoffs result in years where Open Canada Cup was "N/A" and regular season result was "2nd, New England"?
CREATE TABLE table_1999350_1 (playoffs VARCHAR, open_canada_cup VARCHAR, regular_season VARCHAR)
SELECT playoffs FROM table_1999350_1 WHERE open_canada_cup = "N/A" AND regular_season = "2nd, New England"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1999350_1 (playoffs VARCHAR, open_canada_cup VARCHAR, regular_season VARCHAR) Question: What is the playoffs result in years where Open Canada Cup was "N/A" and regular season result was "2nd, New England"? [/INST] SELECT playoffs FROM table_1999350_1 WHERE open_canada_cup = "N/A" AND regular_season = "2nd, New England" </s>
What is the earliest year where playoffs was "did not qualify," regular season was "2nd, New England," and Open Canada Cup is "N/A"?
CREATE TABLE table_1999350_1 (year INTEGER, open_canada_cup VARCHAR, playoffs VARCHAR, regular_season VARCHAR)
SELECT MIN(year) FROM table_1999350_1 WHERE playoffs = "Did not qualify" AND regular_season = "2nd, New England" AND open_canada_cup = "N/A"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1999350_1 (year INTEGER, open_canada_cup VARCHAR, playoffs VARCHAR, regular_season VARCHAR) Question: What is the earliest year where playoffs was "did not qualify," regular season was "2nd, New England," and Open Canada Cup is "N/A"? [/INST] SELECT MIN(year) FROM table_1999350_1 WHERE playoffs = "Did not qualify" AND regular_season = "2nd, New England" AND open_canada_cup = "N/A" </s>
What is the total number of playoffs held in exactly 2006?
CREATE TABLE table_1999350_1 (playoffs VARCHAR, year VARCHAR)
SELECT COUNT(playoffs) FROM table_1999350_1 WHERE year = 2006
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1999350_1 (playoffs VARCHAR, year VARCHAR) Question: What is the total number of playoffs held in exactly 2006? [/INST] SELECT COUNT(playoffs) FROM table_1999350_1 WHERE year = 2006 </s>
What were the revising conventions commentary with a denunciation of 21?
CREATE TABLE table_2001348_1 (revising_convention_s_ VARCHAR, denunciations__september_2011_ VARCHAR)
SELECT revising_convention_s_ FROM table_2001348_1 WHERE denunciations__september_2011_ = 21
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2001348_1 (revising_convention_s_ VARCHAR, denunciations__september_2011_ VARCHAR) Question: What were the revising conventions commentary with a denunciation of 21? [/INST] SELECT revising_convention_s_ FROM table_2001348_1 WHERE denunciations__september_2011_ = 21 </s>
How many inputs are there in the 'closure for signature' tab under the field 'sea (revised)'?
CREATE TABLE table_2001348_1 (closure_for_signature VARCHAR, field VARCHAR)
SELECT COUNT(closure_for_signature) FROM table_2001348_1 WHERE field = "Sea (revised)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2001348_1 (closure_for_signature VARCHAR, field VARCHAR) Question: How many inputs are there in the 'closure for signature' tab under the field 'sea (revised)'? [/INST] SELECT COUNT(closure_for_signature) FROM table_2001348_1 WHERE field = "Sea (revised)" </s>
How many ILO codes are there with revising conventions of 'this convention, work in fishing convention'?
CREATE TABLE table_2001348_1 (ilo_code VARCHAR, revising_convention_s_ VARCHAR)
SELECT COUNT(ilo_code) FROM table_2001348_1 WHERE revising_convention_s_ = "this convention, Work in Fishing Convention"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2001348_1 (ilo_code VARCHAR, revising_convention_s_ VARCHAR) Question: How many ILO codes are there with revising conventions of 'this convention, work in fishing convention'? [/INST] SELECT COUNT(ilo_code) FROM table_2001348_1 WHERE revising_convention_s_ = "this convention, Work in Fishing Convention" </s>
What was the revising convention of the field 'trimmers and stokers'?
CREATE TABLE table_2001348_1 (revising_convention_s_ VARCHAR, field VARCHAR)
SELECT revising_convention_s_ FROM table_2001348_1 WHERE field = "trimmers and stokers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2001348_1 (revising_convention_s_ VARCHAR, field VARCHAR) Question: What was the revising convention of the field 'trimmers and stokers'? [/INST] SELECT revising_convention_s_ FROM table_2001348_1 WHERE field = "trimmers and stokers" </s>
What are the Juntas de Regantes (WUB) within the Azua Valley?
CREATE TABLE table_20018310_1 (juntas_de_regantes__wub_ VARCHAR, irrigation_district VARCHAR)
SELECT juntas_de_regantes__wub_ FROM table_20018310_1 WHERE irrigation_district = "Azua Valley"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20018310_1 (juntas_de_regantes__wub_ VARCHAR, irrigation_district VARCHAR) Question: What are the Juntas de Regantes (WUB) within the Azua Valley? [/INST] SELECT juntas_de_regantes__wub_ FROM table_20018310_1 WHERE irrigation_district = "Azua Valley" </s>
Which irrigation district has 4733 users?
CREATE TABLE table_20018310_1 (irrigation_district VARCHAR, users___number_ VARCHAR)
SELECT irrigation_district FROM table_20018310_1 WHERE users___number_ = 4733
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20018310_1 (irrigation_district VARCHAR, users___number_ VARCHAR) Question: Which irrigation district has 4733 users? [/INST] SELECT irrigation_district FROM table_20018310_1 WHERE users___number_ = 4733 </s>
What's the number of users in the Nisibon-Yuma within the Del Este district?
CREATE TABLE table_20018310_1 (users___number_ VARCHAR, irrigation_district VARCHAR, juntas_de_regantes__wub_ VARCHAR)
SELECT users___number_ FROM table_20018310_1 WHERE irrigation_district = "Del Este" AND juntas_de_regantes__wub_ = "Nisibon-Yuma"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20018310_1 (users___number_ VARCHAR, irrigation_district VARCHAR, juntas_de_regantes__wub_ VARCHAR) Question: What's the number of users in the Nisibon-Yuma within the Del Este district? [/INST] SELECT users___number_ FROM table_20018310_1 WHERE irrigation_district = "Del Este" AND juntas_de_regantes__wub_ = "Nisibon-Yuma" </s>
What percentage voted for Tom Horner according to the poll source with sampling error of 2.5%?
CREATE TABLE table_20032301_3 (tom_horner__i_ VARCHAR, sampling_error VARCHAR)
SELECT tom_horner__i_ FROM table_20032301_3 WHERE sampling_error = "2.5%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20032301_3 (tom_horner__i_ VARCHAR, sampling_error VARCHAR) Question: What percentage voted for Tom Horner according to the poll source with sampling error of 2.5%? [/INST] SELECT tom_horner__i_ FROM table_20032301_3 WHERE sampling_error = "2.5%" </s>
What's the percentage of undecided according to the poll source with sampling error of 2.7%?
CREATE TABLE table_20032301_3 (undecided VARCHAR, sampling_error VARCHAR)
SELECT undecided FROM table_20032301_3 WHERE sampling_error = "2.7%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20032301_3 (undecided VARCHAR, sampling_error VARCHAR) Question: What's the percentage of undecided according to the poll source with sampling error of 2.7%? [/INST] SELECT undecided FROM table_20032301_3 WHERE sampling_error = "2.7%" </s>
When did Minnesota Poll administer their poll?
CREATE TABLE table_20032301_3 (dates_administered VARCHAR, poll_source VARCHAR)
SELECT dates_administered FROM table_20032301_3 WHERE poll_source = "Minnesota Poll"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20032301_3 (dates_administered VARCHAR, poll_source VARCHAR) Question: When did Minnesota Poll administer their poll? [/INST] SELECT dates_administered FROM table_20032301_3 WHERE poll_source = "Minnesota Poll" </s>
How many polls show different percentages for Tom Emmer and 38% for Matt Entenza?
CREATE TABLE table_20032301_3 (tom_emmer__r_ VARCHAR, matt_entenza__dfl_ VARCHAR)
SELECT COUNT(tom_emmer__r_) FROM table_20032301_3 WHERE matt_entenza__dfl_ = "38%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20032301_3 (tom_emmer__r_ VARCHAR, matt_entenza__dfl_ VARCHAR) Question: How many polls show different percentages for Tom Emmer and 38% for Matt Entenza? [/INST] SELECT COUNT(tom_emmer__r_) FROM table_20032301_3 WHERE matt_entenza__dfl_ = "38%" </s>
What poll source administered their poll on June 14-16, 2010?
CREATE TABLE table_20032301_3 (poll_source VARCHAR, dates_administered VARCHAR)
SELECT poll_source FROM table_20032301_3 WHERE dates_administered = "June 14-16, 2010"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20032301_3 (poll_source VARCHAR, dates_administered VARCHAR) Question: What poll source administered their poll on June 14-16, 2010? [/INST] SELECT poll_source FROM table_20032301_3 WHERE dates_administered = "June 14-16, 2010" </s>
What's the percentage of votes for Tom Horner according to the poll source that claimed 31% for Matt Entenza?
CREATE TABLE table_20032301_3 (tom_horner__i_ VARCHAR, matt_entenza__dfl_ VARCHAR)
SELECT tom_horner__i_ FROM table_20032301_3 WHERE matt_entenza__dfl_ = "31%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20032301_3 (tom_horner__i_ VARCHAR, matt_entenza__dfl_ VARCHAR) Question: What's the percentage of votes for Tom Horner according to the poll source that claimed 31% for Matt Entenza? [/INST] SELECT tom_horner__i_ FROM table_20032301_3 WHERE matt_entenza__dfl_ = "31%" </s>
what is redskins (score) against tennessee titans 27
CREATE TABLE table_20074209_1 (redskins__score_ VARCHAR, opponent__score_ VARCHAR)
SELECT redskins__score_ FROM table_20074209_1 WHERE opponent__score_ = "Tennessee Titans 27"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20074209_1 (redskins__score_ VARCHAR, opponent__score_ VARCHAR) Question: what is redskins (score) against tennessee titans 27 [/INST] SELECT redskins__score_ FROM table_20074209_1 WHERE opponent__score_ = "Tennessee Titans 27" </s>
Who is the head coach of the team who's venue is Lokomotiv?
CREATE TABLE table_20140132_1 (head_coach VARCHAR, venue VARCHAR)
SELECT head_coach FROM table_20140132_1 WHERE venue = "Lokomotiv"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20140132_1 (head_coach VARCHAR, venue VARCHAR) Question: Who is the head coach of the team who's venue is Lokomotiv? [/INST] SELECT head_coach FROM table_20140132_1 WHERE venue = "Lokomotiv" </s>
What is the venue for the team Terek?
CREATE TABLE table_20140132_1 (venue VARCHAR, team VARCHAR)
SELECT venue FROM table_20140132_1 WHERE team = "Terek"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20140132_1 (venue VARCHAR, team VARCHAR) Question: What is the venue for the team Terek? [/INST] SELECT venue FROM table_20140132_1 WHERE team = "Terek" </s>
How many teams finished in 8th in 2008?
CREATE TABLE table_20140132_1 (team VARCHAR, position_in_2008 VARCHAR)
SELECT COUNT(team) FROM table_20140132_1 WHERE position_in_2008 = "8th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20140132_1 (team VARCHAR, position_in_2008 VARCHAR) Question: How many teams finished in 8th in 2008? [/INST] SELECT COUNT(team) FROM table_20140132_1 WHERE position_in_2008 = "8th" </s>
What is the location of the team Saturn?
CREATE TABLE table_20140132_1 (location VARCHAR, team VARCHAR)
SELECT location FROM table_20140132_1 WHERE team = "Saturn"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20140132_1 (location VARCHAR, team VARCHAR) Question: What is the location of the team Saturn? [/INST] SELECT location FROM table_20140132_1 WHERE team = "Saturn" </s>
when fairburn is bigger than 54.0, how many years?
CREATE TABLE table_20142629_2 (year VARCHAR, fairburn INTEGER)
SELECT COUNT(year) FROM table_20142629_2 WHERE fairburn > 54.0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20142629_2 (year VARCHAR, fairburn INTEGER) Question: when fairburn is bigger than 54.0, how many years? [/INST] SELECT COUNT(year) FROM table_20142629_2 WHERE fairburn > 54.0 </s>
When the Fowler is 16, what is the number of cylinders?
CREATE TABLE table_20142629_2 (_3_cylinder VARCHAR, stanier VARCHAR, fowler VARCHAR)
SELECT COUNT(stanier), _3_cylinder FROM table_20142629_2 WHERE fowler = 16
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20142629_2 (_3_cylinder VARCHAR, stanier VARCHAR, fowler VARCHAR) Question: When the Fowler is 16, what is the number of cylinders? [/INST] SELECT COUNT(stanier), _3_cylinder FROM table_20142629_2 WHERE fowler = 16 </s>
What is tops for Folwer?
CREATE TABLE table_20142629_2 (fowler INTEGER)
SELECT MAX(fowler) FROM table_20142629_2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20142629_2 (fowler INTEGER) Question: What is tops for Folwer? [/INST] SELECT MAX(fowler) FROM table_20142629_2 </s>
On what grid was the time for part 1 1:31.063?
CREATE TABLE table_20159025_1 (grid VARCHAR, part_1 VARCHAR)
SELECT grid FROM table_20159025_1 WHERE part_1 = "1:31.063"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20159025_1 (grid VARCHAR, part_1 VARCHAR) Question: On what grid was the time for part 1 1:31.063? [/INST] SELECT grid FROM table_20159025_1 WHERE part_1 = "1:31.063" </s>
Which driver was number 2‡?
CREATE TABLE table_20159025_1 (driver VARCHAR, no VARCHAR)
SELECT driver FROM table_20159025_1 WHERE no = "2‡"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20159025_1 (driver VARCHAR, no VARCHAR) Question: Which driver was number 2‡? [/INST] SELECT driver FROM table_20159025_1 WHERE no = "2‡" </s>
Who was the driver in grid 01 1?
CREATE TABLE table_20159025_1 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_20159025_1 WHERE grid = "01 1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20159025_1 (driver VARCHAR, grid VARCHAR) Question: Who was the driver in grid 01 1? [/INST] SELECT driver FROM table_20159025_1 WHERE grid = "01 1" </s>
What was the time in part 3 when Heikki Kovalainen was the driver?
CREATE TABLE table_20159025_1 (part_3 VARCHAR, driver VARCHAR)
SELECT part_3 FROM table_20159025_1 WHERE driver = "Heikki Kovalainen"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20159025_1 (part_3 VARCHAR, driver VARCHAR) Question: What was the time in part 3 when Heikki Kovalainen was the driver? [/INST] SELECT part_3 FROM table_20159025_1 WHERE driver = "Heikki Kovalainen" </s>
Who was the driver when the time in part 3 was 1:31.386?
CREATE TABLE table_20159025_1 (driver VARCHAR, part_1 VARCHAR)
SELECT driver FROM table_20159025_1 WHERE part_1 = "1:31.386"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20159025_1 (driver VARCHAR, part_1 VARCHAR) Question: Who was the driver when the time in part 3 was 1:31.386? [/INST] SELECT driver FROM table_20159025_1 WHERE part_1 = "1:31.386" </s>
What was the time in part 3 when Nick Heidfeld was the driver?
CREATE TABLE table_20159025_1 (part_3 VARCHAR, driver VARCHAR)
SELECT part_3 FROM table_20159025_1 WHERE driver = "Nick Heidfeld"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20159025_1 (part_3 VARCHAR, driver VARCHAR) Question: What was the time in part 3 when Nick Heidfeld was the driver? [/INST] SELECT part_3 FROM table_20159025_1 WHERE driver = "Nick Heidfeld" </s>
Name the title that aired on 5 august 1967
CREATE TABLE table_20345624_2 (title VARCHAR, original_airdate VARCHAR)
SELECT COUNT(title) FROM table_20345624_2 WHERE original_airdate = "5 August 1967"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20345624_2 (title VARCHAR, original_airdate VARCHAR) Question: Name the title that aired on 5 august 1967 [/INST] SELECT COUNT(title) FROM table_20345624_2 WHERE original_airdate = "5 August 1967" </s>
Name the total number of directors for number 6
CREATE TABLE table_20345624_2 (director VARCHAR, no VARCHAR)
SELECT COUNT(director) FROM table_20345624_2 WHERE no = 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20345624_2 (director VARCHAR, no VARCHAR) Question: Name the total number of directors for number 6 [/INST] SELECT COUNT(director) FROM table_20345624_2 WHERE no = 6 </s>
Name the original airdate for guy verney
CREATE TABLE table_20345624_2 (original_airdate VARCHAR, director VARCHAR)
SELECT original_airdate FROM table_20345624_2 WHERE director = "Guy Verney"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20345624_2 (original_airdate VARCHAR, director VARCHAR) Question: Name the original airdate for guy verney [/INST] SELECT original_airdate FROM table_20345624_2 WHERE director = "Guy Verney" </s>
Name the number of writers for airdate of 15 july 1967
CREATE TABLE table_20345624_2 (writer VARCHAR, original_airdate VARCHAR)
SELECT COUNT(writer) FROM table_20345624_2 WHERE original_airdate = "15 July 1967"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20345624_2 (writer VARCHAR, original_airdate VARCHAR) Question: Name the number of writers for airdate of 15 july 1967 [/INST] SELECT COUNT(writer) FROM table_20345624_2 WHERE original_airdate = "15 July 1967" </s>
What's the abbreviation for the month whose transcription is Kumphaphan?
CREATE TABLE table_20354_5 (abbr VARCHAR, transcription VARCHAR)
SELECT abbr FROM table_20354_5 WHERE transcription = "kumphaphan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20354_5 (abbr VARCHAR, transcription VARCHAR) Question: What's the abbreviation for the month whose transcription is Kumphaphan? [/INST] SELECT abbr FROM table_20354_5 WHERE transcription = "kumphaphan" </s>
What's the zodiac sign for the month with Thai name มกราคม?
CREATE TABLE table_20354_5 (zodiac_sign VARCHAR, thai_name VARCHAR)
SELECT zodiac_sign FROM table_20354_5 WHERE thai_name = "มกราคม"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20354_5 (zodiac_sign VARCHAR, thai_name VARCHAR) Question: What's the zodiac sign for the month with Thai name มกราคม? [/INST] SELECT zodiac_sign FROM table_20354_5 WHERE thai_name = "มกราคม" </s>
What's the zodiac sing for the month whose transcription is Karakadakhom?
CREATE TABLE table_20354_5 (zodiac_sign VARCHAR, transcription VARCHAR)
SELECT zodiac_sign FROM table_20354_5 WHERE transcription = "karakadakhom"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20354_5 (zodiac_sign VARCHAR, transcription VARCHAR) Question: What's the zodiac sing for the month whose transcription is Karakadakhom? [/INST] SELECT zodiac_sign FROM table_20354_5 WHERE transcription = "karakadakhom" </s>
What's the transcription for the Thai name พฤษภาคม?
CREATE TABLE table_20354_5 (transcription VARCHAR, thai_name VARCHAR)
SELECT transcription FROM table_20354_5 WHERE thai_name = "พฤษภาคม"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20354_5 (transcription VARCHAR, thai_name VARCHAR) Question: What's the transcription for the Thai name พฤษภาคม? [/INST] SELECT transcription FROM table_20354_5 WHERE thai_name = "พฤษภาคม" </s>
What's the Sanskrit word for month with Thai name มกราคม?
CREATE TABLE table_20354_5 (sanskrit_word VARCHAR, thai_name VARCHAR)
SELECT sanskrit_word FROM table_20354_5 WHERE thai_name = "มกราคม"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20354_5 (sanskrit_word VARCHAR, thai_name VARCHAR) Question: What's the Sanskrit word for month with Thai name มกราคม? [/INST] SELECT sanskrit_word FROM table_20354_5 WHERE thai_name = "มกราคม" </s>
How many different transcriptions are there for the Thai name พฤษภาคม?
CREATE TABLE table_20354_5 (transcription VARCHAR, thai_name VARCHAR)
SELECT COUNT(transcription) FROM table_20354_5 WHERE thai_name = "พฤษภาคม"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20354_5 (transcription VARCHAR, thai_name VARCHAR) Question: How many different transcriptions are there for the Thai name พฤษภาคม? [/INST] SELECT COUNT(transcription) FROM table_20354_5 WHERE thai_name = "พฤษภาคม" </s>
What is the innings when the average is 36.48?
CREATE TABLE table_20367820_16 (innings INTEGER, average VARCHAR)
SELECT MAX(innings) FROM table_20367820_16 WHERE average = "36.48"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20367820_16 (innings INTEGER, average VARCHAR) Question: What is the innings when the average is 36.48? [/INST] SELECT MAX(innings) FROM table_20367820_16 WHERE average = "36.48" </s>
How many no outs are there for an average of 43.70?
CREATE TABLE table_20367820_16 (not_out VARCHAR, average VARCHAR)
SELECT not_out FROM table_20367820_16 WHERE average = "43.70"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20367820_16 (not_out VARCHAR, average VARCHAR) Question: How many no outs are there for an average of 43.70? [/INST] SELECT not_out FROM table_20367820_16 WHERE average = "43.70" </s>