instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
How many days had a score of 4–6, 4–6?
CREATE TABLE table_name_39 (date VARCHAR, score_in_the_final VARCHAR)
SELECT COUNT(date) FROM table_name_39 WHERE score_in_the_final = "4–6, 4–6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (date VARCHAR, score_in_the_final VARCHAR) Question: How many days had a score of 4–6, 4–6? [/INST] SELECT COUNT(date) FROM table_name_39 WHERE score_in_the_final = "4–6, 4–6" </s>
What was the To Par of Tiger Woods who won in 1988?
CREATE TABLE table_name_85 (to_par VARCHAR, year_won VARCHAR)
SELECT to_par FROM table_name_85 WHERE year_won = 1988
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (to_par VARCHAR, year_won VARCHAR) Question: What was the To Par of Tiger Woods who won in 1988? [/INST] SELECT to_par FROM table_name_85 WHERE year_won = 1988 </s>
What is the team sites entry for Microsoft Sharepoint?
CREATE TABLE table_name_59 (team_sites VARCHAR, name VARCHAR)
SELECT team_sites FROM table_name_59 WHERE name = "microsoft sharepoint"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (team_sites VARCHAR, name VARCHAR) Question: What is the team sites entry for Microsoft Sharepoint? [/INST] SELECT team_sites FROM table_name_59 WHERE name = "microsoft sharepoint" </s>
If the intranet entry is Yes, what is the extranet entry for Microsoft Exchange server?
CREATE TABLE table_name_72 (extranet VARCHAR, intranet VARCHAR, name VARCHAR)
SELECT extranet FROM table_name_72 WHERE intranet = "yes" AND name = "microsoft exchange server"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (extranet VARCHAR, intranet VARCHAR, name VARCHAR) Question: If the intranet entry is Yes, what is the extranet entry for Microsoft Exchange server? [/INST] SELECT extranet FROM table_name_72 WHERE...
What is the team sites entry that has a public entry of No and a developer entry of Yes?
CREATE TABLE table_name_53 (team_sites VARCHAR, public VARCHAR, developer VARCHAR)
SELECT team_sites FROM table_name_53 WHERE public = "no" AND developer = "yes"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (team_sites VARCHAR, public VARCHAR, developer VARCHAR) Question: What is the team sites entry that has a public entry of No and a developer entry of Yes? [/INST] SELECT team_sites FROM table_name_...
What is the name for the entry that has a public of Yes, a personal sites of No, and a team sites of No?
CREATE TABLE table_name_34 (name VARCHAR, team_sites VARCHAR, public VARCHAR, personal_sites VARCHAR)
SELECT name FROM table_name_34 WHERE public = "yes" AND personal_sites = "no" AND team_sites = "no"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (name VARCHAR, team_sites VARCHAR, public VARCHAR, personal_sites VARCHAR) Question: What is the name for the entry that has a public of Yes, a personal sites of No, and a team sites of No? [/INST]...
What is the name of the entry that has a developer entry of Yes and a personal sites entry of No?
CREATE TABLE table_name_61 (name VARCHAR, developer VARCHAR, personal_sites VARCHAR)
SELECT name FROM table_name_61 WHERE developer = "yes" AND personal_sites = "no"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (name VARCHAR, developer VARCHAR, personal_sites VARCHAR) Question: What is the name of the entry that has a developer entry of Yes and a personal sites entry of No? [/INST] SELECT name FROM table_...
What Line has Ohakune Junction as its NIMT?
CREATE TABLE table_name_90 (line_name VARCHAR, nimt_junction VARCHAR)
SELECT line_name FROM table_name_90 WHERE nimt_junction = "ohakune junction"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (line_name VARCHAR, nimt_junction VARCHAR) Question: What Line has Ohakune Junction as its NIMT? [/INST] SELECT line_name FROM table_name_90 WHERE nimt_junction = "ohakune junction" </s>
What line has Newmarket Junction terminus?
CREATE TABLE table_name_4 (line_name VARCHAR, terminus VARCHAR)
SELECT line_name FROM table_name_4 WHERE terminus = "newmarket junction"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (line_name VARCHAR, terminus VARCHAR) Question: What line has Newmarket Junction terminus? [/INST] SELECT line_name FROM table_name_4 WHERE terminus = "newmarket junction" </s>
What terminus is 3.5km in lenght?
CREATE TABLE table_name_37 (terminus VARCHAR, length VARCHAR)
SELECT terminus FROM table_name_37 WHERE length = "3.5km"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (terminus VARCHAR, length VARCHAR) Question: What terminus is 3.5km in lenght? [/INST] SELECT terminus FROM table_name_37 WHERE length = "3.5km" </s>
What line has Junction of Huntly NIMT
CREATE TABLE table_name_7 (line_name VARCHAR, nimt_junction VARCHAR)
SELECT line_name FROM table_name_7 WHERE nimt_junction = "huntly"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (line_name VARCHAR, nimt_junction VARCHAR) Question: What line has Junction of Huntly NIMT [/INST] SELECT line_name FROM table_name_7 WHERE nimt_junction = "huntly" </s>
What is the average final with an all around greater than 19.35 and a total over 40?
CREATE TABLE table_name_42 (final INTEGER, all_around VARCHAR, total VARCHAR)
SELECT AVG(final) FROM table_name_42 WHERE all_around > 19.35 AND total > 40
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (final INTEGER, all_around VARCHAR, total VARCHAR) Question: What is the average final with an all around greater than 19.35 and a total over 40? [/INST] SELECT AVG(final) FROM table_name_42 WHERE ...
What is the sum of the final for finland, who placed greater than 2 and had an all around larger than 18.9?
CREATE TABLE table_name_26 (final INTEGER, all_around VARCHAR, place VARCHAR, nation VARCHAR)
SELECT SUM(final) FROM table_name_26 WHERE place > 2 AND nation = "finland" AND all_around > 18.9
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (final INTEGER, all_around VARCHAR, place VARCHAR, nation VARCHAR) Question: What is the sum of the final for finland, who placed greater than 2 and had an all around larger than 18.9? [/INST] SELE...
What is the place of the player with £140,000 and a 68-68-75-68=279 score?
CREATE TABLE table_name_66 (place VARCHAR, money___£__ VARCHAR, score VARCHAR)
SELECT place FROM table_name_66 WHERE money___£__ = "140,000" AND score = 68 - 68 - 75 - 68 = 279
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (place VARCHAR, money___£__ VARCHAR, score VARCHAR) Question: What is the place of the player with £140,000 and a 68-68-75-68=279 score? [/INST] SELECT place FROM table_name_66 WHERE money___£__ = ...
What is the country of player stuart appleby, who has a t1 place?
CREATE TABLE table_name_61 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT country FROM table_name_61 WHERE place = "t1" AND player = "stuart appleby"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (country VARCHAR, place VARCHAR, player VARCHAR) Question: What is the country of player stuart appleby, who has a t1 place? [/INST] SELECT country FROM table_name_61 WHERE place = "t1" AND player ...
What is the place of player sergio garcía, who has £77,500?
CREATE TABLE table_name_45 (place VARCHAR, money___£__ VARCHAR, player VARCHAR)
SELECT place FROM table_name_45 WHERE money___£__ = "77,500" AND player = "sergio garcía"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (place VARCHAR, money___£__ VARCHAR, player VARCHAR) Question: What is the place of player sergio garcía, who has £77,500? [/INST] SELECT place FROM table_name_45 WHERE money___£__ = "77,500" AND p...
What is the to par of the player with a 73-70-70-65=278 score?
CREATE TABLE table_name_92 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_92 WHERE score = 73 - 70 - 70 - 65 = 278
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (to_par VARCHAR, score VARCHAR) Question: What is the to par of the player with a 73-70-70-65=278 score? [/INST] SELECT to_par FROM table_name_92 WHERE score = 73 - 70 - 70 - 65 = 278 </s>
Who is the player with £140,000?
CREATE TABLE table_name_97 (player VARCHAR, money___£__ VARCHAR)
SELECT player FROM table_name_97 WHERE money___£__ = "140,000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (player VARCHAR, money___£__ VARCHAR) Question: Who is the player with £140,000? [/INST] SELECT player FROM table_name_97 WHERE money___£__ = "140,000" </s>
What is Date, when Time is "56.49"?
CREATE TABLE table_name_90 (date VARCHAR, time VARCHAR)
SELECT date FROM table_name_90 WHERE time = "56.49"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (date VARCHAR, time VARCHAR) Question: What is Date, when Time is "56.49"? [/INST] SELECT date FROM table_name_90 WHERE time = "56.49" </s>
What is Event, when Date is "19 December 2009"?
CREATE TABLE table_name_6 (event VARCHAR, date VARCHAR)
SELECT event FROM table_name_6 WHERE date = "19 december 2009"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (event VARCHAR, date VARCHAR) Question: What is Event, when Date is "19 December 2009"? [/INST] SELECT event FROM table_name_6 WHERE date = "19 december 2009" </s>
What is Time, when Meet is "Duel in the Pool", and when Date is "19 December 2009"?
CREATE TABLE table_name_62 (time VARCHAR, meet VARCHAR, date VARCHAR)
SELECT time FROM table_name_62 WHERE meet = "duel in the pool" AND date = "19 december 2009"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (time VARCHAR, meet VARCHAR, date VARCHAR) Question: What is Time, when Meet is "Duel in the Pool", and when Date is "19 December 2009"? [/INST] SELECT time FROM table_name_62 WHERE meet = "duel in...
What is the Location, when Event is "100m Butterfly"?
CREATE TABLE table_name_72 (location VARCHAR, event VARCHAR)
SELECT location FROM table_name_72 WHERE event = "100m butterfly"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (location VARCHAR, event VARCHAR) Question: What is the Location, when Event is "100m Butterfly"? [/INST] SELECT location FROM table_name_72 WHERE event = "100m butterfly" </s>
What is Date, when Meet is "World Championships", when Nationality is "United States", and when Time is "1:46.68"?
CREATE TABLE table_name_86 (date VARCHAR, time VARCHAR, meet VARCHAR, nationality VARCHAR)
SELECT date FROM table_name_86 WHERE meet = "world championships" AND nationality = "united states" AND time = "1:46.68"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (date VARCHAR, time VARCHAR, meet VARCHAR, nationality VARCHAR) Question: What is Date, when Meet is "World Championships", when Nationality is "United States", and when Time is "1:46.68"? [/INST] ...
What is Event, when Meet is "World Championships", and when Time is "20.51"?
CREATE TABLE table_name_41 (event VARCHAR, meet VARCHAR, time VARCHAR)
SELECT event FROM table_name_41 WHERE meet = "world championships" AND time = "20.51"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (event VARCHAR, meet VARCHAR, time VARCHAR) Question: What is Event, when Meet is "World Championships", and when Time is "20.51"? [/INST] SELECT event FROM table_name_41 WHERE meet = "world champi...
What is the highest number of households with a median household income of $31,176, and a population of 25,607?
CREATE TABLE table_name_30 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR)
SELECT MAX(number_of_households) FROM table_name_30 WHERE median_household_income = "$31,176" AND population < 25 OFFSET 607 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR) Question: What is the highest number of households with a median household income of $31,176, and a population of...
What is the median household income for Cape Girardeau?
CREATE TABLE table_name_68 (median_household_income VARCHAR, county VARCHAR)
SELECT median_household_income FROM table_name_68 WHERE county = "cape girardeau"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (median_household_income VARCHAR, county VARCHAR) Question: What is the median household income for Cape Girardeau? [/INST] SELECT median_household_income FROM table_name_68 WHERE county = "cape gi...
Who is the Colourist that has a Story Title of Broken Glass (part 3) and a Letterer of Albers?
CREATE TABLE table_name_89 (colourist_s VARCHAR, letterer_s VARCHAR, story_title VARCHAR)
SELECT colourist_s FROM table_name_89 WHERE letterer_s = "albers" AND story_title = "broken glass (part 3)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (colourist_s VARCHAR, letterer_s VARCHAR, story_title VARCHAR) Question: Who is the Colourist that has a Story Title of Broken Glass (part 3) and a Letterer of Albers? [/INST] SELECT colourist_s FR...
What is the Cover Date of the Story Title Spacehikers (Part 2)?
CREATE TABLE table_name_59 (cover_date VARCHAR, story_title VARCHAR)
SELECT cover_date FROM table_name_59 WHERE story_title = "spacehikers (part 2)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (cover_date VARCHAR, story_title VARCHAR) Question: What is the Cover Date of the Story Title Spacehikers (Part 2)? [/INST] SELECT cover_date FROM table_name_59 WHERE story_title = "spacehikers (pa...
What is the Story Title that has Albers as the Letterer?
CREATE TABLE table_name_60 (story_title VARCHAR, letterer_s VARCHAR)
SELECT story_title FROM table_name_60 WHERE letterer_s = "albers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (story_title VARCHAR, letterer_s VARCHAR) Question: What is the Story Title that has Albers as the Letterer? [/INST] SELECT story_title FROM table_name_60 WHERE letterer_s = "albers" </s>
Who are the drivers with 133 laps in OC class?
CREATE TABLE table_name_23 (drivers VARCHAR, laps VARCHAR, class VARCHAR)
SELECT drivers FROM table_name_23 WHERE laps = 133 AND class = "oc"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (drivers VARCHAR, laps VARCHAR, class VARCHAR) Question: Who are the drivers with 133 laps in OC class? [/INST] SELECT drivers FROM table_name_23 WHERE laps = 133 AND class = "oc" </s>
What are the most laps for the Qual position of 7 in the OC class?
CREATE TABLE table_name_62 (laps INTEGER, class VARCHAR, qual_pos VARCHAR)
SELECT MAX(laps) FROM table_name_62 WHERE class = "oc" AND qual_pos = 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (laps INTEGER, class VARCHAR, qual_pos VARCHAR) Question: What are the most laps for the Qual position of 7 in the OC class? [/INST] SELECT MAX(laps) FROM table_name_62 WHERE class = "oc" AND qual_...
What are Perkins Engineering's fewest laps?
CREATE TABLE table_name_17 (laps INTEGER, team VARCHAR)
SELECT MIN(laps) FROM table_name_17 WHERE team = "perkins engineering"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (laps INTEGER, team VARCHAR) Question: What are Perkins Engineering's fewest laps? [/INST] SELECT MIN(laps) FROM table_name_17 WHERE team = "perkins engineering" </s>
Which class has a Qual position of 30?
CREATE TABLE table_name_48 (class VARCHAR, qual_pos VARCHAR)
SELECT class FROM table_name_48 WHERE qual_pos = 30
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (class VARCHAR, qual_pos VARCHAR) Question: Which class has a Qual position of 30? [/INST] SELECT class FROM table_name_48 WHERE qual_pos = 30 </s>
What Release date has a Version of 1.0, a Category of utilities, a Developer of microsoft, and a Title of msn money?
CREATE TABLE table_name_36 (release_date VARCHAR, title VARCHAR, developer VARCHAR, version VARCHAR, category VARCHAR)
SELECT release_date FROM table_name_36 WHERE version = "1.0" AND category = "utilities" AND developer = "microsoft" AND title = "msn money"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (release_date VARCHAR, title VARCHAR, developer VARCHAR, version VARCHAR, category VARCHAR) Question: What Release date has a Version of 1.0, a Category of utilities, a Developer of microsoft, and ...
What Release date has a Category of utilities, a Developer of microsoft, and a Title of chord finder?
CREATE TABLE table_name_86 (release_date VARCHAR, title VARCHAR, category VARCHAR, developer VARCHAR)
SELECT release_date FROM table_name_86 WHERE category = "utilities" AND developer = "microsoft" AND title = "chord finder"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (release_date VARCHAR, title VARCHAR, category VARCHAR, developer VARCHAR) Question: What Release date has a Category of utilities, a Developer of microsoft, and a Title of chord finder? [/INST] SE...
What Developer has a Release date of 2010-12-16, and a Title of facebook?
CREATE TABLE table_name_12 (developer VARCHAR, release_date VARCHAR, title VARCHAR)
SELECT developer FROM table_name_12 WHERE release_date = "2010-12-16" AND title = "facebook"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (developer VARCHAR, release_date VARCHAR, title VARCHAR) Question: What Developer has a Release date of 2010-12-16, and a Title of facebook? [/INST] SELECT developer FROM table_name_12 WHERE releas...
What Title has a Version of 1.0.0.3?
CREATE TABLE table_name_83 (title VARCHAR, version VARCHAR)
SELECT title FROM table_name_83 WHERE version = "1.0.0.3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (title VARCHAR, version VARCHAR) Question: What Title has a Version of 1.0.0.3? [/INST] SELECT title FROM table_name_83 WHERE version = "1.0.0.3" </s>
What Version has a Title of alarm clock?
CREATE TABLE table_name_77 (version VARCHAR, title VARCHAR)
SELECT version FROM table_name_77 WHERE title = "alarm clock"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (version VARCHAR, title VARCHAR) Question: What Version has a Title of alarm clock? [/INST] SELECT version FROM table_name_77 WHERE title = "alarm clock" </s>
What Version has a Developer of dino games, and a Title of metronome?
CREATE TABLE table_name_34 (version VARCHAR, developer VARCHAR, title VARCHAR)
SELECT version FROM table_name_34 WHERE developer = "dino games" AND title = "metronome"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (version VARCHAR, developer VARCHAR, title VARCHAR) Question: What Version has a Developer of dino games, and a Title of metronome? [/INST] SELECT version FROM table_name_34 WHERE developer = "dino...
Where did Wales play?
CREATE TABLE table_name_39 (venue VARCHAR, opposing_teams VARCHAR)
SELECT venue FROM table_name_39 WHERE opposing_teams = "wales"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (venue VARCHAR, opposing_teams VARCHAR) Question: Where did Wales play? [/INST] SELECT venue FROM table_name_39 WHERE opposing_teams = "wales" </s>
What venue has 19 against?
CREATE TABLE table_name_47 (venue VARCHAR, against VARCHAR)
SELECT venue FROM table_name_47 WHERE against = 19
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (venue VARCHAR, against VARCHAR) Question: What venue has 19 against? [/INST] SELECT venue FROM table_name_47 WHERE against = 19 </s>
Which Award Ceremony has a Nominee of sarah travis, and a Category of the best orchestrations?
CREATE TABLE table_name_87 (award_ceremony VARCHAR, nominee VARCHAR, category VARCHAR)
SELECT award_ceremony FROM table_name_87 WHERE nominee = "sarah travis" AND category = "best orchestrations"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (award_ceremony VARCHAR, nominee VARCHAR, category VARCHAR) Question: Which Award Ceremony has a Nominee of sarah travis, and a Category of the best orchestrations? [/INST] SELECT award_ceremony FR...
What is the most current year signed for separation of † and a separation year of 1997?
CREATE TABLE table_name_79 (year_signed INTEGER, reason_for_separation VARCHAR, year_separated VARCHAR)
SELECT MAX(year_signed) FROM table_name_79 WHERE reason_for_separation = "†" AND year_separated = "1997"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (year_signed INTEGER, reason_for_separation VARCHAR, year_separated VARCHAR) Question: What is the most current year signed for separation of † and a separation year of 1997? [/INST] SELECT MAX(yea...
What is the Chinese name for the English name Andy Lau?
CREATE TABLE table_name_58 (chinese_name VARCHAR, english_name VARCHAR)
SELECT chinese_name FROM table_name_58 WHERE english_name = "andy lau"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (chinese_name VARCHAR, english_name VARCHAR) Question: What is the Chinese name for the English name Andy Lau? [/INST] SELECT chinese_name FROM table_name_58 WHERE english_name = "andy lau" </s>
What year was Wilfred Lau separated because Capital stopped recording music?
CREATE TABLE table_name_74 (year_separated VARCHAR, reason_for_separation VARCHAR, english_name VARCHAR)
SELECT year_separated FROM table_name_74 WHERE reason_for_separation = "capital stopped recording music" AND english_name = "wilfred lau"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (year_separated VARCHAR, reason_for_separation VARCHAR, english_name VARCHAR) Question: What year was Wilfred Lau separated because Capital stopped recording music? [/INST] SELECT year_separated FR...
What is the English name for the Chinese name of 蘇永康 later than 1974?
CREATE TABLE table_name_30 (english_name VARCHAR, year_signed VARCHAR, chinese_name VARCHAR)
SELECT english_name FROM table_name_30 WHERE year_signed > 1974 AND chinese_name = "蘇永康"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (english_name VARCHAR, year_signed VARCHAR, chinese_name VARCHAR) Question: What is the English name for the Chinese name of 蘇永康 later than 1974? [/INST] SELECT english_name FROM table_name_30 WHER...
What was the signed year for the Chinese name 蘇永康 who separated in 1987?
CREATE TABLE table_name_82 (year_signed VARCHAR, year_separated VARCHAR, chinese_name VARCHAR)
SELECT year_signed FROM table_name_82 WHERE year_separated = "1987" AND chinese_name = "蘇永康"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (year_signed VARCHAR, year_separated VARCHAR, chinese_name VARCHAR) Question: What was the signed year for the Chinese name 蘇永康 who separated in 1987? [/INST] SELECT year_signed FROM table_name_82 ...
WHAT IS THE SITE ON OCTOBER 7?
CREATE TABLE table_name_44 (site VARCHAR, date VARCHAR)
SELECT site FROM table_name_44 WHERE date = "october 7"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (site VARCHAR, date VARCHAR) Question: WHAT IS THE SITE ON OCTOBER 7? [/INST] SELECT site FROM table_name_44 WHERE date = "october 7" </s>
WHAT DATE HAD 6 RANK?
CREATE TABLE table_name_51 (date VARCHAR, rank__number VARCHAR)
SELECT date FROM table_name_51 WHERE rank__number = "6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (date VARCHAR, rank__number VARCHAR) Question: WHAT DATE HAD 6 RANK? [/INST] SELECT date FROM table_name_51 WHERE rank__number = "6" </s>
WHAT OPPONENT WAS ON OCTOBER 7?
CREATE TABLE table_name_37 (opponent_number VARCHAR, date VARCHAR)
SELECT opponent_number FROM table_name_37 WHERE date = "october 7"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (opponent_number VARCHAR, date VARCHAR) Question: WHAT OPPONENT WAS ON OCTOBER 7? [/INST] SELECT opponent_number FROM table_name_37 WHERE date = "october 7" </s>
WHAT RANK HAD A RESULT OF W13-3?
CREATE TABLE table_name_48 (rank__number VARCHAR, result VARCHAR)
SELECT rank__number FROM table_name_48 WHERE result = "w13-3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (rank__number VARCHAR, result VARCHAR) Question: WHAT RANK HAD A RESULT OF W13-3? [/INST] SELECT rank__number FROM table_name_48 WHERE result = "w13-3" </s>
What is the original NFL team of the College of Oregon DT Player?
CREATE TABLE table_name_51 (original_nfl_team VARCHAR, college VARCHAR, pos VARCHAR)
SELECT original_nfl_team FROM table_name_51 WHERE college = "oregon" AND pos = "dt"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (original_nfl_team VARCHAR, college VARCHAR, pos VARCHAR) Question: What is the original NFL team of the College of Oregon DT Player? [/INST] SELECT original_nfl_team FROM table_name_51 WHERE colle...
What Player is from Iowa State?
CREATE TABLE table_name_6 (player VARCHAR, college VARCHAR)
SELECT player FROM table_name_6 WHERE college = "iowa state"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (player VARCHAR, college VARCHAR) Question: What Player is from Iowa State? [/INST] SELECT player FROM table_name_6 WHERE college = "iowa state" </s>
What was the result of the game that had 77,702 people in attendance?
CREATE TABLE table_name_35 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_35 WHERE attendance = "77,702"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (result VARCHAR, attendance VARCHAR) Question: What was the result of the game that had 77,702 people in attendance? [/INST] SELECT result FROM table_name_35 WHERE attendance = "77,702" </s>
On what day did the team play the Indianapolis Colts?
CREATE TABLE table_name_26 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_26 WHERE opponent = "indianapolis colts"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (date VARCHAR, opponent VARCHAR) Question: On what day did the team play the Indianapolis Colts? [/INST] SELECT date FROM table_name_26 WHERE opponent = "indianapolis colts" </s>
What is the average Played, when Goals Against is less than 63, when Team is "Nelson", and when Lost is greater than 16?
CREATE TABLE table_name_18 (played INTEGER, lost VARCHAR, goals_against VARCHAR, team VARCHAR)
SELECT AVG(played) FROM table_name_18 WHERE goals_against < 63 AND team = "nelson" AND lost > 16
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (played INTEGER, lost VARCHAR, goals_against VARCHAR, team VARCHAR) Question: What is the average Played, when Goals Against is less than 63, when Team is "Nelson", and when Lost is greater than 16...
What is the total number of Goals For, when Points 1 is "41"?
CREATE TABLE table_name_68 (goals_for VARCHAR, points_1 VARCHAR)
SELECT COUNT(goals_for) FROM table_name_68 WHERE points_1 = "41"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (goals_for VARCHAR, points_1 VARCHAR) Question: What is the total number of Goals For, when Points 1 is "41"? [/INST] SELECT COUNT(goals_for) FROM table_name_68 WHERE points_1 = "41" </s>
What is the lowest Position, when Lost is greater than 15, when Team is Cheadle Town, and when Drawn is greater than 8?
CREATE TABLE table_name_21 (position INTEGER, drawn VARCHAR, lost VARCHAR, team VARCHAR)
SELECT MIN(position) FROM table_name_21 WHERE lost > 15 AND team = "cheadle town" AND drawn > 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (position INTEGER, drawn VARCHAR, lost VARCHAR, team VARCHAR) Question: What is the lowest Position, when Lost is greater than 15, when Team is Cheadle Town, and when Drawn is greater than 8? [/INS...
What is the lowest Position, when Points 1 is "39", and when Goals Against is greater than 49?
CREATE TABLE table_name_75 (position INTEGER, points_1 VARCHAR, goals_against VARCHAR)
SELECT MIN(position) FROM table_name_75 WHERE points_1 = "39" AND goals_against > 49
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (position INTEGER, points_1 VARCHAR, goals_against VARCHAR) Question: What is the lowest Position, when Points 1 is "39", and when Goals Against is greater than 49? [/INST] SELECT MIN(position) FRO...
WHAT SEASON HAD COACH JONAS KAZLAUSKAS AT champions cup group stage?
CREATE TABLE table_name_72 (season VARCHAR, head_coach VARCHAR, europe VARCHAR)
SELECT season FROM table_name_72 WHERE head_coach = "jonas kazlauskas" AND europe = "champions cup group stage"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (season VARCHAR, head_coach VARCHAR, europe VARCHAR) Question: WHAT SEASON HAD COACH JONAS KAZLAUSKAS AT champions cup group stage? [/INST] SELECT season FROM table_name_72 WHERE head_coach = "jona...
WHAT IS THE LKF CUP WITH euroleague group stage AND bbl elite division finalist?
CREATE TABLE table_name_69 (lkf_cup VARCHAR, europe VARCHAR, regional_competitions VARCHAR)
SELECT lkf_cup FROM table_name_69 WHERE europe = "euroleague group stage" AND regional_competitions = "bbl elite division finalist"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (lkf_cup VARCHAR, europe VARCHAR, regional_competitions VARCHAR) Question: WHAT IS THE LKF CUP WITH euroleague group stage AND bbl elite division finalist? [/INST] SELECT lkf_cup FROM table_name_69...
WHAT IS THE ERUPE WITH HEAD COACH vainauskas , sakalauskas AND WITH NEBL FINALIST?
CREATE TABLE table_name_68 (europe VARCHAR, head_coach VARCHAR, regional_competitions VARCHAR)
SELECT europe FROM table_name_68 WHERE head_coach = "vainauskas , sakalauskas" AND regional_competitions = "nebl finalist"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (europe VARCHAR, head_coach VARCHAR, regional_competitions VARCHAR) Question: WHAT IS THE ERUPE WITH HEAD COACH vainauskas , sakalauskas AND WITH NEBL FINALIST? [/INST] SELECT europe FROM table_nam...
What is the entry for the Australian sound that has an example of illyria, cf. cirrhosis?
CREATE TABLE table_name_79 (australian VARCHAR, examples VARCHAR)
SELECT australian FROM table_name_79 WHERE examples = "illyria, cf. cirrhosis"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (australian VARCHAR, examples VARCHAR) Question: What is the entry for the Australian sound that has an example of illyria, cf. cirrhosis? [/INST] SELECT australian FROM table_name_79 WHERE example...
What is the example for the American of ɪ, ə, and a Semi-closed initial unstressed vowels of y /ɨ/?
CREATE TABLE table_name_73 (examples VARCHAR, american VARCHAR, semi_closed_initial_unstressed_vowels VARCHAR)
SELECT examples FROM table_name_73 WHERE american = "ɪ, ə" AND semi_closed_initial_unstressed_vowels = "y /ɨ/"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (examples VARCHAR, american VARCHAR, semi_closed_initial_unstressed_vowels VARCHAR) Question: What is the example for the American of ɪ, ə, and a Semi-closed initial unstressed vowels of y /ɨ/? [/I...
What field is an opponent of cannons and resulted with w 16-11?
CREATE TABLE table_name_88 (field VARCHAR, opponent VARCHAR, result VARCHAR)
SELECT field FROM table_name_88 WHERE opponent = "cannons" AND result = "w 16-11"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (field VARCHAR, opponent VARCHAR, result VARCHAR) Question: What field is an opponent of cannons and resulted with w 16-11? [/INST] SELECT field FROM table_name_88 WHERE opponent = "cannons" AND re...
what is the result from texas stadium?
CREATE TABLE table_name_89 (result VARCHAR, field VARCHAR)
SELECT result FROM table_name_89 WHERE field = "texas stadium"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (result VARCHAR, field VARCHAR) Question: what is the result from texas stadium? [/INST] SELECT result FROM table_name_89 WHERE field = "texas stadium" </s>
What field resulted with w 18-12?
CREATE TABLE table_name_46 (field VARCHAR, result VARCHAR)
SELECT field FROM table_name_46 WHERE result = "w 18-12"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (field VARCHAR, result VARCHAR) Question: What field resulted with w 18-12? [/INST] SELECT field FROM table_name_46 WHERE result = "w 18-12" </s>
What field had results of w 18-12?
CREATE TABLE table_name_63 (field VARCHAR, result VARCHAR)
SELECT field FROM table_name_63 WHERE result = "w 18-12"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (field VARCHAR, result VARCHAR) Question: What field had results of w 18-12? [/INST] SELECT field FROM table_name_63 WHERE result = "w 18-12" </s>
WHAT ARE THE HIGHEST POINTS WITH GOALS LARGER THAN 48, WINS LESS THAN 19, GOALS AGAINST SMALLER THAN 44, DRAWS LARGER THAN 5?
CREATE TABLE table_name_1 (points INTEGER, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR, wins VARCHAR)
SELECT MAX(points) FROM table_name_1 WHERE goals_for > 48 AND wins < 19 AND goals_against < 44 AND draws > 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (points INTEGER, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR, wins VARCHAR) Question: WHAT ARE THE HIGHEST POINTS WITH GOALS LARGER THAN 48, WINS LESS THAN 19, GOALS AGAINST SMALLER THAN...
WHAT ARE THE TOTAL NUMBER OF POINTS WITH WINS SMALLER THAN 14, AT SD INDAUCHU, POSITION BIGGER THAN 12?
CREATE TABLE table_name_73 (points VARCHAR, position VARCHAR, wins VARCHAR, club VARCHAR)
SELECT COUNT(points) FROM table_name_73 WHERE wins < 14 AND club = "sd indauchu" AND position > 12
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (points VARCHAR, position VARCHAR, wins VARCHAR, club VARCHAR) Question: WHAT ARE THE TOTAL NUMBER OF POINTS WITH WINS SMALLER THAN 14, AT SD INDAUCHU, POSITION BIGGER THAN 12? [/INST] SELECT COUNT...
WHAT ARE THE GOALS WITH DRAWS SMALLER THAN 6, AND LOSSES SMALLER THAN 7?
CREATE TABLE table_name_9 (goals_for INTEGER, draws VARCHAR, losses VARCHAR)
SELECT AVG(goals_for) FROM table_name_9 WHERE draws < 6 AND losses < 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (goals_for INTEGER, draws VARCHAR, losses VARCHAR) Question: WHAT ARE THE GOALS WITH DRAWS SMALLER THAN 6, AND LOSSES SMALLER THAN 7? [/INST] SELECT AVG(goals_for) FROM table_name_9 WHERE draws < 6 ...
How many 2010s have a 2007 greater than 4.6, and 8.2 as a 2006?
CREATE TABLE table_name_9 (Id VARCHAR)
SELECT COUNT(2010) FROM table_name_9 WHERE 2007 > 4.6 AND 2006 = 8.2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (Id VARCHAR) Question: How many 2010s have a 2007 greater than 4.6, and 8.2 as a 2006? [/INST] SELECT COUNT(2010) FROM table_name_9 WHERE 2007 > 4.6 AND 2006 = 8.2 </s>
What 2010 has a 2006 less than 6.9, a 2008 greater than 1.6, and 2 for 2007?
CREATE TABLE table_name_21 (Id VARCHAR)
SELECT 2010 FROM table_name_21 WHERE 2006 < 6.9 AND 2008 > 1.6 AND 2007 = 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (Id VARCHAR) Question: What 2010 has a 2006 less than 6.9, a 2008 greater than 1.6, and 2 for 2007? [/INST] SELECT 2010 FROM table_name_21 WHERE 2006 < 6.9 AND 2008 > 1.6 AND 2007 = 2 </s>
How many 2008s have 6.9 as a 2006, with a 2007 less than 7.1?
CREATE TABLE table_name_82 (Id VARCHAR)
SELECT COUNT(2008) FROM table_name_82 WHERE 2006 = 6.9 AND 2007 < 7.1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (Id VARCHAR) Question: How many 2008s have 6.9 as a 2006, with a 2007 less than 7.1? [/INST] SELECT COUNT(2008) FROM table_name_82 WHERE 2006 = 6.9 AND 2007 < 7.1 </s>
What is the highest 2010 that has a 2009 less than 6.5, 0.4 as the 2008, with a 2007 less than 0.5?
CREATE TABLE table_name_80 (Id VARCHAR)
SELECT MAX(2010) FROM table_name_80 WHERE 2009 < 6.5 AND 2008 = 0.4 AND 2007 < 0.5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (Id VARCHAR) Question: What is the highest 2010 that has a 2009 less than 6.5, 0.4 as the 2008, with a 2007 less than 0.5? [/INST] SELECT MAX(2010) FROM table_name_80 WHERE 2009 < 6.5 AND 2008 = 0....
How many 2007s have 0.2 as a 2006, with a 2010 less than 0.1?
CREATE TABLE table_name_71 (Id VARCHAR)
SELECT SUM(2007) FROM table_name_71 WHERE 2006 = 0.2 AND 2010 < 0.1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (Id VARCHAR) Question: How many 2007s have 0.2 as a 2006, with a 2010 less than 0.1? [/INST] SELECT SUM(2007) FROM table_name_71 WHERE 2006 = 0.2 AND 2010 < 0.1 </s>
What Tournament has an Outcome of runner-up, and a Score of 4–6, 3–6?
CREATE TABLE table_name_41 (tournament VARCHAR, outcome VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_41 WHERE outcome = "runner-up" AND score = "4–6, 3–6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (tournament VARCHAR, outcome VARCHAR, score VARCHAR) Question: What Tournament has an Outcome of runner-up, and a Score of 4–6, 3–6? [/INST] SELECT tournament FROM table_name_41 WHERE outcome = "ru...
What Surface has a Date of 1 september 2008?
CREATE TABLE table_name_18 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_18 WHERE date = "1 september 2008"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (surface VARCHAR, date VARCHAR) Question: What Surface has a Date of 1 september 2008? [/INST] SELECT surface FROM table_name_18 WHERE date = "1 september 2008" </s>
What Score has an Opponent of nina bratchikova?
CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_58 WHERE opponent = "nina bratchikova"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR) Question: What Score has an Opponent of nina bratchikova? [/INST] SELECT score FROM table_name_58 WHERE opponent = "nina bratchikova" </s>
What Surface has a Tournament of pune, india?
CREATE TABLE table_name_61 (surface VARCHAR, tournament VARCHAR)
SELECT surface FROM table_name_61 WHERE tournament = "pune, india"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (surface VARCHAR, tournament VARCHAR) Question: What Surface has a Tournament of pune, india? [/INST] SELECT surface FROM table_name_61 WHERE tournament = "pune, india" </s>
What Tournament has a Date of 20 december 2010?
CREATE TABLE table_name_64 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_64 WHERE date = "20 december 2010"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (tournament VARCHAR, date VARCHAR) Question: What Tournament has a Date of 20 december 2010? [/INST] SELECT tournament FROM table_name_64 WHERE date = "20 december 2010" </s>
What Tournament has a Score of 5–7, 2–6?
CREATE TABLE table_name_6 (tournament VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_6 WHERE score = "5–7, 2–6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (tournament VARCHAR, score VARCHAR) Question: What Tournament has a Score of 5–7, 2–6? [/INST] SELECT tournament FROM table_name_6 WHERE score = "5–7, 2–6" </s>
Which Place has a Score of 71-70=141?
CREATE TABLE table_name_7 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_7 WHERE score = 71 - 70 = 141
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (place VARCHAR, score VARCHAR) Question: Which Place has a Score of 71-70=141? [/INST] SELECT place FROM table_name_7 WHERE score = 71 - 70 = 141 </s>
Which Country has a Score of 69-66=135?
CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_76 WHERE score = 69 - 66 = 135
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR) Question: Which Country has a Score of 69-66=135? [/INST] SELECT country FROM table_name_76 WHERE score = 69 - 66 = 135 </s>
Which Country has a To par of –9?
CREATE TABLE table_name_33 (country VARCHAR, to_par VARCHAR)
SELECT country FROM table_name_33 WHERE to_par = "–9"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (country VARCHAR, to_par VARCHAR) Question: Which Country has a To par of –9? [/INST] SELECT country FROM table_name_33 WHERE to_par = "–9" </s>
Which To par has a Country of united states, and a Score of 71-70=141?
CREATE TABLE table_name_14 (to_par VARCHAR, country VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_14 WHERE country = "united states" AND score = 71 - 70 = 141
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (to_par VARCHAR, country VARCHAR, score VARCHAR) Question: Which To par has a Country of united states, and a Score of 71-70=141? [/INST] SELECT to_par FROM table_name_14 WHERE country = "united st...
Which Player has a To par of –5, and a Country of england?
CREATE TABLE table_name_5 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT player FROM table_name_5 WHERE to_par = "–5" AND country = "england"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (player VARCHAR, to_par VARCHAR, country VARCHAR) Question: Which Player has a To par of –5, and a Country of england? [/INST] SELECT player FROM table_name_5 WHERE to_par = "–5" AND country = "engl...
Which Category has an Award of monte carlo tv festival awards, and a Year larger than 2010?
CREATE TABLE table_name_89 (category VARCHAR, award VARCHAR, year VARCHAR)
SELECT category FROM table_name_89 WHERE award = "monte carlo tv festival awards" AND year > 2010
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (category VARCHAR, award VARCHAR, year VARCHAR) Question: Which Category has an Award of monte carlo tv festival awards, and a Year larger than 2010? [/INST] SELECT category FROM table_name_89 WHER...
How many years have a Result of nominated?
CREATE TABLE table_name_42 (year VARCHAR, result VARCHAR)
SELECT COUNT(year) FROM table_name_42 WHERE result = "nominated"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (year VARCHAR, result VARCHAR) Question: How many years have a Result of nominated? [/INST] SELECT COUNT(year) FROM table_name_42 WHERE result = "nominated" </s>
Which Result has a Category of outstanding actor (drama)?
CREATE TABLE table_name_82 (result VARCHAR, category VARCHAR)
SELECT result FROM table_name_82 WHERE category = "outstanding actor (drama)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (result VARCHAR, category VARCHAR) Question: Which Result has a Category of outstanding actor (drama)? [/INST] SELECT result FROM table_name_82 WHERE category = "outstanding actor (drama)" </s>
Which Result has an Award of virgin media tv awards?
CREATE TABLE table_name_45 (result VARCHAR, award VARCHAR)
SELECT result FROM table_name_45 WHERE award = "virgin media tv awards"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (result VARCHAR, award VARCHAR) Question: Which Result has an Award of virgin media tv awards? [/INST] SELECT result FROM table_name_45 WHERE award = "virgin media tv awards" </s>
What is the prize money for the second round qualifying that is listed?
CREATE TABLE table_name_60 (prize_money VARCHAR, round VARCHAR)
SELECT prize_money FROM table_name_60 WHERE round = "second round qualifying"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (prize_money VARCHAR, round VARCHAR) Question: What is the prize money for the second round qualifying that is listed? [/INST] SELECT prize_money FROM table_name_60 WHERE round = "second round qual...
How many years have runner-up as the outcome, and indian wells as the championship?
CREATE TABLE table_name_83 (year INTEGER, outcome VARCHAR, championship VARCHAR)
SELECT SUM(year) FROM table_name_83 WHERE outcome = "runner-up" AND championship = "indian wells"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (year INTEGER, outcome VARCHAR, championship VARCHAR) Question: How many years have runner-up as the outcome, and indian wells as the championship? [/INST] SELECT SUM(year) FROM table_name_83 WHERE...
What score has 2000 as the year?
CREATE TABLE table_name_80 (score VARCHAR, year VARCHAR)
SELECT score FROM table_name_80 WHERE year = 2000
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (score VARCHAR, year VARCHAR) Question: What score has 2000 as the year? [/INST] SELECT score FROM table_name_80 WHERE year = 2000 </s>
What surface has indian wells as the championship, with winner as the outcome?
CREATE TABLE table_name_63 (surface VARCHAR, championship VARCHAR, outcome VARCHAR)
SELECT surface FROM table_name_63 WHERE championship = "indian wells" AND outcome = "winner"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (surface VARCHAR, championship VARCHAR, outcome VARCHAR) Question: What surface has indian wells as the championship, with winner as the outcome? [/INST] SELECT surface FROM table_name_63 WHERE cha...
Which average money has a To par larger than 12?
CREATE TABLE table_name_16 (money___ INTEGER, to_par INTEGER)
SELECT AVG(money___) AS $__ FROM table_name_16 WHERE to_par > 12
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (money___ INTEGER, to_par INTEGER) Question: Which average money has a To par larger than 12? [/INST] SELECT AVG(money___) AS $__ FROM table_name_16 WHERE to_par > 12 </s>
Which Country has a To par smaller than 6, and a Money ($) larger than 700, and a Score of 69-73-70-71=283?
CREATE TABLE table_name_18 (country VARCHAR, to_par VARCHAR, money___$__ VARCHAR, score VARCHAR)
SELECT country FROM table_name_18 WHERE to_par < 6 AND money___$__ > 700 AND score = 69 - 73 - 70 - 71 = 283
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (country VARCHAR, to_par VARCHAR, money___$__ VARCHAR, score VARCHAR) Question: Which Country has a To par smaller than 6, and a Money ($) larger than 700, and a Score of 69-73-70-71=283? [/INST] S...
Which average money has a Place of t10, and a Player of denny shute, and a To par larger than 12?
CREATE TABLE table_name_76 (money___ INTEGER, to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT AVG(money___) AS $__ FROM table_name_76 WHERE place = "t10" AND player = "denny shute" AND to_par > 12
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (money___ INTEGER, to_par VARCHAR, place VARCHAR, player VARCHAR) Question: Which average money has a Place of t10, and a Player of denny shute, and a To par larger than 12? [/INST] SELECT AVG(mone...
Which Country has a Money ($) of 0, and a Place of t10?
CREATE TABLE table_name_93 (country VARCHAR, money___$__ VARCHAR, place VARCHAR)
SELECT country FROM table_name_93 WHERE money___$__ = 0 AND place = "t10"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (country VARCHAR, money___$__ VARCHAR, place VARCHAR) Question: Which Country has a Money ($) of 0, and a Place of t10? [/INST] SELECT country FROM table_name_93 WHERE money___$__ = 0 AND place = "...
What is the highest FLap by a Honda NSR500 bike after Race 16?
CREATE TABLE table_name_97 (flap INTEGER, bike VARCHAR, race VARCHAR)
SELECT MAX(flap) FROM table_name_97 WHERE bike = "honda nsr500" AND race > 16
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (flap INTEGER, bike VARCHAR, race VARCHAR) Question: What is the highest FLap by a Honda NSR500 bike after Race 16? [/INST] SELECT MAX(flap) FROM table_name_97 WHERE bike = "honda nsr500" AND race ...