instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
When the city is agadir what is the change (12/11)?
CREATE TABLE table_name_8 (change__12_11_ VARCHAR, city VARCHAR)
SELECT change__12_11_ FROM table_name_8 WHERE city = "agadir"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (change__12_11_ VARCHAR, city VARCHAR) Question: When the city is agadir what is the change (12/11)? [/INST] SELECT change__12_11_ FROM table_name_8 WHERE city = "agadir" </s>
What is the catalog number of Venus Demilo's A-side?
CREATE TABLE table_name_30 (catalog_number VARCHAR, a_side VARCHAR)
SELECT catalog_number FROM table_name_30 WHERE a_side = "venus demilo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (catalog_number VARCHAR, a_side VARCHAR) Question: What is the catalog number of Venus Demilo's A-side? [/INST] SELECT catalog_number FROM table_name_30 WHERE a_side = "venus demilo" </s>
What year did the B-Side of Just Squeeze Me come out?
CREATE TABLE table_name_46 (year VARCHAR, b_side VARCHAR)
SELECT year FROM table_name_46 WHERE b_side = "just squeeze me"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (year VARCHAR, b_side VARCHAR) Question: What year did the B-Side of Just Squeeze Me come out? [/INST] SELECT year FROM table_name_46 WHERE b_side = "just squeeze me" </s>
What label has the 817 catalog?
CREATE TABLE table_name_92 (label VARCHAR, catalog_number VARCHAR)
SELECT label FROM table_name_92 WHERE catalog_number = "817"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (label VARCHAR, catalog_number VARCHAR) Question: What label has the 817 catalog? [/INST] SELECT label FROM table_name_92 WHERE catalog_number = "817" </s>
What is the A-side for it Never Entered My Mind, Part 2?
CREATE TABLE table_name_75 (a_side VARCHAR, b_side VARCHAR)
SELECT a_side FROM table_name_75 WHERE b_side = "it never entered my mind, part 2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (a_side VARCHAR, b_side VARCHAR) Question: What is the A-side for it Never Entered My Mind, Part 2? [/INST] SELECT a_side FROM table_name_75 WHERE b_side = "it never entered my mind, part 2" </s>
What is the A-side for catalog 902?
CREATE TABLE table_name_87 (a_side VARCHAR, catalog_number VARCHAR)
SELECT a_side FROM table_name_87 WHERE catalog_number = "902"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (a_side VARCHAR, catalog_number VARCHAR) Question: What is the A-side for catalog 902? [/INST] SELECT a_side FROM table_name_87 WHERE catalog_number = "902" </s>
What is the class of the a1 bm type?
CREATE TABLE table_name_10 (class VARCHAR, type VARCHAR)
SELECT class FROM table_name_10 WHERE type = "a1 bm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (class VARCHAR, type VARCHAR) Question: What is the class of the a1 bm type? [/INST] SELECT class FROM table_name_10 WHERE type = "a1 bm" </s>
What is the quantity of the aw class?
CREATE TABLE table_name_5 (quantity VARCHAR, class VARCHAR)
SELECT quantity FROM table_name_5 WHERE class = "aw"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (quantity VARCHAR, class VARCHAR) Question: What is the quantity of the aw class? [/INST] SELECT quantity FROM table_name_5 WHERE class = "aw" </s>
What is the class with 1 quantity?
CREATE TABLE table_name_6 (class VARCHAR, quantity VARCHAR)
SELECT class FROM table_name_6 WHERE quantity = "1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (class VARCHAR, quantity VARCHAR) Question: What is the class with 1 quantity? [/INST] SELECT class FROM table_name_6 WHERE quantity = "1" </s>
What is the railway number of the aw class?
CREATE TABLE table_name_3 (railway_number_s_ VARCHAR, class VARCHAR)
SELECT railway_number_s_ FROM table_name_3 WHERE class = "aw"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (railway_number_s_ VARCHAR, class VARCHAR) Question: What is the railway number of the aw class? [/INST] SELECT railway_number_s_ FROM table_name_3 WHERE class = "aw" </s>
What was the game when the record was 31-15?
CREATE TABLE table_name_80 (game VARCHAR, record VARCHAR)
SELECT game FROM table_name_80 WHERE record = "31-15"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (game VARCHAR, record VARCHAR) Question: What was the game when the record was 31-15? [/INST] SELECT game FROM table_name_80 WHERE record = "31-15" </s>
What was the date of the game with a score of W 106-100?
CREATE TABLE table_name_2 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_2 WHERE score = "w 106-100"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (date VARCHAR, score VARCHAR) Question: What was the date of the game with a score of W 106-100? [/INST] SELECT date FROM table_name_2 WHERE score = "w 106-100" </s>
What is the speed for rank 1?
CREATE TABLE table_name_26 (speed VARCHAR, rank VARCHAR)
SELECT speed FROM table_name_26 WHERE rank = "1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (speed VARCHAR, rank VARCHAR) Question: What is the speed for rank 1? [/INST] SELECT speed FROM table_name_26 WHERE rank = "1" </s>
What team has a Rank Ret, and rider Frank A Applebee?
CREATE TABLE table_name_92 (team VARCHAR, rank VARCHAR, rider VARCHAR)
SELECT team FROM table_name_92 WHERE rank = "ret" AND rider = "frank a applebee"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (team VARCHAR, rank VARCHAR, rider VARCHAR) Question: What team has a Rank Ret, and rider Frank A Applebee? [/INST] SELECT team FROM table_name_92 WHERE rank = "ret" AND rider = "frank a applebee" ...
What internet explorer has 29.07% for the chrome?
CREATE TABLE table_name_91 (internet_explorer VARCHAR, chrome VARCHAR)
SELECT internet_explorer FROM table_name_91 WHERE chrome = "29.07%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (internet_explorer VARCHAR, chrome VARCHAR) Question: What internet explorer has 29.07% for the chrome? [/INST] SELECT internet_explorer FROM table_name_91 WHERE chrome = "29.07%" </s>
What is the other mozilla that has 9.41% for the safari?
CREATE TABLE table_name_71 (other_mozilla VARCHAR, safari VARCHAR)
SELECT other_mozilla FROM table_name_71 WHERE safari = "9.41%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (other_mozilla VARCHAR, safari VARCHAR) Question: What is the other mozilla that has 9.41% for the safari? [/INST] SELECT other_mozilla FROM table_name_71 WHERE safari = "9.41%" </s>
What other mozilla has January 2010 as the period?
CREATE TABLE table_name_80 (other_mozilla VARCHAR, period VARCHAR)
SELECT other_mozilla FROM table_name_80 WHERE period = "january 2010"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (other_mozilla VARCHAR, period VARCHAR) Question: What other mozilla has January 2010 as the period? [/INST] SELECT other_mozilla FROM table_name_80 WHERE period = "january 2010" </s>
What internet explorer has 7.89% as the safari, and 8.22% as the chrome?
CREATE TABLE table_name_31 (internet_explorer VARCHAR, safari VARCHAR, chrome VARCHAR)
SELECT internet_explorer FROM table_name_31 WHERE safari = "7.89%" AND chrome = "8.22%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (internet_explorer VARCHAR, safari VARCHAR, chrome VARCHAR) Question: What internet explorer has 7.89% as the safari, and 8.22% as the chrome? [/INST] SELECT internet_explorer FROM table_name_31 WH...
What period has 0.25% as the other mozilla?
CREATE TABLE table_name_66 (period VARCHAR, other_mozilla VARCHAR)
SELECT period FROM table_name_66 WHERE other_mozilla = "0.25%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (period VARCHAR, other_mozilla VARCHAR) Question: What period has 0.25% as the other mozilla? [/INST] SELECT period FROM table_name_66 WHERE other_mozilla = "0.25%" </s>
Which socket goes with the item with release price of $378 and turbo of 6/6/8/9?
CREATE TABLE table_name_75 (socket VARCHAR, release_price___usd__ VARCHAR, turbo VARCHAR)
SELECT socket FROM table_name_75 WHERE release_price___usd__ = "$378" AND turbo = "6/6/8/9"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (socket VARCHAR, release_price___usd__ VARCHAR, turbo VARCHAR) Question: Which socket goes with the item with release price of $378 and turbo of 6/6/8/9? [/INST] SELECT socket FROM table_name_75 WH...
What is the L2 cache for the core i7-2635QM?
CREATE TABLE table_name_65 (l2_cache VARCHAR, model_number VARCHAR)
SELECT l2_cache FROM table_name_65 WHERE model_number = "core i7-2635qm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (l2_cache VARCHAR, model_number VARCHAR) Question: What is the L2 cache for the core i7-2635QM? [/INST] SELECT l2_cache FROM table_name_65 WHERE model_number = "core i7-2635qm" </s>
What is the release price for the GPU frequency of standard power, embedded?
CREATE TABLE table_name_96 (release_price___usd__ VARCHAR, gpu_frequency VARCHAR)
SELECT release_price___usd__ FROM table_name_96 WHERE gpu_frequency = "standard power, embedded"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (release_price___usd__ VARCHAR, gpu_frequency VARCHAR) Question: What is the release price for the GPU frequency of standard power, embedded? [/INST] SELECT release_price___usd__ FROM table_name_96...
What is the socked when the turbo is 8/8/10/11?
CREATE TABLE table_name_40 (socket VARCHAR, turbo VARCHAR)
SELECT socket FROM table_name_40 WHERE turbo = "8/8/10/11"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (socket VARCHAR, turbo VARCHAR) Question: What is the socked when the turbo is 8/8/10/11? [/INST] SELECT socket FROM table_name_40 WHERE turbo = "8/8/10/11" </s>
Which round did the bout that led to a 1-0 record end in?
CREATE TABLE table_name_42 (round VARCHAR, record VARCHAR)
SELECT round FROM table_name_42 WHERE record = "1-0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (round VARCHAR, record VARCHAR) Question: Which round did the bout that led to a 1-0 record end in? [/INST] SELECT round FROM table_name_42 WHERE record = "1-0" </s>
Which Time has a Lane smaller than 2, and a Nationality of spain?
CREATE TABLE table_name_73 (time VARCHAR, lane VARCHAR, nationality VARCHAR)
SELECT time FROM table_name_73 WHERE lane < 2 AND nationality = "spain"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (time VARCHAR, lane VARCHAR, nationality VARCHAR) Question: Which Time has a Lane smaller than 2, and a Nationality of spain? [/INST] SELECT time FROM table_name_73 WHERE lane < 2 AND nationality =...
How many Heats have a Name of miguel molina?
CREATE TABLE table_name_39 (heat VARCHAR, name VARCHAR)
SELECT COUNT(heat) FROM table_name_39 WHERE name = "miguel molina"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (heat VARCHAR, name VARCHAR) Question: How many Heats have a Name of miguel molina? [/INST] SELECT COUNT(heat) FROM table_name_39 WHERE name = "miguel molina" </s>
what is the league when the fa cup is qr4 and the fa trophy is qf?
CREATE TABLE table_name_46 (league VARCHAR, fa_cup VARCHAR, fa_trophy VARCHAR)
SELECT league FROM table_name_46 WHERE fa_cup = "qr4" AND fa_trophy = "qf"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (league VARCHAR, fa_cup VARCHAR, fa_trophy VARCHAR) Question: what is the league when the fa cup is qr4 and the fa trophy is qf? [/INST] SELECT league FROM table_name_46 WHERE fa_cup = "qr4" AND fa...
what is the fa trophy when the leading scorer is lee gregory (8)?
CREATE TABLE table_name_66 (fa_trophy VARCHAR, leading_scorer VARCHAR)
SELECT fa_trophy FROM table_name_66 WHERE leading_scorer = "lee gregory (8)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (fa_trophy VARCHAR, leading_scorer VARCHAR) Question: what is the fa trophy when the leading scorer is lee gregory (8)? [/INST] SELECT fa_trophy FROM table_name_66 WHERE leading_scorer = "lee grego...
what is the year when the position is 1/22 promoted and the leading scorer is james dean (27)?
CREATE TABLE table_name_81 (year VARCHAR, position VARCHAR, leading_scorer VARCHAR)
SELECT year FROM table_name_81 WHERE position = "1/22 promoted" AND leading_scorer = "james dean (27)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (year VARCHAR, position VARCHAR, leading_scorer VARCHAR) Question: what is the year when the position is 1/22 promoted and the leading scorer is james dean (27)? [/INST] SELECT year FROM table_name...
When the Altrincham was the home team what was the tie no?
CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_52 WHERE home_team = "altrincham"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR) Question: When the Altrincham was the home team what was the tie no? [/INST] SELECT tie_no FROM table_name_52 WHERE home_team = "altrincham" </s>
Crawley Town as the home team has what as the tie no?
CREATE TABLE table_name_77 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_77 WHERE home_team = "crawley town"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (tie_no VARCHAR, home_team VARCHAR) Question: Crawley Town as the home team has what as the tie no? [/INST] SELECT tie_no FROM table_name_77 WHERE home_team = "crawley town" </s>
What is the nationality of the swimmer with a rank over 2 with a time of 55.77?
CREATE TABLE table_name_47 (nationality VARCHAR, rank VARCHAR, time VARCHAR)
SELECT nationality FROM table_name_47 WHERE rank > 2 AND time = "55.77"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (nationality VARCHAR, rank VARCHAR, time VARCHAR) Question: What is the nationality of the swimmer with a rank over 2 with a time of 55.77? [/INST] SELECT nationality FROM table_name_47 WHERE rank ...
What is the earliest heat with a finisher from the Czech Republic and a rank over 41?
CREATE TABLE table_name_51 (heat INTEGER, nationality VARCHAR, rank VARCHAR)
SELECT MIN(heat) FROM table_name_51 WHERE nationality = "czech republic" AND rank > 41
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (heat INTEGER, nationality VARCHAR, rank VARCHAR) Question: What is the earliest heat with a finisher from the Czech Republic and a rank over 41? [/INST] SELECT MIN(heat) FROM table_name_51 WHERE n...
What is the total number of heats with a finisher named Gregor Tait in lanes over 6?
CREATE TABLE table_name_38 (heat VARCHAR, name VARCHAR, lane VARCHAR)
SELECT COUNT(heat) FROM table_name_38 WHERE name = "gregor tait" AND lane > 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (heat VARCHAR, name VARCHAR, lane VARCHAR) Question: What is the total number of heats with a finisher named Gregor Tait in lanes over 6? [/INST] SELECT COUNT(heat) FROM table_name_38 WHERE name = ...
What is the time of the swimmer in rank 40?
CREATE TABLE table_name_47 (time VARCHAR, rank VARCHAR)
SELECT time FROM table_name_47 WHERE rank = 40
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (time VARCHAR, rank VARCHAR) Question: What is the time of the swimmer in rank 40? [/INST] SELECT time FROM table_name_47 WHERE rank = 40 </s>
From what series was Tokio Jokio, directed by Norm McCabe?
CREATE TABLE table_name_35 (series VARCHAR, director VARCHAR, title VARCHAR)
SELECT series FROM table_name_35 WHERE director = "norm mccabe" AND title = "tokio jokio"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (series VARCHAR, director VARCHAR, title VARCHAR) Question: From what series was Tokio Jokio, directed by Norm McCabe? [/INST] SELECT series FROM table_name_35 WHERE director = "norm mccabe" AND ti...
When was Inki and the Minah Bird released?
CREATE TABLE table_name_71 (release_date VARCHAR, title VARCHAR)
SELECT release_date FROM table_name_71 WHERE title = "inki and the minah bird"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (release_date VARCHAR, title VARCHAR) Question: When was Inki and the Minah Bird released? [/INST] SELECT release_date FROM table_name_71 WHERE title = "inki and the minah bird" </s>
From what series is Peck Up Your Troubles?
CREATE TABLE table_name_66 (series VARCHAR, title VARCHAR)
SELECT series FROM table_name_66 WHERE title = "peck up your troubles"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (series VARCHAR, title VARCHAR) Question: From what series is Peck Up Your Troubles? [/INST] SELECT series FROM table_name_66 WHERE title = "peck up your troubles" </s>
When the president was Yoweri Museveni, and the year was 1993, with rank of 6 under political rights, what was the total of civil liberties?
CREATE TABLE table_name_78 (civil_liberties INTEGER, year VARCHAR, political_rights VARCHAR, president VARCHAR)
SELECT SUM(civil_liberties) FROM table_name_78 WHERE political_rights = 6 AND president = "yoweri museveni" AND year = 1993
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (civil_liberties INTEGER, year VARCHAR, political_rights VARCHAR, president VARCHAR) Question: When the president was Yoweri Museveni, and the year was 1993, with rank of 6 under political rights, ...
What is the year average when not free was the status, and less than 7 was the civil liberties, and less than 6 political rights?
CREATE TABLE table_name_39 (year INTEGER, political_rights VARCHAR, status VARCHAR, civil_liberties VARCHAR)
SELECT AVG(year) FROM table_name_39 WHERE status = "not free" AND civil_liberties < 7 AND political_rights < 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (year INTEGER, political_rights VARCHAR, status VARCHAR, civil_liberties VARCHAR) Question: What is the year average when not free was the status, and less than 7 was the civil liberties, and less ...
What is the least political rights rank in 1976?
CREATE TABLE table_name_54 (political_rights INTEGER, year VARCHAR)
SELECT MIN(political_rights) FROM table_name_54 WHERE year = 1976
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (political_rights INTEGER, year VARCHAR) Question: What is the least political rights rank in 1976? [/INST] SELECT MIN(political_rights) FROM table_name_54 WHERE year = 1976 </s>
What is average ratings for Japanese title of ホタルノヒカリ, with episodes larger than 9?
CREATE TABLE table_name_38 (average_ratings VARCHAR, episodes VARCHAR, japanese_title VARCHAR)
SELECT average_ratings FROM table_name_38 WHERE episodes > 9 AND japanese_title = "ホタルノヒカリ"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (average_ratings VARCHAR, episodes VARCHAR, japanese_title VARCHAR) Question: What is average ratings for Japanese title of ホタルノヒカリ, with episodes larger than 9? [/INST] SELECT average_ratings FROM...
Which episodes has the lowest average ratings of 8.7%?
CREATE TABLE table_name_65 (episodes INTEGER, average_ratings VARCHAR)
SELECT MIN(episodes) FROM table_name_65 WHERE average_ratings = "8.7%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (episodes INTEGER, average_ratings VARCHAR) Question: Which episodes has the lowest average ratings of 8.7%? [/INST] SELECT MIN(episodes) FROM table_name_65 WHERE average_ratings = "8.7%" </s>
Which romaji title, has Japanese title of 菊次郎とさき 3?
CREATE TABLE table_name_94 (romaji_title VARCHAR, japanese_title VARCHAR)
SELECT romaji_title FROM table_name_94 WHERE japanese_title = "菊次郎とさき 3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (romaji_title VARCHAR, japanese_title VARCHAR) Question: Which romaji title, has Japanese title of 菊次郎とさき 3? [/INST] SELECT romaji_title FROM table_name_94 WHERE japanese_title = "菊次郎とさき 3" </s>
Which TV station, has romaji title of tantei gakuen q and episodes larger than 10?
CREATE TABLE table_name_45 (tv_station VARCHAR, episodes VARCHAR, romaji_title VARCHAR)
SELECT tv_station FROM table_name_45 WHERE episodes > 10 AND romaji_title = "tantei gakuen q"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (tv_station VARCHAR, episodes VARCHAR, romaji_title VARCHAR) Question: Which TV station, has romaji title of tantei gakuen q and episodes larger than 10? [/INST] SELECT tv_station FROM table_name_4...
What is the Almaty, Kazakhstan when Sergey Filimonov ( KAZ ) is 210kg?
CREATE TABLE table_name_17 (almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR)
SELECT almaty_, _kazakhstan FROM table_name_17 WHERE sergey_filimonov___kaz__ = "210kg"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR) Question: What is the Almaty, Kazakhstan when Sergey Filimonov ( KAZ ) is 210kg? [/INST] SELECT almaty_, _kazakhstan FROM ta...
What shows for Sergey Filimonov (KAZ) when the Snatch shows snatch?
CREATE TABLE table_name_69 (sergey_filimonov___kaz__ VARCHAR)
SELECT sergey_filimonov___kaz__ FROM table_name_69 WHERE "snatch" = "snatch"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (sergey_filimonov___kaz__ VARCHAR) Question: What shows for Sergey Filimonov (KAZ) when the Snatch shows snatch? [/INST] SELECT sergey_filimonov___kaz__ FROM table_name_69 WHERE "snatch" = "snatch"...
What is the Almaty, Kazakhstan when the Sergey Filimonov (KAZ) is 210kg?
CREATE TABLE table_name_42 (almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR)
SELECT almaty_, _kazakhstan FROM table_name_42 WHERE sergey_filimonov___kaz__ = "210kg"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR) Question: What is the Almaty, Kazakhstan when the Sergey Filimonov (KAZ) is 210kg? [/INST] SELECT almaty_, _kazakhstan FROM ...
What year was the main role a character named Guan Yu (關羽)?
CREATE TABLE table_name_89 (year INTEGER, role VARCHAR, character VARCHAR)
SELECT MIN(year) FROM table_name_89 WHERE role = "main" AND character = "guan yu (關羽)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (year INTEGER, role VARCHAR, character VARCHAR) Question: What year was the main role a character named Guan Yu (關羽)? [/INST] SELECT MIN(year) FROM table_name_89 WHERE role = "main" AND character =...
What is the English character for Lin Ming Kuan (林明寬)?
CREATE TABLE table_name_88 (english VARCHAR, character VARCHAR)
SELECT english FROM table_name_88 WHERE character = "lin ming kuan (林明寬)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (english VARCHAR, character VARCHAR) Question: What is the English character for Lin Ming Kuan (林明寬)? [/INST] SELECT english FROM table_name_88 WHERE character = "lin ming kuan (林明寬)" </s>
What character has a Year larger than 2010 with a lead role, and Chinese Title of 戀夏38℃?
CREATE TABLE table_name_85 (character VARCHAR, chinese_title VARCHAR, year VARCHAR, role VARCHAR)
SELECT character FROM table_name_85 WHERE year > 2010 AND role = "lead role" AND chinese_title = "戀夏38℃"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (character VARCHAR, chinese_title VARCHAR, year VARCHAR, role VARCHAR) Question: What character has a Year larger than 2010 with a lead role, and Chinese Title of 戀夏38℃? [/INST] SELECT character FR...
What is the year that has a character named Wu Ji Wei (無極威)?
CREATE TABLE table_name_27 (year INTEGER, character VARCHAR)
SELECT AVG(year) FROM table_name_27 WHERE character = "wu ji wei (無極威)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (year INTEGER, character VARCHAR) Question: What is the year that has a character named Wu Ji Wei (無極威)? [/INST] SELECT AVG(year) FROM table_name_27 WHERE character = "wu ji wei (無極威)" </s>
Which Round has an Opponent of aleksandr pitchkounov?
CREATE TABLE table_name_81 (round INTEGER, opponent VARCHAR)
SELECT MIN(round) FROM table_name_81 WHERE opponent = "aleksandr pitchkounov"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (round INTEGER, opponent VARCHAR) Question: Which Round has an Opponent of aleksandr pitchkounov? [/INST] SELECT MIN(round) FROM table_name_81 WHERE opponent = "aleksandr pitchkounov" </s>
Which Result has a Round of 5, and an Event of mt one?
CREATE TABLE table_name_92 (result VARCHAR, round VARCHAR, event VARCHAR)
SELECT result FROM table_name_92 WHERE round = 5 AND event = "mt one"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (result VARCHAR, round VARCHAR, event VARCHAR) Question: Which Result has a Round of 5, and an Event of mt one? [/INST] SELECT result FROM table_name_92 WHERE round = 5 AND event = "mt one" </s>
Mortlake club has more than 924 against, less than 14 losses, and how many total draws?
CREATE TABLE table_name_66 (draws VARCHAR, losses VARCHAR, against VARCHAR, club VARCHAR)
SELECT COUNT(draws) FROM table_name_66 WHERE against > 924 AND club = "mortlake" AND losses < 14
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (draws VARCHAR, losses VARCHAR, against VARCHAR, club VARCHAR) Question: Mortlake club has more than 924 against, less than 14 losses, and how many total draws? [/INST] SELECT COUNT(draws) FROM tab...
What is the total number of wins for Cobden club when there are more than 2 draws?
CREATE TABLE table_name_39 (wins INTEGER, club VARCHAR, draws VARCHAR)
SELECT SUM(wins) FROM table_name_39 WHERE club = "cobden" AND draws > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (wins INTEGER, club VARCHAR, draws VARCHAR) Question: What is the total number of wins for Cobden club when there are more than 2 draws? [/INST] SELECT SUM(wins) FROM table_name_39 WHERE club = "co...
When against is 797 and wins is more than 10, what is the sum of draws?
CREATE TABLE table_name_28 (draws VARCHAR, against VARCHAR, wins VARCHAR)
SELECT COUNT(draws) FROM table_name_28 WHERE against = 797 AND wins > 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (draws VARCHAR, against VARCHAR, wins VARCHAR) Question: When against is 797 and wins is more than 10, what is the sum of draws? [/INST] SELECT COUNT(draws) FROM table_name_28 WHERE against = 797 A...
Club warrnambool has less than 9 wins and what average of draws?
CREATE TABLE table_name_63 (draws INTEGER, wins VARCHAR, club VARCHAR)
SELECT AVG(draws) FROM table_name_63 WHERE wins < 9 AND club = "warrnambool"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (draws INTEGER, wins VARCHAR, club VARCHAR) Question: Club warrnambool has less than 9 wins and what average of draws? [/INST] SELECT AVG(draws) FROM table_name_63 WHERE wins < 9 AND club = "warrna...
What is the average number of draws for Mortlake club when they have less than 0 wins?
CREATE TABLE table_name_11 (draws INTEGER, club VARCHAR, wins VARCHAR)
SELECT AVG(draws) FROM table_name_11 WHERE club = "mortlake" AND wins < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (draws INTEGER, club VARCHAR, wins VARCHAR) Question: What is the average number of draws for Mortlake club when they have less than 0 wins? [/INST] SELECT AVG(draws) FROM table_name_11 WHERE club ...
Which Foreign population has a Population (2004) larger than 234733?
CREATE TABLE table_name_26 (foreign_population INTEGER, population__2004_ INTEGER)
SELECT AVG(foreign_population) FROM table_name_26 WHERE population__2004_ > 234733
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (foreign_population INTEGER, population__2004_ INTEGER) Question: Which Foreign population has a Population (2004) larger than 234733? [/INST] SELECT AVG(foreign_population) FROM table_name_26 WHER...
Which Population (2004) has a Moroccan population larger than 234506?
CREATE TABLE table_name_38 (population__2004_ INTEGER, moroccan_population INTEGER)
SELECT AVG(population__2004_) FROM table_name_38 WHERE moroccan_population > 234506
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (population__2004_ INTEGER, moroccan_population INTEGER) Question: Which Population (2004) has a Moroccan population larger than 234506? [/INST] SELECT AVG(population__2004_) FROM table_name_38 WHE...
What date was the opponent VFL Sindelfingen?
CREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_98 WHERE opponent = "vfl sindelfingen"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR) Question: What date was the opponent VFL Sindelfingen? [/INST] SELECT date FROM table_name_98 WHERE opponent = "vfl sindelfingen" </s>
What date was the attendance 1,804?
CREATE TABLE table_name_44 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_44 WHERE attendance = "1,804"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (date VARCHAR, attendance VARCHAR) Question: What date was the attendance 1,804? [/INST] SELECT date FROM table_name_44 WHERE attendance = "1,804" </s>
Who was the opponent with an attendance of 628?
CREATE TABLE table_name_98 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_98 WHERE attendance = "628"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (opponent VARCHAR, attendance VARCHAR) Question: Who was the opponent with an attendance of 628? [/INST] SELECT opponent FROM table_name_98 WHERE attendance = "628" </s>
What bike has a grid greater than 17, laps less than 8, with milos cihak as the rider?
CREATE TABLE table_name_24 (bike VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT bike FROM table_name_24 WHERE grid > 17 AND laps < 8 AND rider = "milos cihak"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (bike VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR) Question: What bike has a grid greater than 17, laps less than 8, with milos cihak as the rider? [/INST] SELECT bike FROM table_name_24 WHE...
What is the highest grid that has gregorio lavilla as the rider?
CREATE TABLE table_name_89 (grid INTEGER, rider VARCHAR)
SELECT MAX(grid) FROM table_name_89 WHERE rider = "gregorio lavilla"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (grid INTEGER, rider VARCHAR) Question: What is the highest grid that has gregorio lavilla as the rider? [/INST] SELECT MAX(grid) FROM table_name_89 WHERE rider = "gregorio lavilla" </s>
What rider has laps less than 20, a ducati 1098 rs 08 as the bike, with accident as the time, and a grid less than 14?
CREATE TABLE table_name_64 (rider VARCHAR, grid VARCHAR, time VARCHAR, laps VARCHAR, bike VARCHAR)
SELECT rider FROM table_name_64 WHERE laps < 20 AND bike = "ducati 1098 rs 08" AND time = "accident" AND grid < 14
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (rider VARCHAR, grid VARCHAR, time VARCHAR, laps VARCHAR, bike VARCHAR) Question: What rider has laps less than 20, a ducati 1098 rs 08 as the bike, with accident as the time, and a grid less than ...
How many overs when there are 5231 runs and fewer than 37 matches?
CREATE TABLE table_name_33 (overs INTEGER, runs VARCHAR, matches VARCHAR)
SELECT SUM(overs) FROM table_name_33 WHERE runs = 5231 AND matches < 37
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (overs INTEGER, runs VARCHAR, matches VARCHAR) Question: How many overs when there are 5231 runs and fewer than 37 matches? [/INST] SELECT SUM(overs) FROM table_name_33 WHERE runs = 5231 AND matche...
What are the fewest wickets when player's career spanned 1946-1960 and maidens were more than 419?
CREATE TABLE table_name_84 (wickets INTEGER, career VARCHAR, maidens VARCHAR)
SELECT MIN(wickets) FROM table_name_84 WHERE career = "1946-1960" AND maidens > 419
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (wickets INTEGER, career VARCHAR, maidens VARCHAR) Question: What are the fewest wickets when player's career spanned 1946-1960 and maidens were more than 419? [/INST] SELECT MIN(wickets) FROM tabl...
What is the largest number of wickets when there are more than 630 maidens and a best of 7/72?
CREATE TABLE table_name_55 (wickets INTEGER, maidens VARCHAR, best VARCHAR)
SELECT MAX(wickets) FROM table_name_55 WHERE maidens > 630 AND best = "7/72"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (wickets INTEGER, maidens VARCHAR, best VARCHAR) Question: What is the largest number of wickets when there are more than 630 maidens and a best of 7/72? [/INST] SELECT MAX(wickets) FROM table_name...
Who has fewer than 2047.3 overs, more than 200 wickets and an average of 29.02?
CREATE TABLE table_name_53 (name VARCHAR, average VARCHAR, overs VARCHAR, wickets VARCHAR)
SELECT name FROM table_name_53 WHERE overs < 2047.3 AND wickets > 200 AND average > 29.02
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (name VARCHAR, average VARCHAR, overs VARCHAR, wickets VARCHAR) Question: Who has fewer than 2047.3 overs, more than 200 wickets and an average of 29.02? [/INST] SELECT name FROM table_name_53 WHER...
How many people attended the Scottish Cup on 29.02.2000?
CREATE TABLE table_name_60 (attendance VARCHAR, competition VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_60 WHERE competition = "scottish cup" AND date = "29.02.2000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (attendance VARCHAR, competition VARCHAR, date VARCHAR) Question: How many people attended the Scottish Cup on 29.02.2000? [/INST] SELECT attendance FROM table_name_60 WHERE competition = "scottish...
What was the score of the league cup in the 2007-08 season?
CREATE TABLE table_name_90 (score VARCHAR, competition VARCHAR, season VARCHAR)
SELECT score FROM table_name_90 WHERE competition = "league cup" AND season = "2007-08"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (score VARCHAR, competition VARCHAR, season VARCHAR) Question: What was the score of the league cup in the 2007-08 season? [/INST] SELECT score FROM table_name_90 WHERE competition = "league cup" A...
What is the attendance in the game in the 2010-11 season, when the score was 2–0?
CREATE TABLE table_name_39 (attendance INTEGER, season VARCHAR, score VARCHAR)
SELECT MIN(attendance) FROM table_name_39 WHERE season = "2010-11" AND score = "2–0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (attendance INTEGER, season VARCHAR, score VARCHAR) Question: What is the attendance in the game in the 2010-11 season, when the score was 2–0? [/INST] SELECT MIN(attendance) FROM table_name_39 WHE...
What team was in 1st plate in a year later than 1956?
CREATE TABLE table_name_84 (year INTEGER)
SELECT 1 AS st_place_team FROM table_name_84 WHERE year > 1956
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (year INTEGER) Question: What team was in 1st plate in a year later than 1956? [/INST] SELECT 1 AS st_place_team FROM table_name_84 WHERE year > 1956 </s>
Which base has a company of Theatro Technis Karolos Koun?
CREATE TABLE table_name_59 (base VARCHAR, company VARCHAR)
SELECT base FROM table_name_59 WHERE company = "theatro technis karolos koun"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (base VARCHAR, company VARCHAR) Question: Which base has a company of Theatro Technis Karolos Koun? [/INST] SELECT base FROM table_name_59 WHERE company = "theatro technis karolos koun" </s>
Which company has an author of Aristophanes and play of Plutus?
CREATE TABLE table_name_74 (company VARCHAR, author VARCHAR, play VARCHAR)
SELECT company FROM table_name_74 WHERE author = "aristophanes" AND play = "plutus"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (company VARCHAR, author VARCHAR, play VARCHAR) Question: Which company has an author of Aristophanes and play of Plutus? [/INST] SELECT company FROM table_name_74 WHERE author = "aristophanes" AND...
Which author has a company of the Semeio Theatre?
CREATE TABLE table_name_22 (author VARCHAR, company VARCHAR)
SELECT author FROM table_name_22 WHERE company = "semeio theatre"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (author VARCHAR, company VARCHAR) Question: Which author has a company of the Semeio Theatre? [/INST] SELECT author FROM table_name_22 WHERE company = "semeio theatre" </s>
Which play was done by the Radu Stanca National Theatre company?
CREATE TABLE table_name_47 (play VARCHAR, company VARCHAR)
SELECT play FROM table_name_47 WHERE company = "radu stanca national theatre"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (play VARCHAR, company VARCHAR) Question: Which play was done by the Radu Stanca National Theatre company? [/INST] SELECT play FROM table_name_47 WHERE company = "radu stanca national theatre" </s>
Which play had a base of Aosta?
CREATE TABLE table_name_96 (play VARCHAR, base VARCHAR)
SELECT play FROM table_name_96 WHERE base = "aosta"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (play VARCHAR, base VARCHAR) Question: Which play had a base of Aosta? [/INST] SELECT play FROM table_name_96 WHERE base = "aosta" </s>
What is the country of the play based in Athens at the Attis Theatre company?
CREATE TABLE table_name_33 (country VARCHAR, base VARCHAR, company VARCHAR)
SELECT country FROM table_name_33 WHERE base = "athens" AND company = "attis theatre"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (country VARCHAR, base VARCHAR, company VARCHAR) Question: What is the country of the play based in Athens at the Attis Theatre company? [/INST] SELECT country FROM table_name_33 WHERE base = "athe...
Which Class has a Quantity larger than 96?
CREATE TABLE table_name_14 (class VARCHAR, quantity INTEGER)
SELECT class FROM table_name_14 WHERE quantity > 96
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (class VARCHAR, quantity INTEGER) Question: Which Class has a Quantity larger than 96? [/INST] SELECT class FROM table_name_14 WHERE quantity > 96 </s>
How much Quantity has a Type of 1′c1′ h2t?
CREATE TABLE table_name_11 (quantity VARCHAR, type VARCHAR)
SELECT COUNT(quantity) FROM table_name_11 WHERE type = "1′c1′ h2t"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (quantity VARCHAR, type VARCHAR) Question: How much Quantity has a Type of 1′c1′ h2t? [/INST] SELECT COUNT(quantity) FROM table_name_11 WHERE type = "1′c1′ h2t" </s>
Which Class has a Type of 1′c n2t?
CREATE TABLE table_name_85 (class VARCHAR, type VARCHAR)
SELECT class FROM table_name_85 WHERE type = "1′c n2t"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (class VARCHAR, type VARCHAR) Question: Which Class has a Type of 1′c n2t? [/INST] SELECT class FROM table_name_85 WHERE type = "1′c n2t" </s>
Which Year(s) of manufacture has a Quantity larger than 39, and a Type of 1′c1′ h2t?
CREATE TABLE table_name_90 (year_s__of_manufacture VARCHAR, quantity VARCHAR, type VARCHAR)
SELECT year_s__of_manufacture FROM table_name_90 WHERE quantity > 39 AND type = "1′c1′ h2t"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (year_s__of_manufacture VARCHAR, quantity VARCHAR, type VARCHAR) Question: Which Year(s) of manufacture has a Quantity larger than 39, and a Type of 1′c1′ h2t? [/INST] SELECT year_s__of_manufacture...
Which Year(s) of manufacture has a Quantity of 2, and a Type of b n2t?
CREATE TABLE table_name_13 (year_s__of_manufacture VARCHAR, quantity VARCHAR, type VARCHAR)
SELECT year_s__of_manufacture FROM table_name_13 WHERE quantity = 2 AND type = "b n2t"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (year_s__of_manufacture VARCHAR, quantity VARCHAR, type VARCHAR) Question: Which Year(s) of manufacture has a Quantity of 2, and a Type of b n2t? [/INST] SELECT year_s__of_manufacture FROM table_na...
what is the highest place when lost is more than 4, points is less than 18 and team is Team of atlético veragüense?
CREATE TABLE table_name_18 (place INTEGER, team VARCHAR, lost VARCHAR, points VARCHAR)
SELECT MAX(place) FROM table_name_18 WHERE lost > 4 AND points < 18 AND team = "atlético veragüense"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (place INTEGER, team VARCHAR, lost VARCHAR, points VARCHAR) Question: what is the highest place when lost is more than 4, points is less than 18 and team is Team of atlético veragüense? [/INST] SEL...
what is the least lost when the place is higher than 4, goals scored is 12 and points is more than 4?
CREATE TABLE table_name_72 (lost INTEGER, points VARCHAR, place VARCHAR, goals_scored VARCHAR)
SELECT MIN(lost) FROM table_name_72 WHERE place > 4 AND goals_scored = 12 AND points > 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (lost INTEGER, points VARCHAR, place VARCHAR, goals_scored VARCHAR) Question: what is the least lost when the place is higher than 4, goals scored is 12 and points is more than 4? [/INST] SELECT MI...
how many times is the team tauro and played less than 18?
CREATE TABLE table_name_85 (place VARCHAR, team VARCHAR, played VARCHAR)
SELECT COUNT(place) FROM table_name_85 WHERE team = "tauro" AND played < 18
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (place VARCHAR, team VARCHAR, played VARCHAR) Question: how many times is the team tauro and played less than 18? [/INST] SELECT COUNT(place) FROM table_name_85 WHERE team = "tauro" AND played < 18...
what is the least played when points is 36 and place is more than 2?
CREATE TABLE table_name_39 (played INTEGER, points VARCHAR, place VARCHAR)
SELECT MIN(played) FROM table_name_39 WHERE points = 36 AND place > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (played INTEGER, points VARCHAR, place VARCHAR) Question: what is the least played when points is 36 and place is more than 2? [/INST] SELECT MIN(played) FROM table_name_39 WHERE points = 36 AND pl...
what is the average points when goals conceded is 14 and goals scored is less than 32?
CREATE TABLE table_name_97 (points INTEGER, goals_conceded VARCHAR, goals_scored VARCHAR)
SELECT AVG(points) FROM table_name_97 WHERE goals_conceded = 14 AND goals_scored < 32
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (points INTEGER, goals_conceded VARCHAR, goals_scored VARCHAR) Question: what is the average points when goals conceded is 14 and goals scored is less than 32? [/INST] SELECT AVG(points) FROM table...
Playing against the Seattle Seahawks in a week after week 1 before 69,149 people what was the result of the game?
CREATE TABLE table_name_63 (result VARCHAR, opponent VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_63 WHERE week > 1 AND attendance = "69,149" AND opponent = "seattle seahawks"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (result VARCHAR, opponent VARCHAR, week VARCHAR, attendance VARCHAR) Question: Playing against the Seattle Seahawks in a week after week 1 before 69,149 people what was the result of the game? [/IN...
How many weeks in total has bye as the date?
CREATE TABLE table_name_23 (week VARCHAR, date VARCHAR)
SELECT COUNT(week) FROM table_name_23 WHERE date = "bye"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (week VARCHAR, date VARCHAR) Question: How many weeks in total has bye as the date? [/INST] SELECT COUNT(week) FROM table_name_23 WHERE date = "bye" </s>
What country does Tiger Woods come from?
CREATE TABLE table_name_58 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_58 WHERE player = "tiger woods"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (country VARCHAR, player VARCHAR) Question: What country does Tiger Woods come from? [/INST] SELECT country FROM table_name_58 WHERE player = "tiger woods" </s>
What's the Ri Song-Hui when the olympic record is the world record and snatch was snatch?
CREATE TABLE table_name_49 (ri_song_hui___prk__ VARCHAR, world_record VARCHAR)
SELECT ri_song_hui___prk__ FROM table_name_49 WHERE world_record = "olympic record" AND "snatch" = "snatch"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (ri_song_hui___prk__ VARCHAR, world_record VARCHAR) Question: What's the Ri Song-Hui when the olympic record is the world record and snatch was snatch? [/INST] SELECT ri_song_hui___prk__ FROM table...
What's the 102kg when the Ri Song-Hui was 226kg?
CREATE TABLE table_name_56 (ri_song_hui___prk__ VARCHAR)
SELECT 102 AS kg FROM table_name_56 WHERE ri_song_hui___prk__ = "226kg"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (ri_song_hui___prk__ VARCHAR) Question: What's the 102kg when the Ri Song-Hui was 226kg? [/INST] SELECT 102 AS kg FROM table_name_56 WHERE ri_song_hui___prk__ = "226kg" </s>
What's the 102kg when the snatch was snatch and the olympic record was the world record?
CREATE TABLE table_name_56 (world_record VARCHAR)
SELECT 102 AS kg FROM table_name_56 WHERE world_record = "olympic record" AND "snatch" = "snatch"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (world_record VARCHAR) Question: What's the 102kg when the snatch was snatch and the olympic record was the world record? [/INST] SELECT 102 AS kg FROM table_name_56 WHERE world_record = "olympic r...
What was the average pick made by the Texas Rangers?
CREATE TABLE table_name_82 (pick INTEGER, team VARCHAR)
SELECT AVG(pick) FROM table_name_82 WHERE team = "texas rangers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (pick INTEGER, team VARCHAR) Question: What was the average pick made by the Texas Rangers? [/INST] SELECT AVG(pick) FROM table_name_82 WHERE team = "texas rangers" </s>
What was the home town of Bob Geren, picked by the San Diego Padres?
CREATE TABLE table_name_18 (hometown_school VARCHAR, team VARCHAR, player VARCHAR)
SELECT hometown_school FROM table_name_18 WHERE team = "san diego padres" AND player = "bob geren"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (hometown_school VARCHAR, team VARCHAR, player VARCHAR) Question: What was the home town of Bob Geren, picked by the San Diego Padres? [/INST] SELECT hometown_school FROM table_name_18 WHERE team =...
What was the position of Jon Perlman?
CREATE TABLE table_name_94 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_94 WHERE player = "jon perlman"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (position VARCHAR, player VARCHAR) Question: What was the position of Jon Perlman? [/INST] SELECT position FROM table_name_94 WHERE player = "jon perlman" </s>