instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
Name the date when week is 9 | CREATE TABLE table_14945881_1 (date VARCHAR, week VARCHAR) | SELECT date FROM table_14945881_1 WHERE week = 9 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14945881_1 (date VARCHAR, week VARCHAR) Question: Name the date when week is 9 [/INST] SELECT date FROM table_14945881_1 WHERE week = 9 </s> |
What year was taxidermia nominated? | CREATE TABLE table_14975415_1 (year__ceremony_ VARCHAR, hungarian_title VARCHAR) | SELECT year__ceremony_ FROM table_14975415_1 WHERE hungarian_title = "Taxidermia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14975415_1 (year__ceremony_ VARCHAR, hungarian_title VARCHAR) Question: What year was taxidermia nominated? [/INST] SELECT year__ceremony_ FROM table_14975415_1 WHERE hungarian_title = "Taxidermia" </s> |
Who is the director for diary for my loves? | CREATE TABLE table_14975415_1 (director VARCHAR, english_title VARCHAR) | SELECT director FROM table_14975415_1 WHERE english_title = "Diary for My Loves" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14975415_1 (director VARCHAR, english_title VARCHAR) Question: Who is the director for diary for my loves? [/INST] SELECT director FROM table_14975415_1 WHERE english_title = "Diary for My Loves" </s> |
Was diary for my loves nominated? | CREATE TABLE table_14975415_1 (result VARCHAR, english_title VARCHAR) | SELECT result FROM table_14975415_1 WHERE english_title = "Diary for My Loves" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14975415_1 (result VARCHAR, english_title VARCHAR) Question: Was diary for my loves nominated? [/INST] SELECT result FROM table_14975415_1 WHERE english_title = "Diary for My Loves" </s> |
Who is the director for the witman boys? | CREATE TABLE table_14975415_1 (director VARCHAR, english_title VARCHAR) | SELECT director FROM table_14975415_1 WHERE english_title = "The Witman Boys" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14975415_1 (director VARCHAR, english_title VARCHAR) Question: Who is the director for the witman boys? [/INST] SELECT director FROM table_14975415_1 WHERE english_title = "The Witman Boys" </s> |
Name the game site for december 12, 1965 | CREATE TABLE table_14977592_1 (game_site VARCHAR, date VARCHAR) | SELECT game_site FROM table_14977592_1 WHERE date = "December 12, 1965" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14977592_1 (game_site VARCHAR, date VARCHAR) Question: Name the game site for december 12, 1965 [/INST] SELECT game_site FROM table_14977592_1 WHERE date = "December 12, 1965" </s> |
Name the total number of game sites for chicago bears | CREATE TABLE table_14977592_1 (game_site VARCHAR, opponent VARCHAR) | SELECT COUNT(game_site) FROM table_14977592_1 WHERE opponent = "Chicago Bears" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14977592_1 (game_site VARCHAR, opponent VARCHAR) Question: Name the total number of game sites for chicago bears [/INST] SELECT COUNT(game_site) FROM table_14977592_1 WHERE opponent = "Chicago Bears" </s> |
Name the result for november 14, 1965 | CREATE TABLE table_14977592_1 (result VARCHAR, date VARCHAR) | SELECT result FROM table_14977592_1 WHERE date = "November 14, 1965" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14977592_1 (result VARCHAR, date VARCHAR) Question: Name the result for november 14, 1965 [/INST] SELECT result FROM table_14977592_1 WHERE date = "November 14, 1965" </s> |
Where was the game against Atlanta Falcons held? | CREATE TABLE table_14971788_1 (game_site VARCHAR, opponent VARCHAR) | SELECT game_site FROM table_14971788_1 WHERE opponent = "Atlanta Falcons" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14971788_1 (game_site VARCHAR, opponent VARCHAR) Question: Where was the game against Atlanta Falcons held? [/INST] SELECT game_site FROM table_14971788_1 WHERE opponent = "Atlanta Falcons" </s> |
What date was week 2? | CREATE TABLE table_14971788_1 (date VARCHAR, week VARCHAR) | SELECT date FROM table_14971788_1 WHERE week = 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14971788_1 (date VARCHAR, week VARCHAR) Question: What date was week 2? [/INST] SELECT date FROM table_14971788_1 WHERE week = 2 </s> |
Name the place of the jury of 5 | CREATE TABLE table_14977252_2 (place VARCHAR, professional_jury VARCHAR) | SELECT place FROM table_14977252_2 WHERE professional_jury = 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14977252_2 (place VARCHAR, professional_jury VARCHAR) Question: Name the place of the jury of 5 [/INST] SELECT place FROM table_14977252_2 WHERE professional_jury = 5 </s> |
Name the jury of 10 points | CREATE TABLE table_14977252_2 (professional_jury VARCHAR, points VARCHAR) | SELECT professional_jury FROM table_14977252_2 WHERE points = 10 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14977252_2 (professional_jury VARCHAR, points VARCHAR) Question: Name the jury of 10 points [/INST] SELECT professional_jury FROM table_14977252_2 WHERE points = 10 </s> |
Name the artist of 2 draw | CREATE TABLE table_14977252_2 (artist VARCHAR, draw VARCHAR) | SELECT artist FROM table_14977252_2 WHERE draw = 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14977252_2 (artist VARCHAR, draw VARCHAR) Question: Name the artist of 2 draw [/INST] SELECT artist FROM table_14977252_2 WHERE draw = 2 </s> |
Name the least draw for elena dermidjean | CREATE TABLE table_14977252_2 (draw INTEGER, artist VARCHAR) | SELECT MIN(draw) FROM table_14977252_2 WHERE artist = "Elena Dermidjean" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14977252_2 (draw INTEGER, artist VARCHAR) Question: Name the least draw for elena dermidjean [/INST] SELECT MIN(draw) FROM table_14977252_2 WHERE artist = "Elena Dermidjean" </s> |
What was the competition when there was no competition for mens doubles? | CREATE TABLE table_15001572_1 (womens_doubles VARCHAR, mens_doubles VARCHAR) | SELECT womens_doubles FROM table_15001572_1 WHERE mens_doubles = "No competition" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15001572_1 (womens_doubles VARCHAR, mens_doubles VARCHAR) Question: What was the competition when there was no competition for mens doubles? [/INST] SELECT womens_doubles FROM table_15001572_1 WHERE mens_doubles = "No competition" </s> |
Who won the mixed doubles in 1998? | CREATE TABLE table_15001572_1 (mixed_doubles VARCHAR, year VARCHAR) | SELECT mixed_doubles FROM table_15001572_1 WHERE year = 1998 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15001572_1 (mixed_doubles VARCHAR, year VARCHAR) Question: Who won the mixed doubles in 1998? [/INST] SELECT mixed_doubles FROM table_15001572_1 WHERE year = 1998 </s> |
How many colleges did the player picked 57 attend? | CREATE TABLE table_15017024_2 (college VARCHAR, pick VARCHAR) | SELECT COUNT(college) FROM table_15017024_2 WHERE pick = 57 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15017024_2 (college VARCHAR, pick VARCHAR) Question: How many colleges did the player picked 57 attend? [/INST] SELECT COUNT(college) FROM table_15017024_2 WHERE pick = 57 </s> |
How many heights does chad henne have? | CREATE TABLE table_15017024_2 (height VARCHAR, player_name VARCHAR) | SELECT COUNT(height) FROM table_15017024_2 WHERE player_name = "Chad Henne" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15017024_2 (height VARCHAR, player_name VARCHAR) Question: How many heights does chad henne have? [/INST] SELECT COUNT(height) FROM table_15017024_2 WHERE player_name = "Chad Henne" </s> |
Name the recopa sudamericana 1992 for did not qualify for libertadores 1992 and round of 16 for bragantino | CREATE TABLE table_15013825_8 (recopa_sudamericana_1992 VARCHAR, team VARCHAR, copa_libertadores_1992 VARCHAR, copa_conmebol_1992 VARCHAR) | SELECT recopa_sudamericana_1992 FROM table_15013825_8 WHERE copa_libertadores_1992 = "Did not qualify" AND copa_conmebol_1992 = "Round of 16" AND team = "Bragantino" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15013825_8 (recopa_sudamericana_1992 VARCHAR, team VARCHAR, copa_libertadores_1992 VARCHAR, copa_conmebol_1992 VARCHAR) Question: Name the recopa sudamericana 1992 for did not qualify for libertadores 1992 and round of 16 for bragantino [/INST] SELECT recopa_sudamericana_1992 FROM table_15013825_8 WHERE copa_libertadores_1992 = "Did not qualify" AND copa_conmebol_1992 = "Round of 16" AND team = "Bragantino" </s> |
Name the copa libertadores 1992 for round of 16 and team of fluminense | CREATE TABLE table_15013825_8 (copa_libertadores_1992 VARCHAR, copa_conmebol_1992 VARCHAR, team VARCHAR) | SELECT copa_libertadores_1992 FROM table_15013825_8 WHERE copa_conmebol_1992 = "Round of 16" AND team = "Fluminense" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15013825_8 (copa_libertadores_1992 VARCHAR, copa_conmebol_1992 VARCHAR, team VARCHAR) Question: Name the copa libertadores 1992 for round of 16 and team of fluminense [/INST] SELECT copa_libertadores_1992 FROM table_15013825_8 WHERE copa_conmebol_1992 = "Round of 16" AND team = "Fluminense" </s> |
Name the team for copa conmebol 1992 is round of 16 | CREATE TABLE table_15013825_8 (team VARCHAR, copa_conmebol_1992 VARCHAR) | SELECT team FROM table_15013825_8 WHERE copa_conmebol_1992 = "Round of 16" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15013825_8 (team VARCHAR, copa_conmebol_1992 VARCHAR) Question: Name the team for copa conmebol 1992 is round of 16 [/INST] SELECT team FROM table_15013825_8 WHERE copa_conmebol_1992 = "Round of 16" </s> |
What league were they in in 2009? | CREATE TABLE table_15056103_1 (league VARCHAR, year VARCHAR) | SELECT league FROM table_15056103_1 WHERE year = 2009 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15056103_1 (league VARCHAR, year VARCHAR) Question: What league were they in in 2009? [/INST] SELECT league FROM table_15056103_1 WHERE year = 2009 </s> |
What was the playoff result when they finished 5th, north in the regular sesason? | CREATE TABLE table_15056103_1 (playoffs VARCHAR, regular_season VARCHAR) | SELECT playoffs FROM table_15056103_1 WHERE regular_season = "5th, North" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15056103_1 (playoffs VARCHAR, regular_season VARCHAR) Question: What was the playoff result when they finished 5th, north in the regular sesason? [/INST] SELECT playoffs FROM table_15056103_1 WHERE regular_season = "5th, North" </s> |
Which player's results were T6 in the PGA Ch., T4 in the Masters and T8 at the U.S. Open? | CREATE TABLE table_1506950_9 (player VARCHAR, us_open VARCHAR, pga_ch VARCHAR, masters VARCHAR) | SELECT player FROM table_1506950_9 WHERE pga_ch = "T6" AND masters = "T4" AND us_open = "T8" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1506950_9 (player VARCHAR, us_open VARCHAR, pga_ch VARCHAR, masters VARCHAR) Question: Which player's results were T6 in the PGA Ch., T4 in the Masters and T8 at the U.S. Open? [/INST] SELECT player FROM table_1506950_9 WHERE pga_ch = "T6" AND masters = "T4" AND us_open = "T8" </s> |
What is the result at the Masters for the player who finished R16 at the PGA Ch.? | CREATE TABLE table_1506950_9 (masters VARCHAR, pga_ch VARCHAR) | SELECT masters FROM table_1506950_9 WHERE pga_ch = "R16" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1506950_9 (masters VARCHAR, pga_ch VARCHAR) Question: What is the result at the Masters for the player who finished R16 at the PGA Ch.? [/INST] SELECT masters FROM table_1506950_9 WHERE pga_ch = "R16" </s> |
What was the player's result at the U.S. Open of the player who finished 6th at the Open Ch? | CREATE TABLE table_1506950_9 (us_open VARCHAR, open_ch VARCHAR) | SELECT us_open FROM table_1506950_9 WHERE open_ch = "6th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1506950_9 (us_open VARCHAR, open_ch VARCHAR) Question: What was the player's result at the U.S. Open of the player who finished 6th at the Open Ch? [/INST] SELECT us_open FROM table_1506950_9 WHERE open_ch = "6th" </s> |
The Rainbow District School Board is associated with what type? | CREATE TABLE table_1506619_1 (type VARCHAR, school_board VARCHAR) | SELECT type FROM table_1506619_1 WHERE school_board = "Rainbow District school_board" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1506619_1 (type VARCHAR, school_board VARCHAR) Question: The Rainbow District School Board is associated with what type? [/INST] SELECT type FROM table_1506619_1 WHERE school_board = "Rainbow District school_board" </s> |
Where are all school boards associated with a number of elementary schools of 96? | CREATE TABLE table_1506619_1 (school_board VARCHAR, number_of_elementary_schools VARCHAR) | SELECT school_board FROM table_1506619_1 WHERE number_of_elementary_schools = 96 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1506619_1 (school_board VARCHAR, number_of_elementary_schools VARCHAR) Question: Where are all school boards associated with a number of elementary schools of 96? [/INST] SELECT school_board FROM table_1506619_1 WHERE number_of_elementary_schools = 96 </s> |
Which headquarters are associated with the school board Renfrew County Catholic District School Board? | CREATE TABLE table_1506619_1 (headquarters VARCHAR, school_board VARCHAR) | SELECT headquarters FROM table_1506619_1 WHERE school_board = "Renfrew County Catholic District school_board" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1506619_1 (headquarters VARCHAR, school_board VARCHAR) Question: Which headquarters are associated with the school board Renfrew County Catholic District School Board? [/INST] SELECT headquarters FROM table_1506619_1 WHERE school_board = "Renfrew County Catholic District school_board" </s> |
What is the swimsuit score for the item that has 7.61 as evening gown | CREATE TABLE table_15081939_4 (swimsuit VARCHAR, evening_gown VARCHAR) | SELECT swimsuit FROM table_15081939_4 WHERE evening_gown = "7.61" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15081939_4 (swimsuit VARCHAR, evening_gown VARCHAR) Question: What is the swimsuit score for the item that has 7.61 as evening gown [/INST] SELECT swimsuit FROM table_15081939_4 WHERE evening_gown = "7.61" </s> |
Which province got a swimsuit score of 8.43 | CREATE TABLE table_15081939_4 (province VARCHAR, swimsuit VARCHAR) | SELECT province FROM table_15081939_4 WHERE swimsuit = "8.43" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15081939_4 (province VARCHAR, swimsuit VARCHAR) Question: Which province got a swimsuit score of 8.43 [/INST] SELECT province FROM table_15081939_4 WHERE swimsuit = "8.43" </s> |
Which province has evening gown score of 7.61 | CREATE TABLE table_15081939_4 (province VARCHAR, evening_gown VARCHAR) | SELECT province FROM table_15081939_4 WHERE evening_gown = "7.61" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15081939_4 (province VARCHAR, evening_gown VARCHAR) Question: Which province has evening gown score of 7.61 [/INST] SELECT province FROM table_15081939_4 WHERE evening_gown = "7.61" </s> |
How many averages for the province with evening gown score of 8.00 | CREATE TABLE table_15081939_4 (average VARCHAR, evening_gown VARCHAR) | SELECT COUNT(average) FROM table_15081939_4 WHERE evening_gown = "8.00" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15081939_4 (average VARCHAR, evening_gown VARCHAR) Question: How many averages for the province with evening gown score of 8.00 [/INST] SELECT COUNT(average) FROM table_15081939_4 WHERE evening_gown = "8.00" </s> |
How many provinces have evening gown score of 8.49 | CREATE TABLE table_15081939_4 (province VARCHAR, evening_gown VARCHAR) | SELECT COUNT(province) FROM table_15081939_4 WHERE evening_gown = "8.49" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15081939_4 (province VARCHAR, evening_gown VARCHAR) Question: How many provinces have evening gown score of 8.49 [/INST] SELECT COUNT(province) FROM table_15081939_4 WHERE evening_gown = "8.49" </s> |
which electorate is 54787 of the constituency | CREATE TABLE table_15082102_3 (constituency VARCHAR, electorate VARCHAR) | SELECT constituency FROM table_15082102_3 WHERE electorate = 54787 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15082102_3 (constituency VARCHAR, electorate VARCHAR) Question: which electorate is 54787 of the constituency [/INST] SELECT constituency FROM table_15082102_3 WHERE electorate = 54787 </s> |
in electorate of 83850 what is the minimum s split vote | CREATE TABLE table_15082102_3 (s_spoilt_vote INTEGER, electorate VARCHAR) | SELECT MIN(s_spoilt_vote) FROM table_15082102_3 WHERE electorate = 83850 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15082102_3 (s_spoilt_vote INTEGER, electorate VARCHAR) Question: in electorate of 83850 what is the minimum s split vote [/INST] SELECT MIN(s_spoilt_vote) FROM table_15082102_3 WHERE electorate = 83850 </s> |
What is the lead percentage when the socialist is at 35.5%? | CREATE TABLE table_15125201_1 (lead VARCHAR, socialist VARCHAR) | SELECT lead FROM table_15125201_1 WHERE socialist = "35.5%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15125201_1 (lead VARCHAR, socialist VARCHAR) Question: What is the lead percentage when the socialist is at 35.5%? [/INST] SELECT lead FROM table_15125201_1 WHERE socialist = "35.5%" </s> |
What was the margin of victory at the Hawaiian Open tournament? | CREATE TABLE table_1514634_2 (margin_of_victory VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_1514634_2 WHERE tournament = "Hawaiian Open" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1514634_2 (margin_of_victory VARCHAR, tournament VARCHAR) Question: What was the margin of victory at the Hawaiian Open tournament? [/INST] SELECT margin_of_victory FROM table_1514634_2 WHERE tournament = "Hawaiian Open" </s> |
What was the margin of victory at the Mercedes Championships? | CREATE TABLE table_1514634_2 (margin_of_victory VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_1514634_2 WHERE tournament = "Mercedes Championships" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1514634_2 (margin_of_victory VARCHAR, tournament VARCHAR) Question: What was the margin of victory at the Mercedes Championships? [/INST] SELECT margin_of_victory FROM table_1514634_2 WHERE tournament = "Mercedes Championships" </s> |
Name the tfl-yds for no-yds 1-0 | CREATE TABLE table_15128839_22 (tfl_yds VARCHAR, no_yds VARCHAR) | SELECT tfl_yds FROM table_15128839_22 WHERE no_yds = "1-0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15128839_22 (tfl_yds VARCHAR, no_yds VARCHAR) Question: Name the tfl-yds for no-yds 1-0 [/INST] SELECT tfl_yds FROM table_15128839_22 WHERE no_yds = "1-0" </s> |
Name the solo when name is briggs, diyral | CREATE TABLE table_15128839_22 (solo VARCHAR, name VARCHAR) | SELECT solo FROM table_15128839_22 WHERE name = "Briggs, Diyral" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15128839_22 (solo VARCHAR, name VARCHAR) Question: Name the solo when name is briggs, diyral [/INST] SELECT solo FROM table_15128839_22 WHERE name = "Briggs, Diyral" </s> |
Name the gp for ff being 0 and qbh being 1 | CREATE TABLE table_15128839_22 (gp VARCHAR, ff VARCHAR, qbh VARCHAR) | SELECT gp FROM table_15128839_22 WHERE ff = 0 AND qbh = 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15128839_22 (gp VARCHAR, ff VARCHAR, qbh VARCHAR) Question: Name the gp for ff being 0 and qbh being 1 [/INST] SELECT gp FROM table_15128839_22 WHERE ff = 0 AND qbh = 1 </s> |
When the division is Division 2 men what is the champion score? | CREATE TABLE table_15161170_1 (champion_score VARCHAR, division VARCHAR) | SELECT champion_score FROM table_15161170_1 WHERE division = "division 2 Men" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15161170_1 (champion_score VARCHAR, division VARCHAR) Question: When the division is Division 2 men what is the champion score? [/INST] SELECT champion_score FROM table_15161170_1 WHERE division = "division 2 Men" </s> |
Name the least spirou | CREATE TABLE table_15163938_1 (spirou INTEGER) | SELECT MIN(spirou) FROM table_15163938_1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15163938_1 (spirou INTEGER) Question: Name the least spirou [/INST] SELECT MIN(spirou) FROM table_15163938_1 </s> |
Name the home team when away team is kilmarnock | CREATE TABLE table_15173650_2 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_15173650_2 WHERE away_team = "Kilmarnock" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15173650_2 (home_team VARCHAR, away_team VARCHAR) Question: Name the home team when away team is kilmarnock [/INST] SELECT home_team FROM table_15173650_2 WHERE away_team = "Kilmarnock" </s> |
Name the least attendance | CREATE TABLE table_15173650_2 (attendance INTEGER) | SELECT MIN(attendance) FROM table_15173650_2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15173650_2 (attendance INTEGER) Question: Name the least attendance [/INST] SELECT MIN(attendance) FROM table_15173650_2 </s> |
Kitchen knives is segment a of what episode? | CREATE TABLE table_15187735_5 (episode VARCHAR, segment_a VARCHAR) | SELECT episode FROM table_15187735_5 WHERE segment_a = "Kitchen Knives" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15187735_5 (episode VARCHAR, segment_a VARCHAR) Question: Kitchen knives is segment a of what episode? [/INST] SELECT episode FROM table_15187735_5 WHERE segment_a = "Kitchen Knives" </s> |
When segment b is dining room tables what is segment d? | CREATE TABLE table_15187735_5 (segment_d VARCHAR, segment_b VARCHAR) | SELECT segment_d FROM table_15187735_5 WHERE segment_b = "Dining Room Tables" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15187735_5 (segment_d VARCHAR, segment_b VARCHAR) Question: When segment b is dining room tables what is segment d? [/INST] SELECT segment_d FROM table_15187735_5 WHERE segment_b = "Dining Room Tables" </s> |
When marshmallow cookies is segment b what episode is it on netflix? | CREATE TABLE table_15187735_5 (netflix VARCHAR, segment_b VARCHAR) | SELECT netflix FROM table_15187735_5 WHERE segment_b = "Marshmallow Cookies" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15187735_5 (netflix VARCHAR, segment_b VARCHAR) Question: When marshmallow cookies is segment b what episode is it on netflix? [/INST] SELECT netflix FROM table_15187735_5 WHERE segment_b = "Marshmallow Cookies" </s> |
When cardboard boxes is segment c what is segment a? | CREATE TABLE table_15187735_5 (segment_a VARCHAR, segment_c VARCHAR) | SELECT segment_a FROM table_15187735_5 WHERE segment_c = "Cardboard Boxes" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15187735_5 (segment_a VARCHAR, segment_c VARCHAR) Question: When cardboard boxes is segment c what is segment a? [/INST] SELECT segment_a FROM table_15187735_5 WHERE segment_c = "Cardboard Boxes" </s> |
Name the number of episodes for s hacksaw | CREATE TABLE table_15187735_8 (episode VARCHAR, segment_b VARCHAR) | SELECT COUNT(episode) FROM table_15187735_8 WHERE segment_b = "s Hacksaw" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15187735_8 (episode VARCHAR, segment_b VARCHAR) Question: Name the number of episodes for s hacksaw [/INST] SELECT COUNT(episode) FROM table_15187735_8 WHERE segment_b = "s Hacksaw" </s> |
Name the number of series episode for s piston | CREATE TABLE table_15187735_8 (series_ep VARCHAR, segment_a VARCHAR) | SELECT COUNT(series_ep) FROM table_15187735_8 WHERE segment_a = "s Piston" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15187735_8 (series_ep VARCHAR, segment_a VARCHAR) Question: Name the number of series episode for s piston [/INST] SELECT COUNT(series_ep) FROM table_15187735_8 WHERE segment_a = "s Piston" </s> |
Name the segment c for paint rollers | CREATE TABLE table_15187735_8 (segment_c VARCHAR, segment_b VARCHAR) | SELECT segment_c FROM table_15187735_8 WHERE segment_b = "Paint Rollers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15187735_8 (segment_c VARCHAR, segment_b VARCHAR) Question: Name the segment c for paint rollers [/INST] SELECT segment_c FROM table_15187735_8 WHERE segment_b = "Paint Rollers" </s> |
Name the segment a for 8-08 | CREATE TABLE table_15187735_8 (segment_a VARCHAR, series_ep VARCHAR) | SELECT segment_a FROM table_15187735_8 WHERE series_ep = "8-08" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15187735_8 (segment_a VARCHAR, series_ep VARCHAR) Question: Name the segment a for 8-08 [/INST] SELECT segment_a FROM table_15187735_8 WHERE series_ep = "8-08" </s> |
Name the segment b for graphite s fly rod | CREATE TABLE table_15187735_8 (segment_b VARCHAR, segment_c VARCHAR) | SELECT segment_b FROM table_15187735_8 WHERE segment_c = "Graphite s Fly Rod" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15187735_8 (segment_b VARCHAR, segment_c VARCHAR) Question: Name the segment b for graphite s fly rod [/INST] SELECT segment_b FROM table_15187735_8 WHERE segment_c = "Graphite s Fly Rod" </s> |
Who won the race at Magny-Cours | CREATE TABLE table_15187794_1 (race_winner VARCHAR, circuit VARCHAR) | SELECT race_winner FROM table_15187794_1 WHERE circuit = "Magny-Cours" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15187794_1 (race_winner VARCHAR, circuit VARCHAR) Question: Who won the race at Magny-Cours [/INST] SELECT race_winner FROM table_15187794_1 WHERE circuit = "Magny-Cours" </s> |
Which round was the circuit Assen | CREATE TABLE table_15187794_1 (round VARCHAR, circuit VARCHAR) | SELECT round FROM table_15187794_1 WHERE circuit = "Assen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15187794_1 (round VARCHAR, circuit VARCHAR) Question: Which round was the circuit Assen [/INST] SELECT round FROM table_15187794_1 WHERE circuit = "Assen" </s> |
How many people won in No. 12 | CREATE TABLE table_15187794_1 (race_winner VARCHAR, no VARCHAR) | SELECT COUNT(race_winner) FROM table_15187794_1 WHERE no = 12 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15187794_1 (race_winner VARCHAR, no VARCHAR) Question: How many people won in No. 12 [/INST] SELECT COUNT(race_winner) FROM table_15187794_1 WHERE no = 12 </s> |
Which countries won by 9 strokes? | CREATE TABLE table_1520559_1 (country VARCHAR, margin_of_victory VARCHAR) | SELECT country FROM table_1520559_1 WHERE margin_of_victory = "9 strokes" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1520559_1 (country VARCHAR, margin_of_victory VARCHAR) Question: Which countries won by 9 strokes? [/INST] SELECT country FROM table_1520559_1 WHERE margin_of_victory = "9 strokes" </s> |
What purses had a winners share equal to $428650? | CREATE TABLE table_1520559_1 (purse___$__ VARCHAR, winners_share__$_ VARCHAR) | SELECT purse___$__ FROM table_1520559_1 WHERE winners_share__$_ = 428650 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1520559_1 (purse___$__ VARCHAR, winners_share__$_ VARCHAR) Question: What purses had a winners share equal to $428650? [/INST] SELECT purse___$__ FROM table_1520559_1 WHERE winners_share__$_ = 428650 </s> |
At what venues did Lorena Ochoa win the championship? | CREATE TABLE table_1520559_1 (venue VARCHAR, champion VARCHAR) | SELECT venue FROM table_1520559_1 WHERE champion = "Lorena Ochoa" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1520559_1 (venue VARCHAR, champion VARCHAR) Question: At what venues did Lorena Ochoa win the championship? [/INST] SELECT venue FROM table_1520559_1 WHERE champion = "Lorena Ochoa" </s> |
What episode number is presented by Ben Okri ? | CREATE TABLE table_15211468_3 (episode_no VARCHAR, presenter VARCHAR) | SELECT episode_no FROM table_15211468_3 WHERE presenter = "Ben Okri" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15211468_3 (episode_no VARCHAR, presenter VARCHAR) Question: What episode number is presented by Ben Okri ? [/INST] SELECT episode_no FROM table_15211468_3 WHERE presenter = "Ben Okri" </s> |
What was the UK broadcast date for the episode presented by Buck Henry? | CREATE TABLE table_15211468_3 (uk_broadcast_date VARCHAR, presenter VARCHAR) | SELECT uk_broadcast_date FROM table_15211468_3 WHERE presenter = "Buck Henry" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15211468_3 (uk_broadcast_date VARCHAR, presenter VARCHAR) Question: What was the UK broadcast date for the episode presented by Buck Henry? [/INST] SELECT uk_broadcast_date FROM table_15211468_3 WHERE presenter = "Buck Henry" </s> |
What is the input clock (mhz) for s-spec number sk096? | CREATE TABLE table_15261_1 (input_clock__mhz_ VARCHAR, s_spec_number VARCHAR) | SELECT input_clock__mhz_ FROM table_15261_1 WHERE s_spec_number = "SK096" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15261_1 (input_clock__mhz_ VARCHAR, s_spec_number VARCHAR) Question: What is the input clock (mhz) for s-spec number sk096? [/INST] SELECT input_clock__mhz_ FROM table_15261_1 WHERE s_spec_number = "SK096" </s> |
What is the voltage range (v) if the clock multiplier is 3x or 2x mode and part number is a80486dx4wb-100? | CREATE TABLE table_15261_1 (voltage_range__v_ VARCHAR, clock_multiplier VARCHAR, part_number VARCHAR) | SELECT COUNT(voltage_range__v_) FROM table_15261_1 WHERE clock_multiplier = "3X or 2X mode" AND part_number = "A80486DX4WB-100" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15261_1 (voltage_range__v_ VARCHAR, clock_multiplier VARCHAR, part_number VARCHAR) Question: What is the voltage range (v) if the clock multiplier is 3x or 2x mode and part number is a80486dx4wb-100? [/INST] SELECT COUNT(voltage_range__v_) FROM table_15261_1 WHERE clock_multiplier = "3X or 2X mode" AND part_number = "A80486DX4WB-100" </s> |
What is the part number for s-spec number sk096? | CREATE TABLE table_15261_1 (part_number VARCHAR, s_spec_number VARCHAR) | SELECT part_number FROM table_15261_1 WHERE s_spec_number = "SK096" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15261_1 (part_number VARCHAR, s_spec_number VARCHAR) Question: What is the part number for s-spec number sk096? [/INST] SELECT part_number FROM table_15261_1 WHERE s_spec_number = "SK096" </s> |
What is the clock multiplier if the voltage range (v) is 3.3 - 3.6; input clock (mhz) is 33 x 3 / 50 x 2; and part number is a80486dx4-100? | CREATE TABLE table_15261_1 (clock_multiplier VARCHAR, part_number VARCHAR, voltage_range__v_ VARCHAR, input_clock__mhz_ VARCHAR) | SELECT clock_multiplier FROM table_15261_1 WHERE voltage_range__v_ = "3.3 - 3.6" AND input_clock__mhz_ = "33 X 3 / 50 X 2" AND part_number = "A80486DX4-100" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15261_1 (clock_multiplier VARCHAR, part_number VARCHAR, voltage_range__v_ VARCHAR, input_clock__mhz_ VARCHAR) Question: What is the clock multiplier if the voltage range (v) is 3.3 - 3.6; input clock (mhz) is 33 x 3 / 50 x 2; and part number is a80486dx4-100? [/INST] SELECT clock_multiplier FROM table_15261_1 WHERE voltage_range__v_ = "3.3 - 3.6" AND input_clock__mhz_ = "33 X 3 / 50 X 2" AND part_number = "A80486DX4-100" </s> |
What is the processor speed (mhz) for part number a80486dx4-75? | CREATE TABLE table_15261_1 (processor_speed__mhz_ VARCHAR, part_number VARCHAR) | SELECT COUNT(processor_speed__mhz_) FROM table_15261_1 WHERE part_number = "A80486DX4-75" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15261_1 (processor_speed__mhz_ VARCHAR, part_number VARCHAR) Question: What is the processor speed (mhz) for part number a80486dx4-75? [/INST] SELECT COUNT(processor_speed__mhz_) FROM table_15261_1 WHERE part_number = "A80486DX4-75" </s> |
Tell me the least amount of democratic colation | CREATE TABLE table_15306124_1 (democratic_coalition INTEGER) | SELECT MIN(democratic_coalition) FROM table_15306124_1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15306124_1 (democratic_coalition INTEGER) Question: Tell me the least amount of democratic colation [/INST] SELECT MIN(democratic_coalition) FROM table_15306124_1 </s> |
What is the least amount of league of communists where municipality is mojkovac | CREATE TABLE table_15306124_1 (league_of_communists INTEGER, municipality VARCHAR) | SELECT MIN(league_of_communists) FROM table_15306124_1 WHERE municipality = "Mojkovac" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15306124_1 (league_of_communists INTEGER, municipality VARCHAR) Question: What is the least amount of league of communists where municipality is mojkovac [/INST] SELECT MIN(league_of_communists) FROM table_15306124_1 WHERE municipality = "Mojkovac" </s> |
How many league of communists have the municipality of bar? | CREATE TABLE table_15306124_1 (league_of_communists VARCHAR, municipality VARCHAR) | SELECT COUNT(league_of_communists) FROM table_15306124_1 WHERE municipality = "Bar" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15306124_1 (league_of_communists VARCHAR, municipality VARCHAR) Question: How many league of communists have the municipality of bar? [/INST] SELECT COUNT(league_of_communists) FROM table_15306124_1 WHERE municipality = "Bar" </s> |
How many league of communists have the people's party at 7? | CREATE TABLE table_15306124_1 (league_of_communists VARCHAR, peoples_party VARCHAR) | SELECT COUNT(league_of_communists) FROM table_15306124_1 WHERE peoples_party = 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15306124_1 (league_of_communists VARCHAR, peoples_party VARCHAR) Question: How many league of communists have the people's party at 7? [/INST] SELECT COUNT(league_of_communists) FROM table_15306124_1 WHERE peoples_party = 7 </s> |
Name the poles for 2011 | CREATE TABLE table_15327489_1 (poles VARCHAR, year VARCHAR) | SELECT poles FROM table_15327489_1 WHERE year = 2011 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15327489_1 (poles VARCHAR, year VARCHAR) Question: Name the poles for 2011 [/INST] SELECT poles FROM table_15327489_1 WHERE year = 2011 </s> |
Name the rdiers for jir team scot motogp | CREATE TABLE table_15327489_1 (riders VARCHAR, team_name VARCHAR) | SELECT riders FROM table_15327489_1 WHERE team_name = "JiR Team Scot MotoGP" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15327489_1 (riders VARCHAR, team_name VARCHAR) Question: Name the rdiers for jir team scot motogp [/INST] SELECT riders FROM table_15327489_1 WHERE team_name = "JiR Team Scot MotoGP" </s> |
Name the class for makoto tamada and races is 17 | CREATE TABLE table_15327489_1 (class VARCHAR, riders VARCHAR, races VARCHAR) | SELECT class FROM table_15327489_1 WHERE riders = "Makoto Tamada" AND races = "17" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15327489_1 (class VARCHAR, riders VARCHAR, races VARCHAR) Question: Name the class for makoto tamada and races is 17 [/INST] SELECT class FROM table_15327489_1 WHERE riders = "Makoto Tamada" AND races = "17" </s> |
Name the most wins | CREATE TABLE table_15327489_1 (wins INTEGER) | SELECT MIN(wins) FROM table_15327489_1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15327489_1 (wins INTEGER) Question: Name the most wins [/INST] SELECT MIN(wins) FROM table_15327489_1 </s> |
Which college did Dean Kirkland go to | CREATE TABLE table_15353123_1 (college VARCHAR, player VARCHAR) | SELECT college FROM table_15353123_1 WHERE player = "Dean Kirkland" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15353123_1 (college VARCHAR, player VARCHAR) Question: Which college did Dean Kirkland go to [/INST] SELECT college FROM table_15353123_1 WHERE player = "Dean Kirkland" </s> |
Which player went to Pittsburg State | CREATE TABLE table_15353123_1 (player VARCHAR, college VARCHAR) | SELECT player FROM table_15353123_1 WHERE college = "Pittsburg State" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15353123_1 (player VARCHAR, college VARCHAR) Question: Which player went to Pittsburg State [/INST] SELECT player FROM table_15353123_1 WHERE college = "Pittsburg State" </s> |
Who was the highest pick | CREATE TABLE table_15353123_1 (pick__number INTEGER) | SELECT MIN(pick__number) FROM table_15353123_1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15353123_1 (pick__number INTEGER) Question: Who was the highest pick [/INST] SELECT MIN(pick__number) FROM table_15353123_1 </s> |
Who was the highest picked defensive end | CREATE TABLE table_15353123_1 (pick__number INTEGER, position VARCHAR) | SELECT MAX(pick__number) FROM table_15353123_1 WHERE position = "Defensive end" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15353123_1 (pick__number INTEGER, position VARCHAR) Question: Who was the highest picked defensive end [/INST] SELECT MAX(pick__number) FROM table_15353123_1 WHERE position = "Defensive end" </s> |
How many players named Dean Kirkland were picked | CREATE TABLE table_15353123_1 (pick__number VARCHAR, player VARCHAR) | SELECT COUNT(pick__number) FROM table_15353123_1 WHERE player = "Dean Kirkland" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15353123_1 (pick__number VARCHAR, player VARCHAR) Question: How many players named Dean Kirkland were picked [/INST] SELECT COUNT(pick__number) FROM table_15353123_1 WHERE player = "Dean Kirkland" </s> |
How many metropolitan boroughs have dorridge as a station? | CREATE TABLE table_15366849_1 (c_ VARCHAR, metropolitan_borough_ VARCHAR, station VARCHAR) | SELECT COUNT(metropolitan_borough_) AS "c_" FROM table_15366849_1 WHERE station = "Dorridge" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15366849_1 (c_ VARCHAR, metropolitan_borough_ VARCHAR, station VARCHAR) Question: How many metropolitan boroughs have dorridge as a station? [/INST] SELECT COUNT(metropolitan_borough_) AS "c_" FROM table_15366849_1 WHERE station = "Dorridge" </s> |
What's the biggest zone? | CREATE TABLE table_15366849_1 (zone INTEGER) | SELECT MAX(zone) FROM table_15366849_1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15366849_1 (zone INTEGER) Question: What's the biggest zone? [/INST] SELECT MAX(zone) FROM table_15366849_1 </s> |
What is the mass of the element with a nuclide that is 169 tm? | CREATE TABLE table_15366768_1 (isotopic_mass___u__ VARCHAR, nuclide VARCHAR) | SELECT isotopic_mass___u__ FROM table_15366768_1 WHERE nuclide = "169 Tm" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15366768_1 (isotopic_mass___u__ VARCHAR, nuclide VARCHAR) Question: What is the mass of the element with a nuclide that is 169 tm? [/INST] SELECT isotopic_mass___u__ FROM table_15366768_1 WHERE nuclide = "169 Tm" </s> |
What is the total number of N for the element with nuclide of 141 pr? | CREATE TABLE table_15366768_1 (n___n__ VARCHAR, nuclide VARCHAR) | SELECT COUNT(n___n__) FROM table_15366768_1 WHERE nuclide = "141 Pr" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15366768_1 (n___n__ VARCHAR, nuclide VARCHAR) Question: What is the total number of N for the element with nuclide of 141 pr? [/INST] SELECT COUNT(n___n__) FROM table_15366768_1 WHERE nuclide = "141 Pr" </s> |
What is the name of the element with isotopic mass of 158.925 34(2)? | CREATE TABLE table_15366768_1 (element VARCHAR, isotopic_mass___u__ VARCHAR) | SELECT element FROM table_15366768_1 WHERE isotopic_mass___u__ = "158.925 34(2)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15366768_1 (element VARCHAR, isotopic_mass___u__ VARCHAR) Question: What is the name of the element with isotopic mass of 158.925 34(2)? [/INST] SELECT element FROM table_15366768_1 WHERE isotopic_mass___u__ = "158.925 34(2)" </s> |
The theme year they were born belongs to what artist? | CREATE TABLE table_15383430_1 (original_artist VARCHAR, theme VARCHAR) | SELECT original_artist FROM table_15383430_1 WHERE theme = "Year They Were Born" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15383430_1 (original_artist VARCHAR, theme VARCHAR) Question: The theme year they were born belongs to what artist? [/INST] SELECT original_artist FROM table_15383430_1 WHERE theme = "Year They Were Born" </s> |
How many songs were sung by queen? | CREATE TABLE table_15383430_1 (result VARCHAR, original_artist VARCHAR) | SELECT COUNT(result) FROM table_15383430_1 WHERE original_artist = "Queen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15383430_1 (result VARCHAR, original_artist VARCHAR) Question: How many songs were sung by queen? [/INST] SELECT COUNT(result) FROM table_15383430_1 WHERE original_artist = "Queen" </s> |
Name the glass bulb color for ordinary | CREATE TABLE table_1538516_1 (glass_bulb_color VARCHAR, temperature_classification VARCHAR) | SELECT glass_bulb_color FROM table_1538516_1 WHERE temperature_classification = "Ordinary" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1538516_1 (glass_bulb_color VARCHAR, temperature_classification VARCHAR) Question: Name the glass bulb color for ordinary [/INST] SELECT glass_bulb_color FROM table_1538516_1 WHERE temperature_classification = "Ordinary" </s> |
Name the most ceiling temperature for intermediate | CREATE TABLE table_1538516_1 (maximum_ceiling_temperature VARCHAR, temperature_classification VARCHAR) | SELECT maximum_ceiling_temperature FROM table_1538516_1 WHERE temperature_classification = "Intermediate" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1538516_1 (maximum_ceiling_temperature VARCHAR, temperature_classification VARCHAR) Question: Name the most ceiling temperature for intermediate [/INST] SELECT maximum_ceiling_temperature FROM table_1538516_1 WHERE temperature_classification = "Intermediate" </s> |
Name the most ceiling temperature for very extra high | CREATE TABLE table_1538516_1 (maximum_ceiling_temperature VARCHAR, temperature_classification VARCHAR) | SELECT maximum_ceiling_temperature FROM table_1538516_1 WHERE temperature_classification = "Very Extra High" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1538516_1 (maximum_ceiling_temperature VARCHAR, temperature_classification VARCHAR) Question: Name the most ceiling temperature for very extra high [/INST] SELECT maximum_ceiling_temperature FROM table_1538516_1 WHERE temperature_classification = "Very Extra High" </s> |
When did the playoffs reached Conference Finals? | CREATE TABLE table_15409403_1 (year VARCHAR, playoffs VARCHAR) | SELECT year FROM table_15409403_1 WHERE playoffs = "Conference Finals" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15409403_1 (year VARCHAR, playoffs VARCHAR) Question: When did the playoffs reached Conference Finals? [/INST] SELECT year FROM table_15409403_1 WHERE playoffs = "Conference Finals" </s> |
What was the regular season from year 2012? | CREATE TABLE table_15409403_1 (regular_season VARCHAR, year VARCHAR) | SELECT regular_season FROM table_15409403_1 WHERE year = 2012 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15409403_1 (regular_season VARCHAR, year VARCHAR) Question: What was the regular season from year 2012? [/INST] SELECT regular_season FROM table_15409403_1 WHERE year = 2012 </s> |
Which teams had a difference of 8 between goals scored and goals conceeded | CREATE TABLE table_15420044_1 (team VARCHAR, difference VARCHAR) | SELECT team FROM table_15420044_1 WHERE difference = "8" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15420044_1 (team VARCHAR, difference VARCHAR) Question: Which teams had a difference of 8 between goals scored and goals conceeded [/INST] SELECT team FROM table_15420044_1 WHERE difference = "8" </s> |
Which teams had 10 goals scored against them | CREATE TABLE table_15420044_1 (team VARCHAR, against VARCHAR) | SELECT team FROM table_15420044_1 WHERE against = 10 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15420044_1 (team VARCHAR, against VARCHAR) Question: Which teams had 10 goals scored against them [/INST] SELECT team FROM table_15420044_1 WHERE against = 10 </s> |
What is the original air date for episode 17 in the season? | CREATE TABLE table_15431251_1 (original_air_date VARCHAR, no_in_season VARCHAR) | SELECT original_air_date FROM table_15431251_1 WHERE no_in_season = 17 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15431251_1 (original_air_date VARCHAR, no_in_season VARCHAR) Question: What is the original air date for episode 17 in the season? [/INST] SELECT original_air_date FROM table_15431251_1 WHERE no_in_season = 17 </s> |
What is the original air date for the episode directed by Peter Woeste? | CREATE TABLE table_15431251_1 (original_air_date VARCHAR, directed_by VARCHAR) | SELECT original_air_date FROM table_15431251_1 WHERE directed_by = "Peter Woeste" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15431251_1 (original_air_date VARCHAR, directed_by VARCHAR) Question: What is the original air date for the episode directed by Peter Woeste? [/INST] SELECT original_air_date FROM table_15431251_1 WHERE directed_by = "Peter Woeste" </s> |
What is the title for episode number 7 in the season? | CREATE TABLE table_15431251_1 (title VARCHAR, no_in_season VARCHAR) | SELECT COUNT(title) FROM table_15431251_1 WHERE no_in_season = 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15431251_1 (title VARCHAR, no_in_season VARCHAR) Question: What is the title for episode number 7 in the season? [/INST] SELECT COUNT(title) FROM table_15431251_1 WHERE no_in_season = 7 </s> |
Name the total number of number disc for jimmy kaufman | CREATE TABLE table_15430606_1 (no_disc VARCHAR, directed_by VARCHAR) | SELECT COUNT(no_disc) FROM table_15430606_1 WHERE directed_by = "Jimmy Kaufman" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15430606_1 (no_disc VARCHAR, directed_by VARCHAR) Question: Name the total number of number disc for jimmy kaufman [/INST] SELECT COUNT(no_disc) FROM table_15430606_1 WHERE directed_by = "Jimmy Kaufman" </s> |
Name the minimum number disc for number in series for 14 | CREATE TABLE table_15430606_1 (no_disc INTEGER, no_in_series VARCHAR) | SELECT MIN(no_disc) FROM table_15430606_1 WHERE no_in_series = "14" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15430606_1 (no_disc INTEGER, no_in_series VARCHAR) Question: Name the minimum number disc for number in series for 14 [/INST] SELECT MIN(no_disc) FROM table_15430606_1 WHERE no_in_series = "14" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.