instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
How many drivers on the williams team had a margin of defeat of 2? | CREATE TABLE table_10753917_1 (driver VARCHAR, team VARCHAR, margin_of_defeat VARCHAR) | SELECT COUNT(driver) FROM table_10753917_1 WHERE team = "Williams" AND margin_of_defeat = "2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10753917_1 (driver VARCHAR, team VARCHAR, margin_of_defeat VARCHAR) Question: How many drivers on the williams team had a margin of defeat of 2? [/INST] SELECT COUNT(driver) FROM table_10753917_1 WHERE team = "Williams" AND margin_of_defeat = "2" </s> |
How many seasons was clay regazzoni the driver? | CREATE TABLE table_10753917_1 (season VARCHAR, driver VARCHAR) | SELECT COUNT(season) FROM table_10753917_1 WHERE driver = "Clay Regazzoni" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10753917_1 (season VARCHAR, driver VARCHAR) Question: How many seasons was clay regazzoni the driver? [/INST] SELECT COUNT(season) FROM table_10753917_1 WHERE driver = "Clay Regazzoni" </s> |
Which margin of defeats had points of 30? | CREATE TABLE table_10753917_1 (margin_of_defeat VARCHAR, points VARCHAR) | SELECT margin_of_defeat FROM table_10753917_1 WHERE points = "30" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10753917_1 (margin_of_defeat VARCHAR, points VARCHAR) Question: Which margin of defeats had points of 30? [/INST] SELECT margin_of_defeat FROM table_10753917_1 WHERE points = "30" </s> |
Which podiums did the alfa romeo team have? | CREATE TABLE table_10753917_1 (podiums VARCHAR, team VARCHAR) | SELECT podiums FROM table_10753917_1 WHERE team = "Alfa Romeo" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10753917_1 (podiums VARCHAR, team VARCHAR) Question: Which podiums did the alfa romeo team have? [/INST] SELECT podiums FROM table_10753917_1 WHERE team = "Alfa Romeo" </s> |
What was the percent of slovenes 1951 for bach? | CREATE TABLE table_10797636_1 (percent_of_slovenes_1951 VARCHAR, village__german_ VARCHAR) | SELECT percent_of_slovenes_1951 FROM table_10797636_1 WHERE village__german_ = "Bach" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10797636_1 (percent_of_slovenes_1951 VARCHAR, village__german_ VARCHAR) Question: What was the percent of slovenes 1951 for bach? [/INST] SELECT percent_of_slovenes_1951 FROM table_10797636_1 WHERE village__german_ = "Bach" </s> |
What college's team is the Saskatchewan Roughriders? | CREATE TABLE table_10812403_4 (college VARCHAR, cfl_team VARCHAR) | SELECT college FROM table_10812403_4 WHERE cfl_team = "Saskatchewan Roughriders" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10812403_4 (college VARCHAR, cfl_team VARCHAR) Question: What college's team is the Saskatchewan Roughriders? [/INST] SELECT college FROM table_10812403_4 WHERE cfl_team = "Saskatchewan Roughriders" </s> |
What position did Calvin Mccarty play? | CREATE TABLE table_10812403_4 (position VARCHAR, player VARCHAR) | SELECT position FROM table_10812403_4 WHERE player = "Calvin McCarty" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10812403_4 (position VARCHAR, player VARCHAR) Question: What position did Calvin Mccarty play? [/INST] SELECT position FROM table_10812403_4 WHERE player = "Calvin McCarty" </s> |
How many people were pick #30? | CREATE TABLE table_10812403_4 (position VARCHAR, pick__number VARCHAR) | SELECT COUNT(position) FROM table_10812403_4 WHERE pick__number = 30 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10812403_4 (position VARCHAR, pick__number VARCHAR) Question: How many people were pick #30? [/INST] SELECT COUNT(position) FROM table_10812403_4 WHERE pick__number = 30 </s> |
What college did Calvin McCarty play at? | CREATE TABLE table_10812403_4 (college VARCHAR, player VARCHAR) | SELECT college FROM table_10812403_4 WHERE player = "Calvin McCarty" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10812403_4 (college VARCHAR, player VARCHAR) Question: What college did Calvin McCarty play at? [/INST] SELECT college FROM table_10812403_4 WHERE player = "Calvin McCarty" </s> |
What college had a LB in the draft? | CREATE TABLE table_10812403_4 (college VARCHAR, position VARCHAR) | SELECT college FROM table_10812403_4 WHERE position = "LB" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10812403_4 (college VARCHAR, position VARCHAR) Question: What college had a LB in the draft? [/INST] SELECT college FROM table_10812403_4 WHERE position = "LB" </s> |
Who got high assists for the game played on February 9? | CREATE TABLE table_10812293_6 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_10812293_6 WHERE date = "February 9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10812293_6 (high_assists VARCHAR, date VARCHAR) Question: Who got high assists for the game played on February 9? [/INST] SELECT high_assists FROM table_10812293_6 WHERE date = "February 9" </s> |
Which lava domes erupted or had a growth episode during the Holocene period? | CREATE TABLE table_1081235_1 (name_of_lava_dome VARCHAR, last_eruption_or_growth_episode VARCHAR) | SELECT name_of_lava_dome FROM table_1081235_1 WHERE last_eruption_or_growth_episode = "Holocene" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1081235_1 (name_of_lava_dome VARCHAR, last_eruption_or_growth_episode VARCHAR) Question: Which lava domes erupted or had a growth episode during the Holocene period? [/INST] SELECT name_of_lava_dome FROM table_1081235_1 WHERE last_eruption_or_growth_episode = "Holocene" </s> |
What is the composition at Valles lava dome? | CREATE TABLE table_1081235_1 (composition VARCHAR, name_of_lava_dome VARCHAR) | SELECT composition FROM table_1081235_1 WHERE name_of_lava_dome = "Valles lava dome" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1081235_1 (composition VARCHAR, name_of_lava_dome VARCHAR) Question: What is the composition at Valles lava dome? [/INST] SELECT composition FROM table_1081235_1 WHERE name_of_lava_dome = "Valles lava dome" </s> |
How many countries are the Tata Sabaya Lava domes located in? | CREATE TABLE table_1081235_1 (country VARCHAR, name_of_lava_dome VARCHAR) | SELECT COUNT(country) FROM table_1081235_1 WHERE name_of_lava_dome = "Tata Sabaya lava domes" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1081235_1 (country VARCHAR, name_of_lava_dome VARCHAR) Question: How many countries are the Tata Sabaya Lava domes located in? [/INST] SELECT COUNT(country) FROM table_1081235_1 WHERE name_of_lava_dome = "Tata Sabaya lava domes" </s> |
What countries have had eruptions of growth episodes in 1986? | CREATE TABLE table_1081235_1 (country VARCHAR, last_eruption_or_growth_episode VARCHAR) | SELECT country FROM table_1081235_1 WHERE last_eruption_or_growth_episode = "1986" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1081235_1 (country VARCHAR, last_eruption_or_growth_episode VARCHAR) Question: What countries have had eruptions of growth episodes in 1986? [/INST] SELECT country FROM table_1081235_1 WHERE last_eruption_or_growth_episode = "1986" </s> |
Who is the lyricist for the song with a length of 3:05? | CREATE TABLE table_10848177_1 (lyricist VARCHAR, length VARCHAR) | SELECT lyricist FROM table_10848177_1 WHERE length = "3:05" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10848177_1 (lyricist VARCHAR, length VARCHAR) Question: Who is the lyricist for the song with a length of 3:05? [/INST] SELECT lyricist FROM table_10848177_1 WHERE length = "3:05" </s> |
What song has a length of 3:05? | CREATE TABLE table_10848177_1 (song VARCHAR, length VARCHAR) | SELECT song FROM table_10848177_1 WHERE length = "3:05" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10848177_1 (song VARCHAR, length VARCHAR) Question: What song has a length of 3:05? [/INST] SELECT song FROM table_10848177_1 WHERE length = "3:05" </s> |
Which lyricist has a song with a length of 6:14? | CREATE TABLE table_10848177_1 (lyricist VARCHAR, length VARCHAR) | SELECT lyricist FROM table_10848177_1 WHERE length = "6:14" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10848177_1 (lyricist VARCHAR, length VARCHAR) Question: Which lyricist has a song with a length of 6:14? [/INST] SELECT lyricist FROM table_10848177_1 WHERE length = "6:14" </s> |
What is the highest track number? | CREATE TABLE table_10848177_1 (track__number INTEGER) | SELECT MAX(track__number) FROM table_10848177_1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10848177_1 (track__number INTEGER) Question: What is the highest track number? [/INST] SELECT MAX(track__number) FROM table_10848177_1 </s> |
Which song has picturization by only vijay? | CREATE TABLE table_10848177_1 (song VARCHAR, picturization VARCHAR) | SELECT song FROM table_10848177_1 WHERE picturization = "Vijay" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10848177_1 (song VARCHAR, picturization VARCHAR) Question: Which song has picturization by only vijay? [/INST] SELECT song FROM table_10848177_1 WHERE picturization = "Vijay" </s> |
For which singers was Alangudi Somu the lyricist? | CREATE TABLE table_10848177_1 (singers VARCHAR, lyricist VARCHAR) | SELECT singers FROM table_10848177_1 WHERE lyricist = "Alangudi Somu" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10848177_1 (singers VARCHAR, lyricist VARCHAR) Question: For which singers was Alangudi Somu the lyricist? [/INST] SELECT singers FROM table_10848177_1 WHERE lyricist = "Alangudi Somu" </s> |
What publishers were involved with product number SCUS-97265? | CREATE TABLE table_10875694_11 (publisher VARCHAR, product_no VARCHAR) | SELECT publisher FROM table_10875694_11 WHERE product_no = "SCUS-97265" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10875694_11 (publisher VARCHAR, product_no VARCHAR) Question: What publishers were involved with product number SCUS-97265? [/INST] SELECT publisher FROM table_10875694_11 WHERE product_no = "SCUS-97265" </s> |
What is the total number of James Bond 007: Everything or Nothing for each system? | CREATE TABLE table_10875694_11 (system VARCHAR, title VARCHAR) | SELECT COUNT(system) FROM table_10875694_11 WHERE title = "James Bond 007: Everything or Nothing" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10875694_11 (system VARCHAR, title VARCHAR) Question: What is the total number of James Bond 007: Everything or Nothing for each system? [/INST] SELECT COUNT(system) FROM table_10875694_11 WHERE title = "James Bond 007: Everything or Nothing" </s> |
How many products have the title "Jak 3"? | CREATE TABLE table_10875694_11 (product_no VARCHAR, title VARCHAR) | SELECT COUNT(product_no) FROM table_10875694_11 WHERE title = "Jak 3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10875694_11 (product_no VARCHAR, title VARCHAR) Question: How many products have the title "Jak 3"? [/INST] SELECT COUNT(product_no) FROM table_10875694_11 WHERE title = "Jak 3" </s> |
Which James Bond 007: Agent Under Fire from Electronic Arts is compatible with 60 gb pal/80 gb NTSC PS3 (CECHC/CECHE)? | CREATE TABLE table_10875694_11 (compatible_with_60gb_pal_80gb_ntsc_ps3__cechc_ceche_ VARCHAR, publisher VARCHAR, title VARCHAR) | SELECT compatible_with_60gb_pal_80gb_ntsc_ps3__cechc_ceche_ FROM table_10875694_11 WHERE publisher = "Electronic Arts" AND title = "James Bond 007: Agent Under Fire" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10875694_11 (compatible_with_60gb_pal_80gb_ntsc_ps3__cechc_ceche_ VARCHAR, publisher VARCHAR, title VARCHAR) Question: Which James Bond 007: Agent Under Fire from Electronic Arts is compatible with 60 gb pal/80 gb NTSC PS3 (CECHC/CECHE)? [/INST] SELECT compatible_with_60gb_pal_80gb_ntsc_ps3__cechc_ceche_ FROM table_10875694_11 WHERE publisher = "Electronic Arts" AND title = "James Bond 007: Agent Under Fire" </s> |
What publishers produce product number SLUS-20265? | CREATE TABLE table_10875694_11 (publisher VARCHAR, product_no VARCHAR) | SELECT publisher FROM table_10875694_11 WHERE product_no = "SLUS-20265" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10875694_11 (publisher VARCHAR, product_no VARCHAR) Question: What publishers produce product number SLUS-20265? [/INST] SELECT publisher FROM table_10875694_11 WHERE product_no = "SLUS-20265" </s> |
How many titles have the product number SCUS-97330? | CREATE TABLE table_10875694_11 (title VARCHAR, product_no VARCHAR) | SELECT COUNT(title) FROM table_10875694_11 WHERE product_no = "SCUS-97330" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10875694_11 (title VARCHAR, product_no VARCHAR) Question: How many titles have the product number SCUS-97330? [/INST] SELECT COUNT(title) FROM table_10875694_11 WHERE product_no = "SCUS-97330" </s> |
What is the status when livery is blue? | CREATE TABLE table_1090916_2 (status VARCHAR, livery VARCHAR) | SELECT status FROM table_1090916_2 WHERE livery = "Blue" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1090916_2 (status VARCHAR, livery VARCHAR) Question: What is the status when livery is blue? [/INST] SELECT status FROM table_1090916_2 WHERE livery = "Blue" </s> |
What is the location when the status is in service as coaching stock? | CREATE TABLE table_1090916_2 (location VARCHAR, status VARCHAR) | SELECT location FROM table_1090916_2 WHERE status = "In service as coaching stock" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1090916_2 (location VARCHAR, status VARCHAR) Question: What is the location when the status is in service as coaching stock? [/INST] SELECT location FROM table_1090916_2 WHERE status = "In service as coaching stock" </s> |
What was the first season of the club who last won a title in 2012? | CREATE TABLE table_1096793_1 (first_season VARCHAR, last_title VARCHAR) | SELECT first_season FROM table_1096793_1 WHERE last_title = "2012" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1096793_1 (first_season VARCHAR, last_title VARCHAR) Question: What was the first season of the club who last won a title in 2012? [/INST] SELECT first_season FROM table_1096793_1 WHERE last_title = "2012" </s> |
What was the first season of the club that in 2012 was 2nd in Superettan? | CREATE TABLE table_1096793_1 (first_season VARCHAR, position_in_2012 VARCHAR) | SELECT first_season FROM table_1096793_1 WHERE position_in_2012 = "2nd in Superettan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1096793_1 (first_season VARCHAR, position_in_2012 VARCHAR) Question: What was the first season of the club that in 2012 was 2nd in Superettan? [/INST] SELECT first_season FROM table_1096793_1 WHERE position_in_2012 = "2nd in Superettan" </s> |
Who directed the second episode of "The Homecoming" which was written by Tommy Thompson? | CREATE TABLE table_11075747_3 (directed_by VARCHAR, written_by VARCHAR) | SELECT directed_by FROM table_11075747_3 WHERE written_by = "Tommy Thompson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11075747_3 (directed_by VARCHAR, written_by VARCHAR) Question: Who directed the second episode of "The Homecoming" which was written by Tommy Thompson? [/INST] SELECT directed_by FROM table_11075747_3 WHERE written_by = "Tommy Thompson" </s> |
What percentage of The Bronx voters occured when Manhattan had 29.9% of voters? | CREATE TABLE table_1108394_34 (the_bronx VARCHAR, manhattan VARCHAR) | SELECT the_bronx FROM table_1108394_34 WHERE manhattan = "29.9_percentage" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1108394_34 (the_bronx VARCHAR, manhattan VARCHAR) Question: What percentage of The Bronx voters occured when Manhattan had 29.9% of voters? [/INST] SELECT the_bronx FROM table_1108394_34 WHERE manhattan = "29.9_percentage" </s> |
What number of voters did the Bronx have when the total number was 2054? | CREATE TABLE table_1108394_34 (the_bronx VARCHAR, total VARCHAR) | SELECT the_bronx FROM table_1108394_34 WHERE total = 2054 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1108394_34 (the_bronx VARCHAR, total VARCHAR) Question: What number of voters did the Bronx have when the total number was 2054? [/INST] SELECT the_bronx FROM table_1108394_34 WHERE total = 2054 </s> |
What was Staten Island when Brooklyn was 940? | CREATE TABLE table_1108394_6 (staten_island VARCHAR, brooklyn VARCHAR) | SELECT staten_island FROM table_1108394_6 WHERE brooklyn = "940" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1108394_6 (staten_island VARCHAR, brooklyn VARCHAR) Question: What was Staten Island when Brooklyn was 940? [/INST] SELECT staten_island FROM table_1108394_6 WHERE brooklyn = "940" </s> |
What was the total number in Manhattan when Staten Island was 12,658? | CREATE TABLE table_1108394_6 (manhattan VARCHAR, staten_island VARCHAR) | SELECT COUNT(manhattan) FROM table_1108394_6 WHERE staten_island = "12,658" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1108394_6 (manhattan VARCHAR, staten_island VARCHAR) Question: What was the total number in Manhattan when Staten Island was 12,658? [/INST] SELECT COUNT(manhattan) FROM table_1108394_6 WHERE staten_island = "12,658" </s> |
What was the total in Brooklyn when Manhattan was 3,139? | CREATE TABLE table_1108394_6 (brooklyn VARCHAR, manhattan VARCHAR) | SELECT brooklyn FROM table_1108394_6 WHERE manhattan = "3,139" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1108394_6 (brooklyn VARCHAR, manhattan VARCHAR) Question: What was the total in Brooklyn when Manhattan was 3,139? [/INST] SELECT brooklyn FROM table_1108394_6 WHERE manhattan = "3,139" </s> |
Who was the republican candidate in 2013 when Staten Island was 451? | CREATE TABLE table_1108394_6 (staten_island VARCHAR) | SELECT 2013 AS _republican_primary FROM table_1108394_6 WHERE staten_island = "451" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1108394_6 (staten_island VARCHAR) Question: Who was the republican candidate in 2013 when Staten Island was 451? [/INST] SELECT 2013 AS _republican_primary FROM table_1108394_6 WHERE staten_island = "451" </s> |
What was the amount in Staten Island when The Bronx was 1,281? | CREATE TABLE table_1108394_6 (staten_island VARCHAR, the_bronx VARCHAR) | SELECT staten_island FROM table_1108394_6 WHERE the_bronx = "1,281" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1108394_6 (staten_island VARCHAR, the_bronx VARCHAR) Question: What was the amount in Staten Island when The Bronx was 1,281? [/INST] SELECT staten_island FROM table_1108394_6 WHERE the_bronx = "1,281" </s> |
The candidate who received 133 votes in the Bronx won what percentage overall? | CREATE TABLE table_1108394_47 (_percentage VARCHAR, the_bronx VARCHAR) | SELECT _percentage FROM table_1108394_47 WHERE the_bronx = "133" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1108394_47 (_percentage VARCHAR, the_bronx VARCHAR) Question: The candidate who received 133 votes in the Bronx won what percentage overall? [/INST] SELECT _percentage FROM table_1108394_47 WHERE the_bronx = "133" </s> |
Which candidate won 88 votes in Queens in 1921? | CREATE TABLE table_1108394_47 (queens VARCHAR) | SELECT 1921 FROM table_1108394_47 WHERE queens = "88" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1108394_47 (queens VARCHAR) Question: Which candidate won 88 votes in Queens in 1921? [/INST] SELECT 1921 FROM table_1108394_47 WHERE queens = "88" </s> |
How many votes in Brooklyn were won by the candidate who won 321 votes in Manhattan? | CREATE TABLE table_1108394_47 (brooklyn VARCHAR, manhattan VARCHAR) | SELECT brooklyn FROM table_1108394_47 WHERE manhattan = "321" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1108394_47 (brooklyn VARCHAR, manhattan VARCHAR) Question: How many votes in Brooklyn were won by the candidate who won 321 votes in Manhattan? [/INST] SELECT brooklyn FROM table_1108394_47 WHERE manhattan = "321" </s> |
The man who received 87,676 votes in Queens won what percentage of the total for the election? | CREATE TABLE table_1108394_47 (_percentage VARCHAR, queens VARCHAR) | SELECT _percentage FROM table_1108394_47 WHERE queens = "87,676" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1108394_47 (_percentage VARCHAR, queens VARCHAR) Question: The man who received 87,676 votes in Queens won what percentage of the total for the election? [/INST] SELECT _percentage FROM table_1108394_47 WHERE queens = "87,676" </s> |
How many parties received 29.9% of the vote in Manhattan? | CREATE TABLE table_1108394_47 (party VARCHAR, manhattan VARCHAR) | SELECT COUNT(party) FROM table_1108394_47 WHERE manhattan = "29.9_percentage" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1108394_47 (party VARCHAR, manhattan VARCHAR) Question: How many parties received 29.9% of the vote in Manhattan? [/INST] SELECT COUNT(party) FROM table_1108394_47 WHERE manhattan = "29.9_percentage" </s> |
Name the most late 1943 with late 194 in slovenia | CREATE TABLE table_1115992_1 (late_1943 INTEGER, _late_1941 VARCHAR) | SELECT MAX(late_1943) FROM table_1115992_1 WHERE NOT _late_1941 = "Slovenia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1115992_1 (late_1943 INTEGER, _late_1941 VARCHAR) Question: Name the most late 1943 with late 194 in slovenia [/INST] SELECT MAX(late_1943) FROM table_1115992_1 WHERE NOT _late_1941 = "Slovenia" </s> |
What is the least september 1943 when late 1943 is 78000 | CREATE TABLE table_1115992_1 (sept_1943 INTEGER, late_1943 VARCHAR) | SELECT MIN(sept_1943) FROM table_1115992_1 WHERE late_1943 = 78000 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1115992_1 (sept_1943 INTEGER, late_1943 VARCHAR) Question: What is the least september 1943 when late 1943 is 78000 [/INST] SELECT MIN(sept_1943) FROM table_1115992_1 WHERE late_1943 = 78000 </s> |
What was Eric Dickerson's longest run? | CREATE TABLE table_11157122_5 (longest_run VARCHAR, player VARCHAR) | SELECT COUNT(longest_run) FROM table_11157122_5 WHERE player = "Eric Dickerson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11157122_5 (longest_run VARCHAR, player VARCHAR) Question: What was Eric Dickerson's longest run? [/INST] SELECT COUNT(longest_run) FROM table_11157122_5 WHERE player = "Eric Dickerson" </s> |
How many attempts did Charles White make? | CREATE TABLE table_11157122_5 (attempts INTEGER, player VARCHAR) | SELECT MIN(attempts) FROM table_11157122_5 WHERE player = "Charles White" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11157122_5 (attempts INTEGER, player VARCHAR) Question: How many attempts did Charles White make? [/INST] SELECT MIN(attempts) FROM table_11157122_5 WHERE player = "Charles White" </s> |
How many yards did the player with 87 attempts rush? | CREATE TABLE table_11157122_5 (yards VARCHAR, attempts VARCHAR) | SELECT yards FROM table_11157122_5 WHERE attempts = 87 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11157122_5 (yards VARCHAR, attempts VARCHAR) Question: How many yards did the player with 87 attempts rush? [/INST] SELECT yards FROM table_11157122_5 WHERE attempts = 87 </s> |
What was the highest amount of people that attended the elgin city team? | CREATE TABLE table_11206916_1 (highest VARCHAR, team VARCHAR) | SELECT COUNT(highest) FROM table_11206916_1 WHERE team = "Elgin City" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11206916_1 (highest VARCHAR, team VARCHAR) Question: What was the highest amount of people that attended the elgin city team? [/INST] SELECT COUNT(highest) FROM table_11206916_1 WHERE team = "Elgin City" </s> |
The firs park stadium had the lowest average attendence of what? | CREATE TABLE table_11206916_1 (average INTEGER, stadium VARCHAR) | SELECT MIN(average) FROM table_11206916_1 WHERE stadium = "Firs Park" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11206916_1 (average INTEGER, stadium VARCHAR) Question: The firs park stadium had the lowest average attendence of what? [/INST] SELECT MIN(average) FROM table_11206916_1 WHERE stadium = "Firs Park" </s> |
What was the lowest highest attendance for the dumbarton team? | CREATE TABLE table_11206916_1 (highest INTEGER, team VARCHAR) | SELECT MIN(highest) FROM table_11206916_1 WHERE team = "Dumbarton" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11206916_1 (highest INTEGER, team VARCHAR) Question: What was the lowest highest attendance for the dumbarton team? [/INST] SELECT MIN(highest) FROM table_11206916_1 WHERE team = "Dumbarton" </s> |
The gayfield park stadium had a highest attendance of what? | CREATE TABLE table_11206916_1 (highest INTEGER, stadium VARCHAR) | SELECT MAX(highest) FROM table_11206916_1 WHERE stadium = "Gayfield Park" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11206916_1 (highest INTEGER, stadium VARCHAR) Question: The gayfield park stadium had a highest attendance of what? [/INST] SELECT MAX(highest) FROM table_11206916_1 WHERE stadium = "Gayfield Park" </s> |
The stenhousemuir team had how many highest attendances? | CREATE TABLE table_11206916_1 (highest VARCHAR, team VARCHAR) | SELECT COUNT(highest) FROM table_11206916_1 WHERE team = "Stenhousemuir" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11206916_1 (highest VARCHAR, team VARCHAR) Question: The stenhousemuir team had how many highest attendances? [/INST] SELECT COUNT(highest) FROM table_11206916_1 WHERE team = "Stenhousemuir" </s> |
what's the premiere with hk viewers of 2.09 million | CREATE TABLE table_11174272_1 (premiere VARCHAR, hk_viewers VARCHAR) | SELECT premiere FROM table_11174272_1 WHERE hk_viewers = "2.09 million" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11174272_1 (premiere VARCHAR, hk_viewers VARCHAR) Question: what's the premiere with hk viewers of 2.09 million [/INST] SELECT premiere FROM table_11174272_1 WHERE hk_viewers = "2.09 million" </s> |
what is the minimum rank | CREATE TABLE table_11174272_1 (rank INTEGER) | SELECT MIN(rank) FROM table_11174272_1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11174272_1 (rank INTEGER) Question: what is the minimum rank [/INST] SELECT MIN(rank) FROM table_11174272_1 </s> |
What is the minimum capacity of Dundee United's stadium? | CREATE TABLE table_11208143_9 (capacity INTEGER, team VARCHAR) | SELECT MIN(capacity) FROM table_11208143_9 WHERE team = "Dundee United" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11208143_9 (capacity INTEGER, team VARCHAR) Question: What is the minimum capacity of Dundee United's stadium? [/INST] SELECT MIN(capacity) FROM table_11208143_9 WHERE team = "Dundee United" </s> |
Which stadiums have a capacity of 51082? | CREATE TABLE table_11208143_9 (stadium VARCHAR, capacity VARCHAR) | SELECT stadium FROM table_11208143_9 WHERE capacity = 51082 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11208143_9 (stadium VARCHAR, capacity VARCHAR) Question: Which stadiums have a capacity of 51082? [/INST] SELECT stadium FROM table_11208143_9 WHERE capacity = 51082 </s> |
How many stadiums are there with a capacity of 7500? | CREATE TABLE table_11208143_9 (stadium VARCHAR, capacity VARCHAR) | SELECT COUNT(stadium) FROM table_11208143_9 WHERE capacity = 7500 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11208143_9 (stadium VARCHAR, capacity VARCHAR) Question: How many stadiums are there with a capacity of 7500? [/INST] SELECT COUNT(stadium) FROM table_11208143_9 WHERE capacity = 7500 </s> |
What is Pittodrie Stadium's maximum capacity? | CREATE TABLE table_11208143_9 (capacity INTEGER, stadium VARCHAR) | SELECT MAX(capacity) FROM table_11208143_9 WHERE stadium = "Pittodrie" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11208143_9 (capacity INTEGER, stadium VARCHAR) Question: What is Pittodrie Stadium's maximum capacity? [/INST] SELECT MAX(capacity) FROM table_11208143_9 WHERE stadium = "Pittodrie" </s> |
Which stadiums have an average attendance of 13840? | CREATE TABLE table_11208143_9 (stadium VARCHAR, average VARCHAR) | SELECT stadium FROM table_11208143_9 WHERE average = 13840 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11208143_9 (stadium VARCHAR, average VARCHAR) Question: Which stadiums have an average attendance of 13840? [/INST] SELECT stadium FROM table_11208143_9 WHERE average = 13840 </s> |
What are the highest recorded attendance rates of the stadiums with an average attendance of 4752? | CREATE TABLE table_11208143_9 (highest VARCHAR, average VARCHAR) | SELECT highest FROM table_11208143_9 WHERE average = 4752 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11208143_9 (highest VARCHAR, average VARCHAR) Question: What are the highest recorded attendance rates of the stadiums with an average attendance of 4752? [/INST] SELECT highest FROM table_11208143_9 WHERE average = 4752 </s> |
What is the highest number of ties? | CREATE TABLE table_11233358_2 (ties INTEGER) | SELECT MAX(ties) FROM table_11233358_2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11233358_2 (ties INTEGER) Question: What is the highest number of ties? [/INST] SELECT MAX(ties) FROM table_11233358_2 </s> |
During the 2013 debut, what is the w-I(total) number? | CREATE TABLE table_11233358_2 (w_l__total_ VARCHAR, debut VARCHAR) | SELECT COUNT(w_l__total_) FROM table_11233358_2 WHERE debut = 2013 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11233358_2 (w_l__total_ VARCHAR, debut VARCHAR) Question: During the 2013 debut, what is the w-I(total) number? [/INST] SELECT COUNT(w_l__total_) FROM table_11233358_2 WHERE debut = 2013 </s> |
What is the catalog number named callanetics: 10 years younger in 10 hours | CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR) | SELECT catalog_number FROM table_11222744_3 WHERE title = "Callanetics: 10 years Younger In 10 Hours" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR) Question: What is the catalog number named callanetics: 10 years younger in 10 hours [/INST] SELECT catalog_number FROM table_11222744_3 WHERE title = "Callanetics: 10 years Younger In 10 Hours" </s> |
how many studios have the catalog number "cal03 / 0091037137333"? | CREATE TABLE table_11222744_3 (studio VARCHAR, catalog_number VARCHAR) | SELECT COUNT(studio) FROM table_11222744_3 WHERE catalog_number = "CAL03 / 0091037137333" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11222744_3 (studio VARCHAR, catalog_number VARCHAR) Question: how many studios have the catalog number "cal03 / 0091037137333"? [/INST] SELECT COUNT(studio) FROM table_11222744_3 WHERE catalog_number = "CAL03 / 0091037137333" </s> |
what is the format of "callanetics: 10 years younger in 10 hours"? | CREATE TABLE table_11222744_3 (format VARCHAR, title VARCHAR) | SELECT format FROM table_11222744_3 WHERE title = "Callanetics: 10 years Younger In 10 Hours" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11222744_3 (format VARCHAR, title VARCHAR) Question: what is the format of "callanetics: 10 years younger in 10 hours"? [/INST] SELECT format FROM table_11222744_3 WHERE title = "Callanetics: 10 years Younger In 10 Hours" </s> |
What is the catalog number of the title called "super callanetics"? | CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR) | SELECT catalog_number FROM table_11222744_3 WHERE title = "Super Callanetics" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR) Question: What is the catalog number of the title called "super callanetics"? [/INST] SELECT catalog_number FROM table_11222744_3 WHERE title = "Super Callanetics" </s> |
how many titles have the name "quick callanetics"? | CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR) | SELECT COUNT(catalog_number) FROM table_11222744_3 WHERE title = "Quick Callanetics" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR) Question: how many titles have the name "quick callanetics"? [/INST] SELECT COUNT(catalog_number) FROM table_11222744_3 WHERE title = "Quick Callanetics" </s> |
Who creates the catalog with the number "cal03 / 0091037137333"? | CREATE TABLE table_11222744_3 (studio VARCHAR, catalog_number VARCHAR) | SELECT studio FROM table_11222744_3 WHERE catalog_number = "CAL03 / 0091037137333" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11222744_3 (studio VARCHAR, catalog_number VARCHAR) Question: Who creates the catalog with the number "cal03 / 0091037137333"? [/INST] SELECT studio FROM table_11222744_3 WHERE catalog_number = "CAL03 / 0091037137333" </s> |
What was the rating for the episode with 1.83 viewers (millions)? | CREATE TABLE table_11238597_4 (rating VARCHAR, viewers__millions_ VARCHAR) | SELECT rating FROM table_11238597_4 WHERE viewers__millions_ = "1.83" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11238597_4 (rating VARCHAR, viewers__millions_ VARCHAR) Question: What was the rating for the episode with 1.83 viewers (millions)? [/INST] SELECT rating FROM table_11238597_4 WHERE viewers__millions_ = "1.83" </s> |
What was the share for the episode with the air date december 10, 2008? | CREATE TABLE table_11238597_4 (share VARCHAR, air_date VARCHAR) | SELECT share FROM table_11238597_4 WHERE air_date = "December 10, 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11238597_4 (share VARCHAR, air_date VARCHAR) Question: What was the share for the episode with the air date december 10, 2008? [/INST] SELECT share FROM table_11238597_4 WHERE air_date = "December 10, 2008" </s> |
Which premiere had languages in danish? | CREATE TABLE table_11323532_2 (premiere VARCHAR, languages VARCHAR) | SELECT premiere FROM table_11323532_2 WHERE languages = "Danish" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11323532_2 (premiere VARCHAR, languages VARCHAR) Question: Which premiere had languages in danish? [/INST] SELECT premiere FROM table_11323532_2 WHERE languages = "Danish" </s> |
What was the number of channels in New Zealand? | CREATE TABLE table_11323532_2 (channel VARCHAR, country_region VARCHAR) | SELECT COUNT(channel) FROM table_11323532_2 WHERE country_region = "New Zealand" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11323532_2 (channel VARCHAR, country_region VARCHAR) Question: What was the number of channels in New Zealand? [/INST] SELECT COUNT(channel) FROM table_11323532_2 WHERE country_region = "New Zealand" </s> |
What is the premiere where the host is lieke van lexmond dennis weening? | CREATE TABLE table_11323532_2 (premiere VARCHAR, host VARCHAR) | SELECT premiere FROM table_11323532_2 WHERE host = "Lieke van Lexmond Dennis Weening" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11323532_2 (premiere VARCHAR, host VARCHAR) Question: What is the premiere where the host is lieke van lexmond dennis weening? [/INST] SELECT premiere FROM table_11323532_2 WHERE host = "Lieke van Lexmond Dennis Weening" </s> |
What is the premiere on the mega channel? | CREATE TABLE table_11323532_2 (premiere VARCHAR, channel VARCHAR) | SELECT premiere FROM table_11323532_2 WHERE channel = "Mega channel" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11323532_2 (premiere VARCHAR, channel VARCHAR) Question: What is the premiere on the mega channel? [/INST] SELECT premiere FROM table_11323532_2 WHERE channel = "Mega channel" </s> |
What is the symbol for Windpower in China? | CREATE TABLE table_11347578_1 (wind_power__wp_ VARCHAR, country VARCHAR) | SELECT wind_power__wp_ FROM table_11347578_1 WHERE country = "China" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11347578_1 (wind_power__wp_ VARCHAR, country VARCHAR) Question: What is the symbol for Windpower in China? [/INST] SELECT wind_power__wp_ FROM table_11347578_1 WHERE country = "China" </s> |
who were the winners in west virginia | CREATE TABLE table_1133844_4 (candidates_winning_candidate_in_bold VARCHAR, state__linked_to_summaries_below_ VARCHAR) | SELECT candidates_winning_candidate_in_bold FROM table_1133844_4 WHERE state__linked_to_summaries_below_ = "West Virginia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1133844_4 (candidates_winning_candidate_in_bold VARCHAR, state__linked_to_summaries_below_ VARCHAR) Question: who were the winners in west virginia [/INST] SELECT candidates_winning_candidate_in_bold FROM table_1133844_4 WHERE state__linked_to_summaries_below_ = "West Virginia" </s> |
tell the final for lindsey graham | CREATE TABLE table_1133844_4 (result VARCHAR, senator VARCHAR) | SELECT result FROM table_1133844_4 WHERE senator = "Lindsey Graham" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1133844_4 (result VARCHAR, senator VARCHAR) Question: tell the final for lindsey graham [/INST] SELECT result FROM table_1133844_4 WHERE senator = "Lindsey Graham" </s> |
who won the senate seat in arkansas | CREATE TABLE table_1133844_4 (senator VARCHAR, state__linked_to_summaries_below_ VARCHAR) | SELECT senator FROM table_1133844_4 WHERE state__linked_to_summaries_below_ = "Arkansas" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1133844_4 (senator VARCHAR, state__linked_to_summaries_below_ VARCHAR) Question: who won the senate seat in arkansas [/INST] SELECT senator FROM table_1133844_4 WHERE state__linked_to_summaries_below_ = "Arkansas" </s> |
What is the dysart of the principal? | CREATE TABLE table_11340432_1 (dysart VARCHAR, information VARCHAR) | SELECT dysart FROM table_11340432_1 WHERE information = "Principal" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11340432_1 (dysart VARCHAR, information VARCHAR) Question: What is the dysart of the principal? [/INST] SELECT dysart FROM table_11340432_1 WHERE information = "Principal" </s> |
What is williow canyon of Roberta Lockhart? | CREATE TABLE table_11340432_1 (willow_canyon VARCHAR, dysart VARCHAR) | SELECT willow_canyon FROM table_11340432_1 WHERE dysart = "Roberta Lockhart" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11340432_1 (willow_canyon VARCHAR, dysart VARCHAR) Question: What is williow canyon of Roberta Lockhart? [/INST] SELECT willow_canyon FROM table_11340432_1 WHERE dysart = "Roberta Lockhart" </s> |
What is the willow canyon of Stallion? | CREATE TABLE table_11340432_1 (willow_canyon VARCHAR, shadow_ridge VARCHAR) | SELECT willow_canyon FROM table_11340432_1 WHERE shadow_ridge = "Stallion" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11340432_1 (willow_canyon VARCHAR, shadow_ridge VARCHAR) Question: What is the willow canyon of Stallion? [/INST] SELECT willow_canyon FROM table_11340432_1 WHERE shadow_ridge = "Stallion" </s> |
Name the Valley Vista of Anthony Capuano | CREATE TABLE table_11340432_1 (valley_vista VARCHAR, willow_canyon VARCHAR) | SELECT valley_vista FROM table_11340432_1 WHERE willow_canyon = "Anthony Capuano" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11340432_1 (valley_vista VARCHAR, willow_canyon VARCHAR) Question: Name the Valley Vista of Anthony Capuano [/INST] SELECT valley_vista FROM table_11340432_1 WHERE willow_canyon = "Anthony Capuano" </s> |
How many informations does Michael Hawkins have? | CREATE TABLE table_11340432_1 (information VARCHAR, shadow_ridge VARCHAR) | SELECT COUNT(information) FROM table_11340432_1 WHERE shadow_ridge = "Michael Hawkins" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11340432_1 (information VARCHAR, shadow_ridge VARCHAR) Question: How many informations does Michael Hawkins have? [/INST] SELECT COUNT(information) FROM table_11340432_1 WHERE shadow_ridge = "Michael Hawkins" </s> |
How many total rounds did Damon Hill come in First Place? | CREATE TABLE table_1137694_3 (round VARCHAR, winning_driver VARCHAR) | SELECT COUNT(round) FROM table_1137694_3 WHERE winning_driver = "Damon Hill" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1137694_3 (round VARCHAR, winning_driver VARCHAR) Question: How many total rounds did Damon Hill come in First Place? [/INST] SELECT COUNT(round) FROM table_1137694_3 WHERE winning_driver = "Damon Hill" </s> |
Who drove the winning car constructed by Jordan - Mugen-Honda? | CREATE TABLE table_1137694_3 (winning_driver VARCHAR, winning_constructor VARCHAR) | SELECT winning_driver FROM table_1137694_3 WHERE winning_constructor = "Jordan - Mugen-Honda" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1137694_3 (winning_driver VARCHAR, winning_constructor VARCHAR) Question: Who drove the winning car constructed by Jordan - Mugen-Honda? [/INST] SELECT winning_driver FROM table_1137694_3 WHERE winning_constructor = "Jordan - Mugen-Honda" </s> |
Which Grand Prix was won by a car constructed by Jordan - Mugen-Honda? | CREATE TABLE table_1137694_3 (grand_prix VARCHAR, winning_constructor VARCHAR) | SELECT grand_prix FROM table_1137694_3 WHERE winning_constructor = "Jordan - Mugen-Honda" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1137694_3 (grand_prix VARCHAR, winning_constructor VARCHAR) Question: Which Grand Prix was won by a car constructed by Jordan - Mugen-Honda? [/INST] SELECT grand_prix FROM table_1137694_3 WHERE winning_constructor = "Jordan - Mugen-Honda" </s> |
Which location belongs to the website, http://www.mudgeerabasoccer.com/? | CREATE TABLE table_11365528_2 (location VARCHAR, website VARCHAR) | SELECT location FROM table_11365528_2 WHERE website = "http://www.mudgeerabasoccer.com/" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11365528_2 (location VARCHAR, website VARCHAR) Question: Which location belongs to the website, http://www.mudgeerabasoccer.com/? [/INST] SELECT location FROM table_11365528_2 WHERE website = "http://www.mudgeerabasoccer.com/" </s> |
The president, peter williamson, had how many home grounds? | CREATE TABLE table_11365528_2 (home_ground VARCHAR, president VARCHAR) | SELECT COUNT(home_ground) FROM table_11365528_2 WHERE president = "Peter Williamson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11365528_2 (home_ground VARCHAR, president VARCHAR) Question: The president, peter williamson, had how many home grounds? [/INST] SELECT COUNT(home_ground) FROM table_11365528_2 WHERE president = "Peter Williamson" </s> |
How many head coaches are there for the website, http://www.burleighbulldogs.org/? | CREATE TABLE table_11365528_2 (head_coach VARCHAR, website VARCHAR) | SELECT COUNT(head_coach) FROM table_11365528_2 WHERE website = "http://www.burleighbulldogs.org/" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11365528_2 (head_coach VARCHAR, website VARCHAR) Question: How many head coaches are there for the website, http://www.burleighbulldogs.org/? [/INST] SELECT COUNT(head_coach) FROM table_11365528_2 WHERE website = "http://www.burleighbulldogs.org/" </s> |
The head coach, steve radoslavic, is related to which websites? | CREATE TABLE table_11365528_2 (website VARCHAR, head_coach VARCHAR) | SELECT website FROM table_11365528_2 WHERE head_coach = "Steve Radoslavic" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11365528_2 (website VARCHAR, head_coach VARCHAR) Question: The head coach, steve radoslavic, is related to which websites? [/INST] SELECT website FROM table_11365528_2 WHERE head_coach = "Steve Radoslavic" </s> |
Who is the driver of the european grand prix? | CREATE TABLE table_1137696_3 (winning_driver VARCHAR, grand_prix VARCHAR) | SELECT winning_driver FROM table_1137696_3 WHERE grand_prix = "European grand_prix" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1137696_3 (winning_driver VARCHAR, grand_prix VARCHAR) Question: Who is the driver of the european grand prix? [/INST] SELECT winning_driver FROM table_1137696_3 WHERE grand_prix = "European grand_prix" </s> |
What is the report for round 3? | CREATE TABLE table_1137696_3 (report VARCHAR, round VARCHAR) | SELECT report FROM table_1137696_3 WHERE round = 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1137696_3 (report VARCHAR, round VARCHAR) Question: What is the report for round 3? [/INST] SELECT report FROM table_1137696_3 WHERE round = 3 </s> |
What is the winning driver of round 7? | CREATE TABLE table_1137696_3 (winning_driver VARCHAR, round VARCHAR) | SELECT winning_driver FROM table_1137696_3 WHERE round = 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1137696_3 (winning_driver VARCHAR, round VARCHAR) Question: What is the winning driver of round 7? [/INST] SELECT winning_driver FROM table_1137696_3 WHERE round = 7 </s> |
Name the grand prix with a driver of Michael Schumacher and a round of 7? | CREATE TABLE table_1137696_3 (grand_prix VARCHAR, round VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR) | SELECT grand_prix FROM table_1137696_3 WHERE winning_driver = "Michael Schumacher" AND fastest_lap = "Michael Schumacher" AND round = 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1137696_3 (grand_prix VARCHAR, round VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR) Question: Name the grand prix with a driver of Michael Schumacher and a round of 7? [/INST] SELECT grand_prix FROM table_1137696_3 WHERE winning_driver = "Michael Schumacher" AND fastest_lap = "Michael Schumacher" AND round = 7 </s> |
Which round was the winning constructor was Benetton - Ford and in the Pole Position was Damon Hill? | CREATE TABLE table_1137702_3 (round VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR) | SELECT round FROM table_1137702_3 WHERE winning_constructor = "Benetton - Ford" AND pole_position = "Damon Hill" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1137702_3 (round VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR) Question: Which round was the winning constructor was Benetton - Ford and in the Pole Position was Damon Hill? [/INST] SELECT round FROM table_1137702_3 WHERE winning_constructor = "Benetton - Ford" AND pole_position = "Damon Hill" </s> |
How many Grand Prix were the winning constructor Benetton - Ford and the pole position was Michael Schumacher? | CREATE TABLE table_1137702_3 (grand_prix VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR) | SELECT COUNT(grand_prix) FROM table_1137702_3 WHERE winning_constructor = "Benetton - Ford" AND pole_position = "Michael Schumacher" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1137702_3 (grand_prix VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR) Question: How many Grand Prix were the winning constructor Benetton - Ford and the pole position was Michael Schumacher? [/INST] SELECT COUNT(grand_prix) FROM table_1137702_3 WHERE winning_constructor = "Benetton - Ford" AND pole_position = "Michael Schumacher" </s> |
Who was the winning driver in round 6? | CREATE TABLE table_1137702_3 (winning_driver VARCHAR, round VARCHAR) | SELECT winning_driver FROM table_1137702_3 WHERE round = 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1137702_3 (winning_driver VARCHAR, round VARCHAR) Question: Who was the winning driver in round 6? [/INST] SELECT winning_driver FROM table_1137702_3 WHERE round = 6 </s> |
Who was the winning driver in the grand prix at Pacific Grand Prix? | CREATE TABLE table_1137702_3 (winning_driver VARCHAR, grand_prix VARCHAR) | SELECT winning_driver FROM table_1137702_3 WHERE grand_prix = "Pacific grand_prix" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1137702_3 (winning_driver VARCHAR, grand_prix VARCHAR) Question: Who was the winning driver in the grand prix at Pacific Grand Prix? [/INST] SELECT winning_driver FROM table_1137702_3 WHERE grand_prix = "Pacific grand_prix" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.