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