instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
What game was located at the Los Angeles Memorial Sports Arena?
CREATE TABLE table_name_60 (game VARCHAR, location_attendance VARCHAR)
SELECT game FROM table_name_60 WHERE location_attendance = "los angeles memorial sports arena"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (game VARCHAR, location_attendance VARCHAR) Question: What game was located at the Los Angeles Memorial Sports Arena? [/INST] SELECT game FROM table_name_60 WHERE location_attendance = "los angeles memorial sports arena" </s>
What is the location for the game with a score of w 106-81?
CREATE TABLE table_name_44 (location_attendance VARCHAR, score VARCHAR)
SELECT location_attendance FROM table_name_44 WHERE score = "w 106-81"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (location_attendance VARCHAR, score VARCHAR) Question: What is the location for the game with a score of w 106-81? [/INST] SELECT location_attendance FROM table_name_44 WHERE score = "w 106-81" </s>
Where is the location of Game 4?
CREATE TABLE table_name_26 (location_attendance VARCHAR, game VARCHAR)
SELECT location_attendance FROM table_name_26 WHERE game = "4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (location_attendance VARCHAR, game VARCHAR) Question: Where is the location of Game 4? [/INST] SELECT location_attendance FROM table_name_26 WHERE game = "4" </s>
What is the lane total when rank is 2?
CREATE TABLE table_name_89 (lane INTEGER, rank VARCHAR)
SELECT SUM(lane) FROM table_name_89 WHERE rank = 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (lane INTEGER, rank VARCHAR) Question: What is the lane total when rank is 2? [/INST] SELECT SUM(lane) FROM table_name_89 WHERE rank = 2 </s>
Gemma Spofforth has what time?
CREATE TABLE table_name_56 (time VARCHAR, name VARCHAR)
SELECT time FROM table_name_56 WHERE name = "gemma spofforth"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (time VARCHAR, name VARCHAR) Question: Gemma Spofforth has what time? [/INST] SELECT time FROM table_name_56 WHERE name = "gemma spofforth" </s>
Which Floors have a Pinnacle height ft (m) of 1,136 (346), and a Pinn Rank larger than 4?
CREATE TABLE table_name_9 (floors INTEGER, pinnacle_height_ft__m_ VARCHAR, pinn_rank VARCHAR)
SELECT AVG(floors) FROM table_name_9 WHERE pinnacle_height_ft__m_ = "1,136 (346)" AND pinn_rank > 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (floors INTEGER, pinnacle_height_ft__m_ VARCHAR, pinn_rank VARCHAR) Question: Which Floors have a Pinnacle height ft (m) of 1,136 (346), and a Pinn Rank larger than 4? [/INST] SELECT AVG(floors) FROM table_name_9 WHERE pinnacle_height_ft__m_ = "1,136 (346)" AND pinn_rank > 4 </s>
How much Standard Rank has a Name of 311 south wacker drive, and a Year larger than 1990?
CREATE TABLE table_name_97 (std_rank INTEGER, name VARCHAR, year VARCHAR)
SELECT SUM(std_rank) FROM table_name_97 WHERE name = "311 south wacker drive" AND year > 1990
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (std_rank INTEGER, name VARCHAR, year VARCHAR) Question: How much Standard Rank has a Name of 311 south wacker drive, and a Year larger than 1990? [/INST] SELECT SUM(std_rank) FROM table_name_97 WHERE name = "311 south wacker drive" AND year > 1990 </s>
Which Floors have a Pinnacle height ft (m) of 995 (303), and an Std Rank larger than 6?
CREATE TABLE table_name_92 (floors INTEGER, pinnacle_height_ft__m_ VARCHAR, std_rank VARCHAR)
SELECT MAX(floors) FROM table_name_92 WHERE pinnacle_height_ft__m_ = "995 (303)" AND std_rank > 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (floors INTEGER, pinnacle_height_ft__m_ VARCHAR, std_rank VARCHAR) Question: Which Floors have a Pinnacle height ft (m) of 995 (303), and an Std Rank larger than 6? [/INST] SELECT MAX(floors) FROM table_name_92 WHERE pinnacle_height_ft__m_ = "995 (303)" AND std_rank > 6 </s>
What is the average time with a rank lower than 2 for Andy Turner?
CREATE TABLE table_name_24 (time INTEGER, rank VARCHAR, name VARCHAR)
SELECT AVG(time) FROM table_name_24 WHERE rank > 2 AND name = "andy turner"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (time INTEGER, rank VARCHAR, name VARCHAR) Question: What is the average time with a rank lower than 2 for Andy Turner? [/INST] SELECT AVG(time) FROM table_name_24 WHERE rank > 2 AND name = "andy turner" </s>
What was the date for morocco when the year was lerger than 1981?
CREATE TABLE table_name_34 (date VARCHAR, year VARCHAR, location VARCHAR)
SELECT date FROM table_name_34 WHERE year > 1981 AND location = "morocco"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (date VARCHAR, year VARCHAR, location VARCHAR) Question: What was the date for morocco when the year was lerger than 1981? [/INST] SELECT date FROM table_name_34 WHERE year > 1981 AND location = "morocco" </s>
What is the lowest year when the city is casablanca?
CREATE TABLE table_name_80 (year INTEGER, city VARCHAR)
SELECT MIN(year) FROM table_name_80 WHERE city = "casablanca"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (year INTEGER, city VARCHAR) Question: What is the lowest year when the city is casablanca? [/INST] SELECT MIN(year) FROM table_name_80 WHERE city = "casablanca" </s>
What year was the expansion in the city of San Juan?
CREATE TABLE table_name_31 (year VARCHAR, city VARCHAR)
SELECT COUNT(year) FROM table_name_31 WHERE city = "san juan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (year VARCHAR, city VARCHAR) Question: What year was the expansion in the city of San Juan? [/INST] SELECT COUNT(year) FROM table_name_31 WHERE city = "san juan" </s>
What city was located in the Netherlands?
CREATE TABLE table_name_50 (city VARCHAR, location VARCHAR)
SELECT city FROM table_name_50 WHERE location = "netherlands"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (city VARCHAR, location VARCHAR) Question: What city was located in the Netherlands? [/INST] SELECT city FROM table_name_50 WHERE location = "netherlands" </s>
What location had a year of 1971 and a city of Tokyo?
CREATE TABLE table_name_88 (location VARCHAR, year VARCHAR, city VARCHAR)
SELECT location FROM table_name_88 WHERE year = 1971 AND city = "tokyo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (location VARCHAR, year VARCHAR, city VARCHAR) Question: What location had a year of 1971 and a city of Tokyo? [/INST] SELECT location FROM table_name_88 WHERE year = 1971 AND city = "tokyo" </s>
What award did they win before 2005?
CREATE TABLE table_name_62 (award VARCHAR, year INTEGER)
SELECT award FROM table_name_62 WHERE year < 2005
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (award VARCHAR, year INTEGER) Question: What award did they win before 2005? [/INST] SELECT award FROM table_name_62 WHERE year < 2005 </s>
When was Southend United the home team?
CREATE TABLE table_name_44 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_44 WHERE home_team = "southend united"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (date VARCHAR, home_team VARCHAR) Question: When was Southend United the home team? [/INST] SELECT date FROM table_name_44 WHERE home_team = "southend united" </s>
For the game on 13 December 1975 with Halifax Town as the away team what was the score?
CREATE TABLE table_name_4 (score VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_4 WHERE date = "13 december 1975" AND away_team = "halifax town"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (score VARCHAR, date VARCHAR, away_team VARCHAR) Question: For the game on 13 December 1975 with Halifax Town as the away team what was the score? [/INST] SELECT score FROM table_name_4 WHERE date = "13 december 1975" AND away_team = "halifax town" </s>
Who was the away team when 6 was the tie no?
CREATE TABLE table_name_69 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_69 WHERE tie_no = "6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (away_team VARCHAR, tie_no VARCHAR) Question: Who was the away team when 6 was the tie no? [/INST] SELECT away_team FROM table_name_69 WHERE tie_no = "6" </s>
The game with 13 as the tie no had what as the score?
CREATE TABLE table_name_69 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_69 WHERE tie_no = "13"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (score VARCHAR, tie_no VARCHAR) Question: The game with 13 as the tie no had what as the score? [/INST] SELECT score FROM table_name_69 WHERE tie_no = "13" </s>
Which conference joined in 1954 with a beavers mascot?
CREATE TABLE table_name_40 (conference_joined VARCHAR, year_joined VARCHAR, mascot VARCHAR)
SELECT conference_joined FROM table_name_40 WHERE year_joined = 1954 AND mascot = "beavers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (conference_joined VARCHAR, year_joined VARCHAR, mascot VARCHAR) Question: Which conference joined in 1954 with a beavers mascot? [/INST] SELECT conference_joined FROM table_name_40 WHERE year_joined = 1954 AND mascot = "beavers" </s>
What is the Romanji title for around40〜注文の多いオンナたち〜 on TBS?
CREATE TABLE table_name_79 (romaji_title VARCHAR, tv_station VARCHAR, japanese_title VARCHAR)
SELECT romaji_title FROM table_name_79 WHERE tv_station = "tbs" AND japanese_title = "around40〜注文の多いオンナたち〜"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (romaji_title VARCHAR, tv_station VARCHAR, japanese_title VARCHAR) Question: What is the Romanji title for around40〜注文の多いオンナたち〜 on TBS? [/INST] SELECT romaji_title FROM table_name_79 WHERE tv_station = "tbs" AND japanese_title = "around40〜注文の多いオンナたち〜" </s>
What station has average ratings of 14.7%?
CREATE TABLE table_name_25 (tv_station VARCHAR, average_ratings VARCHAR)
SELECT tv_station FROM table_name_25 WHERE average_ratings = "14.7%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (tv_station VARCHAR, average_ratings VARCHAR) Question: What station has average ratings of 14.7%? [/INST] SELECT tv_station FROM table_name_25 WHERE average_ratings = "14.7%" </s>
What is the Japanese title for the episode bigger than 10 on TBS with average ratings of 14.8%?
CREATE TABLE table_name_70 (japanese_title VARCHAR, average_ratings VARCHAR, episodes VARCHAR, tv_station VARCHAR)
SELECT japanese_title FROM table_name_70 WHERE episodes > 10 AND tv_station = "tbs" AND average_ratings = "14.8%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (japanese_title VARCHAR, average_ratings VARCHAR, episodes VARCHAR, tv_station VARCHAR) Question: What is the Japanese title for the episode bigger than 10 on TBS with average ratings of 14.8%? [/INST] SELECT japanese_title FROM table_name_70 WHERE episodes > 10 AND tv_station = "tbs" AND average_ratings = "14.8%" </s>
What episode has average ratings of 7.4%?
CREATE TABLE table_name_64 (episodes INTEGER, average_ratings VARCHAR)
SELECT AVG(episodes) FROM table_name_64 WHERE average_ratings = "7.4%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (episodes INTEGER, average_ratings VARCHAR) Question: What episode has average ratings of 7.4%? [/INST] SELECT AVG(episodes) FROM table_name_64 WHERE average_ratings = "7.4%" </s>
What is the episode on Fuji TV titled Absolute Boyfriend?
CREATE TABLE table_name_98 (episodes INTEGER, tv_station VARCHAR, romaji_title VARCHAR)
SELECT MIN(episodes) FROM table_name_98 WHERE tv_station = "fuji tv" AND romaji_title = "absolute boyfriend"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (episodes INTEGER, tv_station VARCHAR, romaji_title VARCHAR) Question: What is the episode on Fuji TV titled Absolute Boyfriend? [/INST] SELECT MIN(episodes) FROM table_name_98 WHERE tv_station = "fuji tv" AND romaji_title = "absolute boyfriend" </s>
What is the episode on NHK with average ratings of 9.2%?
CREATE TABLE table_name_39 (episodes VARCHAR, tv_station VARCHAR, average_ratings VARCHAR)
SELECT COUNT(episodes) FROM table_name_39 WHERE tv_station = "nhk" AND average_ratings = "9.2%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (episodes VARCHAR, tv_station VARCHAR, average_ratings VARCHAR) Question: What is the episode on NHK with average ratings of 9.2%? [/INST] SELECT COUNT(episodes) FROM table_name_39 WHERE tv_station = "nhk" AND average_ratings = "9.2%" </s>
Which School has a Year Joined larger than 1926, and a Mascot of vikings?
CREATE TABLE table_name_86 (school VARCHAR, year_joined VARCHAR, mascot VARCHAR)
SELECT school FROM table_name_86 WHERE year_joined > 1926 AND mascot = "vikings"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (school VARCHAR, year_joined VARCHAR, mascot VARCHAR) Question: Which School has a Year Joined larger than 1926, and a Mascot of vikings? [/INST] SELECT school FROM table_name_86 WHERE year_joined > 1926 AND mascot = "vikings" </s>
Which Mascot has a School of logansport community?
CREATE TABLE table_name_76 (mascot VARCHAR, school VARCHAR)
SELECT mascot FROM table_name_76 WHERE school = "logansport community"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (mascot VARCHAR, school VARCHAR) Question: Which Mascot has a School of logansport community? [/INST] SELECT mascot FROM table_name_76 WHERE school = "logansport community" </s>
Which Previous Conference has an IHSAA Class/ Football/ Soccer of 4a/5a/2a, and a Year Joined larger than 1926?
CREATE TABLE table_name_22 (previous_conference VARCHAR, ihsaa_class___football_soccer VARCHAR, year_joined VARCHAR)
SELECT previous_conference FROM table_name_22 WHERE ihsaa_class___football_soccer = "4a/5a/2a" AND year_joined > 1926
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (previous_conference VARCHAR, ihsaa_class___football_soccer VARCHAR, year_joined VARCHAR) Question: Which Previous Conference has an IHSAA Class/ Football/ Soccer of 4a/5a/2a, and a Year Joined larger than 1926? [/INST] SELECT previous_conference FROM table_name_22 WHERE ihsaa_class___football_soccer = "4a/5a/2a" AND year_joined > 1926 </s>
Which #/ County has a Year Joined larger than 1926, and a Previous Conference of olympic?
CREATE TABLE table_name_13 (_number___county VARCHAR, year_joined VARCHAR, previous_conference VARCHAR)
SELECT _number___county FROM table_name_13 WHERE year_joined > 1926 AND previous_conference = "olympic"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (_number___county VARCHAR, year_joined VARCHAR, previous_conference VARCHAR) Question: Which #/ County has a Year Joined larger than 1926, and a Previous Conference of olympic? [/INST] SELECT _number___county FROM table_name_13 WHERE year_joined > 1926 AND previous_conference = "olympic" </s>
What is the Score of the 1996 Asian Cup Qualification on June 29, 1996?
CREATE TABLE table_name_24 (score VARCHAR, competition VARCHAR, date VARCHAR)
SELECT score FROM table_name_24 WHERE competition = "1996 asian cup qualification" AND date = "june 29, 1996"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (score VARCHAR, competition VARCHAR, date VARCHAR) Question: What is the Score of the 1996 Asian Cup Qualification on June 29, 1996? [/INST] SELECT score FROM table_name_24 WHERE competition = "1996 asian cup qualification" AND date = "june 29, 1996" </s>
What was the Venue of the King's Cup 1998?
CREATE TABLE table_name_3 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_3 WHERE competition = "king's cup 1998"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (venue VARCHAR, competition VARCHAR) Question: What was the Venue of the King's Cup 1998? [/INST] SELECT venue FROM table_name_3 WHERE competition = "king's cup 1998" </s>
What is the Venue of the Competition with a Score of 4-1?
CREATE TABLE table_name_11 (venue VARCHAR, score VARCHAR)
SELECT venue FROM table_name_11 WHERE score = "4-1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (venue VARCHAR, score VARCHAR) Question: What is the Venue of the Competition with a Score of 4-1? [/INST] SELECT venue FROM table_name_11 WHERE score = "4-1" </s>
Which Enrollment has a Primary Conference of mid-hoosier, and a County of 16 decatur, and an IHSAA Class of aa?
CREATE TABLE table_name_4 (enrollment VARCHAR, ihsaa_class VARCHAR, primary_conference VARCHAR, county VARCHAR)
SELECT enrollment FROM table_name_4 WHERE primary_conference = "mid-hoosier" AND county = "16 decatur" AND ihsaa_class = "aa"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (enrollment VARCHAR, ihsaa_class VARCHAR, primary_conference VARCHAR, county VARCHAR) Question: Which Enrollment has a Primary Conference of mid-hoosier, and a County of 16 decatur, and an IHSAA Class of aa? [/INST] SELECT enrollment FROM table_name_4 WHERE primary_conference = "mid-hoosier" AND county = "16 decatur" AND ihsaa_class = "aa" </s>
Where is Indian Creek school located?
CREATE TABLE table_name_79 (location VARCHAR, school VARCHAR)
SELECT location FROM table_name_79 WHERE school = "indian creek"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (location VARCHAR, school VARCHAR) Question: Where is Indian Creek school located? [/INST] SELECT location FROM table_name_79 WHERE school = "indian creek" </s>
Which school is located in trafalgar?
CREATE TABLE table_name_73 (school VARCHAR, location VARCHAR)
SELECT school FROM table_name_73 WHERE location = "trafalgar"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (school VARCHAR, location VARCHAR) Question: Which school is located in trafalgar? [/INST] SELECT school FROM table_name_73 WHERE location = "trafalgar" </s>
Which IHSAA Class is located in charlottesville?
CREATE TABLE table_name_24 (ihsaa_class VARCHAR, location VARCHAR)
SELECT ihsaa_class FROM table_name_24 WHERE location = "charlottesville"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (ihsaa_class VARCHAR, location VARCHAR) Question: Which IHSAA Class is located in charlottesville? [/INST] SELECT ihsaa_class FROM table_name_24 WHERE location = "charlottesville" </s>
Which country had notes of sa/b and a rank of 2?
CREATE TABLE table_name_7 (country VARCHAR, notes VARCHAR, rank VARCHAR)
SELECT country FROM table_name_7 WHERE notes = "sa/b" AND rank = 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (country VARCHAR, notes VARCHAR, rank VARCHAR) Question: Which country had notes of sa/b and a rank of 2? [/INST] SELECT country FROM table_name_7 WHERE notes = "sa/b" AND rank = 2 </s>
What was the rank for Great Britain?
CREATE TABLE table_name_28 (rank VARCHAR, country VARCHAR)
SELECT COUNT(rank) FROM table_name_28 WHERE country = "great britain"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (rank VARCHAR, country VARCHAR) Question: What was the rank for Great Britain? [/INST] SELECT COUNT(rank) FROM table_name_28 WHERE country = "great britain" </s>
What was the tv time for the game on week 12?
CREATE TABLE table_name_76 (tv_time VARCHAR, week VARCHAR)
SELECT tv_time FROM table_name_76 WHERE week = 12
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (tv_time VARCHAR, week VARCHAR) Question: What was the tv time for the game on week 12? [/INST] SELECT tv_time FROM table_name_76 WHERE week = 12 </s>
What was the attendance for the game against miami dolphins?
CREATE TABLE table_name_68 (attendance VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_68 WHERE opponent = "miami dolphins"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (attendance VARCHAR, opponent VARCHAR) Question: What was the attendance for the game against miami dolphins? [/INST] SELECT attendance FROM table_name_68 WHERE opponent = "miami dolphins" </s>
What is the result of the game with 67,715 fans attending?
CREATE TABLE table_name_54 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_54 WHERE attendance = "67,715"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (result VARCHAR, attendance VARCHAR) Question: What is the result of the game with 67,715 fans attending? [/INST] SELECT result FROM table_name_54 WHERE attendance = "67,715" </s>
Who was the opponent for the game that had 90,287 in attendance?
CREATE TABLE table_name_77 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_77 WHERE attendance = "90,287"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (opponent VARCHAR, attendance VARCHAR) Question: Who was the opponent for the game that had 90,287 in attendance? [/INST] SELECT opponent FROM table_name_77 WHERE attendance = "90,287" </s>
What is the team with 1st period at 12:37?
CREATE TABLE table_name_53 (team VARCHAR, period VARCHAR, time VARCHAR)
SELECT team FROM table_name_53 WHERE period = "1st" AND time = "12:37"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (team VARCHAR, period VARCHAR, time VARCHAR) Question: What is the team with 1st period at 12:37? [/INST] SELECT team FROM table_name_53 WHERE period = "1st" AND time = "12:37" </s>
who is the athlete with the time 6:02.46?
CREATE TABLE table_name_83 (athlete VARCHAR, time VARCHAR)
SELECT athlete FROM table_name_83 WHERE time = "6:02.46"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (athlete VARCHAR, time VARCHAR) Question: who is the athlete with the time 6:02.46? [/INST] SELECT athlete FROM table_name_83 WHERE time = "6:02.46" </s>
what is the country for rank 6?
CREATE TABLE table_name_3 (country VARCHAR, rank VARCHAR)
SELECT country FROM table_name_3 WHERE rank = 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (country VARCHAR, rank VARCHAR) Question: what is the country for rank 6? [/INST] SELECT country FROM table_name_3 WHERE rank = 6 </s>
what is the notes when the rank is less than 2?
CREATE TABLE table_name_59 (notes VARCHAR, rank INTEGER)
SELECT notes FROM table_name_59 WHERE rank < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (notes VARCHAR, rank INTEGER) Question: what is the notes when the rank is less than 2? [/INST] SELECT notes FROM table_name_59 WHERE rank < 2 </s>
what is the rank for athlete hauffe, seifert, kaeufer, adamski?
CREATE TABLE table_name_88 (rank INTEGER, athlete VARCHAR)
SELECT SUM(rank) FROM table_name_88 WHERE athlete = "hauffe, seifert, kaeufer, adamski"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (rank INTEGER, athlete VARCHAR) Question: what is the rank for athlete hauffe, seifert, kaeufer, adamski? [/INST] SELECT SUM(rank) FROM table_name_88 WHERE athlete = "hauffe, seifert, kaeufer, adamski" </s>
what is the notes for the time 6:05.21?
CREATE TABLE table_name_77 (notes VARCHAR, time VARCHAR)
SELECT notes FROM table_name_77 WHERE time = "6:05.21"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (notes VARCHAR, time VARCHAR) Question: what is the notes for the time 6:05.21? [/INST] SELECT notes FROM table_name_77 WHERE time = "6:05.21" </s>
Who was the discoverer of the object with an Aphelion above 97 in 2004?
CREATE TABLE table_name_41 (discoverer_s_ VARCHAR, aphelion__au_ VARCHAR, year_discovered VARCHAR)
SELECT discoverer_s_ FROM table_name_41 WHERE aphelion__au_ > 97 AND year_discovered = 2004
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (discoverer_s_ VARCHAR, aphelion__au_ VARCHAR, year_discovered VARCHAR) Question: Who was the discoverer of the object with an Aphelion above 97 in 2004? [/INST] SELECT discoverer_s_ FROM table_name_41 WHERE aphelion__au_ > 97 AND year_discovered = 2004 </s>
What model number has part number cl8064701510101?
CREATE TABLE table_name_69 (model_number VARCHAR, part_number_s_ VARCHAR)
SELECT model_number FROM table_name_69 WHERE part_number_s_ = "cl8064701510101"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (model_number VARCHAR, part_number_s_ VARCHAR) Question: What model number has part number cl8064701510101? [/INST] SELECT model_number FROM table_name_69 WHERE part_number_s_ = "cl8064701510101" </s>
What is the I/O bus entry for the processor with a release price of $657?
CREATE TABLE table_name_65 (i_o_bus VARCHAR, release_price___usd__ VARCHAR)
SELECT i_o_bus FROM table_name_65 WHERE release_price___usd__ = "$657"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (i_o_bus VARCHAR, release_price___usd__ VARCHAR) Question: What is the I/O bus entry for the processor with a release price of $657? [/INST] SELECT i_o_bus FROM table_name_65 WHERE release_price___usd__ = "$657" </s>
What is the L2 cache for the processor with iris pro graphics 5200 and frequency of 2.6 ghz?
CREATE TABLE table_name_96 (l2_cache VARCHAR, gpu_model VARCHAR, frequency VARCHAR)
SELECT l2_cache FROM table_name_96 WHERE gpu_model = "iris pro graphics 5200" AND frequency = "2.6 ghz"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (l2_cache VARCHAR, gpu_model VARCHAR, frequency VARCHAR) Question: What is the L2 cache for the processor with iris pro graphics 5200 and frequency of 2.6 ghz? [/INST] SELECT l2_cache FROM table_name_96 WHERE gpu_model = "iris pro graphics 5200" AND frequency = "2.6 ghz" </s>
What is the frequency of the processor released at $383, with a sSpec of sr15f(c0)?
CREATE TABLE table_name_14 (frequency VARCHAR, release_price___usd__ VARCHAR, sspec_number VARCHAR)
SELECT frequency FROM table_name_14 WHERE release_price___usd__ = "$383" AND sspec_number = "sr15f(c0)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (frequency VARCHAR, release_price___usd__ VARCHAR, sspec_number VARCHAR) Question: What is the frequency of the processor released at $383, with a sSpec of sr15f(c0)? [/INST] SELECT frequency FROM table_name_14 WHERE release_price___usd__ = "$383" AND sspec_number = "sr15f(c0)" </s>
What is the GPU frequency for the processor released in June 2013, with a sSpec number of sr17l(c0)?
CREATE TABLE table_name_27 (gpu_frequency VARCHAR, release_date VARCHAR, sspec_number VARCHAR)
SELECT gpu_frequency FROM table_name_27 WHERE release_date = "june 2013" AND sspec_number = "sr17l(c0)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (gpu_frequency VARCHAR, release_date VARCHAR, sspec_number VARCHAR) Question: What is the GPU frequency for the processor released in June 2013, with a sSpec number of sr17l(c0)? [/INST] SELECT gpu_frequency FROM table_name_27 WHERE release_date = "june 2013" AND sspec_number = "sr17l(c0)" </s>
What is the L3 cache of the processor with a release price of $440?
CREATE TABLE table_name_3 (l3_cache VARCHAR, release_price___usd__ VARCHAR)
SELECT l3_cache FROM table_name_3 WHERE release_price___usd__ = "$440"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (l3_cache VARCHAR, release_price___usd__ VARCHAR) Question: What is the L3 cache of the processor with a release price of $440? [/INST] SELECT l3_cache FROM table_name_3 WHERE release_price___usd__ = "$440" </s>
What is the OS X for the Home Media Center?
CREATE TABLE table_name_88 (os_x VARCHAR, name VARCHAR)
SELECT os_x FROM table_name_88 WHERE name = "home media center"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (os_x VARCHAR, name VARCHAR) Question: What is the OS X for the Home Media Center? [/INST] SELECT os_x FROM table_name_88 WHERE name = "home media center" </s>
What is the name when Windows is partial?
CREATE TABLE table_name_55 (name VARCHAR, windows VARCHAR)
SELECT name FROM table_name_55 WHERE windows = "partial"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (name VARCHAR, windows VARCHAR) Question: What is the name when Windows is partial? [/INST] SELECT name FROM table_name_55 WHERE windows = "partial" </s>
What is the license for Rygel?
CREATE TABLE table_name_11 (license VARCHAR, name VARCHAR)
SELECT license FROM table_name_11 WHERE name = "rygel"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (license VARCHAR, name VARCHAR) Question: What is the license for Rygel? [/INST] SELECT license FROM table_name_11 WHERE name = "rygel" </s>
What is the license for Jriver Media Center?
CREATE TABLE table_name_91 (license VARCHAR, name VARCHAR)
SELECT license FROM table_name_91 WHERE name = "jriver media center"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (license VARCHAR, name VARCHAR) Question: What is the license for Jriver Media Center? [/INST] SELECT license FROM table_name_91 WHERE name = "jriver media center" </s>
Of the series that last aired August 20, 2010, what is the lowest number of seasons?
CREATE TABLE table_name_42 (season INTEGER, last_aired VARCHAR)
SELECT MIN(season) FROM table_name_42 WHERE last_aired = "august 20, 2010"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (season INTEGER, last_aired VARCHAR) Question: Of the series that last aired August 20, 2010, what is the lowest number of seasons? [/INST] SELECT MIN(season) FROM table_name_42 WHERE last_aired = "august 20, 2010" </s>
Of the series that first aired April 8, 2011, what is the total number of episodes?
CREATE TABLE table_name_53 (episodes INTEGER, first_aired VARCHAR)
SELECT SUM(episodes) FROM table_name_53 WHERE first_aired = "april 8, 2011"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (episodes INTEGER, first_aired VARCHAR) Question: Of the series that first aired April 8, 2011, what is the total number of episodes? [/INST] SELECT SUM(episodes) FROM table_name_53 WHERE first_aired = "april 8, 2011" </s>
What's the total when the position was more than 6 and had an A Score of less than 7.6?
CREATE TABLE table_name_83 (total INTEGER, position VARCHAR, a_score VARCHAR)
SELECT MAX(total) FROM table_name_83 WHERE position > 6 AND a_score < 7.6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (total INTEGER, position VARCHAR, a_score VARCHAR) Question: What's the total when the position was more than 6 and had an A Score of less than 7.6? [/INST] SELECT MAX(total) FROM table_name_83 WHERE position > 6 AND a_score < 7.6 </s>
What's the total when A Score was less than 6.9?
CREATE TABLE table_name_98 (total INTEGER, a_score INTEGER)
SELECT AVG(total) FROM table_name_98 WHERE a_score < 6.9
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (total INTEGER, a_score INTEGER) Question: What's the total when A Score was less than 6.9? [/INST] SELECT AVG(total) FROM table_name_98 WHERE a_score < 6.9 </s>
What's the total of Water (sqmi) with a Land (sqmi) of 35.918 and has a Longitude that is smaller than -97.115459?
CREATE TABLE table_name_68 (water__sqmi_ INTEGER, land___sqmi__ VARCHAR, longitude VARCHAR)
SELECT SUM(water__sqmi_) FROM table_name_68 WHERE land___sqmi__ = 35.918 AND longitude < -97.115459
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (water__sqmi_ INTEGER, land___sqmi__ VARCHAR, longitude VARCHAR) Question: What's the total of Water (sqmi) with a Land (sqmi) of 35.918 and has a Longitude that is smaller than -97.115459? [/INST] SELECT SUM(water__sqmi_) FROM table_name_68 WHERE land___sqmi__ = 35.918 AND longitude < -97.115459 </s>
What;s the total of Longitude with an ANSI code of 1036573 and has Water (sqmi) that is smaller than 0.404?
CREATE TABLE table_name_1 (longitude VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR)
SELECT COUNT(longitude) FROM table_name_1 WHERE ansi_code = 1036573 AND water__sqmi_ < 0.404
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (longitude VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR) Question: What;s the total of Longitude with an ANSI code of 1036573 and has Water (sqmi) that is smaller than 0.404? [/INST] SELECT COUNT(longitude) FROM table_name_1 WHERE ansi_code = 1036573 AND water__sqmi_ < 0.404 </s>
What's the lowest listed longitude that has a Latitude of 46.843963 and Water (sqmi) that is smaller than 0.052000000000000005?
CREATE TABLE table_name_31 (longitude INTEGER, latitude VARCHAR, water__sqmi_ VARCHAR)
SELECT MIN(longitude) FROM table_name_31 WHERE latitude = 46.843963 AND water__sqmi_ < 0.052000000000000005
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (longitude INTEGER, latitude VARCHAR, water__sqmi_ VARCHAR) Question: What's the lowest listed longitude that has a Latitude of 46.843963 and Water (sqmi) that is smaller than 0.052000000000000005? [/INST] SELECT MIN(longitude) FROM table_name_31 WHERE latitude = 46.843963 AND water__sqmi_ < 0.052000000000000005 </s>
What is the total heat ranked higher than 7?
CREATE TABLE table_name_46 (heat INTEGER, rank INTEGER)
SELECT SUM(heat) FROM table_name_46 WHERE rank > 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (heat INTEGER, rank INTEGER) Question: What is the total heat ranked higher than 7? [/INST] SELECT SUM(heat) FROM table_name_46 WHERE rank > 7 </s>
Which cyclist is from Australia?
CREATE TABLE table_name_90 (cyclist VARCHAR, nation VARCHAR)
SELECT cyclist FROM table_name_90 WHERE nation = "australia"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (cyclist VARCHAR, nation VARCHAR) Question: Which cyclist is from Australia? [/INST] SELECT cyclist FROM table_name_90 WHERE nation = "australia" </s>
Which nation has a heat of 4, and is ranked 8?
CREATE TABLE table_name_13 (nation VARCHAR, heat VARCHAR, rank VARCHAR)
SELECT nation FROM table_name_13 WHERE heat = 4 AND rank = 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (nation VARCHAR, heat VARCHAR, rank VARCHAR) Question: Which nation has a heat of 4, and is ranked 8? [/INST] SELECT nation FROM table_name_13 WHERE heat = 4 AND rank = 8 </s>
What is John Curtice's position?
CREATE TABLE table_name_35 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_35 WHERE player = "john curtice"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (position VARCHAR, player VARCHAR) Question: What is John Curtice's position? [/INST] SELECT position FROM table_name_35 WHERE player = "john curtice" </s>
What player is from Seton Hall University?
CREATE TABLE table_name_24 (player VARCHAR, school VARCHAR)
SELECT player FROM table_name_24 WHERE school = "seton hall university"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (player VARCHAR, school VARCHAR) Question: What player is from Seton Hall University? [/INST] SELECT player FROM table_name_24 WHERE school = "seton hall university" </s>
What is the lowest pick of a player for the SS, P Position for the Minnesota Twins?
CREATE TABLE table_name_51 (pick INTEGER, position VARCHAR, team VARCHAR)
SELECT MIN(pick) FROM table_name_51 WHERE position = "ss, p" AND team = "minnesota twins"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (pick INTEGER, position VARCHAR, team VARCHAR) Question: What is the lowest pick of a player for the SS, P Position for the Minnesota Twins? [/INST] SELECT MIN(pick) FROM table_name_51 WHERE position = "ss, p" AND team = "minnesota twins" </s>
What is the average v-band for Ka-band values under 33 and Q-bands of 1?
CREATE TABLE table_name_53 (v_band INTEGER, ka_band VARCHAR, q_band VARCHAR)
SELECT AVG(v_band) FROM table_name_53 WHERE ka_band < 33 AND q_band = 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (v_band INTEGER, ka_band VARCHAR, q_band VARCHAR) Question: What is the average v-band for Ka-band values under 33 and Q-bands of 1? [/INST] SELECT AVG(v_band) FROM table_name_53 WHERE ka_band < 33 AND q_band = 1 </s>
What award has a year earlier than 2004 and the episode shows —?
CREATE TABLE table_name_90 (award VARCHAR, year VARCHAR, episode VARCHAR)
SELECT award FROM table_name_90 WHERE year < 2004 AND episode = "—"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (award VARCHAR, year VARCHAR, episode VARCHAR) Question: What award has a year earlier than 2004 and the episode shows —? [/INST] SELECT award FROM table_name_90 WHERE year < 2004 AND episode = "—" </s>
What year has a Nominee of —, and a Result of nominated?
CREATE TABLE table_name_14 (year INTEGER, nominee VARCHAR, result VARCHAR)
SELECT AVG(year) FROM table_name_14 WHERE nominee = "—" AND result = "nominated"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (year INTEGER, nominee VARCHAR, result VARCHAR) Question: What year has a Nominee of —, and a Result of nominated? [/INST] SELECT AVG(year) FROM table_name_14 WHERE nominee = "—" AND result = "nominated" </s>
What is the Country of the Play Electra?
CREATE TABLE table_name_60 (country VARCHAR, play VARCHAR)
SELECT country FROM table_name_60 WHERE play = "electra"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (country VARCHAR, play VARCHAR) Question: What is the Country of the Play Electra? [/INST] SELECT country FROM table_name_60 WHERE play = "electra" </s>
What is the Athens Base play with Dance Theatre Roes Company?
CREATE TABLE table_name_59 (play VARCHAR, base VARCHAR, company VARCHAR)
SELECT play FROM table_name_59 WHERE base = "athens" AND company = "dance theatre roes"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (play VARCHAR, base VARCHAR, company VARCHAR) Question: What is the Athens Base play with Dance Theatre Roes Company? [/INST] SELECT play FROM table_name_59 WHERE base = "athens" AND company = "dance theatre roes" </s>
Who is the author of the Play Electra?
CREATE TABLE table_name_24 (author VARCHAR, play VARCHAR)
SELECT author FROM table_name_24 WHERE play = "electra"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (author VARCHAR, play VARCHAR) Question: Who is the author of the Play Electra? [/INST] SELECT author FROM table_name_24 WHERE play = "electra" </s>
Waht is the Country of the play by Author Aristophanes?
CREATE TABLE table_name_25 (country VARCHAR, author VARCHAR)
SELECT country FROM table_name_25 WHERE author = "aristophanes"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (country VARCHAR, author VARCHAR) Question: Waht is the Country of the play by Author Aristophanes? [/INST] SELECT country FROM table_name_25 WHERE author = "aristophanes" </s>
What Country has the Play The Libation Bearers a Base of Mecklenburg?
CREATE TABLE table_name_52 (country VARCHAR, base VARCHAR, play VARCHAR)
SELECT country FROM table_name_52 WHERE base = "mecklenburg" AND play = "the libation bearers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (country VARCHAR, base VARCHAR, play VARCHAR) Question: What Country has the Play The Libation Bearers a Base of Mecklenburg? [/INST] SELECT country FROM table_name_52 WHERE base = "mecklenburg" AND play = "the libation bearers" </s>
Which series had a title of Boyhood Daze?
CREATE TABLE table_name_78 (series VARCHAR, title VARCHAR)
SELECT series FROM table_name_78 WHERE title = "boyhood daze"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (series VARCHAR, title VARCHAR) Question: Which series had a title of Boyhood Daze? [/INST] SELECT series FROM table_name_78 WHERE title = "boyhood daze" </s>
What was the release date of Rabbit Romeo?
CREATE TABLE table_name_8 (release_date VARCHAR, title VARCHAR)
SELECT release_date FROM table_name_8 WHERE title = "rabbit romeo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (release_date VARCHAR, title VARCHAR) Question: What was the release date of Rabbit Romeo? [/INST] SELECT release_date FROM table_name_8 WHERE title = "rabbit romeo" </s>
What was the release date of Three Little Bops?
CREATE TABLE table_name_42 (release_date VARCHAR, title VARCHAR)
SELECT release_date FROM table_name_42 WHERE title = "three little bops"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (release_date VARCHAR, title VARCHAR) Question: What was the release date of Three Little Bops? [/INST] SELECT release_date FROM table_name_42 WHERE title = "three little bops" </s>
In 2005 the earnings is less than 615,499 with less than 2 LPGA wins and what smallest Money list rank?
CREATE TABLE table_name_2 (money_list_rank INTEGER, earnings__$_ VARCHAR, lpga_wins VARCHAR, year VARCHAR)
SELECT MIN(money_list_rank) FROM table_name_2 WHERE lpga_wins < 2 AND year = 2005 AND earnings__$_ < 615 OFFSET 499 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (money_list_rank INTEGER, earnings__$_ VARCHAR, lpga_wins VARCHAR, year VARCHAR) Question: In 2005 the earnings is less than 615,499 with less than 2 LPGA wins and what smallest Money list rank? [/INST] SELECT MIN(money_list_rank) FROM table_name_2 WHERE lpga_wins < 2 AND year = 2005 AND earnings__$_ < 615 OFFSET 499 ROWS </s>
What is the team name from Hammond Bishop Noll?
CREATE TABLE table_name_42 (team_name VARCHAR, school VARCHAR)
SELECT team_name FROM table_name_42 WHERE school = "hammond bishop noll"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (team_name VARCHAR, school VARCHAR) Question: What is the team name from Hammond Bishop Noll? [/INST] SELECT team_name FROM table_name_42 WHERE school = "hammond bishop noll" </s>
What city has a team in IHSAA class 3a, and previous conference of lake?
CREATE TABLE table_name_83 (city VARCHAR, previous_counference VARCHAR, ihsaa_class VARCHAR)
SELECT city FROM table_name_83 WHERE previous_counference = "lake" AND ihsaa_class = "3a"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (city VARCHAR, previous_counference VARCHAR, ihsaa_class VARCHAR) Question: What city has a team in IHSAA class 3a, and previous conference of lake? [/INST] SELECT city FROM table_name_83 WHERE previous_counference = "lake" AND ihsaa_class = "3a" </s>
What is the average enrollment 08=09, for the team that had a previous conference of lake and IHSAA class of 3A?
CREATE TABLE table_name_28 (enrollment_08_09 INTEGER, previous_counference VARCHAR, ihsaa_class VARCHAR)
SELECT AVG(enrollment_08_09) FROM table_name_28 WHERE previous_counference = "lake" AND ihsaa_class = "3a"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (enrollment_08_09 INTEGER, previous_counference VARCHAR, ihsaa_class VARCHAR) Question: What is the average enrollment 08=09, for the team that had a previous conference of lake and IHSAA class of 3A? [/INST] SELECT AVG(enrollment_08_09) FROM table_name_28 WHERE previous_counference = "lake" AND ihsaa_class = "3a" </s>
What is the Date of the Kroger Classic Tournament?
CREATE TABLE table_name_64 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_64 WHERE tournament = "kroger classic"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (date VARCHAR, tournament VARCHAR) Question: What is the Date of the Kroger Classic Tournament? [/INST] SELECT date FROM table_name_64 WHERE tournament = "kroger classic" </s>
What is the Date of the Ameritech Senior Open?
CREATE TABLE table_name_61 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_61 WHERE tournament = "ameritech senior open"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (date VARCHAR, tournament VARCHAR) Question: What is the Date of the Ameritech Senior Open? [/INST] SELECT date FROM table_name_61 WHERE tournament = "ameritech senior open" </s>
What Tournament has a Winning score of −16 (66-64-67=197)?
CREATE TABLE table_name_89 (tournament VARCHAR, winning_score VARCHAR)
SELECT tournament FROM table_name_89 WHERE winning_score = −16(66 - 64 - 67 = 197)
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (tournament VARCHAR, winning_score VARCHAR) Question: What Tournament has a Winning score of −16 (66-64-67=197)? [/INST] SELECT tournament FROM table_name_89 WHERE winning_score = −16(66 - 64 - 67 = 197) </s>
What is Wu Xing (五行) with Korean (RR) of 임 (im)?
CREATE TABLE table_name_80 (wu_xing___五行__ VARCHAR, korean___rr__ VARCHAR)
SELECT wu_xing___五行__ FROM table_name_80 WHERE korean___rr__ = "임 (im)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (wu_xing___五行__ VARCHAR, korean___rr__ VARCHAR) Question: What is Wu Xing (五行) with Korean (RR) of 임 (im)? [/INST] SELECT wu_xing___五行__ FROM table_name_80 WHERE korean___rr__ = "임 (im)" </s>
What's Manchu (Möllendorff) with the Wi Xing Correltation of 南 South, along with Wuu Wuupin of ting44?
CREATE TABLE table_name_48 (manchu___möllendorff__ VARCHAR, wu_xing_correlations VARCHAR, wuu_wuupin VARCHAR)
SELECT manchu___möllendorff__ FROM table_name_48 WHERE wu_xing_correlations = "南 south" AND wuu_wuupin = "ting44"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (manchu___möllendorff__ VARCHAR, wu_xing_correlations VARCHAR, wuu_wuupin VARCHAR) Question: What's Manchu (Möllendorff) with the Wi Xing Correltation of 南 South, along with Wuu Wuupin of ting44? [/INST] SELECT manchu___möllendorff__ FROM table_name_48 WHERE wu_xing_correlations = "南 south" AND wuu_wuupin = "ting44" </s>
Which Japanese Title has a TV Station of ntv?
CREATE TABLE table_name_19 (japanese_title VARCHAR, tv_station VARCHAR)
SELECT japanese_title FROM table_name_19 WHERE tv_station = "ntv"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (japanese_title VARCHAR, tv_station VARCHAR) Question: Which Japanese Title has a TV Station of ntv? [/INST] SELECT japanese_title FROM table_name_19 WHERE tv_station = "ntv" </s>
Which TV Station has a Romaji Title of kegareta shita?
CREATE TABLE table_name_43 (tv_station VARCHAR, romaji_title VARCHAR)
SELECT tv_station FROM table_name_43 WHERE romaji_title = "kegareta shita"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (tv_station VARCHAR, romaji_title VARCHAR) Question: Which TV Station has a Romaji Title of kegareta shita? [/INST] SELECT tv_station FROM table_name_43 WHERE romaji_title = "kegareta shita" </s>
Which Theme Song(s) has a Japanese Title of 恋におちたら~僕の成功の秘密~?
CREATE TABLE table_name_54 (theme_song_s_ VARCHAR, japanese_title VARCHAR)
SELECT theme_song_s_ FROM table_name_54 WHERE japanese_title = "恋におちたら~僕の成功の秘密~"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (theme_song_s_ VARCHAR, japanese_title VARCHAR) Question: Which Theme Song(s) has a Japanese Title of 恋におちたら~僕の成功の秘密~? [/INST] SELECT theme_song_s_ FROM table_name_54 WHERE japanese_title = "恋におちたら~僕の成功の秘密~" </s>
Churai has what as the fewest number of electorates?
CREATE TABLE table_name_2 (number_of_electorates__2009_ INTEGER, name VARCHAR)
SELECT MIN(number_of_electorates__2009_) FROM table_name_2 WHERE name = "churai"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (number_of_electorates__2009_ INTEGER, name VARCHAR) Question: Churai has what as the fewest number of electorates? [/INST] SELECT MIN(number_of_electorates__2009_) FROM table_name_2 WHERE name = "churai" </s>
what is the title when the release date is 1938-12-17 and the production number is 8610?
CREATE TABLE table_name_86 (title VARCHAR, release_date VARCHAR, production_num VARCHAR)
SELECT title FROM table_name_86 WHERE release_date = "1938-12-17" AND production_num = "8610"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (title VARCHAR, release_date VARCHAR, production_num VARCHAR) Question: what is the title when the release date is 1938-12-17 and the production number is 8610? [/INST] SELECT title FROM table_name_86 WHERE release_date = "1938-12-17" AND production_num = "8610" </s>
The match played July 8, 2007 had what outcome?
CREATE TABLE table_name_54 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_54 WHERE date = "july 8, 2007"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (outcome VARCHAR, date VARCHAR) Question: The match played July 8, 2007 had what outcome? [/INST] SELECT outcome FROM table_name_54 WHERE date = "july 8, 2007" </s>
The final match played against Evie Dominikovic was played on what surface?
CREATE TABLE table_name_54 (surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT surface FROM table_name_54 WHERE opponent_in_the_final = "evie dominikovic"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (surface VARCHAR, opponent_in_the_final VARCHAR) Question: The final match played against Evie Dominikovic was played on what surface? [/INST] SELECT surface FROM table_name_54 WHERE opponent_in_the_final = "evie dominikovic" </s>