instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
Which Numbers (Quantity Ordered) have a Fuel Propulsion of cng, and a Year smaller than 2008, and a Make/ Model of nabi 40-lfw?
|
CREATE TABLE table_name_96 (numbers__quantity_ordered_ VARCHAR, make__model VARCHAR, fuel_propulsion VARCHAR, year VARCHAR)
|
SELECT numbers__quantity_ordered_ FROM table_name_96 WHERE fuel_propulsion = "cng" AND year < 2008 AND make__model = "nabi 40-lfw"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (numbers__quantity_ordered_ VARCHAR, make__model VARCHAR, fuel_propulsion VARCHAR, year VARCHAR) Question: Which Numbers (Quantity Ordered) have a Fuel Propulsion of cng, and a Year smaller than 2008, and a Make/ Model of nabi 40-lfw? [/INST] SELECT numbers__quantity_ordered_ FROM table_name_96 WHERE fuel_propulsion = "cng" AND year < 2008 AND make__model = "nabi 40-lfw" </s>
|
Which Numbers (Quantity Ordered) have a Make/ Model of eldorado national passport?
|
CREATE TABLE table_name_88 (numbers__quantity_ordered_ VARCHAR, make__model VARCHAR)
|
SELECT numbers__quantity_ordered_ FROM table_name_88 WHERE make__model = "eldorado national passport"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (numbers__quantity_ordered_ VARCHAR, make__model VARCHAR) Question: Which Numbers (Quantity Ordered) have a Make/ Model of eldorado national passport? [/INST] SELECT numbers__quantity_ordered_ FROM table_name_88 WHERE make__model = "eldorado national passport" </s>
|
What is the earliest year for Alabama with a pick under 26?
|
CREATE TABLE table_name_78 (year INTEGER, college VARCHAR, pick VARCHAR)
|
SELECT MIN(year) FROM table_name_78 WHERE college = "alabama" AND pick < 26
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (year INTEGER, college VARCHAR, pick VARCHAR) Question: What is the earliest year for Alabama with a pick under 26? [/INST] SELECT MIN(year) FROM table_name_78 WHERE college = "alabama" AND pick < 26 </s>
|
Which player was pick 2 later than 2010?
|
CREATE TABLE table_name_23 (player VARCHAR, year VARCHAR, pick VARCHAR)
|
SELECT player FROM table_name_23 WHERE year > 2010 AND pick = 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (player VARCHAR, year VARCHAR, pick VARCHAR) Question: Which player was pick 2 later than 2010? [/INST] SELECT player FROM table_name_23 WHERE year > 2010 AND pick = 2 </s>
|
Which position has a pick greater than 28?
|
CREATE TABLE table_name_31 (position VARCHAR, pick INTEGER)
|
SELECT position FROM table_name_31 WHERE pick > 28
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (position VARCHAR, pick INTEGER) Question: Which position has a pick greater than 28? [/INST] SELECT position FROM table_name_31 WHERE pick > 28 </s>
|
what team played on august 25
|
CREATE TABLE table_name_14 (opponent VARCHAR, date VARCHAR)
|
SELECT opponent FROM table_name_14 WHERE date = "august 25"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (opponent VARCHAR, date VARCHAR) Question: what team played on august 25 [/INST] SELECT opponent FROM table_name_14 WHERE date = "august 25" </s>
|
What class is associated with 0 stages won, a hummer, and before 2009?
|
CREATE TABLE table_name_83 (class VARCHAR, year VARCHAR, stages_won VARCHAR, vehicle VARCHAR)
|
SELECT class FROM table_name_83 WHERE stages_won = "0" AND vehicle = "hummer" AND year < 2009
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (class VARCHAR, year VARCHAR, stages_won VARCHAR, vehicle VARCHAR) Question: What class is associated with 0 stages won, a hummer, and before 2009? [/INST] SELECT class FROM table_name_83 WHERE stages_won = "0" AND vehicle = "hummer" AND year < 2009 </s>
|
What position did he finish in 2012?
|
CREATE TABLE table_name_59 (position VARCHAR, year VARCHAR)
|
SELECT position FROM table_name_59 WHERE year = 2012
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (position VARCHAR, year VARCHAR) Question: What position did he finish in 2012? [/INST] SELECT position FROM table_name_59 WHERE year = 2012 </s>
|
What year did he compete in the car class and win 0 stages?
|
CREATE TABLE table_name_59 (year VARCHAR, class VARCHAR, stages_won VARCHAR)
|
SELECT year FROM table_name_59 WHERE class = "car" AND stages_won = "0"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (year VARCHAR, class VARCHAR, stages_won VARCHAR) Question: What year did he compete in the car class and win 0 stages? [/INST] SELECT year FROM table_name_59 WHERE class = "car" AND stages_won = "0" </s>
|
on week of february 12, in the west division, what is the position?
|
CREATE TABLE table_name_16 (position VARCHAR, division VARCHAR, week VARCHAR)
|
SELECT position FROM table_name_16 WHERE division = "west" AND week = "february 12"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (position VARCHAR, division VARCHAR, week VARCHAR) Question: on week of february 12, in the west division, what is the position? [/INST] SELECT position FROM table_name_16 WHERE division = "west" AND week = "february 12" </s>
|
What is the listed Location with a # found of 4?
|
CREATE TABLE table_name_47 (location VARCHAR, _number_found VARCHAR)
|
SELECT location FROM table_name_47 WHERE _number_found = "4"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (location VARCHAR, _number_found VARCHAR) Question: What is the listed Location with a # found of 4? [/INST] SELECT location FROM table_name_47 WHERE _number_found = "4" </s>
|
What's the Ball Diameter with the Location oof El Manati, and the Period of 1200 BCE?
|
CREATE TABLE table_name_87 (ball_diameter VARCHAR, location VARCHAR, period VARCHAR)
|
SELECT ball_diameter FROM table_name_87 WHERE location = "el manati" AND period = "1200 bce"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (ball_diameter VARCHAR, location VARCHAR, period VARCHAR) Question: What's the Ball Diameter with the Location oof El Manati, and the Period of 1200 BCE? [/INST] SELECT ball_diameter FROM table_name_87 WHERE location = "el manati" AND period = "1200 bce" </s>
|
What's the Ball Diameter with the Culture of Olmec?
|
CREATE TABLE table_name_54 (ball_diameter VARCHAR, culture VARCHAR)
|
SELECT ball_diameter FROM table_name_54 WHERE culture = "olmec"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (ball_diameter VARCHAR, culture VARCHAR) Question: What's the Ball Diameter with the Culture of Olmec? [/INST] SELECT ball_diameter FROM table_name_54 WHERE culture = "olmec" </s>
|
What's the Period with # found of 5?
|
CREATE TABLE table_name_81 (period VARCHAR, _number_found VARCHAR)
|
SELECT period FROM table_name_81 WHERE _number_found = "5"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (period VARCHAR, _number_found VARCHAR) Question: What's the Period with # found of 5? [/INST] SELECT period FROM table_name_81 WHERE _number_found = "5" </s>
|
Which Country has azeri tv tower?
|
CREATE TABLE table_name_61 (country VARCHAR, name VARCHAR)
|
SELECT country FROM table_name_61 WHERE name = "azeri tv tower"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (country VARCHAR, name VARCHAR) Question: Which Country has azeri tv tower? [/INST] SELECT country FROM table_name_61 WHERE name = "azeri tv tower" </s>
|
What is Pinnacle height of chimney of orot rabin?
|
CREATE TABLE table_name_31 (pinnacle_height VARCHAR, name VARCHAR)
|
SELECT pinnacle_height FROM table_name_31 WHERE name = "chimney of orot rabin"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (pinnacle_height VARCHAR, name VARCHAR) Question: What is Pinnacle height of chimney of orot rabin? [/INST] SELECT pinnacle_height FROM table_name_31 WHERE name = "chimney of orot rabin" </s>
|
Which Country has a Pinnacle height of metres (ft) and a Name of azeri tv tower?
|
CREATE TABLE table_name_37 (country VARCHAR, pinnacle_height VARCHAR, name VARCHAR)
|
SELECT country FROM table_name_37 WHERE pinnacle_height = "metres (ft)" AND name = "azeri tv tower"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (country VARCHAR, pinnacle_height VARCHAR, name VARCHAR) Question: Which Country has a Pinnacle height of metres (ft) and a Name of azeri tv tower? [/INST] SELECT country FROM table_name_37 WHERE pinnacle_height = "metres (ft)" AND name = "azeri tv tower" </s>
|
Which Town has a Structural type of guyed mast and a Country of belgium?
|
CREATE TABLE table_name_29 (town VARCHAR, structural_type VARCHAR, country VARCHAR)
|
SELECT town FROM table_name_29 WHERE structural_type = "guyed mast" AND country = "belgium"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (town VARCHAR, structural_type VARCHAR, country VARCHAR) Question: Which Town has a Structural type of guyed mast and a Country of belgium? [/INST] SELECT town FROM table_name_29 WHERE structural_type = "guyed mast" AND country = "belgium" </s>
|
What is the Main use of emley moor tower (mk.3)?
|
CREATE TABLE table_name_54 (main_use VARCHAR, name VARCHAR)
|
SELECT main_use FROM table_name_54 WHERE name = "emley moor tower (mk.3)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (main_use VARCHAR, name VARCHAR) Question: What is the Main use of emley moor tower (mk.3)? [/INST] SELECT main_use FROM table_name_54 WHERE name = "emley moor tower (mk.3)" </s>
|
What is the Main use of transmitter solt in Hungary?
|
CREATE TABLE table_name_75 (main_use VARCHAR, country VARCHAR, name VARCHAR)
|
SELECT main_use FROM table_name_75 WHERE country = "hungary" AND name = "transmitter solt"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (main_use VARCHAR, country VARCHAR, name VARCHAR) Question: What is the Main use of transmitter solt in Hungary? [/INST] SELECT main_use FROM table_name_75 WHERE country = "hungary" AND name = "transmitter solt" </s>
|
what day was the sandown
|
CREATE TABLE table_name_56 (date VARCHAR, race_title VARCHAR)
|
SELECT date FROM table_name_56 WHERE race_title = "sandown"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (date VARCHAR, race_title VARCHAR) Question: what day was the sandown [/INST] SELECT date FROM table_name_56 WHERE race_title = "sandown" </s>
|
What is the Birth of the lady that has a Became Duchess on 18 august 1593 husband's accession?
|
CREATE TABLE table_name_52 (birth VARCHAR, became_duchess VARCHAR)
|
SELECT birth FROM table_name_52 WHERE became_duchess = "18 august 1593 husband's accession"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (birth VARCHAR, became_duchess VARCHAR) Question: What is the Birth of the lady that has a Became Duchess on 18 august 1593 husband's accession? [/INST] SELECT birth FROM table_name_52 WHERE became_duchess = "18 august 1593 husband's accession" </s>
|
Who is the Spouse of the Duchess that has a Birth on 29 october 1451?
|
CREATE TABLE table_name_47 (spouse VARCHAR, birth VARCHAR)
|
SELECT spouse FROM table_name_47 WHERE birth = "29 october 1451"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (spouse VARCHAR, birth VARCHAR) Question: Who is the Spouse of the Duchess that has a Birth on 29 october 1451? [/INST] SELECT spouse FROM table_name_47 WHERE birth = "29 october 1451" </s>
|
Who is The Spouse of the Duchess that has a Became Duchess on 31 october 1733 husband's accession?
|
CREATE TABLE table_name_31 (spouse VARCHAR, became_duchess VARCHAR)
|
SELECT spouse FROM table_name_31 WHERE became_duchess = "31 october 1733 husband's accession"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (spouse VARCHAR, became_duchess VARCHAR) Question: Who is The Spouse of the Duchess that has a Became Duchess on 31 october 1733 husband's accession? [/INST] SELECT spouse FROM table_name_31 WHERE became_duchess = "31 october 1733 husband's accession" </s>
|
WHo Became Duchess that has a Death of 26 october 1614?
|
CREATE TABLE table_name_84 (became_duchess VARCHAR, death VARCHAR)
|
SELECT became_duchess FROM table_name_84 WHERE death = "26 october 1614"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (became_duchess VARCHAR, death VARCHAR) Question: WHo Became Duchess that has a Death of 26 october 1614? [/INST] SELECT became_duchess FROM table_name_84 WHERE death = "26 october 1614" </s>
|
What is the Spouse of the Duchess that has a Death on 6 april 1780?
|
CREATE TABLE table_name_61 (spouse VARCHAR, death VARCHAR)
|
SELECT spouse FROM table_name_61 WHERE death = "6 april 1780"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (spouse VARCHAR, death VARCHAR) Question: What is the Spouse of the Duchess that has a Death on 6 april 1780? [/INST] SELECT spouse FROM table_name_61 WHERE death = "6 april 1780" </s>
|
Which season with 16 races had less than 321 points and a larger percent than 65.78 possible?
|
CREATE TABLE table_name_17 (season VARCHAR, races VARCHAR, points VARCHAR, percentage_of_possible_points VARCHAR)
|
SELECT season FROM table_name_17 WHERE points < 321 AND percentage_of_possible_points > 65.78 AND races = 16
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (season VARCHAR, races VARCHAR, points VARCHAR, percentage_of_possible_points VARCHAR) Question: Which season with 16 races had less than 321 points and a larger percent than 65.78 possible? [/INST] SELECT season FROM table_name_17 WHERE points < 321 AND percentage_of_possible_points > 65.78 AND races = 16 </s>
|
What season had less than 301 points and 17 races?
|
CREATE TABLE table_name_28 (season VARCHAR, points VARCHAR, races VARCHAR)
|
SELECT season FROM table_name_28 WHERE points < 301 AND races = 17
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (season VARCHAR, points VARCHAR, races VARCHAR) Question: What season had less than 301 points and 17 races? [/INST] SELECT season FROM table_name_28 WHERE points < 301 AND races = 17 </s>
|
What time did bruce anstey complete in a honda 1000cc?
|
CREATE TABLE table_name_88 (time VARCHAR, machine VARCHAR, rider_s_ VARCHAR)
|
SELECT time FROM table_name_88 WHERE machine = "honda 1000cc" AND rider_s_ = "bruce anstey"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (time VARCHAR, machine VARCHAR, rider_s_ VARCHAR) Question: What time did bruce anstey complete in a honda 1000cc? [/INST] SELECT time FROM table_name_88 WHERE machine = "honda 1000cc" AND rider_s_ = "bruce anstey" </s>
|
Who holds the time of 17:11.572?
|
CREATE TABLE table_name_88 (race VARCHAR, time VARCHAR)
|
SELECT race FROM table_name_88 WHERE time = "17:11.572"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (race VARCHAR, time VARCHAR) Question: Who holds the time of 17:11.572? [/INST] SELECT race FROM table_name_88 WHERE time = "17:11.572" </s>
|
Who holds the time of 17:11.572?
|
CREATE TABLE table_name_83 (race VARCHAR, time VARCHAR)
|
SELECT race FROM table_name_83 WHERE time = "17:11.572"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (race VARCHAR, time VARCHAR) Question: Who holds the time of 17:11.572? [/INST] SELECT race FROM table_name_83 WHERE time = "17:11.572" </s>
|
What machine did susan jenness trophy earn the trophy?
|
CREATE TABLE table_name_75 (machine VARCHAR, trophy VARCHAR)
|
SELECT machine FROM table_name_75 WHERE trophy = "susan jenness trophy"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (machine VARCHAR, trophy VARCHAR) Question: What machine did susan jenness trophy earn the trophy? [/INST] SELECT machine FROM table_name_75 WHERE trophy = "susan jenness trophy" </s>
|
Agri culture b larger than 12.6, what is the lowest vehicles per 1000?
|
CREATE TABLE table_name_14 (vehicles__per_1000__d INTEGER, agri_culture_b INTEGER)
|
SELECT MIN(vehicles__per_1000__d) FROM table_name_14 WHERE agri_culture_b > 12.6
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (vehicles__per_1000__d INTEGER, agri_culture_b INTEGER) Question: Agri culture b larger than 12.6, what is the lowest vehicles per 1000? [/INST] SELECT MIN(vehicles__per_1000__d) FROM table_name_14 WHERE agri_culture_b > 12.6 </s>
|
Income poverty f smaller than 13.6, and a Mining b of 1, and a Structural poverty g smaller than 7.8, so what is the total number of agriculture?
|
CREATE TABLE table_name_10 (agri_culture_b VARCHAR, structural_poverty_g VARCHAR, income_poverty_f VARCHAR, mining_b VARCHAR)
|
SELECT COUNT(agri_culture_b) FROM table_name_10 WHERE income_poverty_f < 13.6 AND mining_b = 1 AND structural_poverty_g < 7.8
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (agri_culture_b VARCHAR, structural_poverty_g VARCHAR, income_poverty_f VARCHAR, mining_b VARCHAR) Question: Income poverty f smaller than 13.6, and a Mining b of 1, and a Structural poverty g smaller than 7.8, so what is the total number of agriculture? [/INST] SELECT COUNT(agri_culture_b) FROM table_name_10 WHERE income_poverty_f < 13.6 AND mining_b = 1 AND structural_poverty_g < 7.8 </s>
|
What's the bulgarian word for January?
|
CREATE TABLE table_name_95 (bulgarian_name VARCHAR, english_name VARCHAR)
|
SELECT bulgarian_name FROM table_name_95 WHERE english_name = "january"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (bulgarian_name VARCHAR, english_name VARCHAR) Question: What's the bulgarian word for January? [/INST] SELECT bulgarian_name FROM table_name_95 WHERE english_name = "january" </s>
|
What's the Bulgarian word for september?
|
CREATE TABLE table_name_56 (bulgarian_name VARCHAR, english_name VARCHAR)
|
SELECT bulgarian_name FROM table_name_56 WHERE english_name = "september"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (bulgarian_name VARCHAR, english_name VARCHAR) Question: What's the Bulgarian word for september? [/INST] SELECT bulgarian_name FROM table_name_56 WHERE english_name = "september" </s>
|
Who was the Opponent when the Save was || 36,388 ||15-7||?
|
CREATE TABLE table_name_26 (opponent VARCHAR, save VARCHAR)
|
SELECT opponent FROM table_name_26 WHERE save = "|| 36,388 ||15-7||"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (opponent VARCHAR, save VARCHAR) Question: Who was the Opponent when the Save was || 36,388 ||15-7||? [/INST] SELECT opponent FROM table_name_26 WHERE save = "|| 36,388 ||15-7||" </s>
|
What Opponent played on the Date May 21?
|
CREATE TABLE table_name_55 (opponent VARCHAR, date VARCHAR)
|
SELECT opponent FROM table_name_55 WHERE date = "may 21"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (opponent VARCHAR, date VARCHAR) Question: What Opponent played on the Date May 21? [/INST] SELECT opponent FROM table_name_55 WHERE date = "may 21" </s>
|
What was the Score when the Loss was ruthven (1-4)?
|
CREATE TABLE table_name_68 (score VARCHAR, loss VARCHAR)
|
SELECT score FROM table_name_68 WHERE loss = "ruthven (1-4)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (score VARCHAR, loss VARCHAR) Question: What was the Score when the Loss was ruthven (1-4)? [/INST] SELECT score FROM table_name_68 WHERE loss = "ruthven (1-4)" </s>
|
What was the highest pick for Penn State?
|
CREATE TABLE table_name_57 (pick__number INTEGER, college VARCHAR)
|
SELECT MAX(pick__number) FROM table_name_57 WHERE college = "penn state"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (pick__number INTEGER, college VARCHAR) Question: What was the highest pick for Penn State? [/INST] SELECT MAX(pick__number) FROM table_name_57 WHERE college = "penn state" </s>
|
What position does pick number 12 play?
|
CREATE TABLE table_name_87 (position VARCHAR, pick__number VARCHAR)
|
SELECT position FROM table_name_87 WHERE pick__number = 12
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (position VARCHAR, pick__number VARCHAR) Question: What position does pick number 12 play? [/INST] SELECT position FROM table_name_87 WHERE pick__number = 12 </s>
|
What is the pick number for the College of Central Missouri State?
|
CREATE TABLE table_name_45 (pick__number VARCHAR, college VARCHAR)
|
SELECT pick__number FROM table_name_45 WHERE college = "central missouri state"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (pick__number VARCHAR, college VARCHAR) Question: What is the pick number for the College of Central Missouri State? [/INST] SELECT pick__number FROM table_name_45 WHERE college = "central missouri state" </s>
|
What was Rich Voltzke's highest pick number?
|
CREATE TABLE table_name_79 (pick__number INTEGER, player VARCHAR)
|
SELECT MAX(pick__number) FROM table_name_79 WHERE player = "rich voltzke"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (pick__number INTEGER, player VARCHAR) Question: What was Rich Voltzke's highest pick number? [/INST] SELECT MAX(pick__number) FROM table_name_79 WHERE player = "rich voltzke" </s>
|
How many Games has Points larger than 0 and a Lost smaller than 4?
|
CREATE TABLE table_name_44 (games VARCHAR, drawn VARCHAR, points VARCHAR, lost VARCHAR)
|
SELECT COUNT(games) FROM table_name_44 WHERE points > 0 AND lost < 4 AND drawn < 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (games VARCHAR, drawn VARCHAR, points VARCHAR, lost VARCHAR) Question: How many Games has Points larger than 0 and a Lost smaller than 4? [/INST] SELECT COUNT(games) FROM table_name_44 WHERE points > 0 AND lost < 4 AND drawn < 0 </s>
|
which Points has Games smaller than 7?
|
CREATE TABLE table_name_32 (points INTEGER, games INTEGER)
|
SELECT MAX(points) FROM table_name_32 WHERE games < 7
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (points INTEGER, games INTEGER) Question: which Points has Games smaller than 7? [/INST] SELECT MAX(points) FROM table_name_32 WHERE games < 7 </s>
|
How many Drawns have Points smaller than 5 and a Lost larger than 7?
|
CREATE TABLE table_name_87 (drawn VARCHAR, points VARCHAR, lost VARCHAR)
|
SELECT COUNT(drawn) FROM table_name_87 WHERE points < 5 AND lost > 7
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (drawn VARCHAR, points VARCHAR, lost VARCHAR) Question: How many Drawns have Points smaller than 5 and a Lost larger than 7? [/INST] SELECT COUNT(drawn) FROM table_name_87 WHERE points < 5 AND lost > 7 </s>
|
Which record has a date of January 29?
|
CREATE TABLE table_name_35 (record VARCHAR, date VARCHAR)
|
SELECT record FROM table_name_35 WHERE date = "january 29"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (record VARCHAR, date VARCHAR) Question: Which record has a date of January 29? [/INST] SELECT record FROM table_name_35 WHERE date = "january 29" </s>
|
Which score has a visitor of New York?
|
CREATE TABLE table_name_62 (score VARCHAR, visitor VARCHAR)
|
SELECT score FROM table_name_62 WHERE visitor = "new york"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (score VARCHAR, visitor VARCHAR) Question: Which score has a visitor of New York? [/INST] SELECT score FROM table_name_62 WHERE visitor = "new york" </s>
|
What is the name of the visitor on January 24?
|
CREATE TABLE table_name_40 (visitor VARCHAR, date VARCHAR)
|
SELECT visitor FROM table_name_40 WHERE date = "january 24"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (visitor VARCHAR, date VARCHAR) Question: What is the name of the visitor on January 24? [/INST] SELECT visitor FROM table_name_40 WHERE date = "january 24" </s>
|
Which home game has a date of January 7?
|
CREATE TABLE table_name_3 (home VARCHAR, date VARCHAR)
|
SELECT home FROM table_name_3 WHERE date = "january 7"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (home VARCHAR, date VARCHAR) Question: Which home game has a date of January 7? [/INST] SELECT home FROM table_name_3 WHERE date = "january 7" </s>
|
What is the highest number of doctorates the college of informatics and systems, which has 0 specialists and less than 2 master's degrees, have?
|
CREATE TABLE table_name_10 (doctorate INTEGER, masters VARCHAR, specialist VARCHAR, college VARCHAR)
|
SELECT MAX(doctorate) FROM table_name_10 WHERE specialist = 0 AND college = "informatics and systems" AND masters < 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (doctorate INTEGER, masters VARCHAR, specialist VARCHAR, college VARCHAR) Question: What is the highest number of doctorates the college of informatics and systems, which has 0 specialists and less than 2 master's degrees, have? [/INST] SELECT MAX(doctorate) FROM table_name_10 WHERE specialist = 0 AND college = "informatics and systems" AND masters < 2 </s>
|
On what Date is the Blue Coalition 8,80%?
|
CREATE TABLE table_name_62 (date VARCHAR, blue_coalition VARCHAR)
|
SELECT date FROM table_name_62 WHERE blue_coalition = "8,80%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (date VARCHAR, blue_coalition VARCHAR) Question: On what Date is the Blue Coalition 8,80%? [/INST] SELECT date FROM table_name_62 WHERE blue_coalition = "8,80%" </s>
|
What Source has an Attack of 9,77%?
|
CREATE TABLE table_name_8 (source VARCHAR, attack VARCHAR)
|
SELECT source FROM table_name_8 WHERE attack = "9,77%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (source VARCHAR, attack VARCHAR) Question: What Source has an Attack of 9,77%? [/INST] SELECT source FROM table_name_8 WHERE attack = "9,77%" </s>
|
What Attack has a Source of NCIOM?
|
CREATE TABLE table_name_71 (attack VARCHAR, source VARCHAR)
|
SELECT attack FROM table_name_71 WHERE source = "nciom"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (attack VARCHAR, source VARCHAR) Question: What Attack has a Source of NCIOM? [/INST] SELECT attack FROM table_name_71 WHERE source = "nciom" </s>
|
What Attack has a 30,00% GERB?
|
CREATE TABLE table_name_74 (attack VARCHAR, gerb VARCHAR)
|
SELECT attack FROM table_name_74 WHERE gerb = "30,00%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (attack VARCHAR, gerb VARCHAR) Question: What Attack has a 30,00% GERB? [/INST] SELECT attack FROM table_name_74 WHERE gerb = "30,00%" </s>
|
What GERB has an 11% Attack?
|
CREATE TABLE table_name_16 (gerb VARCHAR, attack VARCHAR)
|
SELECT gerb FROM table_name_16 WHERE attack = "11%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (gerb VARCHAR, attack VARCHAR) Question: What GERB has an 11% Attack? [/INST] SELECT gerb FROM table_name_16 WHERE attack = "11%" </s>
|
Which Tie # has a Score of 3–0, and a Home team of bristol rovers?
|
CREATE TABLE table_name_39 (tie_no VARCHAR, score VARCHAR, home_team VARCHAR)
|
SELECT tie_no FROM table_name_39 WHERE score = "3–0" AND home_team = "bristol rovers"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (tie_no VARCHAR, score VARCHAR, home_team VARCHAR) Question: Which Tie # has a Score of 3–0, and a Home team of bristol rovers? [/INST] SELECT tie_no FROM table_name_39 WHERE score = "3–0" AND home_team = "bristol rovers" </s>
|
Which Score has a Home team of yeovil town won 5–3 on penalties?
|
CREATE TABLE table_name_82 (score VARCHAR, home_team VARCHAR)
|
SELECT score FROM table_name_82 WHERE home_team = "yeovil town won 5–3 on penalties"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (score VARCHAR, home_team VARCHAR) Question: Which Score has a Home team of yeovil town won 5–3 on penalties? [/INST] SELECT score FROM table_name_82 WHERE home_team = "yeovil town won 5–3 on penalties" </s>
|
Which Tie # has an Away team of slough town?
|
CREATE TABLE table_name_66 (tie_no VARCHAR, away_team VARCHAR)
|
SELECT tie_no FROM table_name_66 WHERE away_team = "slough town"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (tie_no VARCHAR, away_team VARCHAR) Question: Which Tie # has an Away team of slough town? [/INST] SELECT tie_no FROM table_name_66 WHERE away_team = "slough town" </s>
|
Which Attendance has a Tie # of 32?
|
CREATE TABLE table_name_13 (attendance VARCHAR, tie_no VARCHAR)
|
SELECT attendance FROM table_name_13 WHERE tie_no = "32"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (attendance VARCHAR, tie_no VARCHAR) Question: Which Attendance has a Tie # of 32? [/INST] SELECT attendance FROM table_name_13 WHERE tie_no = "32" </s>
|
Which Away team has a Tie # of replay, and an Attendance of 24 november 1998, and a Home team of rotherham united?
|
CREATE TABLE table_name_51 (away_team VARCHAR, home_team VARCHAR, tie_no VARCHAR, attendance VARCHAR)
|
SELECT away_team FROM table_name_51 WHERE tie_no = "replay" AND attendance = "24 november 1998" AND home_team = "rotherham united"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (away_team VARCHAR, home_team VARCHAR, tie_no VARCHAR, attendance VARCHAR) Question: Which Away team has a Tie # of replay, and an Attendance of 24 november 1998, and a Home team of rotherham united? [/INST] SELECT away_team FROM table_name_51 WHERE tie_no = "replay" AND attendance = "24 november 1998" AND home_team = "rotherham united" </s>
|
Which Tie # that has an Attendance of 14 november 1998, and an Away team of hayes?
|
CREATE TABLE table_name_62 (tie_no VARCHAR, attendance VARCHAR, away_team VARCHAR)
|
SELECT tie_no FROM table_name_62 WHERE attendance = "14 november 1998" AND away_team = "hayes"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (tie_no VARCHAR, attendance VARCHAR, away_team VARCHAR) Question: Which Tie # that has an Attendance of 14 november 1998, and an Away team of hayes? [/INST] SELECT tie_no FROM table_name_62 WHERE attendance = "14 november 1998" AND away_team = "hayes" </s>
|
Name the date with winner outcome and opponent of noppawan lertcheewakarn jessica moore
|
CREATE TABLE table_name_82 (date VARCHAR, outcome VARCHAR, opponent VARCHAR)
|
SELECT date FROM table_name_82 WHERE outcome = "winner" AND opponent = "noppawan lertcheewakarn jessica moore"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (date VARCHAR, outcome VARCHAR, opponent VARCHAR) Question: Name the date with winner outcome and opponent of noppawan lertcheewakarn jessica moore [/INST] SELECT date FROM table_name_82 WHERE outcome = "winner" AND opponent = "noppawan lertcheewakarn jessica moore" </s>
|
Name the score for 21 may 2011
|
CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR)
|
SELECT score FROM table_name_35 WHERE date = "21 may 2011"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR) Question: Name the score for 21 may 2011 [/INST] SELECT score FROM table_name_35 WHERE date = "21 may 2011" </s>
|
Name the partner with opponent of michaëlla krajicek eleni daniilidou
|
CREATE TABLE table_name_20 (partner VARCHAR, opponent VARCHAR)
|
SELECT partner FROM table_name_20 WHERE opponent = "michaëlla krajicek eleni daniilidou"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (partner VARCHAR, opponent VARCHAR) Question: Name the partner with opponent of michaëlla krajicek eleni daniilidou [/INST] SELECT partner FROM table_name_20 WHERE opponent = "michaëlla krajicek eleni daniilidou" </s>
|
Name the outcome for opponent of michaëlla krajicek eleni daniilidou
|
CREATE TABLE table_name_98 (outcome VARCHAR, opponent VARCHAR)
|
SELECT outcome FROM table_name_98 WHERE opponent = "michaëlla krajicek eleni daniilidou"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (outcome VARCHAR, opponent VARCHAR) Question: Name the outcome for opponent of michaëlla krajicek eleni daniilidou [/INST] SELECT outcome FROM table_name_98 WHERE opponent = "michaëlla krajicek eleni daniilidou" </s>
|
How many wins had Matches greater than 5?
|
CREATE TABLE table_name_82 (wins INTEGER, matches INTEGER)
|
SELECT SUM(wins) FROM table_name_82 WHERE matches > 5
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (wins INTEGER, matches INTEGER) Question: How many wins had Matches greater than 5? [/INST] SELECT SUM(wins) FROM table_name_82 WHERE matches > 5 </s>
|
What was the round number when Michael Hjalm played?
|
CREATE TABLE table_name_27 (round VARCHAR, player VARCHAR)
|
SELECT round FROM table_name_27 WHERE player = "michael hjalm"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (round VARCHAR, player VARCHAR) Question: What was the round number when Michael Hjalm played? [/INST] SELECT round FROM table_name_27 WHERE player = "michael hjalm" </s>
|
What is the position Bill Campbell played before round 6?
|
CREATE TABLE table_name_22 (position VARCHAR, round VARCHAR, player VARCHAR)
|
SELECT position FROM table_name_22 WHERE round < 6 AND player = "bill campbell"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (position VARCHAR, round VARCHAR, player VARCHAR) Question: What is the position Bill Campbell played before round 6? [/INST] SELECT position FROM table_name_22 WHERE round < 6 AND player = "bill campbell" </s>
|
What is the date for the release with a catalogue number of WARPCDD333?
|
CREATE TABLE table_name_73 (date VARCHAR, catalogue_number VARCHAR)
|
SELECT date FROM table_name_73 WHERE catalogue_number = "warpcdd333"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (date VARCHAR, catalogue_number VARCHAR) Question: What is the date for the release with a catalogue number of WARPCDD333? [/INST] SELECT date FROM table_name_73 WHERE catalogue_number = "warpcdd333" </s>
|
What is the country/region for the releases from Beat Records?
|
CREATE TABLE table_name_9 (country_region VARCHAR, label VARCHAR)
|
SELECT country_region FROM table_name_9 WHERE label = "beat records"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (country_region VARCHAR, label VARCHAR) Question: What is the country/region for the releases from Beat Records? [/INST] SELECT country_region FROM table_name_9 WHERE label = "beat records" </s>
|
What is the Total with a Player named robbie winters?
|
CREATE TABLE table_name_95 (total VARCHAR, player VARCHAR)
|
SELECT total FROM table_name_95 WHERE player = "robbie winters"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (total VARCHAR, player VARCHAR) Question: What is the Total with a Player named robbie winters? [/INST] SELECT total FROM table_name_95 WHERE player = "robbie winters" </s>
|
What Position has a Player named kenneth udjus?
|
CREATE TABLE table_name_47 (position VARCHAR, player VARCHAR)
|
SELECT position FROM table_name_47 WHERE player = "kenneth udjus"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (position VARCHAR, player VARCHAR) Question: What Position has a Player named kenneth udjus? [/INST] SELECT position FROM table_name_47 WHERE player = "kenneth udjus" </s>
|
What is the latest day in November of the game with a 15-5-2 record?
|
CREATE TABLE table_name_60 (november INTEGER, record VARCHAR)
|
SELECT MAX(november) FROM table_name_60 WHERE record = "15-5-2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (november INTEGER, record VARCHAR) Question: What is the latest day in November of the game with a 15-5-2 record? [/INST] SELECT MAX(november) FROM table_name_60 WHERE record = "15-5-2" </s>
|
What is the latest day in November with a game 15?
|
CREATE TABLE table_name_31 (november INTEGER, game VARCHAR)
|
SELECT MAX(november) FROM table_name_31 WHERE game = 15
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (november INTEGER, game VARCHAR) Question: What is the latest day in November with a game 15? [/INST] SELECT MAX(november) FROM table_name_31 WHERE game = 15 </s>
|
What is the lowest wins with points larger than 46, and a rank of 10th?
|
CREATE TABLE table_name_55 (wins INTEGER, points VARCHAR, rank VARCHAR)
|
SELECT MIN(wins) FROM table_name_55 WHERE points > 46 AND rank = "10th"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (wins INTEGER, points VARCHAR, rank VARCHAR) Question: What is the lowest wins with points larger than 46, and a rank of 10th? [/INST] SELECT MIN(wins) FROM table_name_55 WHERE points > 46 AND rank = "10th" </s>
|
What is the average points with a year higher than 1989, and a rank of 7th?
|
CREATE TABLE table_name_60 (points INTEGER, year VARCHAR, rank VARCHAR)
|
SELECT AVG(points) FROM table_name_60 WHERE year > 1989 AND rank = "7th"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (points INTEGER, year VARCHAR, rank VARCHAR) Question: What is the average points with a year higher than 1989, and a rank of 7th? [/INST] SELECT AVG(points) FROM table_name_60 WHERE year > 1989 AND rank = "7th" </s>
|
What is the year that has points larger than 20?
|
CREATE TABLE table_name_84 (year VARCHAR, points INTEGER)
|
SELECT COUNT(year) FROM table_name_84 WHERE points > 20
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (year VARCHAR, points INTEGER) Question: What is the year that has points larger than 20? [/INST] SELECT COUNT(year) FROM table_name_84 WHERE points > 20 </s>
|
What is year that has points larger than 46, and a rank of 6th?
|
CREATE TABLE table_name_45 (year INTEGER, points VARCHAR, rank VARCHAR)
|
SELECT SUM(year) FROM table_name_45 WHERE points > 46 AND rank = "6th"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (year INTEGER, points VARCHAR, rank VARCHAR) Question: What is year that has points larger than 46, and a rank of 6th? [/INST] SELECT SUM(year) FROM table_name_45 WHERE points > 46 AND rank = "6th" </s>
|
What earliest year with points larger than 68 and a rank of 7th?
|
CREATE TABLE table_name_71 (year INTEGER, points VARCHAR, rank VARCHAR)
|
SELECT MIN(year) FROM table_name_71 WHERE points > 68 AND rank = "7th"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (year INTEGER, points VARCHAR, rank VARCHAR) Question: What earliest year with points larger than 68 and a rank of 7th? [/INST] SELECT MIN(year) FROM table_name_71 WHERE points > 68 AND rank = "7th" </s>
|
what player went to ul-monroe
|
CREATE TABLE table_name_7 (player VARCHAR, school VARCHAR)
|
SELECT player FROM table_name_7 WHERE school = "ul-monroe"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (player VARCHAR, school VARCHAR) Question: what player went to ul-monroe [/INST] SELECT player FROM table_name_7 WHERE school = "ul-monroe" </s>
|
How many drawn having more than 9 points?
|
CREATE TABLE table_name_86 (drawn INTEGER, points INTEGER)
|
SELECT SUM(drawn) FROM table_name_86 WHERE points > 9
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (drawn INTEGER, points INTEGER) Question: How many drawn having more than 9 points? [/INST] SELECT SUM(drawn) FROM table_name_86 WHERE points > 9 </s>
|
Which Number stayed in Southeast has over 4,000 emigrated or forcibly removed?
|
CREATE TABLE table_name_26 (number_stayed_in_southeast VARCHAR, total_number_emigrated_or_forcibly_removed VARCHAR)
|
SELECT number_stayed_in_southeast FROM table_name_26 WHERE total_number_emigrated_or_forcibly_removed = "over 4,000"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (number_stayed_in_southeast VARCHAR, total_number_emigrated_or_forcibly_removed VARCHAR) Question: Which Number stayed in Southeast has over 4,000 emigrated or forcibly removed? [/INST] SELECT number_stayed_in_southeast FROM table_name_26 WHERE total_number_emigrated_or_forcibly_removed = "over 4,000" </s>
|
How many warfare deaths befell the choctaw nation?
|
CREATE TABLE table_name_33 (deaths_from_warfare VARCHAR, nation VARCHAR)
|
SELECT deaths_from_warfare FROM table_name_33 WHERE nation = "choctaw"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (deaths_from_warfare VARCHAR, nation VARCHAR) Question: How many warfare deaths befell the choctaw nation? [/INST] SELECT deaths_from_warfare FROM table_name_33 WHERE nation = "choctaw" </s>
|
How many of those who stayed in the southeast had 19,600 emigrated or forcibly removed?
|
CREATE TABLE table_name_58 (number_stayed_in_southeast VARCHAR, total_number_emigrated_or_forcibly_removed VARCHAR)
|
SELECT number_stayed_in_southeast FROM table_name_58 WHERE total_number_emigrated_or_forcibly_removed = "19,600"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (number_stayed_in_southeast VARCHAR, total_number_emigrated_or_forcibly_removed VARCHAR) Question: How many of those who stayed in the southeast had 19,600 emigrated or forcibly removed? [/INST] SELECT number_stayed_in_southeast FROM table_name_58 WHERE total_number_emigrated_or_forcibly_removed = "19,600" </s>
|
Which removal treaty covered the chickasaw nation?
|
CREATE TABLE table_name_32 (removal_treaty__year_signed_ VARCHAR, nation VARCHAR)
|
SELECT removal_treaty__year_signed_ FROM table_name_32 WHERE nation = "chickasaw"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (removal_treaty__year_signed_ VARCHAR, nation VARCHAR) Question: Which removal treaty covered the chickasaw nation? [/INST] SELECT removal_treaty__year_signed_ FROM table_name_32 WHERE nation = "chickasaw" </s>
|
When did stage 5 occur?
|
CREATE TABLE table_name_53 (date VARCHAR, stage VARCHAR)
|
SELECT date FROM table_name_53 WHERE stage = 5
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (date VARCHAR, stage VARCHAR) Question: When did stage 5 occur? [/INST] SELECT date FROM table_name_53 WHERE stage = 5 </s>
|
Who were the opponents during week 14?
|
CREATE TABLE table_name_53 (opponent VARCHAR, week VARCHAR)
|
SELECT opponent FROM table_name_53 WHERE week = 14
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (opponent VARCHAR, week VARCHAR) Question: Who were the opponents during week 14? [/INST] SELECT opponent FROM table_name_53 WHERE week = 14 </s>
|
What is the highest attendance for the game before week 13 on December 9, 1973?
|
CREATE TABLE table_name_45 (attendance INTEGER, date VARCHAR, week VARCHAR)
|
SELECT MAX(attendance) FROM table_name_45 WHERE date = "december 9, 1973" AND week < 13
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (attendance INTEGER, date VARCHAR, week VARCHAR) Question: What is the highest attendance for the game before week 13 on December 9, 1973? [/INST] SELECT MAX(attendance) FROM table_name_45 WHERE date = "december 9, 1973" AND week < 13 </s>
|
What is the average attendance for the games after week 2 on September 23, 1973?
|
CREATE TABLE table_name_31 (attendance INTEGER, date VARCHAR, week VARCHAR)
|
SELECT AVG(attendance) FROM table_name_31 WHERE date = "september 23, 1973" AND week > 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (attendance INTEGER, date VARCHAR, week VARCHAR) Question: What is the average attendance for the games after week 2 on September 23, 1973? [/INST] SELECT AVG(attendance) FROM table_name_31 WHERE date = "september 23, 1973" AND week > 2 </s>
|
What is the total number of weeks where games were on November 5, 1973 and the attendance was larger than 49,220?
|
CREATE TABLE table_name_81 (week VARCHAR, date VARCHAR, attendance VARCHAR)
|
SELECT COUNT(week) FROM table_name_81 WHERE date = "november 5, 1973" AND attendance > 49 OFFSET 220 ROWS
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (week VARCHAR, date VARCHAR, attendance VARCHAR) Question: What is the total number of weeks where games were on November 5, 1973 and the attendance was larger than 49,220? [/INST] SELECT COUNT(week) FROM table_name_81 WHERE date = "november 5, 1973" AND attendance > 49 OFFSET 220 ROWS </s>
|
Record of 9–1 had what game site?
|
CREATE TABLE table_name_70 (game_site VARCHAR, record VARCHAR)
|
SELECT game_site FROM table_name_70 WHERE record = "9–1"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (game_site VARCHAR, record VARCHAR) Question: Record of 9–1 had what game site? [/INST] SELECT game_site FROM table_name_70 WHERE record = "9–1" </s>
|
Record of 8–1, and a Week larger than 9 had what highest attendance?
|
CREATE TABLE table_name_18 (attendance INTEGER, record VARCHAR, week VARCHAR)
|
SELECT MAX(attendance) FROM table_name_18 WHERE record = "8–1" AND week > 9
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (attendance INTEGER, record VARCHAR, week VARCHAR) Question: Record of 8–1, and a Week larger than 9 had what highest attendance? [/INST] SELECT MAX(attendance) FROM table_name_18 WHERE record = "8–1" AND week > 9 </s>
|
Result of w 24–21, and a Week smaller than 6 had what sum of attendance?
|
CREATE TABLE table_name_9 (attendance INTEGER, result VARCHAR, week VARCHAR)
|
SELECT SUM(attendance) FROM table_name_9 WHERE result = "w 24–21" AND week < 6
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (attendance INTEGER, result VARCHAR, week VARCHAR) Question: Result of w 24–21, and a Week smaller than 6 had what sum of attendance? [/INST] SELECT SUM(attendance) FROM table_name_9 WHERE result = "w 24–21" AND week < 6 </s>
|
Date of October 25, 1964 involves what record?
|
CREATE TABLE table_name_1 (record VARCHAR, date VARCHAR)
|
SELECT record FROM table_name_1 WHERE date = "october 25, 1964"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (record VARCHAR, date VARCHAR) Question: Date of October 25, 1964 involves what record? [/INST] SELECT record FROM table_name_1 WHERE date = "october 25, 1964" </s>
|
What is the high total for algeria with over 2 bronzes?
|
CREATE TABLE table_name_82 (total INTEGER, nation VARCHAR, bronze VARCHAR)
|
SELECT MAX(total) FROM table_name_82 WHERE nation = "algeria" AND bronze > 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (total INTEGER, nation VARCHAR, bronze VARCHAR) Question: What is the high total for algeria with over 2 bronzes? [/INST] SELECT MAX(total) FROM table_name_82 WHERE nation = "algeria" AND bronze > 2 </s>
|
What is the highest number of silvers for qatar with under 8 total, 0 golds, and over 2 bronzes?
|
CREATE TABLE table_name_9 (silver INTEGER, bronze VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR)
|
SELECT MAX(silver) FROM table_name_9 WHERE total < 8 AND gold = 0 AND nation = "qatar" AND bronze > 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (silver INTEGER, bronze VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR) Question: What is the highest number of silvers for qatar with under 8 total, 0 golds, and over 2 bronzes? [/INST] SELECT MAX(silver) FROM table_name_9 WHERE total < 8 AND gold = 0 AND nation = "qatar" AND bronze > 2 </s>
|
How many bronzes for the nation with over 20 total, under 26 golds, and over 0 silvers?
|
CREATE TABLE table_name_81 (bronze VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR)
|
SELECT COUNT(bronze) FROM table_name_81 WHERE silver > 0 AND total > 20 AND gold < 26
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (bronze VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR) Question: How many bronzes for the nation with over 20 total, under 26 golds, and over 0 silvers? [/INST] SELECT COUNT(bronze) FROM table_name_81 WHERE silver > 0 AND total > 20 AND gold < 26 </s>
|
Who one bronze in the event where Choi Jun-Sang won gold, and Suh Jung-Kyun won silver?
|
CREATE TABLE table_name_27 (bronze VARCHAR, gold VARCHAR, silver VARCHAR)
|
SELECT bronze FROM table_name_27 WHERE gold = "choi jun-sang" AND silver = "suh jung-kyun"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (bronze VARCHAR, gold VARCHAR, silver VARCHAR) Question: Who one bronze in the event where Choi Jun-Sang won gold, and Suh Jung-Kyun won silver? [/INST] SELECT bronze FROM table_name_27 WHERE gold = "choi jun-sang" AND silver = "suh jung-kyun" </s>
|
Who won bronze in Seoul?
|
CREATE TABLE table_name_20 (bronze VARCHAR, location VARCHAR)
|
SELECT bronze FROM table_name_20 WHERE location = "seoul"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (bronze VARCHAR, location VARCHAR) Question: Who won bronze in Seoul? [/INST] SELECT bronze FROM table_name_20 WHERE location = "seoul" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.