instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
How many people were in attendance on may 17?
CREATE TABLE table_name_7 (attendance INTEGER, date VARCHAR)
SELECT MIN(attendance) FROM table_name_7 WHERE date = "may 17"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (attendance INTEGER, date VARCHAR) Question: How many people were in attendance on may 17? [/INST] SELECT MIN(attendance) FROM table_name_7 WHERE date = "may 17" </s>
How many weeks did the single that entered the charts 14 september 2002 stay on the charts ?
CREATE TABLE table_name_30 (weeks_on_chart__uk_ VARCHAR, entered_chart__uk_ VARCHAR)
SELECT COUNT(weeks_on_chart__uk_) FROM table_name_30 WHERE entered_chart__uk_ = "14 september 2002"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (weeks_on_chart__uk_ VARCHAR, entered_chart__uk_ VARCHAR) Question: How many weeks did the single that entered the charts 14 september 2002 stay on the charts ? [/INST] SELECT COUNT(weeks_on_chart__uk_) FROM table_name_30 WHERE entered_chart__uk_ = "14 september 2002" </s>
Which single was on the Charts for 23 weeks ?
CREATE TABLE table_name_50 (title VARCHAR, weeks_on_chart__uk_ VARCHAR)
SELECT title FROM table_name_50 WHERE weeks_on_chart__uk_ = 23
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (title VARCHAR, weeks_on_chart__uk_ VARCHAR) Question: Which single was on the Charts for 23 weeks ? [/INST] SELECT title FROM table_name_50 WHERE weeks_on_chart__uk_ = 23 </s>
How many ECTS credit points occur with Master in Management?
CREATE TABLE table_name_25 (ects_credit_points VARCHAR, program VARCHAR)
SELECT COUNT(ects_credit_points) FROM table_name_25 WHERE program = "master in management"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (ects_credit_points VARCHAR, program VARCHAR) Question: How many ECTS credit points occur with Master in Management? [/INST] SELECT COUNT(ects_credit_points) FROM table_name_25 WHERE program = "master in management" </s>
What is the teaching language for Master of Quantitative Finance?
CREATE TABLE table_name_69 (teaching_language VARCHAR, program VARCHAR)
SELECT teaching_language FROM table_name_69 WHERE program = "master of quantitative finance"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (teaching_language VARCHAR, program VARCHAR) Question: What is the teaching language for Master of Quantitative Finance? [/INST] SELECT teaching_language FROM table_name_69 WHERE program = "master of quantitative finance" </s>
Which program has 3.5 years?
CREATE TABLE table_name_35 (program VARCHAR, duration__years_ VARCHAR)
SELECT program FROM table_name_35 WHERE duration__years_ = 3.5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (program VARCHAR, duration__years_ VARCHAR) Question: Which program has 3.5 years? [/INST] SELECT program FROM table_name_35 WHERE duration__years_ = 3.5 </s>
What is the teaching language for a less than 2 year duration and less than 65 ECTS credit points?
CREATE TABLE table_name_51 (teaching_language VARCHAR, duration__years_ VARCHAR, ects_credit_points VARCHAR)
SELECT teaching_language FROM table_name_51 WHERE duration__years_ < 2 AND ects_credit_points < 65
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (teaching_language VARCHAR, duration__years_ VARCHAR, ects_credit_points VARCHAR) Question: What is the teaching language for a less than 2 year duration and less than 65 ECTS credit points? [/INST] SELECT teaching_language FROM table_name_51 WHERE duration__years_ < 2 AND ects_credit_points < 65 </s>
What engine has more than 0 pts?
CREATE TABLE table_name_79 (engine VARCHAR, pts INTEGER)
SELECT engine FROM table_name_79 WHERE pts > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (engine VARCHAR, pts INTEGER) Question: What engine has more than 0 pts? [/INST] SELECT engine FROM table_name_79 WHERE pts > 0 </s>
What is the average pots of Alfa Romeo v12 after 1983?
CREATE TABLE table_name_44 (pts INTEGER, engine VARCHAR, year VARCHAR)
SELECT AVG(pts) FROM table_name_44 WHERE engine = "alfa romeo v12" AND year > 1983
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (pts INTEGER, engine VARCHAR, year VARCHAR) Question: What is the average pots of Alfa Romeo v12 after 1983? [/INST] SELECT AVG(pts) FROM table_name_44 WHERE engine = "alfa romeo v12" AND year > 1983 </s>
What was the total against in uefa champions league/european cup with more than 1 draw?
CREATE TABLE table_name_75 (against INTEGER, competition VARCHAR, draw VARCHAR)
SELECT SUM(against) FROM table_name_75 WHERE competition = "uefa champions league/european cup" AND draw > 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (against INTEGER, competition VARCHAR, draw VARCHAR) Question: What was the total against in uefa champions league/european cup with more than 1 draw? [/INST] SELECT SUM(against) FROM table_name_75 WHERE competition = "uefa champions league/european cup" AND draw > 1 </s>
What is the total against with 1 draw and less than 8 played?
CREATE TABLE table_name_19 (against INTEGER, draw VARCHAR, played VARCHAR)
SELECT SUM(against) FROM table_name_19 WHERE draw = 1 AND played < 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (against INTEGER, draw VARCHAR, played VARCHAR) Question: What is the total against with 1 draw and less than 8 played? [/INST] SELECT SUM(against) FROM table_name_19 WHERE draw = 1 AND played < 8 </s>
How many times did Super Nova Racing win with a zytek engine?
CREATE TABLE table_name_14 (wins VARCHAR, engine VARCHAR, racing_team VARCHAR)
SELECT wins FROM table_name_14 WHERE engine = "zytek" AND racing_team = "super nova racing"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (wins VARCHAR, engine VARCHAR, racing_team VARCHAR) Question: How many times did Super Nova Racing win with a zytek engine? [/INST] SELECT wins FROM table_name_14 WHERE engine = "zytek" AND racing_team = "super nova racing" </s>
How many main wins for France?
CREATE TABLE table_name_63 (main_wins VARCHAR, team VARCHAR)
SELECT main_wins FROM table_name_63 WHERE team = "france"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (main_wins VARCHAR, team VARCHAR) Question: How many main wins for France? [/INST] SELECT main_wins FROM table_name_63 WHERE team = "france" </s>
How many poles does status grand prix have?
CREATE TABLE table_name_57 (poles VARCHAR, racing_team VARCHAR)
SELECT poles FROM table_name_57 WHERE racing_team = "status grand prix"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (poles VARCHAR, racing_team VARCHAR) Question: How many poles does status grand prix have? [/INST] SELECT poles FROM table_name_57 WHERE racing_team = "status grand prix" </s>
Question does not make sense since there was no record of 88-74
CREATE TABLE table_name_77 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_77 WHERE record = "88-74"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (date VARCHAR, record VARCHAR) Question: Question does not make sense since there was no record of 88-74 [/INST] SELECT date FROM table_name_77 WHERE record = "88-74" </s>
What is the award type for all Lowe awards?
CREATE TABLE table_name_1 (award VARCHAR, name VARCHAR)
SELECT award FROM table_name_1 WHERE name = "lowe"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (award VARCHAR, name VARCHAR) Question: What is the award type for all Lowe awards? [/INST] SELECT award FROM table_name_1 WHERE name = "lowe" </s>
Which engine(s) has a year of 1966, and a point of 42.
CREATE TABLE table_name_57 (engine_s_ VARCHAR, year VARCHAR, points VARCHAR)
SELECT engine_s_ FROM table_name_57 WHERE year = 1966 AND points = "42"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (engine_s_ VARCHAR, year VARCHAR, points VARCHAR) Question: Which engine(s) has a year of 1966, and a point of 42. [/INST] SELECT engine_s_ FROM table_name_57 WHERE year = 1966 AND points = "42" </s>
What was the score against hapoel tel aviv?
CREATE TABLE table_name_32 (score1 VARCHAR, opponent VARCHAR)
SELECT score1 FROM table_name_32 WHERE opponent = "hapoel tel aviv"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (score1 VARCHAR, opponent VARCHAR) Question: What was the score against hapoel tel aviv? [/INST] SELECT score1 FROM table_name_32 WHERE opponent = "hapoel tel aviv" </s>
What day did they play cambridge united?
CREATE TABLE table_name_51 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_51 WHERE opponent = "cambridge united"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (date VARCHAR, opponent VARCHAR) Question: What day did they play cambridge united? [/INST] SELECT date FROM table_name_51 WHERE opponent = "cambridge united" </s>
Where was match 8 played?
CREATE TABLE table_name_65 (ground VARCHAR, match VARCHAR)
SELECT ground FROM table_name_65 WHERE match = 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (ground VARCHAR, match VARCHAR) Question: Where was match 8 played? [/INST] SELECT ground FROM table_name_65 WHERE match = 8 </s>
What is the name of the person with a PWin% of .696?
CREATE TABLE table_name_63 (name_ VARCHAR, b_ VARCHAR, Pwin_percentage VARCHAR)
SELECT name_ AS "b_" FROM table_name_63 WHERE Pwin_percentage = 0.696
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (name_ VARCHAR, b_ VARCHAR, Pwin_percentage VARCHAR) Question: What is the name of the person with a PWin% of .696? [/INST] SELECT name_ AS "b_" FROM table_name_63 WHERE Pwin_percentage = 0.696 </s>
What was the method of execution on September 24, 1830?
CREATE TABLE table_name_6 (method VARCHAR, date_of_execution VARCHAR)
SELECT method FROM table_name_6 WHERE date_of_execution = "september 24, 1830"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (method VARCHAR, date_of_execution VARCHAR) Question: What was the method of execution on September 24, 1830? [/INST] SELECT method FROM table_name_6 WHERE date_of_execution = "september 24, 1830" </s>
How was the native american, Wau-Bau-Ne-Me-Mee, executed?
CREATE TABLE table_name_19 (method VARCHAR, race VARCHAR, name VARCHAR)
SELECT method FROM table_name_19 WHERE race = "native american" AND name = "wau-bau-ne-me-mee"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (method VARCHAR, race VARCHAR, name VARCHAR) Question: How was the native american, Wau-Bau-Ne-Me-Mee, executed? [/INST] SELECT method FROM table_name_19 WHERE race = "native american" AND name = "wau-bau-ne-me-mee" </s>
What was the race of the person executed on December 27, 1827?
CREATE TABLE table_name_52 (race VARCHAR, date_of_execution VARCHAR)
SELECT race FROM table_name_52 WHERE date_of_execution = "december 27, 1827"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (race VARCHAR, date_of_execution VARCHAR) Question: What was the race of the person executed on December 27, 1827? [/INST] SELECT race FROM table_name_52 WHERE date_of_execution = "december 27, 1827" </s>
In what way was Kewaubis executed on December 27, 1827?
CREATE TABLE table_name_99 (method VARCHAR, date_of_execution VARCHAR, name VARCHAR)
SELECT method FROM table_name_99 WHERE date_of_execution = "december 27, 1827" AND name = "kewaubis"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (method VARCHAR, date_of_execution VARCHAR, name VARCHAR) Question: In what way was Kewaubis executed on December 27, 1827? [/INST] SELECT method FROM table_name_99 WHERE date_of_execution = "december 27, 1827" AND name = "kewaubis" </s>
How was the native american executed in July 1836?
CREATE TABLE table_name_30 (method VARCHAR, race VARCHAR, date_of_execution VARCHAR)
SELECT method FROM table_name_30 WHERE race = "native american" AND date_of_execution = "july 1836"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (method VARCHAR, race VARCHAR, date_of_execution VARCHAR) Question: How was the native american executed in July 1836? [/INST] SELECT method FROM table_name_30 WHERE race = "native american" AND date_of_execution = "july 1836" </s>
How many draws have 1 win, 1 loss, and a Goal Differential of +1?
CREATE TABLE table_name_85 (draws INTEGER, goal_differential VARCHAR, wins VARCHAR, losses VARCHAR)
SELECT SUM(draws) FROM table_name_85 WHERE wins = 1 AND losses = 1 AND goal_differential = "+1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (draws INTEGER, goal_differential VARCHAR, wins VARCHAR, losses VARCHAR) Question: How many draws have 1 win, 1 loss, and a Goal Differential of +1? [/INST] SELECT SUM(draws) FROM table_name_85 WHERE wins = 1 AND losses = 1 AND goal_differential = "+1" </s>
What genre is Led Zeppelin?
CREATE TABLE table_name_85 (genre VARCHAR, artist VARCHAR)
SELECT genre FROM table_name_85 WHERE artist = "led zeppelin"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (genre VARCHAR, artist VARCHAR) Question: What genre is Led Zeppelin? [/INST] SELECT genre FROM table_name_85 WHERE artist = "led zeppelin" </s>
On what date was the Loss by Flanagan (6-7)?
CREATE TABLE table_name_40 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_40 WHERE loss = "flanagan (6-7)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (date VARCHAR, loss VARCHAR) Question: On what date was the Loss by Flanagan (6-7)? [/INST] SELECT date FROM table_name_40 WHERE loss = "flanagan (6-7)" </s>
During which loss was the record 48-50?
CREATE TABLE table_name_45 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_45 WHERE record = "48-50"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (loss VARCHAR, record VARCHAR) Question: During which loss was the record 48-50? [/INST] SELECT loss FROM table_name_45 WHERE record = "48-50" </s>
What was the score that made the record 47-49?
CREATE TABLE table_name_22 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_22 WHERE record = "47-49"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (score VARCHAR, record VARCHAR) Question: What was the score that made the record 47-49? [/INST] SELECT score FROM table_name_22 WHERE record = "47-49" </s>
Who was the Opponent on July 29?
CREATE TABLE table_name_61 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_61 WHERE date = "july 29"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (opponent VARCHAR, date VARCHAR) Question: Who was the Opponent on July 29? [/INST] SELECT opponent FROM table_name_61 WHERE date = "july 29" </s>
What was the record during the loss by key (7-11)?
CREATE TABLE table_name_27 (record VARCHAR, loss VARCHAR)
SELECT record FROM table_name_27 WHERE loss = "key (7-11)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (record VARCHAR, loss VARCHAR) Question: What was the record during the loss by key (7-11)? [/INST] SELECT record FROM table_name_27 WHERE loss = "key (7-11)" </s>
What is the total diagram for builder york?
CREATE TABLE table_name_2 (diagram INTEGER, builder VARCHAR)
SELECT SUM(diagram) FROM table_name_2 WHERE builder = "york"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (diagram INTEGER, builder VARCHAR) Question: What is the total diagram for builder york? [/INST] SELECT SUM(diagram) FROM table_name_2 WHERE builder = "york" </s>
What fleet numbers have a diagram less than 99 and built in 1960?
CREATE TABLE table_name_68 (fleet_numbers VARCHAR, diagram VARCHAR, built VARCHAR)
SELECT fleet_numbers FROM table_name_68 WHERE diagram < 99 AND built = "1960"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (fleet_numbers VARCHAR, diagram VARCHAR, built VARCHAR) Question: What fleet numbers have a diagram less than 99 and built in 1960? [/INST] SELECT fleet_numbers FROM table_name_68 WHERE diagram < 99 AND built = "1960" </s>
What diagram built in 1962 has a lot number smaller than 30702?
CREATE TABLE table_name_4 (diagram INTEGER, built VARCHAR, lot_no VARCHAR)
SELECT MIN(diagram) FROM table_name_4 WHERE built = "1962" AND lot_no < 30702
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (diagram INTEGER, built VARCHAR, lot_no VARCHAR) Question: What diagram built in 1962 has a lot number smaller than 30702? [/INST] SELECT MIN(diagram) FROM table_name_4 WHERE built = "1962" AND lot_no < 30702 </s>
What builder has lot number 30702?
CREATE TABLE table_name_44 (builder VARCHAR, lot_no VARCHAR)
SELECT builder FROM table_name_44 WHERE lot_no = 30702
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (builder VARCHAR, lot_no VARCHAR) Question: What builder has lot number 30702? [/INST] SELECT builder FROM table_name_44 WHERE lot_no = 30702 </s>
Which Genre has a Year before 2013, and a Name of kikumana?
CREATE TABLE table_name_92 (genre VARCHAR, year VARCHAR, name VARCHAR)
SELECT genre FROM table_name_92 WHERE year < 2013 AND name = "kikumana"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (genre VARCHAR, year VARCHAR, name VARCHAR) Question: Which Genre has a Year before 2013, and a Name of kikumana? [/INST] SELECT genre FROM table_name_92 WHERE year < 2013 AND name = "kikumana" </s>
In what year has a Post of designer?
CREATE TABLE table_name_91 (year INTEGER, post VARCHAR)
SELECT SUM(year) FROM table_name_91 WHERE post = "designer"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (year INTEGER, post VARCHAR) Question: In what year has a Post of designer? [/INST] SELECT SUM(year) FROM table_name_91 WHERE post = "designer" </s>
Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15?
CREATE TABLE table_name_97 (visitor VARCHAR, home VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_97 WHERE home = "boston bruins" AND date = "november 15"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (visitor VARCHAR, home VARCHAR, date VARCHAR) Question: Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15? [/INST] SELECT visitor FROM table_name_97 WHERE home = "boston bruins" AND date = "november 15" </s>
Which Visitor is listed as having a Date of December 17?
CREATE TABLE table_name_13 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_13 WHERE date = "december 17"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (visitor VARCHAR, date VARCHAR) Question: Which Visitor is listed as having a Date of December 17? [/INST] SELECT visitor FROM table_name_13 WHERE date = "december 17" </s>
What's the Score with the Visitor of Montreal Maroons and has a Date of December 28?
CREATE TABLE table_name_45 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT score FROM table_name_45 WHERE visitor = "montreal maroons" AND date = "december 28"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (score VARCHAR, visitor VARCHAR, date VARCHAR) Question: What's the Score with the Visitor of Montreal Maroons and has a Date of December 28? [/INST] SELECT score FROM table_name_45 WHERE visitor = "montreal maroons" AND date = "december 28" </s>
What's the attendance of the san diego chargers game before week 6?
CREATE TABLE table_name_97 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT COUNT(attendance) FROM table_name_97 WHERE week < 6 AND opponent = "san diego chargers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (attendance VARCHAR, week VARCHAR, opponent VARCHAR) Question: What's the attendance of the san diego chargers game before week 6? [/INST] SELECT COUNT(attendance) FROM table_name_97 WHERE week < 6 AND opponent = "san diego chargers" </s>
How many wins have a Top-25 of 1, Less than 2 cuts, and fewer than 5 events?
CREATE TABLE table_name_97 (wins VARCHAR, events VARCHAR, top_25 VARCHAR, cuts_made VARCHAR)
SELECT COUNT(wins) FROM table_name_97 WHERE top_25 = 1 AND cuts_made < 2 AND events < 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (wins VARCHAR, events VARCHAR, top_25 VARCHAR, cuts_made VARCHAR) Question: How many wins have a Top-25 of 1, Less than 2 cuts, and fewer than 5 events? [/INST] SELECT COUNT(wins) FROM table_name_97 WHERE top_25 = 1 AND cuts_made < 2 AND events < 5 </s>
How many events have a Top-25 of 1 and made less than 1 cut?
CREATE TABLE table_name_38 (events INTEGER, top_25 VARCHAR, cuts_made VARCHAR)
SELECT MAX(events) FROM table_name_38 WHERE top_25 = 1 AND cuts_made < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (events INTEGER, top_25 VARCHAR, cuts_made VARCHAR) Question: How many events have a Top-25 of 1 and made less than 1 cut? [/INST] SELECT MAX(events) FROM table_name_38 WHERE top_25 = 1 AND cuts_made < 1 </s>
During the PGA Championship, what's the lowest amount of events with wins greater than 0?
CREATE TABLE table_name_10 (events INTEGER, tournament VARCHAR, wins VARCHAR)
SELECT MIN(events) FROM table_name_10 WHERE tournament = "pga championship" AND wins > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (events INTEGER, tournament VARCHAR, wins VARCHAR) Question: During the PGA Championship, what's the lowest amount of events with wins greater than 0? [/INST] SELECT MIN(events) FROM table_name_10 WHERE tournament = "pga championship" AND wins > 0 </s>
What's the lowest number of cuts made while the win was less than 0?
CREATE TABLE table_name_65 (cuts_made INTEGER, wins INTEGER)
SELECT MIN(cuts_made) FROM table_name_65 WHERE wins < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (cuts_made INTEGER, wins INTEGER) Question: What's the lowest number of cuts made while the win was less than 0? [/INST] SELECT MIN(cuts_made) FROM table_name_65 WHERE wins < 0 </s>
Which Reactortype has a gross capacity of 417 mw and an Electricity Grid of 27.12.1971?
CREATE TABLE table_name_64 (reactortype VARCHAR, gross_capacity VARCHAR, electricity_grid VARCHAR)
SELECT reactortype FROM table_name_64 WHERE gross_capacity = "417 mw" AND electricity_grid = "27.12.1971"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (reactortype VARCHAR, gross_capacity VARCHAR, electricity_grid VARCHAR) Question: Which Reactortype has a gross capacity of 417 mw and an Electricity Grid of 27.12.1971? [/INST] SELECT reactortype FROM table_name_64 WHERE gross_capacity = "417 mw" AND electricity_grid = "27.12.1971" </s>
Which Unit's Construction started on 01.07.1967?
CREATE TABLE table_name_61 (unit VARCHAR, construction_started VARCHAR)
SELECT unit FROM table_name_61 WHERE construction_started = "01.07.1967"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (unit VARCHAR, construction_started VARCHAR) Question: Which Unit's Construction started on 01.07.1967? [/INST] SELECT unit FROM table_name_61 WHERE construction_started = "01.07.1967" </s>
Which Commercial Operation has both a Gross Capacity of 417 mw and an Electricity Grid 27.12.1971?
CREATE TABLE table_name_48 (commercial_operation VARCHAR, gross_capacity VARCHAR, electricity_grid VARCHAR)
SELECT commercial_operation FROM table_name_48 WHERE gross_capacity = "417 mw" AND electricity_grid = "27.12.1971"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (commercial_operation VARCHAR, gross_capacity VARCHAR, electricity_grid VARCHAR) Question: Which Commercial Operation has both a Gross Capacity of 417 mw and an Electricity Grid 27.12.1971? [/INST] SELECT commercial_operation FROM table_name_48 WHERE gross_capacity = "417 mw" AND electricity_grid = "27.12.1971" </s>
When did the Electricity Grid 28.12.1972 officially shutdown?
CREATE TABLE table_name_26 (shutdown VARCHAR, electricity_grid VARCHAR)
SELECT shutdown FROM table_name_26 WHERE electricity_grid = "28.12.1972"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (shutdown VARCHAR, electricity_grid VARCHAR) Question: When did the Electricity Grid 28.12.1972 officially shutdown? [/INST] SELECT shutdown FROM table_name_26 WHERE electricity_grid = "28.12.1972" </s>
Which Electricity Grid started its Commercial Operation of 24.03.1973?
CREATE TABLE table_name_17 (electricity_grid VARCHAR, commercial_operation VARCHAR)
SELECT electricity_grid FROM table_name_17 WHERE commercial_operation = "24.03.1973"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (electricity_grid VARCHAR, commercial_operation VARCHAR) Question: Which Electricity Grid started its Commercial Operation of 24.03.1973? [/INST] SELECT electricity_grid FROM table_name_17 WHERE commercial_operation = "24.03.1973" </s>
Tell what has the App(GS/Sub) of 14 (8/6)
CREATE TABLE table_name_70 (name VARCHAR, app_gs_sub_ VARCHAR)
SELECT name FROM table_name_70 WHERE app_gs_sub_ = "14 (8/6)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (name VARCHAR, app_gs_sub_ VARCHAR) Question: Tell what has the App(GS/Sub) of 14 (8/6) [/INST] SELECT name FROM table_name_70 WHERE app_gs_sub_ = "14 (8/6)" </s>
Name the goals with since less than 2007 and App(GS/Sub) of 97 (69/28)
CREATE TABLE table_name_57 (goals VARCHAR, since VARCHAR, app_gs_sub_ VARCHAR)
SELECT goals FROM table_name_57 WHERE since < 2007 AND app_gs_sub_ = "97 (69/28)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (goals VARCHAR, since VARCHAR, app_gs_sub_ VARCHAR) Question: Name the goals with since less than 2007 and App(GS/Sub) of 97 (69/28) [/INST] SELECT goals FROM table_name_57 WHERE since < 2007 AND app_gs_sub_ = "97 (69/28)" </s>
When is Cadott Rock Fest taken place?
CREATE TABLE table_name_65 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_65 WHERE venue = "cadott rock fest"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (date VARCHAR, venue VARCHAR) Question: When is Cadott Rock Fest taken place? [/INST] SELECT date FROM table_name_65 WHERE venue = "cadott rock fest" </s>
Which City has mandalay bay resort
CREATE TABLE table_name_29 (city VARCHAR, venue VARCHAR)
SELECT city FROM table_name_29 WHERE venue = "mandalay bay resort"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (city VARCHAR, venue VARCHAR) Question: Which City has mandalay bay resort [/INST] SELECT city FROM table_name_29 WHERE venue = "mandalay bay resort" </s>
Which City has a Date on october 26, 2007
CREATE TABLE table_name_70 (city VARCHAR, date VARCHAR)
SELECT city FROM table_name_70 WHERE date = "october 26, 2007"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (city VARCHAR, date VARCHAR) Question: Which City has a Date on october 26, 2007 [/INST] SELECT city FROM table_name_70 WHERE date = "october 26, 2007" </s>
Which Attendance has Mandalay Bay Resort
CREATE TABLE table_name_75 (attendance VARCHAR, venue VARCHAR)
SELECT attendance FROM table_name_75 WHERE venue = "mandalay bay resort"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (attendance VARCHAR, venue VARCHAR) Question: Which Attendance has Mandalay Bay Resort [/INST] SELECT attendance FROM table_name_75 WHERE venue = "mandalay bay resort" </s>
When is Country of united states, and a Venue of mandalay bay resort in?
CREATE TABLE table_name_22 (date VARCHAR, country VARCHAR, venue VARCHAR)
SELECT date FROM table_name_22 WHERE country = "united states" AND venue = "mandalay bay resort"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (date VARCHAR, country VARCHAR, venue VARCHAR) Question: When is Country of united states, and a Venue of mandalay bay resort in? [/INST] SELECT date FROM table_name_22 WHERE country = "united states" AND venue = "mandalay bay resort" </s>
When has a City of san jacinto, california?
CREATE TABLE table_name_63 (date VARCHAR, city VARCHAR)
SELECT date FROM table_name_63 WHERE city = "san jacinto, california"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (date VARCHAR, city VARCHAR) Question: When has a City of san jacinto, california? [/INST] SELECT date FROM table_name_63 WHERE city = "san jacinto, california" </s>
Which Chassis has more than 0 points, an Entrant of Scuderia Ferrari, and was later than 1952?
CREATE TABLE table_name_37 (chassis VARCHAR, year VARCHAR, points VARCHAR, entrant VARCHAR)
SELECT chassis FROM table_name_37 WHERE points > 0 AND entrant = "scuderia ferrari" AND year > 1952
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (chassis VARCHAR, year VARCHAR, points VARCHAR, entrant VARCHAR) Question: Which Chassis has more than 0 points, an Entrant of Scuderia Ferrari, and was later than 1952? [/INST] SELECT chassis FROM table_name_37 WHERE points > 0 AND entrant = "scuderia ferrari" AND year > 1952 </s>
Which Entrant has a vanwall straight-4 engine?
CREATE TABLE table_name_47 (entrant VARCHAR, engine VARCHAR)
SELECT entrant FROM table_name_47 WHERE engine = "vanwall straight-4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (entrant VARCHAR, engine VARCHAR) Question: Which Entrant has a vanwall straight-4 engine? [/INST] SELECT entrant FROM table_name_47 WHERE engine = "vanwall straight-4" </s>
Which region has a date of 1970?
CREATE TABLE table_name_58 (region VARCHAR, date VARCHAR)
SELECT region FROM table_name_58 WHERE date = "1970"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (region VARCHAR, date VARCHAR) Question: Which region has a date of 1970? [/INST] SELECT region FROM table_name_58 WHERE date = "1970" </s>
Which label has a date of 1987?
CREATE TABLE table_name_52 (label VARCHAR, date VARCHAR)
SELECT label FROM table_name_52 WHERE date = "1987"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (label VARCHAR, date VARCHAR) Question: Which label has a date of 1987? [/INST] SELECT label FROM table_name_52 WHERE date = "1987" </s>
Which catalogue has a formate of "CD Remastered with 3 bonus tracks"?
CREATE TABLE table_name_39 (catalogue VARCHAR, format VARCHAR)
SELECT catalogue FROM table_name_39 WHERE format = "cd remastered with 3 bonus tracks"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (catalogue VARCHAR, format VARCHAR) Question: Which catalogue has a formate of "CD Remastered with 3 bonus tracks"? [/INST] SELECT catalogue FROM table_name_39 WHERE format = "cd remastered with 3 bonus tracks" </s>
Which catalogue has a date of 1987?
CREATE TABLE table_name_63 (catalogue VARCHAR, date VARCHAR)
SELECT catalogue FROM table_name_63 WHERE date = "1987"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (catalogue VARCHAR, date VARCHAR) Question: Which catalogue has a date of 1987? [/INST] SELECT catalogue FROM table_name_63 WHERE date = "1987" </s>
What is the latest season where Al Ahly is the runners-up?
CREATE TABLE table_name_94 (season INTEGER, runners_up VARCHAR)
SELECT MAX(season) FROM table_name_94 WHERE runners_up = "al ahly"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (season INTEGER, runners_up VARCHAR) Question: What is the latest season where Al Ahly is the runners-up? [/INST] SELECT MAX(season) FROM table_name_94 WHERE runners_up = "al ahly" </s>
What is the season where Vasco da gama is the score?
CREATE TABLE table_name_87 (season VARCHAR, score VARCHAR)
SELECT season FROM table_name_87 WHERE score = "vasco da gama"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (season VARCHAR, score VARCHAR) Question: What is the season where Vasco da gama is the score? [/INST] SELECT season FROM table_name_87 WHERE score = "vasco da gama" </s>
Who is the winner in 2010?
CREATE TABLE table_name_92 (winners VARCHAR, season VARCHAR)
SELECT winners FROM table_name_92 WHERE season = 2010
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (winners VARCHAR, season VARCHAR) Question: Who is the winner in 2010? [/INST] SELECT winners FROM table_name_92 WHERE season = 2010 </s>
Who is the winner in 2011?
CREATE TABLE table_name_30 (winners VARCHAR, season VARCHAR)
SELECT winners FROM table_name_30 WHERE season = 2011
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (winners VARCHAR, season VARCHAR) Question: Who is the winner in 2011? [/INST] SELECT winners FROM table_name_30 WHERE season = 2011 </s>
What was the third place of the performance in 2006 with the host Japan?
CREATE TABLE table_name_79 (third_place VARCHAR, host VARCHAR, season VARCHAR)
SELECT third_place FROM table_name_79 WHERE host = "japan" AND season < 2006
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (third_place VARCHAR, host VARCHAR, season VARCHAR) Question: What was the third place of the performance in 2006 with the host Japan? [/INST] SELECT third_place FROM table_name_79 WHERE host = "japan" AND season < 2006 </s>
Which round did Dundee United end in?
CREATE TABLE table_name_11 (round VARCHAR, club VARCHAR)
SELECT round FROM table_name_11 WHERE club = "dundee united"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (round VARCHAR, club VARCHAR) Question: Which round did Dundee United end in? [/INST] SELECT round FROM table_name_11 WHERE club = "dundee united" </s>
Name the event with pursuit of 18th and sprint of 20th
CREATE TABLE table_name_25 (event VARCHAR, pursuit VARCHAR, sprint VARCHAR)
SELECT event FROM table_name_25 WHERE pursuit = "18th" AND sprint = "20th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (event VARCHAR, pursuit VARCHAR, sprint VARCHAR) Question: Name the event with pursuit of 18th and sprint of 20th [/INST] SELECT event FROM table_name_25 WHERE pursuit = "18th" AND sprint = "20th" </s>
Name the pursuit for 1994 lillehammer
CREATE TABLE table_name_43 (pursuit VARCHAR, event VARCHAR)
SELECT pursuit FROM table_name_43 WHERE event = "1994 lillehammer"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (pursuit VARCHAR, event VARCHAR) Question: Name the pursuit for 1994 lillehammer [/INST] SELECT pursuit FROM table_name_43 WHERE event = "1994 lillehammer" </s>
Name the sprint with mass start of 2nd
CREATE TABLE table_name_28 (sprint VARCHAR, mass_start VARCHAR)
SELECT sprint FROM table_name_28 WHERE mass_start = "2nd"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (sprint VARCHAR, mass_start VARCHAR) Question: Name the sprint with mass start of 2nd [/INST] SELECT sprint FROM table_name_28 WHERE mass_start = "2nd" </s>
What country had a film in 1993?
CREATE TABLE table_name_31 (country VARCHAR, year VARCHAR)
SELECT country FROM table_name_31 WHERE year = 1993
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (country VARCHAR, year VARCHAR) Question: What country had a film in 1993? [/INST] SELECT country FROM table_name_31 WHERE year = 1993 </s>
Where was Extreme Challenge 63 with a time of 2:00 held?
CREATE TABLE table_name_16 (location VARCHAR, event VARCHAR, time VARCHAR)
SELECT location FROM table_name_16 WHERE event = "extreme challenge 63" AND time = "2:00"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (location VARCHAR, event VARCHAR, time VARCHAR) Question: Where was Extreme Challenge 63 with a time of 2:00 held? [/INST] SELECT location FROM table_name_16 WHERE event = "extreme challenge 63" AND time = "2:00" </s>
How many total rounds were there at UFC 114?
CREATE TABLE table_name_30 (round VARCHAR, event VARCHAR)
SELECT COUNT(round) FROM table_name_30 WHERE event = "ufc 114"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (round VARCHAR, event VARCHAR) Question: How many total rounds were there at UFC 114? [/INST] SELECT COUNT(round) FROM table_name_30 WHERE event = "ufc 114" </s>
In the round that lasted 0:20, what was the Res?
CREATE TABLE table_name_1 (res VARCHAR, time VARCHAR)
SELECT res FROM table_name_1 WHERE time = "0:20"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (res VARCHAR, time VARCHAR) Question: In the round that lasted 0:20, what was the Res? [/INST] SELECT res FROM table_name_1 WHERE time = "0:20" </s>
In what City was the Ept Baden Classic?
CREATE TABLE table_name_94 (city VARCHAR, event VARCHAR)
SELECT city FROM table_name_94 WHERE event = "ept baden classic"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (city VARCHAR, event VARCHAR) Question: In what City was the Ept Baden Classic? [/INST] SELECT city FROM table_name_94 WHERE event = "ept baden classic" </s>
What Event has a Prize of €869,000?
CREATE TABLE table_name_77 (event VARCHAR, prize VARCHAR)
SELECT event FROM table_name_77 WHERE prize = "€869,000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (event VARCHAR, prize VARCHAR) Question: What Event has a Prize of €869,000? [/INST] SELECT event FROM table_name_77 WHERE prize = "€869,000" </s>
What Winner had a Prize of zł2,153,999?
CREATE TABLE table_name_22 (winner VARCHAR, prize VARCHAR)
SELECT winner FROM table_name_22 WHERE prize = "zł2,153,999"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (winner VARCHAR, prize VARCHAR) Question: What Winner had a Prize of zł2,153,999? [/INST] SELECT winner FROM table_name_22 WHERE prize = "zł2,153,999" </s>
How many decile has a roll less than 20?
CREATE TABLE table_name_6 (decile INTEGER, roll INTEGER)
SELECT AVG(decile) FROM table_name_6 WHERE roll < 20
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (decile INTEGER, roll INTEGER) Question: How many decile has a roll less than 20? [/INST] SELECT AVG(decile) FROM table_name_6 WHERE roll < 20 </s>
Which gender had a roll of 627?
CREATE TABLE table_name_62 (gender VARCHAR, roll VARCHAR)
SELECT gender FROM table_name_62 WHERE roll = 627
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (gender VARCHAR, roll VARCHAR) Question: Which gender had a roll of 627? [/INST] SELECT gender FROM table_name_62 WHERE roll = 627 </s>
Glenorchy school has a decile less than 10 and is in what area?
CREATE TABLE table_name_11 (area VARCHAR, decile VARCHAR, name VARCHAR)
SELECT area FROM table_name_11 WHERE decile < 10 AND name = "glenorchy school"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (area VARCHAR, decile VARCHAR, name VARCHAR) Question: Glenorchy school has a decile less than 10 and is in what area? [/INST] SELECT area FROM table_name_11 WHERE decile < 10 AND name = "glenorchy school" </s>
Makarora primary school has a roll less than 141 and what gender?
CREATE TABLE table_name_24 (gender VARCHAR, roll VARCHAR, name VARCHAR)
SELECT gender FROM table_name_24 WHERE roll < 141 AND name = "makarora primary school"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (gender VARCHAR, roll VARCHAR, name VARCHAR) Question: Makarora primary school has a roll less than 141 and what gender? [/INST] SELECT gender FROM table_name_24 WHERE roll < 141 AND name = "makarora primary school" </s>
In what season did the Sporting CP Club have a 1. round?
CREATE TABLE table_name_78 (season VARCHAR, round VARCHAR, club VARCHAR)
SELECT season FROM table_name_78 WHERE round = "1. round" AND club = "sporting cp"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (season VARCHAR, round VARCHAR, club VARCHAR) Question: In what season did the Sporting CP Club have a 1. round? [/INST] SELECT season FROM table_name_78 WHERE round = "1. round" AND club = "sporting cp" </s>
The Club of Ekranas was an away with a score of what?
CREATE TABLE table_name_28 (away VARCHAR, club VARCHAR)
SELECT away FROM table_name_28 WHERE club = "ekranas"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (away VARCHAR, club VARCHAR) Question: The Club of Ekranas was an away with a score of what? [/INST] SELECT away FROM table_name_28 WHERE club = "ekranas" </s>
What is Rhiannon Leier's lane?
CREATE TABLE table_name_22 (lane VARCHAR, name VARCHAR)
SELECT lane FROM table_name_22 WHERE name = "rhiannon leier"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (lane VARCHAR, name VARCHAR) Question: What is Rhiannon Leier's lane? [/INST] SELECT lane FROM table_name_22 WHERE name = "rhiannon leier" </s>
What pennant does Narbada have?
CREATE TABLE table_name_13 (pennant VARCHAR, name VARCHAR)
SELECT pennant FROM table_name_13 WHERE name = "narbada"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (pennant VARCHAR, name VARCHAR) Question: What pennant does Narbada have? [/INST] SELECT pennant FROM table_name_13 WHERE name = "narbada" </s>
What date was the U21 pennant laid down?
CREATE TABLE table_name_26 (laid_down VARCHAR, pennant VARCHAR)
SELECT laid_down FROM table_name_26 WHERE pennant = "u21"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (laid_down VARCHAR, pennant VARCHAR) Question: What date was the U21 pennant laid down? [/INST] SELECT laid_down FROM table_name_26 WHERE pennant = "u21" </s>
What position went lower than 106 from the College of Virginia?
CREATE TABLE table_name_10 (position VARCHAR, overall VARCHAR, college VARCHAR)
SELECT position FROM table_name_10 WHERE overall < 106 AND college = "virginia"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (position VARCHAR, overall VARCHAR, college VARCHAR) Question: What position went lower than 106 from the College of Virginia? [/INST] SELECT position FROM table_name_10 WHERE overall < 106 AND college = "virginia" </s>
What is the lowest round a fullback went in?
CREATE TABLE table_name_17 (round INTEGER, position VARCHAR)
SELECT MIN(round) FROM table_name_17 WHERE position = "fullback"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (round INTEGER, position VARCHAR) Question: What is the lowest round a fullback went in? [/INST] SELECT MIN(round) FROM table_name_17 WHERE position = "fullback" </s>
Name the province with rank more than 49
CREATE TABLE table_name_6 (province VARCHAR, rank INTEGER)
SELECT province FROM table_name_6 WHERE rank > 49
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (province VARCHAR, rank INTEGER) Question: Name the province with rank more than 49 [/INST] SELECT province FROM table_name_6 WHERE rank > 49 </s>
Name the mountain peak with location of 46.7000°n 60.5992°w
CREATE TABLE table_name_17 (mountain_peak VARCHAR, location VARCHAR)
SELECT mountain_peak FROM table_name_17 WHERE location = "46.7000°n 60.5992°w"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (mountain_peak VARCHAR, location VARCHAR) Question: Name the mountain peak with location of 46.7000°n 60.5992°w [/INST] SELECT mountain_peak FROM table_name_17 WHERE location = "46.7000°n 60.5992°w" </s>
Name the mountain peak with rank less than 6 abd location of 81.9083°n 75.0250°w
CREATE TABLE table_name_16 (mountain_peak VARCHAR, rank VARCHAR, location VARCHAR)
SELECT mountain_peak FROM table_name_16 WHERE rank < 6 AND location = "81.9083°n 75.0250°w"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (mountain_peak VARCHAR, rank VARCHAR, location VARCHAR) Question: Name the mountain peak with rank less than 6 abd location of 81.9083°n 75.0250°w [/INST] SELECT mountain_peak FROM table_name_16 WHERE rank < 6 AND location = "81.9083°n 75.0250°w" </s>
Name the mountain range for nunavut with location of 73.2294°n 78.6233°w
CREATE TABLE table_name_26 (mountain_range VARCHAR, province VARCHAR, location VARCHAR)
SELECT mountain_range FROM table_name_26 WHERE province = "nunavut" AND location = "73.2294°n 78.6233°w"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (mountain_range VARCHAR, province VARCHAR, location VARCHAR) Question: Name the mountain range for nunavut with location of 73.2294°n 78.6233°w [/INST] SELECT mountain_range FROM table_name_26 WHERE province = "nunavut" AND location = "73.2294°n 78.6233°w" </s>
Name the mountain peak of 49 rank
CREATE TABLE table_name_67 (mountain_peak VARCHAR, rank VARCHAR)
SELECT mountain_peak FROM table_name_67 WHERE rank = 49
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (mountain_peak VARCHAR, rank VARCHAR) Question: Name the mountain peak of 49 rank [/INST] SELECT mountain_peak FROM table_name_67 WHERE rank = 49 </s>
What is the total number of live births in 2006 with 98.40% of the population as Whites and has more than 2 for the TFR?
CREATE TABLE table_name_94 (live_births_2006 INTEGER, whites_as__percentage_of_pop VARCHAR, tfr_2006 VARCHAR)
SELECT SUM(live_births_2006) FROM table_name_94 WHERE whites_as__percentage_of_pop = "98.40%" AND tfr_2006 > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (live_births_2006 INTEGER, whites_as__percentage_of_pop VARCHAR, tfr_2006 VARCHAR) Question: What is the total number of live births in 2006 with 98.40% of the population as Whites and has more than 2 for the TFR? [/INST] SELECT SUM(live_births_2006) FROM table_name_94 WHERE whites_as__percentage_of_pop = "98.40%" AND tfr_2006 > 2 </s>
What is the lowest total GFR that has 95.80% of the population as Whites, and a TFR total larger than 2.14, in 2006?
CREATE TABLE table_name_64 (gfr_2006 INTEGER, whites_as__percentage_of_pop VARCHAR, tfr_2006 VARCHAR)
SELECT MIN(gfr_2006) FROM table_name_64 WHERE whites_as__percentage_of_pop = "95.80%" AND tfr_2006 > 2.14
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (gfr_2006 INTEGER, whites_as__percentage_of_pop VARCHAR, tfr_2006 VARCHAR) Question: What is the lowest total GFR that has 95.80% of the population as Whites, and a TFR total larger than 2.14, in 2006? [/INST] SELECT MIN(gfr_2006) FROM table_name_64 WHERE whites_as__percentage_of_pop = "95.80%" AND tfr_2006 > 2.14 </s>