answer
stringlengths
18
557
context
stringlengths
27
489
question
stringlengths
12
244
text
stringlengths
275
1.7k
SELECT gender FROM table_name_86 WHERE decile = 5 AND roll = 90
CREATE TABLE table_name_86 (gender VARCHAR, decile VARCHAR, roll VARCHAR)
What is the Gender of students at a school with a Decile of 5 and a Roll of 90?
<s>[INST] Given the following SQL query and context: Query: SELECT gender FROM table_name_86 WHERE decile = 5 AND roll = 90 Context: CREATE TABLE table_name_86 (gender VARCHAR, decile VARCHAR, roll VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Gender of students at a school with a Decile of 5 and a Roll of 90? The answer to your question is: SELECT gender FROM table_name_86 WHERE decile = 5 AND roll = 90. [/s>
SELECT years FROM table_name_27 WHERE roll > 23 AND decile > 5
CREATE TABLE table_name_27 (years VARCHAR, roll VARCHAR, decile VARCHAR)
Name the Years of schools with a Roll Larger than 23 and a Decile greater than 5.
<s>[INST] Given the following SQL query and context: Query: SELECT years FROM table_name_27 WHERE roll > 23 AND decile > 5 Context: CREATE TABLE table_name_27 (years VARCHAR, roll VARCHAR, decile VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the Years of schools with a Roll Larger than 23 and a Decile greater than 5. The answer to your question is: SELECT years FROM table_name_27 WHERE roll > 23 AND decile > 5. [/s>
SELECT COUNT(roll) FROM table_name_56 WHERE authority = "state" AND area = "hapuku" AND decile > 4
CREATE TABLE table_name_56 (roll VARCHAR, decile VARCHAR, authority VARCHAR, area VARCHAR)
What is the total number of Rolls of State schools in Hapuku with a Decile greater than 4?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(roll) FROM table_name_56 WHERE authority = "state" AND area = "hapuku" AND decile > 4 Context: CREATE TABLE table_name_56 (roll VARCHAR, decile VARCHAR, authority VARCHAR, area VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total number of Rolls of State schools in Hapuku with a Decile greater than 4? The answer to your question is: SELECT COUNT(roll) FROM table_name_56 WHERE authority = "state" AND area = "hapuku" AND decile > 4. [/s>
SELECT d_45 FROM table_name_23 WHERE d_42 = "r 22"
CREATE TABLE table_name_23 (d_45 VARCHAR, d_42 VARCHAR)
What is the D45 associated with a D42 of r 22?
<s>[INST] Given the following SQL query and context: Query: SELECT d_45 FROM table_name_23 WHERE d_42 = "r 22" Context: CREATE TABLE table_name_23 (d_45 VARCHAR, d_42 VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the D45 associated with a D42 of r 22? The answer to your question is: SELECT d_45 FROM table_name_23 WHERE d_42 = "r 22". [/s>
SELECT d_43 FROM table_name_44 WHERE d_41 = "r 21"
CREATE TABLE table_name_44 (d_43 VARCHAR, d_41 VARCHAR)
What is the D43 associated with a D41 of r 21?
<s>[INST] Given the following SQL query and context: Query: SELECT d_43 FROM table_name_44 WHERE d_41 = "r 21" Context: CREATE TABLE table_name_44 (d_43 VARCHAR, d_41 VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the D43 associated with a D41 of r 21? The answer to your question is: SELECT d_43 FROM table_name_44 WHERE d_41 = "r 21". [/s>
SELECT d_42 FROM table_name_31 WHERE d_47 = "d 27"
CREATE TABLE table_name_31 (d_42 VARCHAR, d_47 VARCHAR)
What is the D42 associated with a D47 of d 27?
<s>[INST] Given the following SQL query and context: Query: SELECT d_42 FROM table_name_31 WHERE d_47 = "d 27" Context: CREATE TABLE table_name_31 (d_42 VARCHAR, d_47 VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the D42 associated with a D47 of d 27? The answer to your question is: SELECT d_42 FROM table_name_31 WHERE d_47 = "d 27". [/s>
SELECT d_43 FROM table_name_92 WHERE d_41 = "r 16"
CREATE TABLE table_name_92 (d_43 VARCHAR, d_41 VARCHAR)
What is the D43 associated with a D41 of r 16?
<s>[INST] Given the following SQL query and context: Query: SELECT d_43 FROM table_name_92 WHERE d_41 = "r 16" Context: CREATE TABLE table_name_92 (d_43 VARCHAR, d_41 VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the D43 associated with a D41 of r 16? The answer to your question is: SELECT d_43 FROM table_name_92 WHERE d_41 = "r 16". [/s>
SELECT record FROM table_name_84 WHERE loss = "hargan (14–13)"
CREATE TABLE table_name_84 (record VARCHAR, loss VARCHAR)
What is the record for the game when the loss was hargan (14–13)?
<s>[INST] Given the following SQL query and context: Query: SELECT record FROM table_name_84 WHERE loss = "hargan (14–13)" Context: CREATE TABLE table_name_84 (record VARCHAR, loss VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the record for the game when the loss was hargan (14–13)? The answer to your question is: SELECT record FROM table_name_84 WHERE loss = "hargan (14–13)". [/s>
SELECT record FROM table_name_10 WHERE score = "7–5"
CREATE TABLE table_name_10 (record VARCHAR, score VARCHAR)
What is the record for the game with a score of 7–5?
<s>[INST] Given the following SQL query and context: Query: SELECT record FROM table_name_10 WHERE score = "7–5" Context: CREATE TABLE table_name_10 (record VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the record for the game with a score of 7–5? The answer to your question is: SELECT record FROM table_name_10 WHERE score = "7–5". [/s>
SELECT date FROM table_name_4 WHERE loss = "aker (3–8)"
CREATE TABLE table_name_4 (date VARCHAR, loss VARCHAR)
What date was the game with loss of Aker (3–8)?
<s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_4 WHERE loss = "aker (3–8)" Context: CREATE TABLE table_name_4 (date VARCHAR, loss VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What date was the game with loss of Aker (3–8)? The answer to your question is: SELECT date FROM table_name_4 WHERE loss = "aker (3–8)". [/s>
SELECT opponent FROM table_name_86 WHERE score = "7–1"
CREATE TABLE table_name_86 (opponent VARCHAR, score VARCHAR)
What team was the opponent when the score was 7–1?
<s>[INST] Given the following SQL query and context: Query: SELECT opponent FROM table_name_86 WHERE score = "7–1" Context: CREATE TABLE table_name_86 (opponent VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What team was the opponent when the score was 7–1? The answer to your question is: SELECT opponent FROM table_name_86 WHERE score = "7–1". [/s>
SELECT score FROM table_name_18 WHERE opponent = "orioles" AND loss = "morehead (5–4)"
CREATE TABLE table_name_18 (score VARCHAR, opponent VARCHAR, loss VARCHAR)
What was the score when the opponent was the Orioles and the loss shows morehead (5–4)?
<s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_18 WHERE opponent = "orioles" AND loss = "morehead (5–4)" Context: CREATE TABLE table_name_18 (score VARCHAR, opponent VARCHAR, loss VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the score when the opponent was the Orioles and the loss shows morehead (5–4)? The answer to your question is: SELECT score FROM table_name_18 WHERE opponent = "orioles" AND loss = "morehead (5–4)". [/s>
SELECT opponent FROM table_name_35 WHERE record = "60-61"
CREATE TABLE table_name_35 (opponent VARCHAR, record VARCHAR)
Name the opponent with a record of 60-61
<s>[INST] Given the following SQL query and context: Query: SELECT opponent FROM table_name_35 WHERE record = "60-61" Context: CREATE TABLE table_name_35 (opponent VARCHAR, record VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the opponent with a record of 60-61 The answer to your question is: SELECT opponent FROM table_name_35 WHERE record = "60-61". [/s>
SELECT name FROM table_name_94 WHERE perfection = "77.96%"
CREATE TABLE table_name_94 (name VARCHAR, perfection VARCHAR)
Who had a perfection percentage of 77.96%?
<s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_94 WHERE perfection = "77.96%" Context: CREATE TABLE table_name_94 (name VARCHAR, perfection VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who had a perfection percentage of 77.96%? The answer to your question is: SELECT name FROM table_name_94 WHERE perfection = "77.96%". [/s>
SELECT rank FROM table_name_46 WHERE name = "svetlana fedorenko"
CREATE TABLE table_name_46 (rank VARCHAR, name VARCHAR)
What was the rank of Svetlana Fedorenko?
<s>[INST] Given the following SQL query and context: Query: SELECT rank FROM table_name_46 WHERE name = "svetlana fedorenko" Context: CREATE TABLE table_name_46 (rank VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the rank of Svetlana Fedorenko? The answer to your question is: SELECT rank FROM table_name_46 WHERE name = "svetlana fedorenko". [/s>
SELECT name FROM table_name_62 WHERE perfection = "73.24%"
CREATE TABLE table_name_62 (name VARCHAR, perfection VARCHAR)
Who had a perfection percentage of 73.24%?
<s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_62 WHERE perfection = "73.24%" Context: CREATE TABLE table_name_62 (name VARCHAR, perfection VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who had a perfection percentage of 73.24%? The answer to your question is: SELECT name FROM table_name_62 WHERE perfection = "73.24%". [/s>
SELECT score FROM table_name_38 WHERE date = "june 1"
CREATE TABLE table_name_38 (score VARCHAR, date VARCHAR)
What was the score of the game on June 1?
<s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_38 WHERE date = "june 1" Context: CREATE TABLE table_name_38 (score VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the score of the game on June 1? The answer to your question is: SELECT score FROM table_name_38 WHERE date = "june 1". [/s>
SELECT score FROM table_name_6 WHERE opponent = "andrei pavel"
CREATE TABLE table_name_6 (score VARCHAR, opponent VARCHAR)
What was the score against andrei pavel?
<s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_6 WHERE opponent = "andrei pavel" Context: CREATE TABLE table_name_6 (score VARCHAR, opponent VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the score against andrei pavel? The answer to your question is: SELECT score FROM table_name_6 WHERE opponent = "andrei pavel". [/s>
SELECT date FROM table_name_52 WHERE tournament = "bologna"
CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR)
When was the tournament of bologna?
<s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_52 WHERE tournament = "bologna" Context: CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR) [/INST] Based on the provided SQL query and context, your question is: When was the tournament of bologna? The answer to your question is: SELECT date FROM table_name_52 WHERE tournament = "bologna". [/s>
SELECT opponent FROM table_name_31 WHERE surface = "clay" AND score = "6–1, 7–6"
CREATE TABLE table_name_31 (opponent VARCHAR, surface VARCHAR, score VARCHAR)
Who played on clay and had a score of 6–1, 7–6?
<s>[INST] Given the following SQL query and context: Query: SELECT opponent FROM table_name_31 WHERE surface = "clay" AND score = "6–1, 7–6" Context: CREATE TABLE table_name_31 (opponent VARCHAR, surface VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who played on clay and had a score of 6–1, 7–6? The answer to your question is: SELECT opponent FROM table_name_31 WHERE surface = "clay" AND score = "6–1, 7–6". [/s>
SELECT opponent FROM table_name_16 WHERE surface = "clay" AND date = "3 march 2012"
CREATE TABLE table_name_16 (opponent VARCHAR, surface VARCHAR, date VARCHAR)
Who played on clay on 3 march 2012?
<s>[INST] Given the following SQL query and context: Query: SELECT opponent FROM table_name_16 WHERE surface = "clay" AND date = "3 march 2012" Context: CREATE TABLE table_name_16 (opponent VARCHAR, surface VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who played on clay on 3 march 2012? The answer to your question is: SELECT opponent FROM table_name_16 WHERE surface = "clay" AND date = "3 march 2012". [/s>
SELECT score FROM table_name_66 WHERE opponent = "fabrice martin"
CREATE TABLE table_name_66 (score VARCHAR, opponent VARCHAR)
What was the score against fabrice martin?
<s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_66 WHERE opponent = "fabrice martin" Context: CREATE TABLE table_name_66 (score VARCHAR, opponent VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the score against fabrice martin? The answer to your question is: SELECT score FROM table_name_66 WHERE opponent = "fabrice martin". [/s>
SELECT surface FROM table_name_58 WHERE score = "7–5, 3–6, 7–6"
CREATE TABLE table_name_58 (surface VARCHAR, score VARCHAR)
What was the surface of the score of 7–5, 3–6, 7–6?
<s>[INST] Given the following SQL query and context: Query: SELECT surface FROM table_name_58 WHERE score = "7–5, 3–6, 7–6" Context: CREATE TABLE table_name_58 (surface VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the surface of the score of 7–5, 3–6, 7–6? The answer to your question is: SELECT surface FROM table_name_58 WHERE score = "7–5, 3–6, 7–6". [/s>
SELECT order FROM table_name_61 WHERE elector = "marino bulcani"
CREATE TABLE table_name_61 (order VARCHAR, elector VARCHAR)
What's the Order with an Elector of Marino Bulcani?
<s>[INST] Given the following SQL query and context: Query: SELECT order FROM table_name_61 WHERE elector = "marino bulcani" Context: CREATE TABLE table_name_61 (order VARCHAR, elector VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What's the Order with an Elector of Marino Bulcani? The answer to your question is: SELECT order FROM table_name_61 WHERE elector = "marino bulcani". [/s>
SELECT elevator FROM table_name_25 WHERE elevated = "1378, september 18" AND order = "cardinal-priest" AND elector = "poncello orsini"
CREATE TABLE table_name_25 (elevator VARCHAR, elector VARCHAR, elevated VARCHAR, order VARCHAR)
What's the Elevator that has Elevated: 1378, September 18, an Order of Cardinal-Priest, and an Elector of Poncello Orsini?
<s>[INST] Given the following SQL query and context: Query: SELECT elevator FROM table_name_25 WHERE elevated = "1378, september 18" AND order = "cardinal-priest" AND elector = "poncello orsini" Context: CREATE TABLE table_name_25 (elevator VARCHAR, elector VARCHAR, elevated VARCHAR, order VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What's the Elevator that has Elevated: 1378, September 18, an Order of Cardinal-Priest, and an Elector of Poncello Orsini? The answer to your question is: SELECT elevator FROM table_name_25 WHERE elevated = "1378, september 18" AND order = "cardinal-priest" AND elector = "poncello orsini". [/s>
SELECT elector FROM table_name_62 WHERE title = "deacon of s. maria in domnica"
CREATE TABLE table_name_62 (elector VARCHAR, title VARCHAR)
What is listed as the Elector with the Title of Deacon of S. Maria in Domnica?
<s>[INST] Given the following SQL query and context: Query: SELECT elector FROM table_name_62 WHERE title = "deacon of s. maria in domnica" Context: CREATE TABLE table_name_62 (elector VARCHAR, title VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is listed as the Elector with the Title of Deacon of S. Maria in Domnica? The answer to your question is: SELECT elector FROM table_name_62 WHERE title = "deacon of s. maria in domnica". [/s>
SELECT elevated FROM table_name_78 WHERE order = "cardinal-bishop"
CREATE TABLE table_name_78 (elevated VARCHAR, order VARCHAR)
What's listed for the Elevated category that has an Order of Cardinal-Bishop?
<s>[INST] Given the following SQL query and context: Query: SELECT elevated FROM table_name_78 WHERE order = "cardinal-bishop" Context: CREATE TABLE table_name_78 (elevated VARCHAR, order VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What's listed for the Elevated category that has an Order of Cardinal-Bishop? The answer to your question is: SELECT elevated FROM table_name_78 WHERE order = "cardinal-bishop". [/s>
SELECT division_record FROM table_name_79 WHERE school = "milford"
CREATE TABLE table_name_79 (division_record VARCHAR, school VARCHAR)
The Milford School has what Division Record?
<s>[INST] Given the following SQL query and context: Query: SELECT division_record FROM table_name_79 WHERE school = "milford" Context: CREATE TABLE table_name_79 (division_record VARCHAR, school VARCHAR) [/INST] Based on the provided SQL query and context, your question is: The Milford School has what Division Record? The answer to your question is: SELECT division_record FROM table_name_79 WHERE school = "milford". [/s>
SELECT team FROM table_name_29 WHERE school = "sussex tech"
CREATE TABLE table_name_29 (team VARCHAR, school VARCHAR)
What is the name of the School of the Sussex Tech's Team?
<s>[INST] Given the following SQL query and context: Query: SELECT team FROM table_name_29 WHERE school = "sussex tech" Context: CREATE TABLE table_name_29 (team VARCHAR, school VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the name of the School of the Sussex Tech's Team? The answer to your question is: SELECT team FROM table_name_29 WHERE school = "sussex tech". [/s>
SELECT score FROM table_name_5 WHERE player = "arnold palmer"
CREATE TABLE table_name_5 (score VARCHAR, player VARCHAR)
What was Arnold Palmer's score in the tournamnet?
<s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_5 WHERE player = "arnold palmer" Context: CREATE TABLE table_name_5 (score VARCHAR, player VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was Arnold Palmer's score in the tournamnet? The answer to your question is: SELECT score FROM table_name_5 WHERE player = "arnold palmer". [/s>
SELECT party FROM table_name_31 WHERE member = "peter white"
CREATE TABLE table_name_31 (party VARCHAR, member VARCHAR)
What the name of Peter White's party?
<s>[INST] Given the following SQL query and context: Query: SELECT party FROM table_name_31 WHERE member = "peter white" Context: CREATE TABLE table_name_31 (party VARCHAR, member VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What the name of Peter White's party? The answer to your question is: SELECT party FROM table_name_31 WHERE member = "peter white". [/s>
SELECT term_in_office FROM table_name_73 WHERE electorate = "indi"
CREATE TABLE table_name_73 (term_in_office VARCHAR, electorate VARCHAR)
What term did an Electorate of indi have in office?
<s>[INST] Given the following SQL query and context: Query: SELECT term_in_office FROM table_name_73 WHERE electorate = "indi" Context: CREATE TABLE table_name_73 (term_in_office VARCHAR, electorate VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What term did an Electorate of indi have in office? The answer to your question is: SELECT term_in_office FROM table_name_73 WHERE electorate = "indi". [/s>
SELECT term_in_office FROM table_name_9 WHERE member = "hon ralph hunt"
CREATE TABLE table_name_9 (term_in_office VARCHAR, member VARCHAR)
What term did hon ralph hunt serve in office?
<s>[INST] Given the following SQL query and context: Query: SELECT term_in_office FROM table_name_9 WHERE member = "hon ralph hunt" Context: CREATE TABLE table_name_9 (term_in_office VARCHAR, member VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What term did hon ralph hunt serve in office? The answer to your question is: SELECT term_in_office FROM table_name_9 WHERE member = "hon ralph hunt". [/s>
SELECT party FROM table_name_65 WHERE state = "vic" AND member = "peter fisher"
CREATE TABLE table_name_65 (party VARCHAR, state VARCHAR, member VARCHAR)
What party is Peter Fisher from Vic serve in office?
<s>[INST] Given the following SQL query and context: Query: SELECT party FROM table_name_65 WHERE state = "vic" AND member = "peter fisher" Context: CREATE TABLE table_name_65 (party VARCHAR, state VARCHAR, member VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What party is Peter Fisher from Vic serve in office? The answer to your question is: SELECT party FROM table_name_65 WHERE state = "vic" AND member = "peter fisher". [/s>
SELECT SUM(laps) FROM table_name_26 WHERE year = 2012
CREATE TABLE table_name_26 (laps INTEGER, year VARCHAR)
How many laps were done in 2012?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(laps) FROM table_name_26 WHERE year = 2012 Context: CREATE TABLE table_name_26 (laps INTEGER, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many laps were done in 2012? The answer to your question is: SELECT SUM(laps) FROM table_name_26 WHERE year = 2012. [/s>
SELECT date FROM table_name_12 WHERE score = "1–6 6–1 3–6"
CREATE TABLE table_name_12 (date VARCHAR, score VARCHAR)
On what day was the score of 1–6 6–1 3–6 achieved?
<s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_12 WHERE score = "1–6 6–1 3–6" Context: CREATE TABLE table_name_12 (date VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: On what day was the score of 1–6 6–1 3–6 achieved? The answer to your question is: SELECT date FROM table_name_12 WHERE score = "1–6 6–1 3–6". [/s>
SELECT AVG(gold) FROM table_name_62 WHERE total < 14 AND bronze < 1 AND nation = "czech republic"
CREATE TABLE table_name_62 (gold INTEGER, nation VARCHAR, total VARCHAR, bronze VARCHAR)
Name the average gold for czech republic and bronze less than 1 when total is less than 14
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(gold) FROM table_name_62 WHERE total < 14 AND bronze < 1 AND nation = "czech republic" Context: CREATE TABLE table_name_62 (gold INTEGER, nation VARCHAR, total VARCHAR, bronze VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the average gold for czech republic and bronze less than 1 when total is less than 14 The answer to your question is: SELECT AVG(gold) FROM table_name_62 WHERE total < 14 AND bronze < 1 AND nation = "czech republic". [/s>
SELECT MAX(rank) FROM table_name_13 WHERE silver = 4 AND bronze < 3
CREATE TABLE table_name_13 (rank INTEGER, silver VARCHAR, bronze VARCHAR)
Name the highest rank when silver is 4 and bronze is less than 3
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(rank) FROM table_name_13 WHERE silver = 4 AND bronze < 3 Context: CREATE TABLE table_name_13 (rank INTEGER, silver VARCHAR, bronze VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the highest rank when silver is 4 and bronze is less than 3 The answer to your question is: SELECT MAX(rank) FROM table_name_13 WHERE silver = 4 AND bronze < 3. [/s>
SELECT COUNT(total) FROM table_name_59 WHERE bronze = 4 AND silver > 6
CREATE TABLE table_name_59 (total VARCHAR, bronze VARCHAR, silver VARCHAR)
Name the total number of total for bronze of 4 and silver more than 6
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(total) FROM table_name_59 WHERE bronze = 4 AND silver > 6 Context: CREATE TABLE table_name_59 (total VARCHAR, bronze VARCHAR, silver VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the total number of total for bronze of 4 and silver more than 6 The answer to your question is: SELECT COUNT(total) FROM table_name_59 WHERE bronze = 4 AND silver > 6. [/s>
SELECT outcome FROM table_name_11 WHERE surface = "carpet (i)"
CREATE TABLE table_name_11 (outcome VARCHAR, surface VARCHAR)
When the Surface was Carpet (i), what was the Outcome?
<s>[INST] Given the following SQL query and context: Query: SELECT outcome FROM table_name_11 WHERE surface = "carpet (i)" Context: CREATE TABLE table_name_11 (outcome VARCHAR, surface VARCHAR) [/INST] Based on the provided SQL query and context, your question is: When the Surface was Carpet (i), what was the Outcome? The answer to your question is: SELECT outcome FROM table_name_11 WHERE surface = "carpet (i)". [/s>
SELECT SUM(draw) FROM table_name_49 WHERE place > 6 AND votes > 38
CREATE TABLE table_name_49 (draw INTEGER, place VARCHAR, votes VARCHAR)
What is the draw number of the song with a place lower than 6 and more than 38 votes?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(draw) FROM table_name_49 WHERE place > 6 AND votes > 38 Context: CREATE TABLE table_name_49 (draw INTEGER, place VARCHAR, votes VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the draw number of the song with a place lower than 6 and more than 38 votes? The answer to your question is: SELECT SUM(draw) FROM table_name_49 WHERE place > 6 AND votes > 38. [/s>
SELECT COUNT(votes) FROM table_name_4 WHERE artist = "sahlene" AND place > 1
CREATE TABLE table_name_4 (votes VARCHAR, artist VARCHAR, place VARCHAR)
What is the total number of votes Sahlene with a place below 1 has?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(votes) FROM table_name_4 WHERE artist = "sahlene" AND place > 1 Context: CREATE TABLE table_name_4 (votes VARCHAR, artist VARCHAR, place VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total number of votes Sahlene with a place below 1 has? The answer to your question is: SELECT COUNT(votes) FROM table_name_4 WHERE artist = "sahlene" AND place > 1. [/s>
SELECT MAX(place) FROM table_name_8 WHERE votes = 38 AND draw > 3
CREATE TABLE table_name_8 (place INTEGER, votes VARCHAR, draw VARCHAR)
What is the highest place of the song with 38 votes and a draw great than 3?
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(place) FROM table_name_8 WHERE votes = 38 AND draw > 3 Context: CREATE TABLE table_name_8 (place INTEGER, votes VARCHAR, draw VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the highest place of the song with 38 votes and a draw great than 3? The answer to your question is: SELECT MAX(place) FROM table_name_8 WHERE votes = 38 AND draw > 3. [/s>
SELECT SUM(votes) FROM table_name_93 WHERE draw < 4 AND artist = "yvetta kadakas & ivo linna"
CREATE TABLE table_name_93 (votes INTEGER, draw VARCHAR, artist VARCHAR)
How many votes did Yvetta Kadakas & Ivo Linna, who had less than 4 draws, have?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(votes) FROM table_name_93 WHERE draw < 4 AND artist = "yvetta kadakas & ivo linna" Context: CREATE TABLE table_name_93 (votes INTEGER, draw VARCHAR, artist VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many votes did Yvetta Kadakas & Ivo Linna, who had less than 4 draws, have? The answer to your question is: SELECT SUM(votes) FROM table_name_93 WHERE draw < 4 AND artist = "yvetta kadakas & ivo linna". [/s>
SELECT year FROM table_name_27 WHERE finish = "3"
CREATE TABLE table_name_27 (year VARCHAR, finish VARCHAR)
What year was there a finish of 3?
<s>[INST] Given the following SQL query and context: Query: SELECT year FROM table_name_27 WHERE finish = "3" Context: CREATE TABLE table_name_27 (year VARCHAR, finish VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What year was there a finish of 3? The answer to your question is: SELECT year FROM table_name_27 WHERE finish = "3". [/s>
SELECT SUM(year) FROM table_name_97 WHERE start = "33"
CREATE TABLE table_name_97 (year INTEGER, start VARCHAR)
What year was the start 33?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(year) FROM table_name_97 WHERE start = "33" Context: CREATE TABLE table_name_97 (year INTEGER, start VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What year was the start 33? The answer to your question is: SELECT SUM(year) FROM table_name_97 WHERE start = "33". [/s>
SELECT year FROM table_name_48 WHERE team = "simon" AND start = "3"
CREATE TABLE table_name_48 (year VARCHAR, team VARCHAR, start VARCHAR)
When was there a team of Simon and the start was 3?
<s>[INST] Given the following SQL query and context: Query: SELECT year FROM table_name_48 WHERE team = "simon" AND start = "3" Context: CREATE TABLE table_name_48 (year VARCHAR, team VARCHAR, start VARCHAR) [/INST] Based on the provided SQL query and context, your question is: When was there a team of Simon and the start was 3? The answer to your question is: SELECT year FROM table_name_48 WHERE team = "simon" AND start = "3". [/s>
SELECT city FROM table_name_69 WHERE spire__m_ = "105" AND roof___m__ < 96 AND built = 1985
CREATE TABLE table_name_69 (city VARCHAR, built VARCHAR, spire__m_ VARCHAR, roof___m__ VARCHAR)
What's the name of the 1985 city with a Spire (m) of 105, and a Roof (m) smaller than 96?
<s>[INST] Given the following SQL query and context: Query: SELECT city FROM table_name_69 WHERE spire__m_ = "105" AND roof___m__ < 96 AND built = 1985 Context: CREATE TABLE table_name_69 (city VARCHAR, built VARCHAR, spire__m_ VARCHAR, roof___m__ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What's the name of the 1985 city with a Spire (m) of 105, and a Roof (m) smaller than 96? The answer to your question is: SELECT city FROM table_name_69 WHERE spire__m_ = "105" AND roof___m__ < 96 AND built = 1985. [/s>
SELECT AVG(floors) FROM table_name_67 WHERE built = 2004 AND roof___m__ = 106
CREATE TABLE table_name_67 (floors INTEGER, built VARCHAR, roof___m__ VARCHAR)
What's the average number of floors that were built in 2004, and have a roof (m) of 106?
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(floors) FROM table_name_67 WHERE built = 2004 AND roof___m__ = 106 Context: CREATE TABLE table_name_67 (floors INTEGER, built VARCHAR, roof___m__ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What's the average number of floors that were built in 2004, and have a roof (m) of 106? The answer to your question is: SELECT AVG(floors) FROM table_name_67 WHERE built = 2004 AND roof___m__ = 106. [/s>
SELECT SUM(floors) FROM table_name_73 WHERE built > 2006 AND rank = 12
CREATE TABLE table_name_73 (floors INTEGER, built VARCHAR, rank VARCHAR)
What's the total number of floors built after 2006, and have a rank of 12?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(floors) FROM table_name_73 WHERE built > 2006 AND rank = 12 Context: CREATE TABLE table_name_73 (floors INTEGER, built VARCHAR, rank VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What's the total number of floors built after 2006, and have a rank of 12? The answer to your question is: SELECT SUM(floors) FROM table_name_73 WHERE built > 2006 AND rank = 12. [/s>
SELECT SUM(attendance) FROM table_name_80 WHERE h___a = "n"
CREATE TABLE table_name_80 (attendance INTEGER, h___a VARCHAR)
What is the sum of attendance for H/A values of "n"?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(attendance) FROM table_name_80 WHERE h___a = "n" Context: CREATE TABLE table_name_80 (attendance INTEGER, h___a VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the sum of attendance for H/A values of "n"? The answer to your question is: SELECT SUM(attendance) FROM table_name_80 WHERE h___a = "n". [/s>
SELECT score FROM table_name_85 WHERE opponent = "stefano galvani"
CREATE TABLE table_name_85 (score VARCHAR, opponent VARCHAR)
Name the score which has opponent of stefano galvani
<s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_85 WHERE opponent = "stefano galvani" Context: CREATE TABLE table_name_85 (score VARCHAR, opponent VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the score which has opponent of stefano galvani The answer to your question is: SELECT score FROM table_name_85 WHERE opponent = "stefano galvani". [/s>
SELECT score FROM table_name_44 WHERE opponent = "javier genaro-martinez"
CREATE TABLE table_name_44 (score VARCHAR, opponent VARCHAR)
Name the score with opponent of javier genaro-martinez
<s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_44 WHERE opponent = "javier genaro-martinez" Context: CREATE TABLE table_name_44 (score VARCHAR, opponent VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the score with opponent of javier genaro-martinez The answer to your question is: SELECT score FROM table_name_44 WHERE opponent = "javier genaro-martinez". [/s>
SELECT outcome FROM table_name_58 WHERE tournament = "dunlop world challenge"
CREATE TABLE table_name_58 (outcome VARCHAR, tournament VARCHAR)
Name the outcome for dunlop world challenge
<s>[INST] Given the following SQL query and context: Query: SELECT outcome FROM table_name_58 WHERE tournament = "dunlop world challenge" Context: CREATE TABLE table_name_58 (outcome VARCHAR, tournament VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the outcome for dunlop world challenge The answer to your question is: SELECT outcome FROM table_name_58 WHERE tournament = "dunlop world challenge". [/s>
SELECT visiting_team FROM table_name_31 WHERE date = "december 6"
CREATE TABLE table_name_31 (visiting_team VARCHAR, date VARCHAR)
Who was the visiting team on December 6?
<s>[INST] Given the following SQL query and context: Query: SELECT visiting_team FROM table_name_31 WHERE date = "december 6" Context: CREATE TABLE table_name_31 (visiting_team VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who was the visiting team on December 6? The answer to your question is: SELECT visiting_team FROM table_name_31 WHERE date = "december 6". [/s>
SELECT host_team FROM table_name_31 WHERE date = "october 4"
CREATE TABLE table_name_31 (host_team VARCHAR, date VARCHAR)
Who was the host team on October 4?
<s>[INST] Given the following SQL query and context: Query: SELECT host_team FROM table_name_31 WHERE date = "october 4" Context: CREATE TABLE table_name_31 (host_team VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who was the host team on October 4? The answer to your question is: SELECT host_team FROM table_name_31 WHERE date = "october 4". [/s>
SELECT value___usd__ FROM table_name_70 WHERE date = "unknown" AND business = "energy" AND country = "new zealand"
CREATE TABLE table_name_70 (value___usd__ VARCHAR, country VARCHAR, date VARCHAR, business VARCHAR)
In New Zealand, what's the value that has an unknown date and is an energy business?
<s>[INST] Given the following SQL query and context: Query: SELECT value___usd__ FROM table_name_70 WHERE date = "unknown" AND business = "energy" AND country = "new zealand" Context: CREATE TABLE table_name_70 (value___usd__ VARCHAR, country VARCHAR, date VARCHAR, business VARCHAR) [/INST] Based on the provided SQL query and context, your question is: In New Zealand, what's the value that has an unknown date and is an energy business? The answer to your question is: SELECT value___usd__ FROM table_name_70 WHERE date = "unknown" AND business = "energy" AND country = "new zealand". [/s>
SELECT company FROM table_name_20 WHERE business = "energy" AND date = "unknown"
CREATE TABLE table_name_20 (company VARCHAR, business VARCHAR, date VARCHAR)
What company has an unknown date and is an energy business?
<s>[INST] Given the following SQL query and context: Query: SELECT company FROM table_name_20 WHERE business = "energy" AND date = "unknown" Context: CREATE TABLE table_name_20 (company VARCHAR, business VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What company has an unknown date and is an energy business? The answer to your question is: SELECT company FROM table_name_20 WHERE business = "energy" AND date = "unknown". [/s>
SELECT company FROM table_name_35 WHERE business = "energy" AND date = "unknown" AND country = "united kingdom"
CREATE TABLE table_name_35 (company VARCHAR, country VARCHAR, business VARCHAR, date VARCHAR)
In the United Kingdom, what company has an unknown date and is an energy business?
<s>[INST] Given the following SQL query and context: Query: SELECT company FROM table_name_35 WHERE business = "energy" AND date = "unknown" AND country = "united kingdom" Context: CREATE TABLE table_name_35 (company VARCHAR, country VARCHAR, business VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: In the United Kingdom, what company has an unknown date and is an energy business? The answer to your question is: SELECT company FROM table_name_35 WHERE business = "energy" AND date = "unknown" AND country = "united kingdom". [/s>
SELECT date FROM table_name_88 WHERE country = "united kingdom"
CREATE TABLE table_name_88 (date VARCHAR, country VARCHAR)
For the United Kingdom, what's the date?
<s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_88 WHERE country = "united kingdom" Context: CREATE TABLE table_name_88 (date VARCHAR, country VARCHAR) [/INST] Based on the provided SQL query and context, your question is: For the United Kingdom, what's the date? The answer to your question is: SELECT date FROM table_name_88 WHERE country = "united kingdom". [/s>
SELECT country FROM table_name_15 WHERE date = "unknown" AND company = "enernoc australia pty ltd"
CREATE TABLE table_name_15 (country VARCHAR, date VARCHAR, company VARCHAR)
For the Enernoc Australia Pty Ltd, what's the country with an unknown date?
<s>[INST] Given the following SQL query and context: Query: SELECT country FROM table_name_15 WHERE date = "unknown" AND company = "enernoc australia pty ltd" Context: CREATE TABLE table_name_15 (country VARCHAR, date VARCHAR, company VARCHAR) [/INST] Based on the provided SQL query and context, your question is: For the Enernoc Australia Pty Ltd, what's the country with an unknown date? The answer to your question is: SELECT country FROM table_name_15 WHERE date = "unknown" AND company = "enernoc australia pty ltd". [/s>
SELECT date FROM table_name_29 WHERE venue = "luxembourg"
CREATE TABLE table_name_29 (date VARCHAR, venue VARCHAR)
Which date is associated with a venue of Luxembourg?
<s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_29 WHERE venue = "luxembourg" Context: CREATE TABLE table_name_29 (date VARCHAR, venue VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which date is associated with a venue of Luxembourg? The answer to your question is: SELECT date FROM table_name_29 WHERE venue = "luxembourg". [/s>
SELECT SUM(year) FROM table_name_10 WHERE chassis = "kurtis kraft 500a" AND points < 1.5
CREATE TABLE table_name_10 (year INTEGER, chassis VARCHAR, points VARCHAR)
What is the year with a Kurtis Kraft 500a chassis, and less than 1.5 points?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(year) FROM table_name_10 WHERE chassis = "kurtis kraft 500a" AND points < 1.5 Context: CREATE TABLE table_name_10 (year INTEGER, chassis VARCHAR, points VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the year with a Kurtis Kraft 500a chassis, and less than 1.5 points? The answer to your question is: SELECT SUM(year) FROM table_name_10 WHERE chassis = "kurtis kraft 500a" AND points < 1.5. [/s>
SELECT SUM(year) FROM table_name_86 WHERE chassis = "kurtis kraft 500a"
CREATE TABLE table_name_86 (year INTEGER, chassis VARCHAR)
What is the year with a kurtis kraft 500a chassis?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(year) FROM table_name_86 WHERE chassis = "kurtis kraft 500a" Context: CREATE TABLE table_name_86 (year INTEGER, chassis VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the year with a kurtis kraft 500a chassis? The answer to your question is: SELECT SUM(year) FROM table_name_86 WHERE chassis = "kurtis kraft 500a". [/s>
SELECT MIN(pick__number) FROM table_name_78 WHERE college = "saint vincent college"
CREATE TABLE table_name_78 (pick__number INTEGER, college VARCHAR)
What is the lowest Pick # of Saint Vincent College?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(pick__number) FROM table_name_78 WHERE college = "saint vincent college" Context: CREATE TABLE table_name_78 (pick__number INTEGER, college VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the lowest Pick # of Saint Vincent College? The answer to your question is: SELECT MIN(pick__number) FROM table_name_78 WHERE college = "saint vincent college". [/s>
SELECT MIN(overall) FROM table_name_45 WHERE name = "jack harmon" AND pick__number < 5
CREATE TABLE table_name_45 (overall INTEGER, name VARCHAR, pick__number VARCHAR)
What is the Overall for Pick # less than 5 Jack Harmon?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(overall) FROM table_name_45 WHERE name = "jack harmon" AND pick__number < 5 Context: CREATE TABLE table_name_45 (overall INTEGER, name VARCHAR, pick__number VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Overall for Pick # less than 5 Jack Harmon? The answer to your question is: SELECT MIN(overall) FROM table_name_45 WHERE name = "jack harmon" AND pick__number < 5. [/s>
SELECT rank FROM table_name_98 WHERE total_gdp__€_bn__ = "€11.243"
CREATE TABLE table_name_98 (rank VARCHAR, total_gdp__€_bn__ VARCHAR)
Which rank has a Total GDP (€ bn) of €11.243??
<s>[INST] Given the following SQL query and context: Query: SELECT rank FROM table_name_98 WHERE total_gdp__€_bn__ = "€11.243" Context: CREATE TABLE table_name_98 (rank VARCHAR, total_gdp__€_bn__ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which rank has a Total GDP (€ bn) of €11.243?? The answer to your question is: SELECT rank FROM table_name_98 WHERE total_gdp__€_bn__ = "€11.243". [/s>
SELECT region FROM table_name_58 WHERE total_gdp__€_bn__ = "€11,745.353"
CREATE TABLE table_name_58 (region VARCHAR, total_gdp__€_bn__ VARCHAR)
What is the Region that has a Total GDP (€ bn ) of €11,745.353?
<s>[INST] Given the following SQL query and context: Query: SELECT region FROM table_name_58 WHERE total_gdp__€_bn__ = "€11,745.353" Context: CREATE TABLE table_name_58 (region VARCHAR, total_gdp__€_bn__ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Region that has a Total GDP (€ bn ) of €11,745.353? The answer to your question is: SELECT region FROM table_name_58 WHERE total_gdp__€_bn__ = "€11,745.353". [/s>
SELECT region FROM table_name_24 WHERE _percentage_growth = "βˆ’3.6"
CREATE TABLE table_name_24 (region VARCHAR, _percentage_growth VARCHAR)
Which Region that has a growth of βˆ’3.6%?
<s>[INST] Given the following SQL query and context: Query: SELECT region FROM table_name_24 WHERE _percentage_growth = "βˆ’3.6" Context: CREATE TABLE table_name_24 (region VARCHAR, _percentage_growth VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which Region that has a growth of βˆ’3.6%? The answer to your question is: SELECT region FROM table_name_24 WHERE _percentage_growth = "βˆ’3.6". [/s>
SELECT per_capita FROM table_name_42 WHERE region = "greece"
CREATE TABLE table_name_42 (per_capita VARCHAR, region VARCHAR)
What is the per capita of Greece?
<s>[INST] Given the following SQL query and context: Query: SELECT per_capita FROM table_name_42 WHERE region = "greece" Context: CREATE TABLE table_name_42 (per_capita VARCHAR, region VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the per capita of Greece? The answer to your question is: SELECT per_capita FROM table_name_42 WHERE region = "greece". [/s>
SELECT MIN(silver) FROM table_name_97 WHERE bronze = 40 AND gold > 42
CREATE TABLE table_name_97 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
What is the fewest number of silver medals received by a nation who received 40 bronze medals and more than 42 gold medals?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(silver) FROM table_name_97 WHERE bronze = 40 AND gold > 42 Context: CREATE TABLE table_name_97 (silver INTEGER, bronze VARCHAR, gold VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the fewest number of silver medals received by a nation who received 40 bronze medals and more than 42 gold medals? The answer to your question is: SELECT MIN(silver) FROM table_name_97 WHERE bronze = 40 AND gold > 42. [/s>
SELECT MIN(silver) FROM table_name_72 WHERE total > 3 AND bronze > 22 AND gold < 395 AND nation = "austria"
CREATE TABLE table_name_72 (silver INTEGER, nation VARCHAR, gold VARCHAR, total VARCHAR, bronze VARCHAR)
What is the lowest number of silver medals received by Austria when they receive more than 3 total medals, more than 22 bronze medals, and fewer than 395 gold medals?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(silver) FROM table_name_72 WHERE total > 3 AND bronze > 22 AND gold < 395 AND nation = "austria" Context: CREATE TABLE table_name_72 (silver INTEGER, nation VARCHAR, gold VARCHAR, total VARCHAR, bronze VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the lowest number of silver medals received by Austria when they receive more than 3 total medals, more than 22 bronze medals, and fewer than 395 gold medals? The answer to your question is: SELECT MIN(silver) FROM table_name_72 WHERE total > 3 AND bronze > 22 AND gold < 395 AND nation = "austria". [/s>
SELECT AVG(silver) FROM table_name_53 WHERE gold > 6 AND bronze < 5
CREATE TABLE table_name_53 (silver INTEGER, gold VARCHAR, bronze VARCHAR)
What is the average number of silver medals with more than 6 gold meals and less than 5 bronze medals?
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(silver) FROM table_name_53 WHERE gold > 6 AND bronze < 5 Context: CREATE TABLE table_name_53 (silver INTEGER, gold VARCHAR, bronze VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the average number of silver medals with more than 6 gold meals and less than 5 bronze medals? The answer to your question is: SELECT AVG(silver) FROM table_name_53 WHERE gold > 6 AND bronze < 5. [/s>
SELECT COUNT(rank) FROM table_name_39 WHERE nation = "switzerland" AND total > 2
CREATE TABLE table_name_39 (rank VARCHAR, nation VARCHAR, total VARCHAR)
How many ranks are for Switzerland with more than 2 total medals?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(rank) FROM table_name_39 WHERE nation = "switzerland" AND total > 2 Context: CREATE TABLE table_name_39 (rank VARCHAR, nation VARCHAR, total VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many ranks are for Switzerland with more than 2 total medals? The answer to your question is: SELECT COUNT(rank) FROM table_name_39 WHERE nation = "switzerland" AND total > 2. [/s>
SELECT event FROM table_name_39 WHERE round > 2 AND method = "ko (kick)"
CREATE TABLE table_name_39 (event VARCHAR, round VARCHAR, method VARCHAR)
What is the event of the match with a round larger than 2 and ended with a method of ko (kick)?
<s>[INST] Given the following SQL query and context: Query: SELECT event FROM table_name_39 WHERE round > 2 AND method = "ko (kick)" Context: CREATE TABLE table_name_39 (event VARCHAR, round VARCHAR, method VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the event of the match with a round larger than 2 and ended with a method of ko (kick)? The answer to your question is: SELECT event FROM table_name_39 WHERE round > 2 AND method = "ko (kick)". [/s>
SELECT method FROM table_name_82 WHERE round > 1 AND event = "k-1 andy memorial 2001 japan gp final"
CREATE TABLE table_name_82 (method VARCHAR, round VARCHAR, event VARCHAR)
What is the method of the match after round 1 in the k-1 andy memorial 2001 japan gp final?
<s>[INST] Given the following SQL query and context: Query: SELECT method FROM table_name_82 WHERE round > 1 AND event = "k-1 andy memorial 2001 japan gp final" Context: CREATE TABLE table_name_82 (method VARCHAR, round VARCHAR, event VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the method of the match after round 1 in the k-1 andy memorial 2001 japan gp final? The answer to your question is: SELECT method FROM table_name_82 WHERE round > 1 AND event = "k-1 andy memorial 2001 japan gp final". [/s>
SELECT MAX(round) FROM table_name_91 WHERE opponent = "rene rooze" AND location = "saitama, japan"
CREATE TABLE table_name_91 (round INTEGER, opponent VARCHAR, location VARCHAR)
What is the highest round of the match with Rene Rooze as the opponent in Saitama, Japan?
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(round) FROM table_name_91 WHERE opponent = "rene rooze" AND location = "saitama, japan" Context: CREATE TABLE table_name_91 (round INTEGER, opponent VARCHAR, location VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the highest round of the match with Rene Rooze as the opponent in Saitama, Japan? The answer to your question is: SELECT MAX(round) FROM table_name_91 WHERE opponent = "rene rooze" AND location = "saitama, japan". [/s>
SELECT MAX(round) FROM table_name_97 WHERE time = "0:57"
CREATE TABLE table_name_97 (round INTEGER, time VARCHAR)
What is the highest round of the match with a time of 0:57?
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(round) FROM table_name_97 WHERE time = "0:57" Context: CREATE TABLE table_name_97 (round INTEGER, time VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the highest round of the match with a time of 0:57? The answer to your question is: SELECT MAX(round) FROM table_name_97 WHERE time = "0:57". [/s>
SELECT points_for FROM table_name_52 WHERE tries_for = "52" AND try_bonus = "7"
CREATE TABLE table_name_52 (points_for VARCHAR, tries_for VARCHAR, try_bonus VARCHAR)
How many points did the Club score that has a try bonus of 7 and 52 tries for ?
<s>[INST] Given the following SQL query and context: Query: SELECT points_for FROM table_name_52 WHERE tries_for = "52" AND try_bonus = "7" Context: CREATE TABLE table_name_52 (points_for VARCHAR, tries_for VARCHAR, try_bonus VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many points did the Club score that has a try bonus of 7 and 52 tries for ? The answer to your question is: SELECT points_for FROM table_name_52 WHERE tries_for = "52" AND try_bonus = "7". [/s>
SELECT losing_bonus FROM table_name_64 WHERE tries_against = "80"
CREATE TABLE table_name_64 (losing_bonus VARCHAR, tries_against VARCHAR)
What is the Losing bonus of the club that has 80 tries against ?
<s>[INST] Given the following SQL query and context: Query: SELECT losing_bonus FROM table_name_64 WHERE tries_against = "80" Context: CREATE TABLE table_name_64 (losing_bonus VARCHAR, tries_against VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Losing bonus of the club that has 80 tries against ? The answer to your question is: SELECT losing_bonus FROM table_name_64 WHERE tries_against = "80". [/s>
SELECT tries_for FROM table_name_2 WHERE club = "waunarlwydd rfc"
CREATE TABLE table_name_2 (tries_for VARCHAR, club VARCHAR)
How many tries for does waunarlwydd rfc have ?
<s>[INST] Given the following SQL query and context: Query: SELECT tries_for FROM table_name_2 WHERE club = "waunarlwydd rfc" Context: CREATE TABLE table_name_2 (tries_for VARCHAR, club VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many tries for does waunarlwydd rfc have ? The answer to your question is: SELECT tries_for FROM table_name_2 WHERE club = "waunarlwydd rfc". [/s>
SELECT lost FROM table_name_7 WHERE points = "47"
CREATE TABLE table_name_7 (lost VARCHAR, points VARCHAR)
How many losses did the club with 47 points have ?
<s>[INST] Given the following SQL query and context: Query: SELECT lost FROM table_name_7 WHERE points = "47" Context: CREATE TABLE table_name_7 (lost VARCHAR, points VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many losses did the club with 47 points have ? The answer to your question is: SELECT lost FROM table_name_7 WHERE points = "47". [/s>
SELECT points_against FROM table_name_92 WHERE try_bonus = "6" AND tries_against = "54"
CREATE TABLE table_name_92 (points_against VARCHAR, try_bonus VARCHAR, tries_against VARCHAR)
How many points against does the club that has a try bonus of 6 and tries against of 54 have ?
<s>[INST] Given the following SQL query and context: Query: SELECT points_against FROM table_name_92 WHERE try_bonus = "6" AND tries_against = "54" Context: CREATE TABLE table_name_92 (points_against VARCHAR, try_bonus VARCHAR, tries_against VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many points against does the club that has a try bonus of 6 and tries against of 54 have ? The answer to your question is: SELECT points_against FROM table_name_92 WHERE try_bonus = "6" AND tries_against = "54". [/s>
SELECT co_drivers FROM table_name_81 WHERE year = 2008
CREATE TABLE table_name_81 (co_drivers VARCHAR, year VARCHAR)
Who were the co-drivers in 2008?
<s>[INST] Given the following SQL query and context: Query: SELECT co_drivers FROM table_name_81 WHERE year = 2008 Context: CREATE TABLE table_name_81 (co_drivers VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who were the co-drivers in 2008? The answer to your question is: SELECT co_drivers FROM table_name_81 WHERE year = 2008. [/s>
SELECT pos FROM table_name_66 WHERE year = 2006
CREATE TABLE table_name_66 (pos VARCHAR, year VARCHAR)
What was the position in 2006?
<s>[INST] Given the following SQL query and context: Query: SELECT pos FROM table_name_66 WHERE year = 2006 Context: CREATE TABLE table_name_66 (pos VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the position in 2006? The answer to your question is: SELECT pos FROM table_name_66 WHERE year = 2006. [/s>
SELECT class FROM table_name_32 WHERE laps = 325
CREATE TABLE table_name_32 (class VARCHAR, laps VARCHAR)
What was the class when there were 325 laps?
<s>[INST] Given the following SQL query and context: Query: SELECT class FROM table_name_32 WHERE laps = 325 Context: CREATE TABLE table_name_32 (class VARCHAR, laps VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the class when there were 325 laps? The answer to your question is: SELECT class FROM table_name_32 WHERE laps = 325. [/s>
SELECT english_title FROM table_name_89 WHERE year = 2001
CREATE TABLE table_name_89 (english_title VARCHAR, year VARCHAR)
What is the English title of the film from 2001?
<s>[INST] Given the following SQL query and context: Query: SELECT english_title FROM table_name_89 WHERE year = 2001 Context: CREATE TABLE table_name_89 (english_title VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the English title of the film from 2001? The answer to your question is: SELECT english_title FROM table_name_89 WHERE year = 2001. [/s>
SELECT original_title FROM table_name_95 WHERE year < 2003 AND country = "japan/taiwan"
CREATE TABLE table_name_95 (original_title VARCHAR, year VARCHAR, country VARCHAR)
What is the original title of the film from Japan/Taiwan before 2003?
<s>[INST] Given the following SQL query and context: Query: SELECT original_title FROM table_name_95 WHERE year < 2003 AND country = "japan/taiwan" Context: CREATE TABLE table_name_95 (original_title VARCHAR, year VARCHAR, country VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the original title of the film from Japan/Taiwan before 2003? The answer to your question is: SELECT original_title FROM table_name_95 WHERE year < 2003 AND country = "japan/taiwan". [/s>
SELECT english_title FROM table_name_53 WHERE director_s_ = "fernando meirelles"
CREATE TABLE table_name_53 (english_title VARCHAR, director_s_ VARCHAR)
What is the English title of the film directed by Fernando Meirelles?
<s>[INST] Given the following SQL query and context: Query: SELECT english_title FROM table_name_53 WHERE director_s_ = "fernando meirelles" Context: CREATE TABLE table_name_53 (english_title VARCHAR, director_s_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the English title of the film directed by Fernando Meirelles? The answer to your question is: SELECT english_title FROM table_name_53 WHERE director_s_ = "fernando meirelles". [/s>
SELECT country FROM table_name_69 WHERE original_title = "cidade de deus"
CREATE TABLE table_name_69 (country VARCHAR, original_title VARCHAR)
What is the country of the original title Cidade de deus?
<s>[INST] Given the following SQL query and context: Query: SELECT country FROM table_name_69 WHERE original_title = "cidade de deus" Context: CREATE TABLE table_name_69 (country VARCHAR, original_title VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the country of the original title Cidade de deus? The answer to your question is: SELECT country FROM table_name_69 WHERE original_title = "cidade de deus". [/s>
SELECT MIN(year) FROM table_name_44 WHERE country = "mexico"
CREATE TABLE table_name_44 (year INTEGER, country VARCHAR)
What is the earliest year of a film from Mexico?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(year) FROM table_name_44 WHERE country = "mexico" Context: CREATE TABLE table_name_44 (year INTEGER, country VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the earliest year of a film from Mexico? The answer to your question is: SELECT MIN(year) FROM table_name_44 WHERE country = "mexico". [/s>
SELECT AVG(year) FROM table_name_74 WHERE country = "france/hong kong"
CREATE TABLE table_name_74 (year INTEGER, country VARCHAR)
What is the average year of the film from France/Hong Kong?
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(year) FROM table_name_74 WHERE country = "france/hong kong" Context: CREATE TABLE table_name_74 (year INTEGER, country VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the average year of the film from France/Hong Kong? The answer to your question is: SELECT AVG(year) FROM table_name_74 WHERE country = "france/hong kong". [/s>
SELECT country FROM table_name_45 WHERE place = "t3"
CREATE TABLE table_name_45 (country VARCHAR, place VARCHAR)
Name the country for t3 place
<s>[INST] Given the following SQL query and context: Query: SELECT country FROM table_name_45 WHERE place = "t3" Context: CREATE TABLE table_name_45 (country VARCHAR, place VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the country for t3 place The answer to your question is: SELECT country FROM table_name_45 WHERE place = "t3". [/s>
SELECT country FROM table_name_28 WHERE to_par = "+2"
CREATE TABLE table_name_28 (country VARCHAR, to_par VARCHAR)
Name the country with +2 to par
<s>[INST] Given the following SQL query and context: Query: SELECT country FROM table_name_28 WHERE to_par = "+2" Context: CREATE TABLE table_name_28 (country VARCHAR, to_par VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the country with +2 to par The answer to your question is: SELECT country FROM table_name_28 WHERE to_par = "+2". [/s>
SELECT to_par FROM table_name_30 WHERE player = "colin montgomerie"
CREATE TABLE table_name_30 (to_par VARCHAR, player VARCHAR)
Name the to par for colin montgomerie
<s>[INST] Given the following SQL query and context: Query: SELECT to_par FROM table_name_30 WHERE player = "colin montgomerie" Context: CREATE TABLE table_name_30 (to_par VARCHAR, player VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the to par for colin montgomerie The answer to your question is: SELECT to_par FROM table_name_30 WHERE player = "colin montgomerie". [/s>
SELECT score FROM table_name_64 WHERE country = "scotland"
CREATE TABLE table_name_64 (score VARCHAR, country VARCHAR)
Name the score for scotland
<s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_64 WHERE country = "scotland" Context: CREATE TABLE table_name_64 (score VARCHAR, country VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the score for scotland The answer to your question is: SELECT score FROM table_name_64 WHERE country = "scotland". [/s>
SELECT island FROM table_name_3 WHERE population > 76 AND height__m_ > 210 AND area___ha__ > 12068
CREATE TABLE table_name_3 (island VARCHAR, area___ha__ VARCHAR, population VARCHAR, height__m_ VARCHAR)
What island has a population over 76, a height over 210, and an area larger than 12068?
<s>[INST] Given the following SQL query and context: Query: SELECT island FROM table_name_3 WHERE population > 76 AND height__m_ > 210 AND area___ha__ > 12068 Context: CREATE TABLE table_name_3 (island VARCHAR, area___ha__ VARCHAR, population VARCHAR, height__m_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What island has a population over 76, a height over 210, and an area larger than 12068? The answer to your question is: SELECT island FROM table_name_3 WHERE population > 76 AND height__m_ > 210 AND area___ha__ > 12068. [/s>
SELECT MAX(population) FROM table_name_17 WHERE location = "scalloway islands" AND island = "trondra"
CREATE TABLE table_name_17 (population INTEGER, location VARCHAR, island VARCHAR)
What is the highest population of Trondra Island in the Scalloway Islands?
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(population) FROM table_name_17 WHERE location = "scalloway islands" AND island = "trondra" Context: CREATE TABLE table_name_17 (population INTEGER, location VARCHAR, island VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the highest population of Trondra Island in the Scalloway Islands? The answer to your question is: SELECT MAX(population) FROM table_name_17 WHERE location = "scalloway islands" AND island = "trondra". [/s>
SELECT COUNT(drawn) FROM table_name_57 WHERE percentage = "7.14%" AND lost > 12
CREATE TABLE table_name_57 (drawn VARCHAR, percentage VARCHAR, lost VARCHAR)
How many matches were drawn associated with a percentage of 7.14% and more than 12 losses?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(drawn) FROM table_name_57 WHERE percentage = "7.14%" AND lost > 12 Context: CREATE TABLE table_name_57 (drawn VARCHAR, percentage VARCHAR, lost VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many matches were drawn associated with a percentage of 7.14% and more than 12 losses? The answer to your question is: SELECT COUNT(drawn) FROM table_name_57 WHERE percentage = "7.14%" AND lost > 12. [/s>
SELECT percentage FROM table_name_27 WHERE first_game < 1997 AND lost < 2 AND played < 5
CREATE TABLE table_name_27 (percentage VARCHAR, played VARCHAR, first_game VARCHAR, lost VARCHAR)
Which percentage has a first game before 1997, fewer than 2 losses, and fewer than 5 matches played?
<s>[INST] Given the following SQL query and context: Query: SELECT percentage FROM table_name_27 WHERE first_game < 1997 AND lost < 2 AND played < 5 Context: CREATE TABLE table_name_27 (percentage VARCHAR, played VARCHAR, first_game VARCHAR, lost VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which percentage has a first game before 1997, fewer than 2 losses, and fewer than 5 matches played? The answer to your question is: SELECT percentage FROM table_name_27 WHERE first_game < 1997 AND lost < 2 AND played < 5. [/s>