instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
What was the 2011 gross revenue for the venue that had a gross revenue of $156,315 in 1982?
CREATE TABLE table_name_78 (gross_revenue__2011_ VARCHAR, gross_revenue__1982_ VARCHAR)
SELECT gross_revenue__2011_ FROM table_name_78 WHERE gross_revenue__1982_ = "$156,315"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (gross_revenue__2011_ VARCHAR, gross_revenue__1982_ VARCHAR) Question: What was the 2011 gross revenue for the venue that had a gross revenue of $156,315 in 1982? [/INST] SELECT gross_revenue__2011_ FROM table_name_78 WHERE gross_revenue__1982_ = "$156,315" </s>
What was the 2011 gross revenue for the venue that had a gross revenue of $156,315 in 1982?
CREATE TABLE table_name_6 (gross_revenue__2011_ VARCHAR, gross_revenue__1982_ VARCHAR)
SELECT gross_revenue__2011_ FROM table_name_6 WHERE gross_revenue__1982_ = "$156,315"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (gross_revenue__2011_ VARCHAR, gross_revenue__1982_ VARCHAR) Question: What was the 2011 gross revenue for the venue that had a gross revenue of $156,315 in 1982? [/INST] SELECT gross_revenue__2011_ FROM table_name_6 WHERE gross_revenue__1982_ = "$156,315" </s>
How many tickets were sold / available for the venue that had a gross revenue of $333,100 in 2011?
CREATE TABLE table_name_51 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR)
SELECT tickets_sold___available FROM table_name_51 WHERE gross_revenue__2011_ = "$333,100"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR) Question: How many tickets were sold / available for the venue that had a gross revenue of $333,100 in 2011? [/INST] SELECT tickets_sold___available FROM table_name_51 WHERE gross_revenue__2011_ = "$333,100" </s>
What is the venue in the city of Brussels, Belgium?
CREATE TABLE table_name_54 (venue VARCHAR, city VARCHAR)
SELECT venue FROM table_name_54 WHERE city = "brussels, belgium"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (venue VARCHAR, city VARCHAR) Question: What is the venue in the city of Brussels, Belgium? [/INST] SELECT venue FROM table_name_54 WHERE city = "brussels, belgium" </s>
What venue had gross revenues of $1,325,153 in 2011?
CREATE TABLE table_name_84 (venue VARCHAR, gross_revenue__2011_ VARCHAR)
SELECT venue FROM table_name_84 WHERE gross_revenue__2011_ = "$1,325,153"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (venue VARCHAR, gross_revenue__2011_ VARCHAR) Question: What venue had gross revenues of $1,325,153 in 2011? [/INST] SELECT venue FROM table_name_84 WHERE gross_revenue__2011_ = "$1,325,153" </s>
What is the sum of people in the total region when more than 5,060 were in Mt. Morgan?
CREATE TABLE table_name_90 (total_region INTEGER, mt_morgan INTEGER)
SELECT SUM(total_region) FROM table_name_90 WHERE mt_morgan > 5 OFFSET 060 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (total_region INTEGER, mt_morgan INTEGER) Question: What is the sum of people in the total region when more than 5,060 were in Mt. Morgan? [/INST] SELECT SUM(total_region) FROM table_name_90 WHERE mt_morgan > 5 OFFSET 060 ROWS </s>
What is the total swimsuit with Preliminaries smaller than 8.27?
CREATE TABLE table_name_48 (swimsuit INTEGER, preliminaries INTEGER)
SELECT SUM(swimsuit) FROM table_name_48 WHERE preliminaries < 8.27
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (swimsuit INTEGER, preliminaries INTEGER) Question: What is the total swimsuit with Preliminaries smaller than 8.27? [/INST] SELECT SUM(swimsuit) FROM table_name_48 WHERE preliminaries < 8.27 </s>
What's the average interview with Preliminaries larger than 8.27, an Evening Gown of 8.85, and an Average smaller than 8.842?
CREATE TABLE table_name_65 (interview INTEGER, average VARCHAR, preliminaries VARCHAR, evening_gown VARCHAR)
SELECT AVG(interview) FROM table_name_65 WHERE preliminaries > 8.27 AND evening_gown = 8.85 AND average < 8.842
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (interview INTEGER, average VARCHAR, preliminaries VARCHAR, evening_gown VARCHAR) Question: What's the average interview with Preliminaries larger than 8.27, an Evening Gown of 8.85, and an Average smaller than 8.842? [/INST] SELECT AVG(interview) FROM table_name_65 WHERE preliminaries > 8.27 AND evening_gown = 8.85 AND average < 8.842 </s>
How many swimsuits have an Evening Gown larger than 9, and an Interview larger than 8.405?
CREATE TABLE table_name_32 (swimsuit VARCHAR, evening_gown VARCHAR, interview VARCHAR)
SELECT COUNT(swimsuit) FROM table_name_32 WHERE evening_gown > 9 AND interview > 8.405
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (swimsuit VARCHAR, evening_gown VARCHAR, interview VARCHAR) Question: How many swimsuits have an Evening Gown larger than 9, and an Interview larger than 8.405? [/INST] SELECT COUNT(swimsuit) FROM table_name_32 WHERE evening_gown > 9 AND interview > 8.405 </s>
What is the 2000 population in OK with a 1990-2000 percent change of A078 +17.22%?
CREATE TABLE table_name_71 (state_s_ VARCHAR, percent_change__1990_2000_ VARCHAR)
SELECT 2000 AS _population FROM table_name_71 WHERE state_s_ = "ok" AND percent_change__1990_2000_ = "a078 +17.22%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (state_s_ VARCHAR, percent_change__1990_2000_ VARCHAR) Question: What is the 2000 population in OK with a 1990-2000 percent change of A078 +17.22%? [/INST] SELECT 2000 AS _population FROM table_name_71 WHERE state_s_ = "ok" AND percent_change__1990_2000_ = "a078 +17.22%" </s>
How many matches did goalkeeper Wilfredo Caballero have an average less than 1.11?
CREATE TABLE table_name_74 (matches INTEGER, goalkeeper VARCHAR, average VARCHAR)
SELECT SUM(matches) FROM table_name_74 WHERE goalkeeper = "wilfredo caballero" AND average < 1.11
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (matches INTEGER, goalkeeper VARCHAR, average VARCHAR) Question: How many matches did goalkeeper Wilfredo Caballero have an average less than 1.11? [/INST] SELECT SUM(matches) FROM table_name_74 WHERE goalkeeper = "wilfredo caballero" AND average < 1.11 </s>
What is the average goals less than 41 that goalkeeper Claudio Bravo had?
CREATE TABLE table_name_85 (average VARCHAR, goals VARCHAR, goalkeeper VARCHAR)
SELECT COUNT(average) FROM table_name_85 WHERE goals < 41 AND goalkeeper = "claudio bravo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (average VARCHAR, goals VARCHAR, goalkeeper VARCHAR) Question: What is the average goals less than 41 that goalkeeper Claudio Bravo had? [/INST] SELECT COUNT(average) FROM table_name_85 WHERE goals < 41 AND goalkeeper = "claudio bravo" </s>
What is the highest average of goals less than 45 for team Real Sociedad?
CREATE TABLE table_name_3 (average INTEGER, goals VARCHAR, team VARCHAR)
SELECT MAX(average) FROM table_name_3 WHERE goals < 45 AND team = "real sociedad"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (average INTEGER, goals VARCHAR, team VARCHAR) Question: What is the highest average of goals less than 45 for team Real Sociedad? [/INST] SELECT MAX(average) FROM table_name_3 WHERE goals < 45 AND team = "real sociedad" </s>
When did the person born on 3 May 1446 cease to be countess?
CREATE TABLE table_name_19 (ceased_to_be_countess VARCHAR, birth VARCHAR)
SELECT ceased_to_be_countess FROM table_name_19 WHERE birth = "3 may 1446"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (ceased_to_be_countess VARCHAR, birth VARCHAR) Question: When did the person born on 3 May 1446 cease to be countess? [/INST] SELECT ceased_to_be_countess FROM table_name_19 WHERE birth = "3 may 1446" </s>
Who was the father of the person born in 1363?
CREATE TABLE table_name_97 (father VARCHAR, birth VARCHAR)
SELECT father FROM table_name_97 WHERE birth = "1363"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (father VARCHAR, birth VARCHAR) Question: Who was the father of the person born in 1363? [/INST] SELECT father FROM table_name_97 WHERE birth = "1363" </s>
When was the marriage of the person who died on 17 December 1471?
CREATE TABLE table_name_90 (marriage VARCHAR, death VARCHAR)
SELECT marriage FROM table_name_90 WHERE death = "17 december 1471"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (marriage VARCHAR, death VARCHAR) Question: When was the marriage of the person who died on 17 December 1471? [/INST] SELECT marriage FROM table_name_90 WHERE death = "17 december 1471" </s>
On what surface did Poland play as the against team?
CREATE TABLE table_name_38 (surface VARCHAR, against VARCHAR)
SELECT surface FROM table_name_38 WHERE against = "poland"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (surface VARCHAR, against VARCHAR) Question: On what surface did Poland play as the against team? [/INST] SELECT surface FROM table_name_38 WHERE against = "poland" </s>
Who was played against with a result of 3–6, 2–6?
CREATE TABLE table_name_99 (against VARCHAR, result VARCHAR)
SELECT against FROM table_name_99 WHERE result = "3–6, 2–6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (against VARCHAR, result VARCHAR) Question: Who was played against with a result of 3–6, 2–6? [/INST] SELECT against FROM table_name_99 WHERE result = "3–6, 2–6" </s>
Name the least year for paris, france venue
CREATE TABLE table_name_92 (year INTEGER, venue VARCHAR)
SELECT MIN(year) FROM table_name_92 WHERE venue = "paris, france"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (year INTEGER, venue VARCHAR) Question: Name the least year for paris, france venue [/INST] SELECT MIN(year) FROM table_name_92 WHERE venue = "paris, france" </s>
What's the total number of picks for mckinney high school?
CREATE TABLE table_name_72 (pick INTEGER, school VARCHAR)
SELECT SUM(pick) FROM table_name_72 WHERE school = "mckinney high school"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (pick INTEGER, school VARCHAR) Question: What's the total number of picks for mckinney high school? [/INST] SELECT SUM(pick) FROM table_name_72 WHERE school = "mckinney high school" </s>
What was the highest pick for the player Adam Jones?
CREATE TABLE table_name_31 (pick INTEGER, player VARCHAR)
SELECT MAX(pick) FROM table_name_31 WHERE player = "adam jones"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (pick INTEGER, player VARCHAR) Question: What was the highest pick for the player Adam Jones? [/INST] SELECT MAX(pick) FROM table_name_31 WHERE player = "adam jones" </s>
What's the total number of picks for the player Matt Murton?
CREATE TABLE table_name_25 (pick INTEGER, player VARCHAR)
SELECT SUM(pick) FROM table_name_25 WHERE player = "matt murton"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (pick INTEGER, player VARCHAR) Question: What's the total number of picks for the player Matt Murton? [/INST] SELECT SUM(pick) FROM table_name_25 WHERE player = "matt murton" </s>
What position was pick 32?
CREATE TABLE table_name_86 (position VARCHAR, pick VARCHAR)
SELECT position FROM table_name_86 WHERE pick = 32
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (position VARCHAR, pick VARCHAR) Question: What position was pick 32? [/INST] SELECT position FROM table_name_86 WHERE pick = 32 </s>
Who won at the Barbagallo Raceway circuit?
CREATE TABLE table_name_49 (winner VARCHAR, circuit VARCHAR)
SELECT winner FROM table_name_49 WHERE circuit = "barbagallo raceway"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (winner VARCHAR, circuit VARCHAR) Question: Who won at the Barbagallo Raceway circuit? [/INST] SELECT winner FROM table_name_49 WHERE circuit = "barbagallo raceway" </s>
What was the title of the race at Oran Park Raceway?
CREATE TABLE table_name_72 (race_title VARCHAR, circuit VARCHAR)
SELECT race_title FROM table_name_72 WHERE circuit = "oran park raceway"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (race_title VARCHAR, circuit VARCHAR) Question: What was the title of the race at Oran Park Raceway? [/INST] SELECT race_title FROM table_name_72 WHERE circuit = "oran park raceway" </s>
Who won at the Oran Park Raceway?
CREATE TABLE table_name_17 (winner VARCHAR, circuit VARCHAR)
SELECT winner FROM table_name_17 WHERE circuit = "oran park raceway"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (winner VARCHAR, circuit VARCHAR) Question: Who won at the Oran Park Raceway? [/INST] SELECT winner FROM table_name_17 WHERE circuit = "oran park raceway" </s>
When Jim Richards won at the Winton Motor Raceway circuit, what was the city and state listed?
CREATE TABLE table_name_70 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR)
SELECT city___state FROM table_name_70 WHERE winner = "jim richards" AND circuit = "winton motor raceway"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR) Question: When Jim Richards won at the Winton Motor Raceway circuit, what was the city and state listed? [/INST] SELECT city___state FROM table_name_70 WHERE winner = "jim richards" AND circuit = "winton motor raceway" </s>
What is the capacity of the mine that is operated by Cyprus Amax minerals?
CREATE TABLE table_name_83 (capacity__thousands_of_metric_tons_ VARCHAR, operator VARCHAR)
SELECT capacity__thousands_of_metric_tons_ FROM table_name_83 WHERE operator = "cyprus amax minerals"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (capacity__thousands_of_metric_tons_ VARCHAR, operator VARCHAR) Question: What is the capacity of the mine that is operated by Cyprus Amax minerals? [/INST] SELECT capacity__thousands_of_metric_tons_ FROM table_name_83 WHERE operator = "cyprus amax minerals" </s>
What rank is the Silver Bell mine of Pima county?
CREATE TABLE table_name_56 (rank VARCHAR, county VARCHAR, mine VARCHAR)
SELECT rank FROM table_name_56 WHERE county = "pima" AND mine = "silver bell"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (rank VARCHAR, county VARCHAR, mine VARCHAR) Question: What rank is the Silver Bell mine of Pima county? [/INST] SELECT rank FROM table_name_56 WHERE county = "pima" AND mine = "silver bell" </s>
What is the capacity of the Pinto Valley mine in Gila county?
CREATE TABLE table_name_67 (capacity__thousands_of_metric_tons_ VARCHAR, county VARCHAR, mine VARCHAR)
SELECT capacity__thousands_of_metric_tons_ FROM table_name_67 WHERE county = "gila" AND mine = "pinto valley"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (capacity__thousands_of_metric_tons_ VARCHAR, county VARCHAR, mine VARCHAR) Question: What is the capacity of the Pinto Valley mine in Gila county? [/INST] SELECT capacity__thousands_of_metric_tons_ FROM table_name_67 WHERE county = "gila" AND mine = "pinto valley" </s>
What is the first leg with an agg of 10-2?
CREATE TABLE table_name_31 (agg VARCHAR)
SELECT 1 AS st_leg FROM table_name_31 WHERE agg = "10-2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (agg VARCHAR) Question: What is the first leg with an agg of 10-2? [/INST] SELECT 1 AS st_leg FROM table_name_31 WHERE agg = "10-2" </s>
What is the agg of team 2 for Vantour Club Mangoungou?
CREATE TABLE table_name_38 (agg VARCHAR, team_2 VARCHAR)
SELECT agg FROM table_name_38 WHERE team_2 = "vantour club mangoungou"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (agg VARCHAR, team_2 VARCHAR) Question: What is the agg of team 2 for Vantour Club Mangoungou? [/INST] SELECT agg FROM table_name_38 WHERE team_2 = "vantour club mangoungou" </s>
What is the first leg of team 1 for Hardware stars?
CREATE TABLE table_name_19 (team_1 VARCHAR)
SELECT 1 AS st_leg FROM table_name_19 WHERE team_1 = "hardware stars"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (team_1 VARCHAR) Question: What is the first leg of team 1 for Hardware stars? [/INST] SELECT 1 AS st_leg FROM table_name_19 WHERE team_1 = "hardware stars" </s>
On what date was the game played at home against the opponent Siena?
CREATE TABLE table_name_58 (date VARCHAR, opponent VARCHAR, ground VARCHAR)
SELECT date FROM table_name_58 WHERE opponent = "siena" AND ground = "home"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (date VARCHAR, opponent VARCHAR, ground VARCHAR) Question: On what date was the game played at home against the opponent Siena? [/INST] SELECT date FROM table_name_58 WHERE opponent = "siena" AND ground = "home" </s>
What time was the game played against Cagliari that lasted 16 rounds?
CREATE TABLE table_name_32 (time VARCHAR, opponent VARCHAR, round VARCHAR)
SELECT time FROM table_name_32 WHERE opponent = "cagliari" AND round = "16"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (time VARCHAR, opponent VARCHAR, round VARCHAR) Question: What time was the game played against Cagliari that lasted 16 rounds? [/INST] SELECT time FROM table_name_32 WHERE opponent = "cagliari" AND round = "16" </s>
Where was the game played that had a score of 3-2 and a time of 15:00 cet?
CREATE TABLE table_name_7 (ground VARCHAR, score VARCHAR, time VARCHAR)
SELECT ground FROM table_name_7 WHERE score = "3-2" AND time = "15:00 cet"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (ground VARCHAR, score VARCHAR, time VARCHAR) Question: Where was the game played that had a score of 3-2 and a time of 15:00 cet? [/INST] SELECT ground FROM table_name_7 WHERE score = "3-2" AND time = "15:00 cet" </s>
What was the score on April 18?
CREATE TABLE table_name_49 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_49 WHERE date = "april 18"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (score VARCHAR, date VARCHAR) Question: What was the score on April 18? [/INST] SELECT score FROM table_name_49 WHERE date = "april 18" </s>
What was the attendance when Nakamura (0-1) lost?
CREATE TABLE table_name_77 (attendance VARCHAR, loss VARCHAR)
SELECT attendance FROM table_name_77 WHERE loss = "nakamura (0-1)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (attendance VARCHAR, loss VARCHAR) Question: What was the attendance when Nakamura (0-1) lost? [/INST] SELECT attendance FROM table_name_77 WHERE loss = "nakamura (0-1)" </s>
What was their record when they lost with Lilly (0-1) pitching?
CREATE TABLE table_name_6 (record VARCHAR, loss VARCHAR)
SELECT record FROM table_name_6 WHERE loss = "lilly (0-1)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (record VARCHAR, loss VARCHAR) Question: What was their record when they lost with Lilly (0-1) pitching? [/INST] SELECT record FROM table_name_6 WHERE loss = "lilly (0-1)" </s>
What was their record when the attendance was 26,827?
CREATE TABLE table_name_51 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_51 WHERE attendance = "26,827"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (record VARCHAR, attendance VARCHAR) Question: What was their record when the attendance was 26,827? [/INST] SELECT record FROM table_name_51 WHERE attendance = "26,827" </s>
Who is the December playmate with a February playmate Anne-Marie Fox?
CREATE TABLE table_name_76 (december VARCHAR, february VARCHAR)
SELECT december FROM table_name_76 WHERE february = "anne-marie fox"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (december VARCHAR, february VARCHAR) Question: Who is the December playmate with a February playmate Anne-Marie Fox? [/INST] SELECT december FROM table_name_76 WHERE february = "anne-marie fox" </s>
Who is the August playmate with the October playmate Shannon Long?
CREATE TABLE table_name_51 (august VARCHAR, october VARCHAR)
SELECT august FROM table_name_51 WHERE october = "shannon long"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (august VARCHAR, october VARCHAR) Question: Who is the August playmate with the October playmate Shannon Long? [/INST] SELECT august FROM table_name_51 WHERE october = "shannon long" </s>
Who is the December playmate with a November playmate Marlene Janssen?
CREATE TABLE table_name_72 (december VARCHAR, november VARCHAR)
SELECT december FROM table_name_72 WHERE november = "marlene janssen"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (december VARCHAR, november VARCHAR) Question: Who is the December playmate with a November playmate Marlene Janssen? [/INST] SELECT december FROM table_name_72 WHERE november = "marlene janssen" </s>
Who is the November playmate with the July playmate Hope Marie Carlton?
CREATE TABLE table_name_66 (november VARCHAR, july VARCHAR)
SELECT november FROM table_name_66 WHERE july = "hope marie carlton"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (november VARCHAR, july VARCHAR) Question: Who is the November playmate with the July playmate Hope Marie Carlton? [/INST] SELECT november FROM table_name_66 WHERE july = "hope marie carlton" </s>
Who is the March playmate with an August playmate Gianna Amore?
CREATE TABLE table_name_53 (march VARCHAR, august VARCHAR)
SELECT march FROM table_name_53 WHERE august = "gianna amore"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (march VARCHAR, august VARCHAR) Question: Who is the March playmate with an August playmate Gianna Amore? [/INST] SELECT march FROM table_name_53 WHERE august = "gianna amore" </s>
Who is the January playmate with the November playmate Donna Edmondson?
CREATE TABLE table_name_66 (january VARCHAR, november VARCHAR)
SELECT january FROM table_name_66 WHERE november = "donna edmondson"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (january VARCHAR, november VARCHAR) Question: Who is the January playmate with the November playmate Donna Edmondson? [/INST] SELECT january FROM table_name_66 WHERE november = "donna edmondson" </s>
What is the home stadium of the Tennessee Titans?
CREATE TABLE table_name_10 (stadium VARCHAR, host_team VARCHAR)
SELECT stadium FROM table_name_10 WHERE host_team = "tennessee titans"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (stadium VARCHAR, host_team VARCHAR) Question: What is the home stadium of the Tennessee Titans? [/INST] SELECT stadium FROM table_name_10 WHERE host_team = "tennessee titans" </s>
When were the Houston Texans the visiting team later in the season?
CREATE TABLE table_name_29 (week INTEGER, visiting_team VARCHAR)
SELECT MAX(week) FROM table_name_29 WHERE visiting_team = "houston texans"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (week INTEGER, visiting_team VARCHAR) Question: When were the Houston Texans the visiting team later in the season? [/INST] SELECT MAX(week) FROM table_name_29 WHERE visiting_team = "houston texans" </s>
The final score was 24-34 on what date?
CREATE TABLE table_name_18 (date VARCHAR, final_score VARCHAR)
SELECT date FROM table_name_18 WHERE final_score = "24-34"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (date VARCHAR, final_score VARCHAR) Question: The final score was 24-34 on what date? [/INST] SELECT date FROM table_name_18 WHERE final_score = "24-34" </s>
What is the total number of gold medals won by nations that won 2 silver medals but fewer than 7 in total?
CREATE TABLE table_name_24 (gold INTEGER, silver VARCHAR, total VARCHAR)
SELECT SUM(gold) FROM table_name_24 WHERE silver = 2 AND total < 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (gold INTEGER, silver VARCHAR, total VARCHAR) Question: What is the total number of gold medals won by nations that won 2 silver medals but fewer than 7 in total? [/INST] SELECT SUM(gold) FROM table_name_24 WHERE silver = 2 AND total < 7 </s>
What is the total number of medals won by nations that had 7 bronze medals and more than 18 gold medals?
CREATE TABLE table_name_26 (total INTEGER, bronze VARCHAR, gold VARCHAR)
SELECT SUM(total) FROM table_name_26 WHERE bronze = 7 AND gold > 18
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (total INTEGER, bronze VARCHAR, gold VARCHAR) Question: What is the total number of medals won by nations that had 7 bronze medals and more than 18 gold medals? [/INST] SELECT SUM(total) FROM table_name_26 WHERE bronze = 7 AND gold > 18 </s>
What nation with Rank 1 won the fewest gold medals while winning more than 11 silver but fewer than 7 bronze medals?
CREATE TABLE table_name_47 (gold INTEGER, bronze VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT MIN(gold) FROM table_name_47 WHERE silver > 11 AND rank = "1" AND bronze < 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (gold INTEGER, bronze VARCHAR, silver VARCHAR, rank VARCHAR) Question: What nation with Rank 1 won the fewest gold medals while winning more than 11 silver but fewer than 7 bronze medals? [/INST] SELECT MIN(gold) FROM table_name_47 WHERE silver > 11 AND rank = "1" AND bronze < 7 </s>
What is the highest total medals won by a nation that had 7 bronze but more than 12 silver medals?
CREATE TABLE table_name_43 (total INTEGER, bronze VARCHAR, silver VARCHAR)
SELECT MAX(total) FROM table_name_43 WHERE bronze = 7 AND silver > 12
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (total INTEGER, bronze VARCHAR, silver VARCHAR) Question: What is the highest total medals won by a nation that had 7 bronze but more than 12 silver medals? [/INST] SELECT MAX(total) FROM table_name_43 WHERE bronze = 7 AND silver > 12 </s>
What nation won the fewest gold medals while being in Rank 1, with a total of 37 medals and more than 7 bronze medals?
CREATE TABLE table_name_4 (gold INTEGER, bronze VARCHAR, total VARCHAR, rank VARCHAR)
SELECT MIN(gold) FROM table_name_4 WHERE total = 37 AND rank = "1" AND bronze > 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (gold INTEGER, bronze VARCHAR, total VARCHAR, rank VARCHAR) Question: What nation won the fewest gold medals while being in Rank 1, with a total of 37 medals and more than 7 bronze medals? [/INST] SELECT MIN(gold) FROM table_name_4 WHERE total = 37 AND rank = "1" AND bronze > 7 </s>
Name the score for yuliya ustyuzhanina
CREATE TABLE table_name_84 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_84 WHERE opponent = "yuliya ustyuzhanina"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (score VARCHAR, opponent VARCHAR) Question: Name the score for yuliya ustyuzhanina [/INST] SELECT score FROM table_name_84 WHERE opponent = "yuliya ustyuzhanina" </s>
Name the date for hard surface and tournament of fort walton beach
CREATE TABLE table_name_84 (date VARCHAR, surface VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_84 WHERE surface = "hard" AND tournament = "fort walton beach"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (date VARCHAR, surface VARCHAR, tournament VARCHAR) Question: Name the date for hard surface and tournament of fort walton beach [/INST] SELECT date FROM table_name_84 WHERE surface = "hard" AND tournament = "fort walton beach" </s>
Name the opponent with score of 1–6, 6–4, 6–4
CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_7 WHERE score = "1–6, 6–4, 6–4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR) Question: Name the opponent with score of 1–6, 6–4, 6–4 [/INST] SELECT opponent FROM table_name_7 WHERE score = "1–6, 6–4, 6–4" </s>
Name the score for 10 april 2007 and opponent of selima sfar
CREATE TABLE table_name_43 (score VARCHAR, date VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_43 WHERE date = "10 april 2007" AND opponent = "selima sfar"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (score VARCHAR, date VARCHAR, opponent VARCHAR) Question: Name the score for 10 april 2007 and opponent of selima sfar [/INST] SELECT score FROM table_name_43 WHERE date = "10 april 2007" AND opponent = "selima sfar" </s>
How many runners had placings over 8?
CREATE TABLE table_name_34 (runners VARCHAR, placing INTEGER)
SELECT COUNT(runners) FROM table_name_34 WHERE placing > 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (runners VARCHAR, placing INTEGER) Question: How many runners had placings over 8? [/INST] SELECT COUNT(runners) FROM table_name_34 WHERE placing > 8 </s>
Which course had a jockey of Royston FFrench?
CREATE TABLE table_name_22 (course VARCHAR, jockey VARCHAR)
SELECT course FROM table_name_22 WHERE jockey = "royston ffrench"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (course VARCHAR, jockey VARCHAR) Question: Which course had a jockey of Royston FFrench? [/INST] SELECT course FROM table_name_22 WHERE jockey = "royston ffrench" </s>
What is the average prize for the Buttercross Limited Stakes?
CREATE TABLE table_name_33 (prize__ INTEGER, race VARCHAR)
SELECT AVG(prize__) AS Β£k_ FROM table_name_33 WHERE race = "buttercross limited stakes"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (prize__ INTEGER, race VARCHAR) Question: What is the average prize for the Buttercross Limited Stakes? [/INST] SELECT AVG(prize__) AS Β£k_ FROM table_name_33 WHERE race = "buttercross limited stakes" </s>
How many total runners had jockeys of Olivier Peslier with placings under 2?
CREATE TABLE table_name_81 (runners INTEGER, jockey VARCHAR, placing VARCHAR)
SELECT SUM(runners) FROM table_name_81 WHERE jockey = "olivier peslier" AND placing < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (runners INTEGER, jockey VARCHAR, placing VARCHAR) Question: How many total runners had jockeys of Olivier Peslier with placings under 2? [/INST] SELECT SUM(runners) FROM table_name_81 WHERE jockey = "olivier peslier" AND placing < 2 </s>
Name the games with marks of 21
CREATE TABLE table_name_71 (games VARCHAR, marks VARCHAR)
SELECT games FROM table_name_71 WHERE marks = "21"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (games VARCHAR, marks VARCHAR) Question: Name the games with marks of 21 [/INST] SELECT games FROM table_name_71 WHERE marks = "21" </s>
Name the kicks with goals of 1
CREATE TABLE table_name_40 (kicks VARCHAR, goals VARCHAR)
SELECT kicks FROM table_name_40 WHERE goals = "1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (kicks VARCHAR, goals VARCHAR) Question: Name the kicks with goals of 1 [/INST] SELECT kicks FROM table_name_40 WHERE goals = "1" </s>
Name the goals with games of 6
CREATE TABLE table_name_65 (goals VARCHAR, games VARCHAR)
SELECT goals FROM table_name_65 WHERE games = "6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (goals VARCHAR, games VARCHAR) Question: Name the goals with games of 6 [/INST] SELECT goals FROM table_name_65 WHERE games = "6" </s>
What game had the date was it with the final score of 7-23
CREATE TABLE table_name_35 (date VARCHAR, final_score VARCHAR)
SELECT date FROM table_name_35 WHERE final_score = "7-23"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (date VARCHAR, final_score VARCHAR) Question: What game had the date was it with the final score of 7-23 [/INST] SELECT date FROM table_name_35 WHERE final_score = "7-23" </s>
What was the final score of the game at the astrodome?
CREATE TABLE table_name_74 (final_score VARCHAR, stadium VARCHAR)
SELECT final_score FROM table_name_74 WHERE stadium = "astrodome"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (final_score VARCHAR, stadium VARCHAR) Question: What was the final score of the game at the astrodome? [/INST] SELECT final_score FROM table_name_74 WHERE stadium = "astrodome" </s>
What was the final score for the date of December 30?
CREATE TABLE table_name_99 (final_score VARCHAR, date VARCHAR)
SELECT final_score FROM table_name_99 WHERE date = "december 30"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (final_score VARCHAR, date VARCHAR) Question: What was the final score for the date of December 30? [/INST] SELECT final_score FROM table_name_99 WHERE date = "december 30" </s>
What was the name of the Visiting team at Jack Murphy Stadium?
CREATE TABLE table_name_90 (visiting_team VARCHAR, stadium VARCHAR)
SELECT visiting_team FROM table_name_90 WHERE stadium = "jack murphy stadium"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (visiting_team VARCHAR, stadium VARCHAR) Question: What was the name of the Visiting team at Jack Murphy Stadium? [/INST] SELECT visiting_team FROM table_name_90 WHERE stadium = "jack murphy stadium" </s>
What was the name of the host team at Texas stadium?
CREATE TABLE table_name_1 (host_team VARCHAR, stadium VARCHAR)
SELECT host_team FROM table_name_1 WHERE stadium = "texas stadium"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (host_team VARCHAR, stadium VARCHAR) Question: What was the name of the host team at Texas stadium? [/INST] SELECT host_team FROM table_name_1 WHERE stadium = "texas stadium" </s>
What was the name of the host team dated December 16?
CREATE TABLE table_name_39 (host_team VARCHAR, date VARCHAR)
SELECT host_team FROM table_name_39 WHERE date = "december 16"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (host_team VARCHAR, date VARCHAR) Question: What was the name of the host team dated December 16? [/INST] SELECT host_team FROM table_name_39 WHERE date = "december 16" </s>
Are there any Teams after 1997?
CREATE TABLE table_name_21 (team VARCHAR, year INTEGER)
SELECT team FROM table_name_21 WHERE year > 1997
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (team VARCHAR, year INTEGER) Question: Are there any Teams after 1997? [/INST] SELECT team FROM table_name_21 WHERE year > 1997 </s>
Which class has laps under 77?
CREATE TABLE table_name_85 (class VARCHAR, laps INTEGER)
SELECT class FROM table_name_85 WHERE laps < 77
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (class VARCHAR, laps INTEGER) Question: Which class has laps under 77? [/INST] SELECT class FROM table_name_85 WHERE laps < 77 </s>
Who boarded first class?
CREATE TABLE table_name_48 (boarded VARCHAR, class VARCHAR)
SELECT boarded FROM table_name_48 WHERE class = "first"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (boarded VARCHAR, class VARCHAR) Question: Who boarded first class? [/INST] SELECT boarded FROM table_name_48 WHERE class = "first" </s>
What was the lowest attendance at a game when there were fewer than 151 away fans and an opponent of Bury?
CREATE TABLE table_name_80 (attendance INTEGER, away_fans VARCHAR, opponent VARCHAR)
SELECT MIN(attendance) FROM table_name_80 WHERE away_fans < 151 AND opponent = "bury"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (attendance INTEGER, away_fans VARCHAR, opponent VARCHAR) Question: What was the lowest attendance at a game when there were fewer than 151 away fans and an opponent of Bury? [/INST] SELECT MIN(attendance) FROM table_name_80 WHERE away_fans < 151 AND opponent = "bury" </s>
What are the lowest number of points with a Year of 1978, and a Chassis of ensign n177?
CREATE TABLE table_name_15 (points INTEGER, year VARCHAR, chassis VARCHAR)
SELECT MIN(points) FROM table_name_15 WHERE year = 1978 AND chassis = "ensign n177"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (points INTEGER, year VARCHAR, chassis VARCHAR) Question: What are the lowest number of points with a Year of 1978, and a Chassis of ensign n177? [/INST] SELECT MIN(points) FROM table_name_15 WHERE year = 1978 AND chassis = "ensign n177" </s>
What are the highest number of points with an Entrant of warsteiner brewery?
CREATE TABLE table_name_8 (points INTEGER, entrant VARCHAR)
SELECT MAX(points) FROM table_name_8 WHERE entrant = "warsteiner brewery"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (points INTEGER, entrant VARCHAR) Question: What are the highest number of points with an Entrant of warsteiner brewery? [/INST] SELECT MAX(points) FROM table_name_8 WHERE entrant = "warsteiner brewery" </s>
What is the D 43 when D 46 is R 6?
CREATE TABLE table_name_68 (d_43 VARCHAR, d_46 VARCHAR)
SELECT d_43 FROM table_name_68 WHERE d_46 = "r 6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (d_43 VARCHAR, d_46 VARCHAR) Question: What is the D 43 when D 46 is R 6? [/INST] SELECT d_43 FROM table_name_68 WHERE d_46 = "r 6" </s>
What is the D44 when D43 is R 14?
CREATE TABLE table_name_64 (d_44 VARCHAR, d_43 VARCHAR)
SELECT d_44 FROM table_name_64 WHERE d_43 = "r 14"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (d_44 VARCHAR, d_43 VARCHAR) Question: What is the D44 when D43 is R 14? [/INST] SELECT d_44 FROM table_name_64 WHERE d_43 = "r 14" </s>
What is the D48 when D 43 is plurality ↑??
CREATE TABLE table_name_27 (d_48 VARCHAR, d_43 VARCHAR)
SELECT d_48 FROM table_name_27 WHERE d_43 = "plurality ↑"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (d_48 VARCHAR, d_43 VARCHAR) Question: What is the D48 when D 43 is plurality ↑?? [/INST] SELECT d_48 FROM table_name_27 WHERE d_43 = "plurality ↑" </s>
What is the D44 when D41 is D 16?
CREATE TABLE table_name_70 (d_44 VARCHAR, d_41 VARCHAR)
SELECT d_44 FROM table_name_70 WHERE d_41 = "d 16"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (d_44 VARCHAR, d_41 VARCHAR) Question: What is the D44 when D41 is D 16? [/INST] SELECT d_44 FROM table_name_70 WHERE d_41 = "d 16" </s>
What gender is the team that has a decile of 5 and in the Dalefield area?
CREATE TABLE table_name_95 (gender VARCHAR, decile VARCHAR, area VARCHAR)
SELECT gender FROM table_name_95 WHERE decile = 5 AND area = "dalefield"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (gender VARCHAR, decile VARCHAR, area VARCHAR) Question: What gender is the team that has a decile of 5 and in the Dalefield area? [/INST] SELECT gender FROM table_name_95 WHERE decile = 5 AND area = "dalefield" </s>
What school in Dalefield has a roll less than 81?
CREATE TABLE table_name_61 (name VARCHAR, roll VARCHAR, area VARCHAR)
SELECT name FROM table_name_61 WHERE roll < 81 AND area = "dalefield"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (name VARCHAR, roll VARCHAR, area VARCHAR) Question: What school in Dalefield has a roll less than 81? [/INST] SELECT name FROM table_name_61 WHERE roll < 81 AND area = "dalefield" </s>
What is the lowest Height (m) on the island of Burray?
CREATE TABLE table_name_22 (height__m_ INTEGER, island VARCHAR)
SELECT MIN(height__m_) FROM table_name_22 WHERE island = "burray"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (height__m_ INTEGER, island VARCHAR) Question: What is the lowest Height (m) on the island of Burray? [/INST] SELECT MIN(height__m_) FROM table_name_22 WHERE island = "burray" </s>
What group on the island of Faray has a Height (m) of 32 and a Population of 0?
CREATE TABLE table_name_99 (group VARCHAR, island VARCHAR, height__m_ VARCHAR, population VARCHAR)
SELECT group FROM table_name_99 WHERE height__m_ = 32 AND population = "0" AND island = "faray"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (group VARCHAR, island VARCHAR, height__m_ VARCHAR, population VARCHAR) Question: What group on the island of Faray has a Height (m) of 32 and a Population of 0? [/INST] SELECT group FROM table_name_99 WHERE height__m_ = 32 AND population = "0" AND island = "faray" </s>
What group has a Population of see hoy?
CREATE TABLE table_name_23 (group VARCHAR, population VARCHAR)
SELECT group FROM table_name_23 WHERE population = "see hoy"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (group VARCHAR, population VARCHAR) Question: What group has a Population of see hoy? [/INST] SELECT group FROM table_name_23 WHERE population = "see hoy" </s>
What group on the island of Muckle Green Holm has a population of 0?
CREATE TABLE table_name_49 (group VARCHAR, population VARCHAR, island VARCHAR)
SELECT group FROM table_name_49 WHERE population = "0" AND island = "muckle green holm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (group VARCHAR, population VARCHAR, island VARCHAR) Question: What group on the island of Muckle Green Holm has a population of 0? [/INST] SELECT group FROM table_name_49 WHERE population = "0" AND island = "muckle green holm" </s>
What is the area (ha) of the group on the island of Linga Holm that has a Height (m) larger than 7?
CREATE TABLE table_name_31 (area___ha__ VARCHAR, height__m_ VARCHAR, island VARCHAR)
SELECT area___ha__ FROM table_name_31 WHERE height__m_ > 7 AND island = "linga holm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (area___ha__ VARCHAR, height__m_ VARCHAR, island VARCHAR) Question: What is the area (ha) of the group on the island of Linga Holm that has a Height (m) larger than 7? [/INST] SELECT area___ha__ FROM table_name_31 WHERE height__m_ > 7 AND island = "linga holm" </s>
What is the Population of the group that has a Height (m) of 15 and an Area (ha) of 00017 17?
CREATE TABLE table_name_30 (population VARCHAR, height__m_ VARCHAR, area___ha__ VARCHAR)
SELECT population FROM table_name_30 WHERE height__m_ = 15 AND area___ha__ = "00017 17"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (population VARCHAR, height__m_ VARCHAR, area___ha__ VARCHAR) Question: What is the Population of the group that has a Height (m) of 15 and an Area (ha) of 00017 17? [/INST] SELECT population FROM table_name_30 WHERE height__m_ = 15 AND area___ha__ = "00017 17" </s>
What is the roll number of the school in Aramoho with a decile of 1?
CREATE TABLE table_name_86 (roll VARCHAR, area VARCHAR, decile VARCHAR)
SELECT roll FROM table_name_86 WHERE area = "aramoho" AND decile = 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (roll VARCHAR, area VARCHAR, decile VARCHAR) Question: What is the roll number of the school in Aramoho with a decile of 1? [/INST] SELECT roll FROM table_name_86 WHERE area = "aramoho" AND decile = 1 </s>
What is the area of Mangamahu primary school?
CREATE TABLE table_name_54 (area VARCHAR, name VARCHAR)
SELECT area FROM table_name_54 WHERE name = "mangamahu primary school"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (area VARCHAR, name VARCHAR) Question: What is the area of Mangamahu primary school? [/INST] SELECT area FROM table_name_54 WHERE name = "mangamahu primary school" </s>
What is the area of the coed school with a state authority and a roll number of 122?
CREATE TABLE table_name_17 (area VARCHAR, roll VARCHAR, authority VARCHAR, gender VARCHAR)
SELECT area FROM table_name_17 WHERE authority = "state" AND gender = "coed" AND roll = 122
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (area VARCHAR, roll VARCHAR, authority VARCHAR, gender VARCHAR) Question: What is the area of the coed school with a state authority and a roll number of 122? [/INST] SELECT area FROM table_name_17 WHERE authority = "state" AND gender = "coed" AND roll = 122 </s>
Which result is older than 2007?
CREATE TABLE table_name_18 (result___category VARCHAR, year INTEGER)
SELECT result___category FROM table_name_18 WHERE year < 2007
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (result___category VARCHAR, year INTEGER) Question: Which result is older than 2007? [/INST] SELECT result___category FROM table_name_18 WHERE year < 2007 </s>
What year was the Album/Song Speaking louder than before?
CREATE TABLE table_name_39 (year INTEGER, album___song VARCHAR)
SELECT SUM(year) FROM table_name_39 WHERE album___song = "speaking louder than before"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (year INTEGER, album___song VARCHAR) Question: What year was the Album/Song Speaking louder than before? [/INST] SELECT SUM(year) FROM table_name_39 WHERE album___song = "speaking louder than before" </s>
What is the most recent year with the Album/Song "the best worst-case scenario"?
CREATE TABLE table_name_19 (year INTEGER, album___song VARCHAR)
SELECT MAX(year) FROM table_name_19 WHERE album___song = "the best worst-case scenario"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (year INTEGER, album___song VARCHAR) Question: What is the most recent year with the Album/Song "the best worst-case scenario"? [/INST] SELECT MAX(year) FROM table_name_19 WHERE album___song = "the best worst-case scenario" </s>
What was the score of the final in which Melanie South played with partner Remi Tezuka on a clay surface?
CREATE TABLE table_name_23 (score VARCHAR, surface VARCHAR, partner VARCHAR)
SELECT score FROM table_name_23 WHERE surface = "clay" AND partner = "remi tezuka"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (score VARCHAR, surface VARCHAR, partner VARCHAR) Question: What was the score of the final in which Melanie South played with partner Remi Tezuka on a clay surface? [/INST] SELECT score FROM table_name_23 WHERE surface = "clay" AND partner = "remi tezuka" </s>
What was the score of the final in which Melanie South played with partner Ksenia Lykina during the Kurume Cup tournament?
CREATE TABLE table_name_59 (score VARCHAR, partner VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_59 WHERE partner = "ksenia lykina" AND tournament = "kurume"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (score VARCHAR, partner VARCHAR, tournament VARCHAR) Question: What was the score of the final in which Melanie South played with partner Ksenia Lykina during the Kurume Cup tournament? [/INST] SELECT score FROM table_name_59 WHERE partner = "ksenia lykina" AND tournament = "kurume" </s>
What was the score of the final in which Melanie South played with partner Katie O'Brien?
CREATE TABLE table_name_27 (score VARCHAR, partner VARCHAR)
SELECT score FROM table_name_27 WHERE partner = "katie o'brien"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (score VARCHAR, partner VARCHAR) Question: What was the score of the final in which Melanie South played with partner Katie O'Brien? [/INST] SELECT score FROM table_name_27 WHERE partner = "katie o'brien" </s>
What was the outcome of the tournament in Edinburgh?
CREATE TABLE table_name_82 (outcome VARCHAR, tournament VARCHAR)
SELECT outcome FROM table_name_82 WHERE tournament = "edinburgh"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (outcome VARCHAR, tournament VARCHAR) Question: What was the outcome of the tournament in Edinburgh? [/INST] SELECT outcome FROM table_name_82 WHERE tournament = "edinburgh" </s>
What is the total decile with an Authority of state, and a Name of newfield park school?
CREATE TABLE table_name_66 (decile INTEGER, authority VARCHAR, name VARCHAR)
SELECT SUM(decile) FROM table_name_66 WHERE authority = "state" AND name = "newfield park school"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (decile INTEGER, authority VARCHAR, name VARCHAR) Question: What is the total decile with an Authority of state, and a Name of newfield park school? [/INST] SELECT SUM(decile) FROM table_name_66 WHERE authority = "state" AND name = "newfield park school" </s>