instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
Name the category for 2013
CREATE TABLE table_name_15 (category VARCHAR, year VARCHAR)
SELECT category FROM table_name_15 WHERE year = "2013"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (category VARCHAR, year VARCHAR) Question: Name the category for 2013 [/INST] SELECT category FROM table_name_15 WHERE year = "2013" </s>
Which was the lowest gold when silver was smaller than 0?
CREATE TABLE table_name_94 (gold INTEGER, silver INTEGER)
SELECT MIN(gold) FROM table_name_94 WHERE silver < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (gold INTEGER, silver INTEGER) Question: Which was the lowest gold when silver was smaller than 0? [/INST] SELECT MIN(gold) FROM table_name_94 WHERE silver < 0 </s>
Which is the highest total at rank 6, bronze 2, and gold larger than 0?
CREATE TABLE table_name_74 (total INTEGER, gold VARCHAR, rank VARCHAR, bronze VARCHAR)
SELECT MAX(total) FROM table_name_74 WHERE rank = 6 AND bronze = 2 AND gold > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (total INTEGER, gold VARCHAR, rank VARCHAR, bronze VARCHAR) Question: Which is the highest total at rank 6, bronze 2, and gold larger than 0? [/INST] SELECT MAX(total) FROM table_name_74 WHERE rank...
Which is the highest bronze at Chinese Taipei when the rank was higher than 5 and total was smaller than 1?
CREATE TABLE table_name_89 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)
SELECT MAX(bronze) FROM table_name_89 WHERE rank > 5 AND nation = "chinese taipei" AND total < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR) Question: Which is the highest bronze at Chinese Taipei when the rank was higher than 5 and total was smaller than 1? [/INST] SELECT MA...
Name the US dance when the year is more than 1985
CREATE TABLE table_name_89 (us_dance VARCHAR, year INTEGER)
SELECT us_dance FROM table_name_89 WHERE year > 1985
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (us_dance VARCHAR, year INTEGER) Question: Name the US dance when the year is more than 1985 [/INST] SELECT us_dance FROM table_name_89 WHERE year > 1985 </s>
Name the US Hot 100 for album of I like you
CREATE TABLE table_name_81 (us_hot_100 VARCHAR, album VARCHAR)
SELECT us_hot_100 FROM table_name_81 WHERE album = "i like you"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (us_hot_100 VARCHAR, album VARCHAR) Question: Name the US Hot 100 for album of I like you [/INST] SELECT us_hot_100 FROM table_name_81 WHERE album = "i like you" </s>
Name the US R&B for 1981
CREATE TABLE table_name_39 (us_r VARCHAR, b VARCHAR, year VARCHAR)
SELECT us_r & b FROM table_name_39 WHERE year = 1981
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (us_r VARCHAR, b VARCHAR, year VARCHAR) Question: Name the US R&B for 1981 [/INST] SELECT us_r & b FROM table_name_39 WHERE year = 1981 </s>
Who was the writer when Parkville Pictures Ltd was the recipient?
CREATE TABLE table_name_57 (writer_s_ VARCHAR, recipient VARCHAR)
SELECT writer_s_ FROM table_name_57 WHERE recipient = "parkville pictures ltd"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (writer_s_ VARCHAR, recipient VARCHAR) Question: Who was the writer when Parkville Pictures Ltd was the recipient? [/INST] SELECT writer_s_ FROM table_name_57 WHERE recipient = "parkville pictures ...
Alex Winckler wrote the film, who was the director?
CREATE TABLE table_name_35 (director_s_ VARCHAR, writer_s_ VARCHAR)
SELECT director_s_ FROM table_name_35 WHERE writer_s_ = "alex winckler"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (director_s_ VARCHAR, writer_s_ VARCHAR) Question: Alex Winckler wrote the film, who was the director? [/INST] SELECT director_s_ FROM table_name_35 WHERE writer_s_ = "alex winckler" </s>
On what date was Edward Jeffreys the writer?
CREATE TABLE table_name_43 (date VARCHAR, writer_s_ VARCHAR)
SELECT date FROM table_name_43 WHERE writer_s_ = "edward jeffreys"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (date VARCHAR, writer_s_ VARCHAR) Question: On what date was Edward Jeffreys the writer? [/INST] SELECT date FROM table_name_43 WHERE writer_s_ = "edward jeffreys" </s>
What date was the award of £6,600 was given?
CREATE TABLE table_name_48 (date VARCHAR, award VARCHAR)
SELECT date FROM table_name_48 WHERE award = "£6,600"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (date VARCHAR, award VARCHAR) Question: What date was the award of £6,600 was given? [/INST] SELECT date FROM table_name_48 WHERE award = "£6,600" </s>
Who was the director that had a recipient of Redbag Pictures Ltd?
CREATE TABLE table_name_54 (director_s_ VARCHAR, recipient VARCHAR)
SELECT director_s_ FROM table_name_54 WHERE recipient = "redbag pictures ltd"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (director_s_ VARCHAR, recipient VARCHAR) Question: Who was the director that had a recipient of Redbag Pictures Ltd? [/INST] SELECT director_s_ FROM table_name_54 WHERE recipient = "redbag pictures...
What's the name of the award that Edward Jeffreys was the writer?
CREATE TABLE table_name_64 (award VARCHAR, writer_s_ VARCHAR)
SELECT award FROM table_name_64 WHERE writer_s_ = "edward jeffreys"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (award VARCHAR, writer_s_ VARCHAR) Question: What's the name of the award that Edward Jeffreys was the writer? [/INST] SELECT award FROM table_name_64 WHERE writer_s_ = "edward jeffreys" </s>
Who is the Player born in 1981?
CREATE TABLE table_name_40 (player VARCHAR, year_born VARCHAR)
SELECT player FROM table_name_40 WHERE year_born = 1981
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (player VARCHAR, year_born VARCHAR) Question: Who is the Player born in 1981? [/INST] SELECT player FROM table_name_40 WHERE year_born = 1981 </s>
What is the Height that has a year born before 1977
CREATE TABLE table_name_49 (height VARCHAR, year_born INTEGER)
SELECT COUNT(height) FROM table_name_49 WHERE year_born < 1977
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (height VARCHAR, year_born INTEGER) Question: What is the Height that has a year born before 1977 [/INST] SELECT COUNT(height) FROM table_name_49 WHERE year_born < 1977 </s>
What is the lowest Total Region that has a Year after 2001, and a Broadsound greater than 6,843?
CREATE TABLE table_name_75 (total_region INTEGER, year VARCHAR, broadsound VARCHAR)
SELECT MIN(total_region) FROM table_name_75 WHERE year > 2001 AND broadsound > 6 OFFSET 843 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (total_region INTEGER, year VARCHAR, broadsound VARCHAR) Question: What is the lowest Total Region that has a Year after 2001, and a Broadsound greater than 6,843? [/INST] SELECT MIN(total_region) ...
What is the sum of Total Regions that have the Year 1954, and a Nebo greater than 447?
CREATE TABLE table_name_2 (total_region INTEGER, year VARCHAR, nebo VARCHAR)
SELECT SUM(total_region) FROM table_name_2 WHERE year = 1954 AND nebo > 447
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (total_region INTEGER, year VARCHAR, nebo VARCHAR) Question: What is the sum of Total Regions that have the Year 1954, and a Nebo greater than 447? [/INST] SELECT SUM(total_region) FROM table_name_2...
What is the number of Bronze for the Nation of Uganda with less than 2 Gold and Total medals?
CREATE TABLE table_name_34 (bronze VARCHAR, total VARCHAR, gold VARCHAR, nation VARCHAR)
SELECT COUNT(bronze) FROM table_name_34 WHERE gold < 2 AND nation = "uganda" AND total > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (bronze VARCHAR, total VARCHAR, gold VARCHAR, nation VARCHAR) Question: What is the number of Bronze for the Nation of Uganda with less than 2 Gold and Total medals? [/INST] SELECT COUNT(bronze) FR...
With less than 7 Silver medals, how many Gold medals did Canada receive?
CREATE TABLE table_name_30 (gold INTEGER, nation VARCHAR, silver VARCHAR)
SELECT MAX(gold) FROM table_name_30 WHERE nation = "canada" AND silver < 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (gold INTEGER, nation VARCHAR, silver VARCHAR) Question: With less than 7 Silver medals, how many Gold medals did Canada receive? [/INST] SELECT MAX(gold) FROM table_name_30 WHERE nation = "canada"...
What is the outcome of a score that is 6–1, 6–4?
CREATE TABLE table_name_4 (outcome VARCHAR, score VARCHAR)
SELECT outcome FROM table_name_4 WHERE score = "6–1, 6–4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (outcome VARCHAR, score VARCHAR) Question: What is the outcome of a score that is 6–1, 6–4? [/INST] SELECT outcome FROM table_name_4 WHERE score = "6–1, 6–4" </s>
What is the surface of the score, 7–6 (7–3) , 6–3?
CREATE TABLE table_name_40 (surface VARCHAR, score VARCHAR)
SELECT surface FROM table_name_40 WHERE score = "7–6 (7–3) , 6–3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (surface VARCHAR, score VARCHAR) Question: What is the surface of the score, 7–6 (7–3) , 6–3? [/INST] SELECT surface FROM table_name_40 WHERE score = "7–6 (7–3) , 6–3" </s>
What venue did he play in before 2008 and finished 14th (q)?
CREATE TABLE table_name_71 (venue VARCHAR, year VARCHAR, position VARCHAR)
SELECT venue FROM table_name_71 WHERE year < 2008 AND position = "14th (q)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (venue VARCHAR, year VARCHAR, position VARCHAR) Question: What venue did he play in before 2008 and finished 14th (q)? [/INST] SELECT venue FROM table_name_71 WHERE year < 2008 AND position = "14th...
What competition did he compete in before 2007 in gothenburg, sweden?
CREATE TABLE table_name_6 (competition VARCHAR, year VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_6 WHERE year < 2007 AND venue = "gothenburg, sweden"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (competition VARCHAR, year VARCHAR, venue VARCHAR) Question: What competition did he compete in before 2007 in gothenburg, sweden? [/INST] SELECT competition FROM table_name_6 WHERE year < 2007 AND ...
What venue did he finish 7th?
CREATE TABLE table_name_55 (venue VARCHAR, position VARCHAR)
SELECT venue FROM table_name_55 WHERE position = "7th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (venue VARCHAR, position VARCHAR) Question: What venue did he finish 7th? [/INST] SELECT venue FROM table_name_55 WHERE position = "7th" </s>
Name the most performances for geoffrey fitton
CREATE TABLE table_name_43 (performances INTEGER, role VARCHAR)
SELECT MAX(performances) FROM table_name_43 WHERE role = "geoffrey fitton"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (performances INTEGER, role VARCHAR) Question: Name the most performances for geoffrey fitton [/INST] SELECT MAX(performances) FROM table_name_43 WHERE role = "geoffrey fitton" </s>
Name the role for Feb 4, 1961 closing date
CREATE TABLE table_name_49 (role VARCHAR, closing_date VARCHAR)
SELECT role FROM table_name_49 WHERE closing_date = "feb 4, 1961"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (role VARCHAR, closing_date VARCHAR) Question: Name the role for Feb 4, 1961 closing date [/INST] SELECT role FROM table_name_49 WHERE closing_date = "feb 4, 1961" </s>
Name the theatre for aaron jablonski schuyler grogan with performances more than 49
CREATE TABLE table_name_31 (theatre VARCHAR, performances VARCHAR, role VARCHAR)
SELECT theatre FROM table_name_31 WHERE performances > 49 AND role = "aaron jablonski schuyler grogan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (theatre VARCHAR, performances VARCHAR, role VARCHAR) Question: Name the theatre for aaron jablonski schuyler grogan with performances more than 49 [/INST] SELECT theatre FROM table_name_31 WHERE p...
What are the titles for episodes prior to episode 4?
CREATE TABLE table_name_29 (title VARCHAR, no_in_series INTEGER)
SELECT title FROM table_name_29 WHERE no_in_series < 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (title VARCHAR, no_in_series INTEGER) Question: What are the titles for episodes prior to episode 4? [/INST] SELECT title FROM table_name_29 WHERE no_in_series < 4 </s>
What are the titles for episodes prior to episode 4?
CREATE TABLE table_name_23 (title VARCHAR, no_in_series INTEGER)
SELECT title FROM table_name_23 WHERE no_in_series < 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (title VARCHAR, no_in_series INTEGER) Question: What are the titles for episodes prior to episode 4? [/INST] SELECT title FROM table_name_23 WHERE no_in_series < 4 </s>
What the air dates for the episodes are episode 3 in the series?
CREATE TABLE table_name_58 (original_air_date VARCHAR, no_in_series INTEGER)
SELECT original_air_date FROM table_name_58 WHERE no_in_series > 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (original_air_date VARCHAR, no_in_series INTEGER) Question: What the air dates for the episodes are episode 3 in the series? [/INST] SELECT original_air_date FROM table_name_58 WHERE no_in_series >...
How many laps resulted from a Qual of 165.229?
CREATE TABLE table_name_17 (laps INTEGER, qual VARCHAR)
SELECT MAX(laps) FROM table_name_17 WHERE qual = "165.229"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (laps INTEGER, qual VARCHAR) Question: How many laps resulted from a Qual of 165.229? [/INST] SELECT MAX(laps) FROM table_name_17 WHERE qual = "165.229" </s>
Whent he start was 15, what was the Qual?
CREATE TABLE table_name_4 (qual VARCHAR, start VARCHAR)
SELECT qual FROM table_name_4 WHERE start = "15"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (qual VARCHAR, start VARCHAR) Question: Whent he start was 15, what was the Qual? [/INST] SELECT qual FROM table_name_4 WHERE start = "15" </s>
What was the start result with a Rank of 7 and more than 100 laps?
CREATE TABLE table_name_15 (start VARCHAR, rank VARCHAR, laps VARCHAR)
SELECT start FROM table_name_15 WHERE rank = "7" AND laps > 100
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (start VARCHAR, rank VARCHAR, laps VARCHAR) Question: What was the start result with a Rank of 7 and more than 100 laps? [/INST] SELECT start FROM table_name_15 WHERE rank = "7" AND laps > 100 </s>
Who was the shirt sponsor for the Blackburn Rovers?
CREATE TABLE table_name_59 (shirt_sponsor VARCHAR, team VARCHAR)
SELECT shirt_sponsor FROM table_name_59 WHERE team = "blackburn rovers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (shirt_sponsor VARCHAR, team VARCHAR) Question: Who was the shirt sponsor for the Blackburn Rovers? [/INST] SELECT shirt_sponsor FROM table_name_59 WHERE team = "blackburn rovers" </s>
Who was the team captain of the Bolton Wanderers?
CREATE TABLE table_name_60 (captain VARCHAR, team VARCHAR)
SELECT captain FROM table_name_60 WHERE team = "bolton wanderers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (captain VARCHAR, team VARCHAR) Question: Who was the team captain of the Bolton Wanderers? [/INST] SELECT captain FROM table_name_60 WHERE team = "bolton wanderers" </s>
For which team did Adidas manufacture kits and TDK sponsor shirts?
CREATE TABLE table_name_75 (team VARCHAR, kit_manufacturer VARCHAR, shirt_sponsor VARCHAR)
SELECT team FROM table_name_75 WHERE kit_manufacturer = "adidas" AND shirt_sponsor = "tdk"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (team VARCHAR, kit_manufacturer VARCHAR, shirt_sponsor VARCHAR) Question: For which team did Adidas manufacture kits and TDK sponsor shirts? [/INST] SELECT team FROM table_name_75 WHERE kit_manufac...
On which team was Robbie Earle the captain?
CREATE TABLE table_name_5 (team VARCHAR, captain VARCHAR)
SELECT team FROM table_name_5 WHERE captain = "robbie earle"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (team VARCHAR, captain VARCHAR) Question: On which team was Robbie Earle the captain? [/INST] SELECT team FROM table_name_5 WHERE captain = "robbie earle" </s>
Who was the manager for the team with captain Neil Redfearn?
CREATE TABLE table_name_24 (manager_1 VARCHAR, captain VARCHAR)
SELECT manager_1 FROM table_name_24 WHERE captain = "neil redfearn"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (manager_1 VARCHAR, captain VARCHAR) Question: Who was the manager for the team with captain Neil Redfearn? [/INST] SELECT manager_1 FROM table_name_24 WHERE captain = "neil redfearn" </s>
Who was the team captain for Crystal Palace?
CREATE TABLE table_name_56 (captain VARCHAR, team VARCHAR)
SELECT captain FROM table_name_56 WHERE team = "crystal palace"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (captain VARCHAR, team VARCHAR) Question: Who was the team captain for Crystal Palace? [/INST] SELECT captain FROM table_name_56 WHERE team = "crystal palace" </s>
drop goals larger than 0, and a Penalties of 52, and a Number larger than 5 had what lowest score?
CREATE TABLE table_name_96 (score INTEGER, number VARCHAR, drop_goals VARCHAR, penalties VARCHAR)
SELECT MIN(score) FROM table_name_96 WHERE drop_goals > 0 AND penalties = 52 AND number > 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (score INTEGER, number VARCHAR, drop_goals VARCHAR, penalties VARCHAR) Question: drop goals larger than 0, and a Penalties of 52, and a Number larger than 5 had what lowest score? [/INST] SELECT MI...
Player of jaco coetzee, and a Tries larger than 6 had what total number of score?
CREATE TABLE table_name_50 (score VARCHAR, player VARCHAR, tries VARCHAR)
SELECT COUNT(score) FROM table_name_50 WHERE player = "jaco coetzee" AND tries > 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (score VARCHAR, player VARCHAR, tries VARCHAR) Question: Player of jaco coetzee, and a Tries larger than 6 had what total number of score? [/INST] SELECT COUNT(score) FROM table_name_50 WHERE playe...
What is the highest round that has a draftee from Washington State University?
CREATE TABLE table_name_60 (round INTEGER, school VARCHAR)
SELECT MAX(round) FROM table_name_60 WHERE school = "washington state university"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (round INTEGER, school VARCHAR) Question: What is the highest round that has a draftee from Washington State University? [/INST] SELECT MAX(round) FROM table_name_60 WHERE school = "washington stat...
What round was Bob Randall selected in?
CREATE TABLE table_name_16 (round INTEGER, name VARCHAR)
SELECT MAX(round) FROM table_name_16 WHERE name = "bob randall"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (round INTEGER, name VARCHAR) Question: What round was Bob Randall selected in? [/INST] SELECT MAX(round) FROM table_name_16 WHERE name = "bob randall" </s>
Name the Ont of N.B. of 10 and normal total of 77
CREATE TABLE table_name_5 (ont VARCHAR, nb VARCHAR, normal_total VARCHAR)
SELECT ont FROM table_name_5 WHERE nb = "10" AND normal_total = "77"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (ont VARCHAR, nb VARCHAR, normal_total VARCHAR) Question: Name the Ont of N.B. of 10 and normal total of 77 [/INST] SELECT ont FROM table_name_5 WHERE nb = "10" AND normal_total = "77" </s>
Name the date enacted for N.S. of 10 and normal total of 104
CREATE TABLE table_name_73 (date_enacted VARCHAR, ns VARCHAR, normal_total VARCHAR)
SELECT date_enacted FROM table_name_73 WHERE ns = "10" AND normal_total = "104"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (date_enacted VARCHAR, ns VARCHAR, normal_total VARCHAR) Question: Name the date enacted for N.S. of 10 and normal total of 104 [/INST] SELECT date_enacted FROM table_name_73 WHERE ns = "10" AND no...
Name the NS with normal total of 102
CREATE TABLE table_name_11 (ns VARCHAR, normal_total VARCHAR)
SELECT ns FROM table_name_11 WHERE normal_total = "102"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (ns VARCHAR, normal_total VARCHAR) Question: Name the NS with normal total of 102 [/INST] SELECT ns FROM table_name_11 WHERE normal_total = "102" </s>
Name the normal with que of 24
CREATE TABLE table_name_62 (normal_total VARCHAR, que VARCHAR)
SELECT normal_total FROM table_name_62 WHERE que = "24"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (normal_total VARCHAR, que VARCHAR) Question: Name the normal with que of 24 [/INST] SELECT normal_total FROM table_name_62 WHERE que = "24" </s>
What is the sum of all the points won by Peter Whitehead in an alta f2 Chassis?
CREATE TABLE table_name_41 (points INTEGER, entrant VARCHAR, chassis VARCHAR)
SELECT SUM(points) FROM table_name_41 WHERE entrant = "peter whitehead" AND chassis = "alta f2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (points INTEGER, entrant VARCHAR, chassis VARCHAR) Question: What is the sum of all the points won by Peter Whitehead in an alta f2 Chassis? [/INST] SELECT SUM(points) FROM table_name_41 WHERE entr...
How many points does g a vandervell have?
CREATE TABLE table_name_95 (points VARCHAR, entrant VARCHAR)
SELECT points FROM table_name_95 WHERE entrant = "g a vandervell"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (points VARCHAR, entrant VARCHAR) Question: How many points does g a vandervell have? [/INST] SELECT points FROM table_name_95 WHERE entrant = "g a vandervell" </s>
How many total points were earned with ferrari 125 Chassis after 1952?
CREATE TABLE table_name_77 (points INTEGER, chassis VARCHAR, year VARCHAR)
SELECT SUM(points) FROM table_name_77 WHERE chassis = "ferrari 125" AND year > 1952
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (points INTEGER, chassis VARCHAR, year VARCHAR) Question: How many total points were earned with ferrari 125 Chassis after 1952? [/INST] SELECT SUM(points) FROM table_name_77 WHERE chassis = "ferra...
What is the total number of Points that Peter Whitehead earned in a Ferrari 125?
CREATE TABLE table_name_42 (points INTEGER, entrant VARCHAR, chassis VARCHAR)
SELECT SUM(points) FROM table_name_42 WHERE entrant = "peter whitehead" AND chassis = "ferrari 125"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (points INTEGER, entrant VARCHAR, chassis VARCHAR) Question: What is the total number of Points that Peter Whitehead earned in a Ferrari 125? [/INST] SELECT SUM(points) FROM table_name_42 WHERE ent...
Name the D 41 √ for having D 43 of r 13
CREATE TABLE table_name_20 (d_41_√ VARCHAR, d_43_o VARCHAR)
SELECT d_41_√ FROM table_name_20 WHERE d_43_o = "r 13"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (d_41_√ VARCHAR, d_43_o VARCHAR) Question: Name the D 41 √ for having D 43 of r 13 [/INST] SELECT d_41_√ FROM table_name_20 WHERE d_43_o = "r 13" </s>
What was the rank of a transfer fee larger than 13 million, and after 2008?
CREATE TABLE table_name_26 (rank VARCHAR, transfer_fee___€_million_ VARCHAR, year VARCHAR)
SELECT COUNT(rank) FROM table_name_26 WHERE transfer_fee___€_million_ > 13 AND year > 2008
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (rank VARCHAR, transfer_fee___€_million_ VARCHAR, year VARCHAR) Question: What was the rank of a transfer fee larger than 13 million, and after 2008? [/INST] SELECT COUNT(rank) FROM table_name_26 W...
What president was elected in 2010?
CREATE TABLE table_name_69 (president VARCHAR, elected VARCHAR)
SELECT president FROM table_name_69 WHERE elected = 2010
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (president VARCHAR, elected VARCHAR) Question: What president was elected in 2010? [/INST] SELECT president FROM table_name_69 WHERE elected = 2010 </s>
When seats for 2001 is greater than 15 and % 2001 is greater than 100, what is the % 2006?
CREATE TABLE table_name_70 (_percentage_2006 INTEGER, seats_2001 VARCHAR, _percentage_2001 VARCHAR)
SELECT AVG(_percentage_2006) FROM table_name_70 WHERE seats_2001 > 15 AND _percentage_2001 > 100
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (_percentage_2006 INTEGER, seats_2001 VARCHAR, _percentage_2001 VARCHAR) Question: When seats for 2001 is greater than 15 and % 2001 is greater than 100, what is the % 2006? [/INST] SELECT AVG(_per...
What is the sum of % for 2001 if 2001 seats equals 7?
CREATE TABLE table_name_32 (_percentage_2001 VARCHAR, seats_2001 VARCHAR)
SELECT COUNT(_percentage_2001) FROM table_name_32 WHERE seats_2001 = 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (_percentage_2001 VARCHAR, seats_2001 VARCHAR) Question: What is the sum of % for 2001 if 2001 seats equals 7? [/INST] SELECT COUNT(_percentage_2001) FROM table_name_32 WHERE seats_2001 = 7 </s>
If 2006 is 13% and 2001 is greater than 12.1%, what is the greatest number of seats for 2001?
CREATE TABLE table_name_71 (seats_2001 INTEGER, _percentage_2006 VARCHAR, _percentage_2001 VARCHAR)
SELECT MAX(seats_2001) FROM table_name_71 WHERE _percentage_2006 = 13 AND _percentage_2001 > 12.1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (seats_2001 INTEGER, _percentage_2006 VARCHAR, _percentage_2001 VARCHAR) Question: If 2006 is 13% and 2001 is greater than 12.1%, what is the greatest number of seats for 2001? [/INST] SELECT MAX(s...
What were the circumstances of the Hostile incident on the road to Jalalabad?
CREATE TABLE table_name_18 (circumstances VARCHAR, nature_of_incident VARCHAR, location VARCHAR)
SELECT circumstances FROM table_name_18 WHERE nature_of_incident = "hostile" AND location = "road to jalalabad"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (circumstances VARCHAR, nature_of_incident VARCHAR, location VARCHAR) Question: What were the circumstances of the Hostile incident on the road to Jalalabad? [/INST] SELECT circumstances FROM table...
What was the circumstance that happened on the road to Jalalabad?
CREATE TABLE table_name_89 (circumstances VARCHAR, location VARCHAR)
SELECT circumstances FROM table_name_89 WHERE location = "road to jalalabad"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (circumstances VARCHAR, location VARCHAR) Question: What was the circumstance that happened on the road to Jalalabad? [/INST] SELECT circumstances FROM table_name_89 WHERE location = "road to jalal...
What happened in Mazar-i-sharif?
CREATE TABLE table_name_3 (circumstances VARCHAR, location VARCHAR)
SELECT circumstances FROM table_name_3 WHERE location = "mazar-i-sharif"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (circumstances VARCHAR, location VARCHAR) Question: What happened in Mazar-i-sharif? [/INST] SELECT circumstances FROM table_name_3 WHERE location = "mazar-i-sharif" </s>
What is the Index number of Chen Bangjun Andie from Singapore?
CREATE TABLE table_name_23 (index VARCHAR, country VARCHAR, name VARCHAR)
SELECT index FROM table_name_23 WHERE country = "singapore" AND name = "chen bangjun andie"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (index VARCHAR, country VARCHAR, name VARCHAR) Question: What is the Index number of Chen Bangjun Andie from Singapore? [/INST] SELECT index FROM table_name_23 WHERE country = "singapore" AND name ...
What is the Chinese name of the Eliminated player from Singapore in Index f9?
CREATE TABLE table_name_51 (Chinese VARCHAR, index VARCHAR, status VARCHAR, country VARCHAR)
SELECT Chinese AS name FROM table_name_51 WHERE status = "eliminated" AND country = "singapore" AND index = "f9"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (Chinese VARCHAR, index VARCHAR, status VARCHAR, country VARCHAR) Question: What is the Chinese name of the Eliminated player from Singapore in Index f9? [/INST] SELECT Chinese AS name FROM table_n...
What is the Chinese name of the player in Index F10?
CREATE TABLE table_name_73 (Chinese VARCHAR, index VARCHAR)
SELECT Chinese AS name FROM table_name_73 WHERE index = "f10"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (Chinese VARCHAR, index VARCHAR) Question: What is the Chinese name of the player in Index F10? [/INST] SELECT Chinese AS name FROM table_name_73 WHERE index = "f10" </s>
What is the name of the player from Malaysia, Kuala Lumpur in Index f8?
CREATE TABLE table_name_67 (name VARCHAR, country VARCHAR, index VARCHAR)
SELECT name FROM table_name_67 WHERE country = "malaysia, kuala lumpur" AND index = "f8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (name VARCHAR, country VARCHAR, index VARCHAR) Question: What is the name of the player from Malaysia, Kuala Lumpur in Index f8? [/INST] SELECT name FROM table_name_67 WHERE country = "malaysia, ku...
Who was the opponent of the game on August 8?
CREATE TABLE table_name_36 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_36 WHERE date = "august 8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (opponent VARCHAR, date VARCHAR) Question: Who was the opponent of the game on August 8? [/INST] SELECT opponent FROM table_name_36 WHERE date = "august 8" </s>
Who took the winning slot at the Vojens venue?
CREATE TABLE table_name_29 (winners VARCHAR, venue VARCHAR)
SELECT winners FROM table_name_29 WHERE venue = "vojens"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (winners VARCHAR, venue VARCHAR) Question: Who took the winning slot at the Vojens venue? [/INST] SELECT winners FROM table_name_29 WHERE venue = "vojens" </s>
Who was the runner-up in 1980 at the Pocking venue?
CREATE TABLE table_name_93 (runner_up VARCHAR, venue VARCHAR, year VARCHAR)
SELECT runner_up FROM table_name_93 WHERE venue = "pocking" AND year = "1980"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (runner_up VARCHAR, venue VARCHAR, year VARCHAR) Question: Who was the runner-up in 1980 at the Pocking venue? [/INST] SELECT runner_up FROM table_name_93 WHERE venue = "pocking" AND year = "1980" ...
What rank did the United States swimmer come in who posted 11.26 seconds in the 100-meter youth female division?
CREATE TABLE table_name_71 (rank VARCHAR, fastest_time__s_ VARCHAR, nation VARCHAR)
SELECT COUNT(rank) FROM table_name_71 WHERE fastest_time__s_ = "11.26" AND nation = "united states"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (rank VARCHAR, fastest_time__s_ VARCHAR, nation VARCHAR) Question: What rank did the United States swimmer come in who posted 11.26 seconds in the 100-meter youth female division? [/INST] SELECT CO...
What is the lowest overall with more than 17 rounds?
CREATE TABLE table_name_25 (overall INTEGER, round INTEGER)
SELECT MIN(overall) FROM table_name_25 WHERE round > 17
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (overall INTEGER, round INTEGER) Question: What is the lowest overall with more than 17 rounds? [/INST] SELECT MIN(overall) FROM table_name_25 WHERE round > 17 </s>
What position has 14 rounds?
CREATE TABLE table_name_15 (position VARCHAR, round VARCHAR)
SELECT position FROM table_name_15 WHERE round = 14
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (position VARCHAR, round VARCHAR) Question: What position has 14 rounds? [/INST] SELECT position FROM table_name_15 WHERE round = 14 </s>
What United States player has a score of 69-73-68=210?
CREATE TABLE table_name_72 (player VARCHAR, country VARCHAR, score VARCHAR)
SELECT player FROM table_name_72 WHERE score = 69 - 73 - 68 = 210 AND country = "united states"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (player VARCHAR, country VARCHAR, score VARCHAR) Question: What United States player has a score of 69-73-68=210? [/INST] SELECT player FROM table_name_72 WHERE score = 69 - 73 - 68 = 210 AND count...
What Argentina country is in t10 place?
CREATE TABLE table_name_49 (score VARCHAR, place VARCHAR, country VARCHAR)
SELECT score FROM table_name_49 WHERE place = "t10" AND country = "argentina"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (score VARCHAR, place VARCHAR, country VARCHAR) Question: What Argentina country is in t10 place? [/INST] SELECT score FROM table_name_49 WHERE place = "t10" AND country = "argentina" </s>
Which country has the score of 71-71-68=210?
CREATE TABLE table_name_99 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_99 WHERE score = 71 - 71 - 68 = 210
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (country VARCHAR, score VARCHAR) Question: Which country has the score of 71-71-68=210? [/INST] SELECT country FROM table_name_99 WHERE score = 71 - 71 - 68 = 210 </s>
What To par scored 72-71-68=211?
CREATE TABLE table_name_29 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_29 WHERE score = 72 - 71 - 68 = 211
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (to_par VARCHAR, score VARCHAR) Question: What To par scored 72-71-68=211? [/INST] SELECT to_par FROM table_name_29 WHERE score = 72 - 71 - 68 = 211 </s>
Name the award won for category of choice tv villain in years after 2008
CREATE TABLE table_name_94 (award VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR)
SELECT award FROM table_name_94 WHERE result = "won" AND category = "choice tv villain" AND year > 2008
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (award VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR) Question: Name the award won for category of choice tv villain in years after 2008 [/INST] SELECT award FROM table_name_94 WHERE resu...
Name the award for nominated result and year after 2011
CREATE TABLE table_name_38 (award VARCHAR, result VARCHAR, year VARCHAR)
SELECT award FROM table_name_38 WHERE result = "nominated" AND year > 2011
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (award VARCHAR, result VARCHAR, year VARCHAR) Question: Name the award for nominated result and year after 2011 [/INST] SELECT award FROM table_name_38 WHERE result = "nominated" AND year > 2011 </...
Which Perth also has Sydney yes, Gold Coast yes, and Adelaide no?
CREATE TABLE table_name_97 (perth VARCHAR, adelaide VARCHAR, sydney VARCHAR, gold_coast VARCHAR)
SELECT perth FROM table_name_97 WHERE sydney = "yes" AND gold_coast = "yes" AND adelaide = "no"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (perth VARCHAR, adelaide VARCHAR, sydney VARCHAR, gold_coast VARCHAR) Question: Which Perth also has Sydney yes, Gold Coast yes, and Adelaide no? [/INST] SELECT perth FROM table_name_97 WHERE sydne...
Which Perth has Gold Coast yes, Sydney yes, Melbourne yes, and Adelaide yes?
CREATE TABLE table_name_56 (perth VARCHAR, adelaide VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, sydney VARCHAR)
SELECT perth FROM table_name_56 WHERE gold_coast = "yes" AND sydney = "yes" AND melbourne = "yes" AND adelaide = "yes"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (perth VARCHAR, adelaide VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, sydney VARCHAR) Question: Which Perth has Gold Coast yes, Sydney yes, Melbourne yes, and Adelaide yes? [/INST] SELECT perth ...
Which Adelaide has Sydney yes, Melbourne yes, and Perth no?
CREATE TABLE table_name_31 (adelaide VARCHAR, perth VARCHAR, sydney VARCHAR, melbourne VARCHAR)
SELECT adelaide FROM table_name_31 WHERE sydney = "yes" AND melbourne = "yes" AND perth = "no"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (adelaide VARCHAR, perth VARCHAR, sydney VARCHAR, melbourne VARCHAR) Question: Which Adelaide has Sydney yes, Melbourne yes, and Perth no? [/INST] SELECT adelaide FROM table_name_31 WHERE sydney = ...
Which Adelaide has Perth no, Gold Coast no, and Sydney yes?
CREATE TABLE table_name_13 (adelaide VARCHAR, sydney VARCHAR, perth VARCHAR, gold_coast VARCHAR)
SELECT adelaide FROM table_name_13 WHERE perth = "no" AND gold_coast = "yes" AND sydney = "yes"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (adelaide VARCHAR, sydney VARCHAR, perth VARCHAR, gold_coast VARCHAR) Question: Which Adelaide has Perth no, Gold Coast no, and Sydney yes? [/INST] SELECT adelaide FROM table_name_13 WHERE perth = ...
Which Melbourne has Gold Coast yes, Perth cancelled, and Adelaide cancelled?
CREATE TABLE table_name_11 (melbourne VARCHAR, adelaide VARCHAR, gold_coast VARCHAR, perth VARCHAR)
SELECT melbourne FROM table_name_11 WHERE gold_coast = "yes" AND perth = "cancelled" AND adelaide = "cancelled"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (melbourne VARCHAR, adelaide VARCHAR, gold_coast VARCHAR, perth VARCHAR) Question: Which Melbourne has Gold Coast yes, Perth cancelled, and Adelaide cancelled? [/INST] SELECT melbourne FROM table_n...
Which Melbourne has Sydney yes, Gold Coast yes, and Perth yes?
CREATE TABLE table_name_71 (melbourne VARCHAR, perth VARCHAR, sydney VARCHAR, gold_coast VARCHAR)
SELECT melbourne FROM table_name_71 WHERE sydney = "yes" AND gold_coast = "yes" AND perth = "yes"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (melbourne VARCHAR, perth VARCHAR, sydney VARCHAR, gold_coast VARCHAR) Question: Which Melbourne has Sydney yes, Gold Coast yes, and Perth yes? [/INST] SELECT melbourne FROM table_name_71 WHERE syd...
Who came in 3rd when Matej žagar won?
CREATE TABLE table_name_30 (winners VARCHAR)
SELECT 3 AS rd_place FROM table_name_30 WHERE winners = "matej žagar"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (winners VARCHAR) Question: Who came in 3rd when Matej žagar won? [/INST] SELECT 3 AS rd_place FROM table_name_30 WHERE winners = "matej žagar" </s>
Who won at Krško?
CREATE TABLE table_name_25 (winners VARCHAR, venue VARCHAR)
SELECT winners FROM table_name_25 WHERE venue = "krško"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (winners VARCHAR, venue VARCHAR) Question: Who won at Krško? [/INST] SELECT winners FROM table_name_25 WHERE venue = "krško" </s>
Who came in 3rd when Nicolai Klindt won?
CREATE TABLE table_name_2 (winners VARCHAR)
SELECT 3 AS rd_place FROM table_name_2 WHERE winners = "nicolai klindt"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (winners VARCHAR) Question: Who came in 3rd when Nicolai Klindt won? [/INST] SELECT 3 AS rd_place FROM table_name_2 WHERE winners = "nicolai klindt" </s>
Who came in 3rd at Venue?
CREATE TABLE table_name_99 (Id VARCHAR)
SELECT 3 AS rd_place FROM table_name_99 WHERE "venue" = "venue"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (Id VARCHAR) Question: Who came in 3rd at Venue? [/INST] SELECT 3 AS rd_place FROM table_name_99 WHERE "venue" = "venue" </s>
What is the total number of weeks that the Steelers had a record of 1–0?
CREATE TABLE table_name_99 (week VARCHAR, record VARCHAR)
SELECT COUNT(week) FROM table_name_99 WHERE record = "1–0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (week VARCHAR, record VARCHAR) Question: What is the total number of weeks that the Steelers had a record of 1–0? [/INST] SELECT COUNT(week) FROM table_name_99 WHERE record = "1–0" </s>
Who was the opponent at the Steelers game that had a result of l 20–17?
CREATE TABLE table_name_46 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_46 WHERE result = "l 20–17"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (opponent VARCHAR, result VARCHAR) Question: Who was the opponent at the Steelers game that had a result of l 20–17? [/INST] SELECT opponent FROM table_name_46 WHERE result = "l 20–17" </s>
Name the condition for partial thromboplastin time of prolonged and platelet count of unaffected with bleeding time of prolonged
CREATE TABLE table_name_41 (condition VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)
SELECT condition FROM table_name_41 WHERE partial_thromboplastin_time = "prolonged" AND platelet_count = "unaffected" AND bleeding_time = "prolonged"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (condition VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR) Question: Name the condition for partial thromboplastin time of prolonged and platelet count ...
Name the condition with partial thromboplastin time of prolonged or unaffected
CREATE TABLE table_name_14 (condition VARCHAR, partial_thromboplastin_time VARCHAR)
SELECT condition FROM table_name_14 WHERE partial_thromboplastin_time = "prolonged or unaffected"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (condition VARCHAR, partial_thromboplastin_time VARCHAR) Question: Name the condition with partial thromboplastin time of prolonged or unaffected [/INST] SELECT condition FROM table_name_14 WHERE p...
Name the condition with partial thromboplastin time of unaffected and prothrombin time of unaffected with platelet count of decreased
CREATE TABLE table_name_4 (condition VARCHAR, platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR)
SELECT condition FROM table_name_4 WHERE partial_thromboplastin_time = "unaffected" AND prothrombin_time = "unaffected" AND platelet_count = "decreased"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (condition VARCHAR, platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR) Question: Name the condition with partial thromboplastin time of unaffected and prothrombin...
Name the condition with platelet count of unaffected and bleeding time of unaffected with prothrombin time of prolonged and partial thromboplastin time of prolonged
CREATE TABLE table_name_52 (condition VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, platelet_count VARCHAR, bleeding_time VARCHAR)
SELECT condition FROM table_name_52 WHERE platelet_count = "unaffected" AND bleeding_time = "unaffected" AND prothrombin_time = "prolonged" AND partial_thromboplastin_time = "prolonged"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (condition VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, platelet_count VARCHAR, bleeding_time VARCHAR) Question: Name the condition with platelet count of unaffected and ...
Name the bleeding time with platelet count of unaffected and condition of factor xii deficiency
CREATE TABLE table_name_83 (bleeding_time VARCHAR, platelet_count VARCHAR, condition VARCHAR)
SELECT bleeding_time FROM table_name_83 WHERE platelet_count = "unaffected" AND condition = "factor xii deficiency"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (bleeding_time VARCHAR, platelet_count VARCHAR, condition VARCHAR) Question: Name the bleeding time with platelet count of unaffected and condition of factor xii deficiency [/INST] SELECT bleeding_...
what is the number of losses with draws less than 1 and 6.3% efficiency?
CREATE TABLE table_name_8 (losses INTEGER, efficiency__percentage VARCHAR, draws VARCHAR)
SELECT AVG(losses) FROM table_name_8 WHERE efficiency__percentage = "6.3%" AND draws < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (losses INTEGER, efficiency__percentage VARCHAR, draws VARCHAR) Question: what is the number of losses with draws less than 1 and 6.3% efficiency? [/INST] SELECT AVG(losses) FROM table_name_8 WHERE ...
what is the number of draws for ali said gouled?
CREATE TABLE table_name_12 (draws VARCHAR, name VARCHAR)
SELECT COUNT(draws) FROM table_name_12 WHERE name = "ali said gouled"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (draws VARCHAR, name VARCHAR) Question: what is the number of draws for ali said gouled? [/INST] SELECT COUNT(draws) FROM table_name_12 WHERE name = "ali said gouled" </s>
what is the number of draws when there are 4 losses and 28.6% efficiency?
CREATE TABLE table_name_11 (draws VARCHAR, losses VARCHAR, efficiency__percentage VARCHAR)
SELECT COUNT(draws) FROM table_name_11 WHERE losses = 4 AND efficiency__percentage = "28.6%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (draws VARCHAR, losses VARCHAR, efficiency__percentage VARCHAR) Question: what is the number of draws when there are 4 losses and 28.6% efficiency? [/INST] SELECT COUNT(draws) FROM table_name_11 WH...
Name the females when males are 1 548
CREATE TABLE table_name_60 (females VARCHAR, males VARCHAR)
SELECT females FROM table_name_60 WHERE males = "1 548"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (females VARCHAR, males VARCHAR) Question: Name the females when males are 1 548 [/INST] SELECT females FROM table_name_60 WHERE males = "1 548" </s>
Name the percentage with number of 1 343
CREATE TABLE table_name_11 (percentage___percentage_ VARCHAR, number VARCHAR)
SELECT percentage___percentage_ FROM table_name_11 WHERE number = "1 343"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (percentage___percentage_ VARCHAR, number VARCHAR) Question: Name the percentage with number of 1 343 [/INST] SELECT percentage___percentage_ FROM table_name_11 WHERE number = "1 343" </s>
Name the percentage which has females of 2
CREATE TABLE table_name_17 (percentage___percentage_ VARCHAR, females VARCHAR)
SELECT percentage___percentage_ FROM table_name_17 WHERE females = "2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (percentage___percentage_ VARCHAR, females VARCHAR) Question: Name the percentage which has females of 2 [/INST] SELECT percentage___percentage_ FROM table_name_17 WHERE females = "2" </s>
Name the males for language of persons that didn't name their native language
CREATE TABLE table_name_57 (males VARCHAR, language VARCHAR)
SELECT males FROM table_name_57 WHERE language = "persons that didn't name their native language"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (males VARCHAR, language VARCHAR) Question: Name the males for language of persons that didn't name their native language [/INST] SELECT males FROM table_name_57 WHERE language = "persons that didn...