instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
How many characters where actor/actress is larry lamb?
|
CREATE TABLE table_25831483_1 (character VARCHAR, actor_actress VARCHAR)
|
SELECT COUNT(character) FROM table_25831483_1 WHERE actor_actress = "Larry Lamb"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25831483_1 (character VARCHAR, actor_actress VARCHAR) Question: How many characters where actor/actress is larry lamb? [/INST] SELECT COUNT(character) FROM table_25831483_1 WHERE actor_actress = "Larry Lamb" </s>
|
What was the last appearance of actor/actress is pam ferris?
|
CREATE TABLE table_25831483_1 (last_appearance VARCHAR, actor_actress VARCHAR)
|
SELECT last_appearance FROM table_25831483_1 WHERE actor_actress = "Pam Ferris"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25831483_1 (last_appearance VARCHAR, actor_actress VARCHAR) Question: What was the last appearance of actor/actress is pam ferris? [/INST] SELECT last_appearance FROM table_25831483_1 WHERE actor_actress = "Pam Ferris" </s>
|
How many total are there when actor/actress is pam ferris?
|
CREATE TABLE table_25831483_1 (total VARCHAR, actor_actress VARCHAR)
|
SELECT total FROM table_25831483_1 WHERE actor_actress = "Pam Ferris"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25831483_1 (total VARCHAR, actor_actress VARCHAR) Question: How many total are there when actor/actress is pam ferris? [/INST] SELECT total FROM table_25831483_1 WHERE actor_actress = "Pam Ferris" </s>
|
What is the lowest GDP (ppp) per capita?
|
CREATE TABLE table_25869317_1 (gdp__ppp__per_capita INTEGER)
|
SELECT MIN(gdp__ppp__per_capita) FROM table_25869317_1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25869317_1 (gdp__ppp__per_capita INTEGER) Question: What is the lowest GDP (ppp) per capita? [/INST] SELECT MIN(gdp__ppp__per_capita) FROM table_25869317_1 </s>
|
Who directed the episode that had 12.88 million viewers?
|
CREATE TABLE table_25923164_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
|
SELECT directed_by FROM table_25923164_1 WHERE us_viewers__million_ = "12.88"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25923164_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) Question: Who directed the episode that had 12.88 million viewers? [/INST] SELECT directed_by FROM table_25923164_1 WHERE us_viewers__million_ = "12.88" </s>
|
What was the original air date of the episode written by amanda segel?
|
CREATE TABLE table_25923164_1 (original_air_date VARCHAR, written_by VARCHAR)
|
SELECT original_air_date FROM table_25923164_1 WHERE written_by = "Amanda Segel"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25923164_1 (original_air_date VARCHAR, written_by VARCHAR) Question: What was the original air date of the episode written by amanda segel? [/INST] SELECT original_air_date FROM table_25923164_1 WHERE written_by = "Amanda Segel" </s>
|
What was the original air date of the episode directed by gloria muzio?
|
CREATE TABLE table_25923164_1 (original_air_date VARCHAR, directed_by VARCHAR)
|
SELECT original_air_date FROM table_25923164_1 WHERE directed_by = "Gloria Muzio"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25923164_1 (original_air_date VARCHAR, directed_by VARCHAR) Question: What was the original air date of the episode directed by gloria muzio? [/INST] SELECT original_air_date FROM table_25923164_1 WHERE directed_by = "Gloria Muzio" </s>
|
What was the original air date of the episode directed by frederick e. o. toye?
|
CREATE TABLE table_25923164_1 (original_air_date VARCHAR, directed_by VARCHAR)
|
SELECT original_air_date FROM table_25923164_1 WHERE directed_by = "Frederick E. O. Toye"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25923164_1 (original_air_date VARCHAR, directed_by VARCHAR) Question: What was the original air date of the episode directed by frederick e. o. toye? [/INST] SELECT original_air_date FROM table_25923164_1 WHERE directed_by = "Frederick E. O. Toye" </s>
|
What is every value of Top 10 when team is #10 Phil Parsons Racing and average finish is 22.9?
|
CREATE TABLE table_2597876_2 (top_10 VARCHAR, team_s_ VARCHAR, avg_finish VARCHAR)
|
SELECT top_10 FROM table_2597876_2 WHERE team_s_ = "#10 Phil Parsons Racing" AND avg_finish = "22.9"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2597876_2 (top_10 VARCHAR, team_s_ VARCHAR, avg_finish VARCHAR) Question: What is every value of Top 10 when team is #10 Phil Parsons Racing and average finish is 22.9? [/INST] SELECT top_10 FROM table_2597876_2 WHERE team_s_ = "#10 Phil Parsons Racing" AND avg_finish = "22.9" </s>
|
What is every year with average start of 27.2?
|
CREATE TABLE table_2597876_2 (year VARCHAR, avg_start VARCHAR)
|
SELECT year FROM table_2597876_2 WHERE avg_start = "27.2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2597876_2 (year VARCHAR, avg_start VARCHAR) Question: What is every year with average start of 27.2? [/INST] SELECT year FROM table_2597876_2 WHERE avg_start = "27.2" </s>
|
How many values of top 10 for 5th position?
|
CREATE TABLE table_2597876_2 (top_10 VARCHAR, position VARCHAR)
|
SELECT COUNT(top_10) FROM table_2597876_2 WHERE position = "5th"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2597876_2 (top_10 VARCHAR, position VARCHAR) Question: How many values of top 10 for 5th position? [/INST] SELECT COUNT(top_10) FROM table_2597876_2 WHERE position = "5th" </s>
|
What is every value for top 5 if average start is 21.9?
|
CREATE TABLE table_2597876_2 (top_5 VARCHAR, avg_start VARCHAR)
|
SELECT top_5 FROM table_2597876_2 WHERE avg_start = "21.9"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2597876_2 (top_5 VARCHAR, avg_start VARCHAR) Question: What is every value for top 5 if average start is 21.9? [/INST] SELECT top_5 FROM table_2597876_2 WHERE avg_start = "21.9" </s>
|
How many values for winnings correspond to average start of 19.0?
|
CREATE TABLE table_2597876_2 (winnings VARCHAR, avg_start VARCHAR)
|
SELECT COUNT(winnings) FROM table_2597876_2 WHERE avg_start = "19.0"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2597876_2 (winnings VARCHAR, avg_start VARCHAR) Question: How many values for winnings correspond to average start of 19.0? [/INST] SELECT COUNT(winnings) FROM table_2597876_2 WHERE avg_start = "19.0" </s>
|
What is the name of the school in Lucas ?
|
CREATE TABLE table_25987797_1 (location VARCHAR, school VARCHAR)
|
SELECT location FROM table_25987797_1 WHERE school = "Lucas"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25987797_1 (location VARCHAR, school VARCHAR) Question: What is the name of the school in Lucas ? [/INST] SELECT location FROM table_25987797_1 WHERE school = "Lucas" </s>
|
What was the pick number for Andrew Quarless?
|
CREATE TABLE table_26077092_7 (pick__number INTEGER, player VARCHAR)
|
SELECT MAX(pick__number) FROM table_26077092_7 WHERE player = "Andrew Quarless"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26077092_7 (pick__number INTEGER, player VARCHAR) Question: What was the pick number for Andrew Quarless? [/INST] SELECT MAX(pick__number) FROM table_26077092_7 WHERE player = "Andrew Quarless" </s>
|
How many players are from Purdue?
|
CREATE TABLE table_26077092_7 (player VARCHAR, college VARCHAR)
|
SELECT COUNT(player) FROM table_26077092_7 WHERE college = "Purdue"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26077092_7 (player VARCHAR, college VARCHAR) Question: How many players are from Purdue? [/INST] SELECT COUNT(player) FROM table_26077092_7 WHERE college = "Purdue" </s>
|
who are all the players when season mvp is less than 1.0 and second team is less than 1.0
|
CREATE TABLE table_26130295_3 (player VARCHAR, season_mvp VARCHAR, second_team VARCHAR)
|
SELECT player FROM table_26130295_3 WHERE season_mvp < 1.0 AND second_team < 1.0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26130295_3 (player VARCHAR, season_mvp VARCHAR, second_team VARCHAR) Question: who are all the players when season mvp is less than 1.0 and second team is less than 1.0 [/INST] SELECT player FROM table_26130295_3 WHERE season_mvp < 1.0 AND second_team < 1.0 </s>
|
when number of selection is 2 and first team is 1 who are all the player
|
CREATE TABLE table_26130295_3 (player VARCHAR, first_team VARCHAR, number_of_selections VARCHAR)
|
SELECT player FROM table_26130295_3 WHERE first_team = 1 AND number_of_selections = 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26130295_3 (player VARCHAR, first_team VARCHAR, number_of_selections VARCHAR) Question: when number of selection is 2 and first team is 1 who are all the player [/INST] SELECT player FROM table_26130295_3 WHERE first_team = 1 AND number_of_selections = 2 </s>
|
what would be final four mvp maximum when first team is 1
|
CREATE TABLE table_26130295_3 (final_four_mvp INTEGER, first_team VARCHAR)
|
SELECT MAX(final_four_mvp) FROM table_26130295_3 WHERE first_team = 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26130295_3 (final_four_mvp INTEGER, first_team VARCHAR) Question: what would be final four mvp maximum when first team is 1 [/INST] SELECT MAX(final_four_mvp) FROM table_26130295_3 WHERE first_team = 1 </s>
|
when season mvp is larger than 1.0 what is the maximum number of selection
|
CREATE TABLE table_26130295_3 (number_of_selections INTEGER, season_mvp INTEGER)
|
SELECT MAX(number_of_selections) FROM table_26130295_3 WHERE season_mvp > 1.0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26130295_3 (number_of_selections INTEGER, season_mvp INTEGER) Question: when season mvp is larger than 1.0 what is the maximum number of selection [/INST] SELECT MAX(number_of_selections) FROM table_26130295_3 WHERE season_mvp > 1.0 </s>
|
who is first team when dimitris diamantidis play.
|
CREATE TABLE table_26130295_3 (first_team VARCHAR, player VARCHAR)
|
SELECT COUNT(first_team) FROM table_26130295_3 WHERE player = "Dimitris Diamantidis"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26130295_3 (first_team VARCHAR, player VARCHAR) Question: who is first team when dimitris diamantidis play. [/INST] SELECT COUNT(first_team) FROM table_26130295_3 WHERE player = "Dimitris Diamantidis" </s>
|
What is the earliest term limit for the senator who resides in Coshocton?
|
CREATE TABLE table_26129220_2 (term_limited INTEGER, residence VARCHAR)
|
SELECT MIN(term_limited) FROM table_26129220_2 WHERE residence = "Coshocton"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26129220_2 (term_limited INTEGER, residence VARCHAR) Question: What is the earliest term limit for the senator who resides in Coshocton? [/INST] SELECT MIN(term_limited) FROM table_26129220_2 WHERE residence = "Coshocton" </s>
|
What is the party for district 27?
|
CREATE TABLE table_26129220_2 (party VARCHAR, district VARCHAR)
|
SELECT party FROM table_26129220_2 WHERE district = 27
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26129220_2 (party VARCHAR, district VARCHAR) Question: What is the party for district 27? [/INST] SELECT party FROM table_26129220_2 WHERE district = 27 </s>
|
How many party classifications are there for the senator from Canton?
|
CREATE TABLE table_26129220_2 (party VARCHAR, residence VARCHAR)
|
SELECT party FROM table_26129220_2 WHERE residence = "Canton"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26129220_2 (party VARCHAR, residence VARCHAR) Question: How many party classifications are there for the senator from Canton? [/INST] SELECT party FROM table_26129220_2 WHERE residence = "Canton" </s>
|
What is the party affiliation for Senator David Goodman?
|
CREATE TABLE table_26129220_2 (party VARCHAR, senator VARCHAR)
|
SELECT party FROM table_26129220_2 WHERE senator = "David Goodman"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26129220_2 (party VARCHAR, senator VARCHAR) Question: What is the party affiliation for Senator David Goodman? [/INST] SELECT party FROM table_26129220_2 WHERE senator = "David Goodman" </s>
|
What is the term limit for Senator Tom Niehaus?
|
CREATE TABLE table_26129220_2 (term_limited INTEGER, senator VARCHAR)
|
SELECT MIN(term_limited) FROM table_26129220_2 WHERE senator = "Tom Niehaus"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26129220_2 (term_limited INTEGER, senator VARCHAR) Question: What is the term limit for Senator Tom Niehaus? [/INST] SELECT MIN(term_limited) FROM table_26129220_2 WHERE senator = "Tom Niehaus" </s>
|
What is the party affiliation for senator mark Wagoner?
|
CREATE TABLE table_26129220_2 (party VARCHAR, senator VARCHAR)
|
SELECT party FROM table_26129220_2 WHERE senator = "Mark Wagoner"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26129220_2 (party VARCHAR, senator VARCHAR) Question: What is the party affiliation for senator mark Wagoner? [/INST] SELECT party FROM table_26129220_2 WHERE senator = "Mark Wagoner" </s>
|
If the residence is Chagrin falls, who is the representative?
|
CREATE TABLE table_26131768_4 (representative VARCHAR, residence VARCHAR)
|
SELECT representative FROM table_26131768_4 WHERE residence = "Chagrin Falls"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26131768_4 (representative VARCHAR, residence VARCHAR) Question: If the residence is Chagrin falls, who is the representative? [/INST] SELECT representative FROM table_26131768_4 WHERE residence = "Chagrin Falls" </s>
|
If first elected on 2003 (appt.), when was the term limited?
|
CREATE TABLE table_26131768_4 (term_limited INTEGER, first_elected VARCHAR)
|
SELECT MIN(term_limited) FROM table_26131768_4 WHERE first_elected = "2003 (Appt.)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26131768_4 (term_limited INTEGER, first_elected VARCHAR) Question: If first elected on 2003 (appt.), when was the term limited? [/INST] SELECT MIN(term_limited) FROM table_26131768_4 WHERE first_elected = "2003 (Appt.)" </s>
|
How many times was Scott Oelslager a representative?
|
CREATE TABLE table_26131768_4 (residence VARCHAR, representative VARCHAR)
|
SELECT COUNT(residence) FROM table_26131768_4 WHERE representative = "Scott Oelslager"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26131768_4 (residence VARCHAR, representative VARCHAR) Question: How many times was Scott Oelslager a representative? [/INST] SELECT COUNT(residence) FROM table_26131768_4 WHERE representative = "Scott Oelslager" </s>
|
In which district is the residence Dublin?
|
CREATE TABLE table_26131768_4 (district VARCHAR, residence VARCHAR)
|
SELECT district FROM table_26131768_4 WHERE residence = "Dublin"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26131768_4 (district VARCHAR, residence VARCHAR) Question: In which district is the residence Dublin? [/INST] SELECT district FROM table_26131768_4 WHERE residence = "Dublin" </s>
|
If the representative is Dave Hall, when was the term limited?
|
CREATE TABLE table_26131768_4 (term_limited VARCHAR, representative VARCHAR)
|
SELECT term_limited FROM table_26131768_4 WHERE representative = "Dave Hall"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26131768_4 (term_limited VARCHAR, representative VARCHAR) Question: If the representative is Dave Hall, when was the term limited? [/INST] SELECT term_limited FROM table_26131768_4 WHERE representative = "Dave Hall" </s>
|
If the Representative is Barbara sears, what is the district number?
|
CREATE TABLE table_26131768_4 (district INTEGER, representative VARCHAR)
|
SELECT MAX(district) FROM table_26131768_4 WHERE representative = "Barbara Sears"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26131768_4 (district INTEGER, representative VARCHAR) Question: If the Representative is Barbara sears, what is the district number? [/INST] SELECT MAX(district) FROM table_26131768_4 WHERE representative = "Barbara Sears" </s>
|
What is the original airdate of the episode that had 8.23 million viewers?
|
CREATE TABLE table_26139378_1 (original_airdate VARCHAR, viewers__in_millions_ VARCHAR)
|
SELECT original_airdate FROM table_26139378_1 WHERE viewers__in_millions_ = "8.23"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26139378_1 (original_airdate VARCHAR, viewers__in_millions_ VARCHAR) Question: What is the original airdate of the episode that had 8.23 million viewers? [/INST] SELECT original_airdate FROM table_26139378_1 WHERE viewers__in_millions_ = "8.23" </s>
|
How many millions of viewers did Episode number 16 have?
|
CREATE TABLE table_26139378_1 (viewers__in_millions_ VARCHAR, episode__number VARCHAR)
|
SELECT viewers__in_millions_ FROM table_26139378_1 WHERE episode__number = 16
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26139378_1 (viewers__in_millions_ VARCHAR, episode__number VARCHAR) Question: How many millions of viewers did Episode number 16 have? [/INST] SELECT viewers__in_millions_ FROM table_26139378_1 WHERE episode__number = 16 </s>
|
Name the vessel type for beluga shipping
|
CREATE TABLE table_26168687_5 (vessel_type VARCHAR, vessel_operator VARCHAR)
|
SELECT vessel_type FROM table_26168687_5 WHERE vessel_operator = "Beluga Shipping"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26168687_5 (vessel_type VARCHAR, vessel_operator VARCHAR) Question: Name the vessel type for beluga shipping [/INST] SELECT vessel_type FROM table_26168687_5 WHERE vessel_operator = "Beluga Shipping" </s>
|
Name the vessel type for dof subsea
|
CREATE TABLE table_26168687_5 (vessel_type VARCHAR, vessel_operator VARCHAR)
|
SELECT vessel_type FROM table_26168687_5 WHERE vessel_operator = "DOF Subsea"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26168687_5 (vessel_type VARCHAR, vessel_operator VARCHAR) Question: Name the vessel type for dof subsea [/INST] SELECT vessel_type FROM table_26168687_5 WHERE vessel_operator = "DOF Subsea" </s>
|
Name the most number in season
|
CREATE TABLE table_26168687_5 (no_in_season INTEGER)
|
SELECT MIN(no_in_season) FROM table_26168687_5
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26168687_5 (no_in_season INTEGER) Question: Name the most number in season [/INST] SELECT MIN(no_in_season) FROM table_26168687_5 </s>
|
Name the narraed by for beluga shipping
|
CREATE TABLE table_26168687_5 (narrated_by VARCHAR, vessel_operator VARCHAR)
|
SELECT narrated_by FROM table_26168687_5 WHERE vessel_operator = "Beluga Shipping"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26168687_5 (narrated_by VARCHAR, vessel_operator VARCHAR) Question: Name the narraed by for beluga shipping [/INST] SELECT narrated_by FROM table_26168687_5 WHERE vessel_operator = "Beluga Shipping" </s>
|
Name the number of season for beluga shipping
|
CREATE TABLE table_26168687_5 (no_in_season VARCHAR, vessel_operator VARCHAR)
|
SELECT COUNT(no_in_season) FROM table_26168687_5 WHERE vessel_operator = "Beluga Shipping"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26168687_5 (no_in_season VARCHAR, vessel_operator VARCHAR) Question: Name the number of season for beluga shipping [/INST] SELECT COUNT(no_in_season) FROM table_26168687_5 WHERE vessel_operator = "Beluga Shipping" </s>
|
Name the least number in series for james quinn
|
CREATE TABLE table_2618102_1 (no_in_series INTEGER, directed_by VARCHAR)
|
SELECT MIN(no_in_series) FROM table_2618102_1 WHERE directed_by = "James Quinn"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2618102_1 (no_in_series INTEGER, directed_by VARCHAR) Question: Name the least number in series for james quinn [/INST] SELECT MIN(no_in_series) FROM table_2618102_1 WHERE directed_by = "James Quinn" </s>
|
Name the least number in season for brad markowitz, william n. fordes & renΓ© balcer
|
CREATE TABLE table_2618102_1 (no_in_season INTEGER, written_by VARCHAR)
|
SELECT MIN(no_in_season) FROM table_2618102_1 WHERE written_by = "Brad Markowitz, William N. Fordes & RenΓ© Balcer"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2618102_1 (no_in_season INTEGER, written_by VARCHAR) Question: Name the least number in season for brad markowitz, william n. fordes & renΓ© balcer [/INST] SELECT MIN(no_in_season) FROM table_2618102_1 WHERE written_by = "Brad Markowitz, William N. Fordes & RenΓ© Balcer" </s>
|
What institution is located in St. Peter?
|
CREATE TABLE table_261913_1 (institution VARCHAR, location__all_in_minnesota_ VARCHAR)
|
SELECT institution FROM table_261913_1 WHERE location__all_in_minnesota_ = "St. Peter"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_261913_1 (institution VARCHAR, location__all_in_minnesota_ VARCHAR) Question: What institution is located in St. Peter? [/INST] SELECT institution FROM table_261913_1 WHERE location__all_in_minnesota_ = "St. Peter" </s>
|
What is the enrollment for Augsburg college?
|
CREATE TABLE table_261913_1 (enrollment INTEGER, institution VARCHAR)
|
SELECT MIN(enrollment) FROM table_261913_1 WHERE institution = "Augsburg College"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_261913_1 (enrollment INTEGER, institution VARCHAR) Question: What is the enrollment for Augsburg college? [/INST] SELECT MIN(enrollment) FROM table_261913_1 WHERE institution = "Augsburg College" </s>
|
What was the earliest date an institution was founded that joined in 1977?
|
CREATE TABLE table_261913_1 (founded INTEGER, joined VARCHAR)
|
SELECT MIN(founded) FROM table_261913_1 WHERE joined = "1977"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_261913_1 (founded INTEGER, joined VARCHAR) Question: What was the earliest date an institution was founded that joined in 1977? [/INST] SELECT MIN(founded) FROM table_261913_1 WHERE joined = "1977" </s>
|
How many different types are allocated to the institution in Bridgewater, Massachusetts?
|
CREATE TABLE table_261927_2 (type VARCHAR, location VARCHAR)
|
SELECT COUNT(type) FROM table_261927_2 WHERE location = "Bridgewater, Massachusetts"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_261927_2 (type VARCHAR, location VARCHAR) Question: How many different types are allocated to the institution in Bridgewater, Massachusetts? [/INST] SELECT COUNT(type) FROM table_261927_2 WHERE location = "Bridgewater, Massachusetts" </s>
|
What is the enrollment for the institution in Westfield, Massachusetts?
|
CREATE TABLE table_261927_2 (enrollment VARCHAR, location VARCHAR)
|
SELECT enrollment FROM table_261927_2 WHERE location = "Westfield, Massachusetts"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_261927_2 (enrollment VARCHAR, location VARCHAR) Question: What is the enrollment for the institution in Westfield, Massachusetts? [/INST] SELECT enrollment FROM table_261927_2 WHERE location = "Westfield, Massachusetts" </s>
|
Which institutions primary conference is merged into the university of Massachusetts boston?
|
CREATE TABLE table_261927_2 (institution VARCHAR, primary_conference VARCHAR)
|
SELECT institution FROM table_261927_2 WHERE primary_conference = "Merged into the University of Massachusetts Boston"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_261927_2 (institution VARCHAR, primary_conference VARCHAR) Question: Which institutions primary conference is merged into the university of Massachusetts boston? [/INST] SELECT institution FROM table_261927_2 WHERE primary_conference = "Merged into the University of Massachusetts Boston" </s>
|
What is the football conference for Henniker, New Hampshire>?
|
CREATE TABLE table_261927_2 (football_conference VARCHAR, location VARCHAR)
|
SELECT football_conference FROM table_261927_2 WHERE location = "Henniker, New Hampshire"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_261927_2 (football_conference VARCHAR, location VARCHAR) Question: What is the football conference for Henniker, New Hampshire>? [/INST] SELECT football_conference FROM table_261927_2 WHERE location = "Henniker, New Hampshire" </s>
|
What date did the institution that left in 2013 and that is nicknamed Corsairs, join?
|
CREATE TABLE table_261927_2 (joined VARCHAR, left VARCHAR, nickname VARCHAR)
|
SELECT joined FROM table_261927_2 WHERE left = "2013" AND nickname = "Corsairs"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_261927_2 (joined VARCHAR, left VARCHAR, nickname VARCHAR) Question: What date did the institution that left in 2013 and that is nicknamed Corsairs, join? [/INST] SELECT joined FROM table_261927_2 WHERE left = "2013" AND nickname = "Corsairs" </s>
|
Who wrote title number 38?
|
CREATE TABLE table_26199484_1 (written_by VARCHAR, no VARCHAR)
|
SELECT written_by FROM table_26199484_1 WHERE no = 38
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26199484_1 (written_by VARCHAR, no VARCHAR) Question: Who wrote title number 38? [/INST] SELECT written_by FROM table_26199484_1 WHERE no = 38 </s>
|
Which match was the final score 7β6 (7β0) , 6β7 (5β7) , 4β6, 6β2, 6β7 (5β7)?
|
CREATE TABLE table_26202812_7 (no VARCHAR, score_in_the_final VARCHAR)
|
SELECT no FROM table_26202812_7 WHERE score_in_the_final = "7β6 (7β0) , 6β7 (5β7) , 4β6, 6β2, 6β7 (5β7)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26202812_7 (no VARCHAR, score_in_the_final VARCHAR) Question: Which match was the final score 7β6 (7β0) , 6β7 (5β7) , 4β6, 6β2, 6β7 (5β7)? [/INST] SELECT no FROM table_26202812_7 WHERE score_in_the_final = "7β6 (7β0) , 6β7 (5β7) , 4β6, 6β2, 6β7 (5β7)" </s>
|
What is the lowest ends won when w is 8?
|
CREATE TABLE table_26209210_2 (Ends INTEGER, w VARCHAR)
|
SELECT MIN(Ends) AS won FROM table_26209210_2 WHERE w = 8
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26209210_2 (Ends INTEGER, w VARCHAR) Question: What is the lowest ends won when w is 8? [/INST] SELECT MIN(Ends) AS won FROM table_26209210_2 WHERE w = 8 </s>
|
If the qatari male is 1104, what is the grand total?
|
CREATE TABLE table_26214389_3 (grand_total INTEGER, qatari_male VARCHAR)
|
SELECT MAX(grand_total) FROM table_26214389_3 WHERE qatari_male = 1104
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26214389_3 (grand_total INTEGER, qatari_male VARCHAR) Question: If the qatari male is 1104, what is the grand total? [/INST] SELECT MAX(grand_total) FROM table_26214389_3 WHERE qatari_male = 1104 </s>
|
If the grand total is 5814, what is the total non qatar?
|
CREATE TABLE table_26214389_3 (total_non_qatar VARCHAR, grand_total VARCHAR)
|
SELECT total_non_qatar FROM table_26214389_3 WHERE grand_total = 5814
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26214389_3 (total_non_qatar VARCHAR, grand_total VARCHAR) Question: If the grand total is 5814, what is the total non qatar? [/INST] SELECT total_non_qatar FROM table_26214389_3 WHERE grand_total = 5814 </s>
|
If the year is 2001, what are the non qatari female?
|
CREATE TABLE table_26214389_3 (Non VARCHAR, year VARCHAR)
|
SELECT Non AS qatari_female FROM table_26214389_3 WHERE year = 2001
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26214389_3 (Non VARCHAR, year VARCHAR) Question: If the year is 2001, what are the non qatari female? [/INST] SELECT Non AS qatari_female FROM table_26214389_3 WHERE year = 2001 </s>
|
If the qatari female is 918, what is the total number of females?
|
CREATE TABLE table_26214389_3 (total_female VARCHAR, qatari_female VARCHAR)
|
SELECT total_female FROM table_26214389_3 WHERE qatari_female = 918
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26214389_3 (total_female VARCHAR, qatari_female VARCHAR) Question: If the qatari female is 918, what is the total number of females? [/INST] SELECT total_female FROM table_26214389_3 WHERE qatari_female = 918 </s>
|
How many outcomes occur for score in the final of 6β3, 6β4, 7β6 (13β11)?
|
CREATE TABLE table_26202940_6 (outcome VARCHAR, score_in_the_final VARCHAR)
|
SELECT COUNT(outcome) FROM table_26202940_6 WHERE score_in_the_final = "6β3, 6β4, 7β6 (13β11)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26202940_6 (outcome VARCHAR, score_in_the_final VARCHAR) Question: How many outcomes occur for score in the final of 6β3, 6β4, 7β6 (13β11)? [/INST] SELECT COUNT(outcome) FROM table_26202940_6 WHERE score_in_the_final = "6β3, 6β4, 7β6 (13β11)" </s>
|
How many outcomes occur on the date of January 31, 2010?
|
CREATE TABLE table_26202940_6 (outcome VARCHAR, date VARCHAR)
|
SELECT COUNT(outcome) FROM table_26202940_6 WHERE date = "January 31, 2010"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26202940_6 (outcome VARCHAR, date VARCHAR) Question: How many outcomes occur on the date of January 31, 2010? [/INST] SELECT COUNT(outcome) FROM table_26202940_6 WHERE date = "January 31, 2010" </s>
|
How many numbers correspond to the score in the final of 6β3, 6β4, 7β6 (13β11)?
|
CREATE TABLE table_26202940_6 (no VARCHAR, score_in_the_final VARCHAR)
|
SELECT COUNT(no) FROM table_26202940_6 WHERE score_in_the_final = "6β3, 6β4, 7β6 (13β11)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26202940_6 (no VARCHAR, score_in_the_final VARCHAR) Question: How many numbers correspond to the score in the final of 6β3, 6β4, 7β6 (13β11)? [/INST] SELECT COUNT(no) FROM table_26202940_6 WHERE score_in_the_final = "6β3, 6β4, 7β6 (13β11)" </s>
|
How many championships are there when there are 6 points
|
CREATE TABLE table_26223231_1 (series VARCHAR, points VARCHAR)
|
SELECT series FROM table_26223231_1 WHERE points = "6"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26223231_1 (series VARCHAR, points VARCHAR) Question: How many championships are there when there are 6 points [/INST] SELECT series FROM table_26223231_1 WHERE points = "6" </s>
|
When there are 2 wins, how many poles are?
|
CREATE TABLE table_26223231_1 (poles VARCHAR, wins VARCHAR)
|
SELECT poles FROM table_26223231_1 WHERE wins = 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26223231_1 (poles VARCHAR, wins VARCHAR) Question: When there are 2 wins, how many poles are? [/INST] SELECT poles FROM table_26223231_1 WHERE wins = 2 </s>
|
What is the production code for episode #78?
|
CREATE TABLE table_2623498_5 (prod_code VARCHAR, episode__number VARCHAR)
|
SELECT prod_code FROM table_2623498_5 WHERE episode__number = "78"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2623498_5 (prod_code VARCHAR, episode__number VARCHAR) Question: What is the production code for episode #78? [/INST] SELECT prod_code FROM table_2623498_5 WHERE episode__number = "78" </s>
|
What is the number of titles written by Charleen Easton?
|
CREATE TABLE table_2623498_5 (title VARCHAR, written_by VARCHAR)
|
SELECT COUNT(title) FROM table_2623498_5 WHERE written_by = "Charleen Easton"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2623498_5 (title VARCHAR, written_by VARCHAR) Question: What is the number of titles written by Charleen Easton? [/INST] SELECT COUNT(title) FROM table_2623498_5 WHERE written_by = "Charleen Easton" </s>
|
What is the number of production codes for episode #73?
|
CREATE TABLE table_2623498_5 (prod_code VARCHAR, episode__number VARCHAR)
|
SELECT COUNT(prod_code) FROM table_2623498_5 WHERE episode__number = "73"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2623498_5 (prod_code VARCHAR, episode__number VARCHAR) Question: What is the number of production codes for episode #73? [/INST] SELECT COUNT(prod_code) FROM table_2623498_5 WHERE episode__number = "73" </s>
|
where is Fisk University located?
|
CREATE TABLE table_262481_2 (location VARCHAR, institution VARCHAR)
|
SELECT location FROM table_262481_2 WHERE institution = "Fisk University"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_262481_2 (location VARCHAR, institution VARCHAR) Question: where is Fisk University located? [/INST] SELECT location FROM table_262481_2 WHERE institution = "Fisk University" </s>
|
What is the nickname of the institution that was founded in 1857?
|
CREATE TABLE table_262481_2 (nickname VARCHAR, founded VARCHAR)
|
SELECT nickname FROM table_262481_2 WHERE founded = 1857
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_262481_2 (nickname VARCHAR, founded VARCHAR) Question: What is the nickname of the institution that was founded in 1857? [/INST] SELECT nickname FROM table_262481_2 WHERE founded = 1857 </s>
|
What is the enrollment for the institution nicknamed the panthers that left in 2012?
|
CREATE TABLE table_262481_2 (enrollment VARCHAR, left VARCHAR, nickname VARCHAR)
|
SELECT enrollment FROM table_262481_2 WHERE left = "2012" AND nickname = "Panthers"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_262481_2 (enrollment VARCHAR, left VARCHAR, nickname VARCHAR) Question: What is the enrollment for the institution nicknamed the panthers that left in 2012? [/INST] SELECT enrollment FROM table_262481_2 WHERE left = "2012" AND nickname = "Panthers" </s>
|
What is the institution whose current conference is gcac (naia)?
|
CREATE TABLE table_262481_2 (institution VARCHAR, current_conference VARCHAR)
|
SELECT institution FROM table_262481_2 WHERE current_conference = "GCAC (NAIA)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_262481_2 (institution VARCHAR, current_conference VARCHAR) Question: What is the institution whose current conference is gcac (naia)? [/INST] SELECT institution FROM table_262481_2 WHERE current_conference = "GCAC (NAIA)" </s>
|
How many original artists were there for the Group Performance?
|
CREATE TABLE table_26250176_1 (original_artist VARCHAR, theme VARCHAR)
|
SELECT COUNT(original_artist) FROM table_26250176_1 WHERE theme = "Group Performance"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26250176_1 (original_artist VARCHAR, theme VARCHAR) Question: How many original artists were there for the Group Performance? [/INST] SELECT COUNT(original_artist) FROM table_26250176_1 WHERE theme = "Group Performance" </s>
|
What song was used resulting in the bottom 3?
|
CREATE TABLE table_26250176_1 (song_choice VARCHAR, result VARCHAR)
|
SELECT song_choice FROM table_26250176_1 WHERE result = "Bottom 3"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26250176_1 (song_choice VARCHAR, result VARCHAR) Question: What song was used resulting in the bottom 3? [/INST] SELECT song_choice FROM table_26250176_1 WHERE result = "Bottom 3" </s>
|
What is the theme for Audition week?
|
CREATE TABLE table_26250176_1 (theme VARCHAR, week__number VARCHAR)
|
SELECT theme FROM table_26250176_1 WHERE week__number = "Audition"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26250176_1 (theme VARCHAR, week__number VARCHAR) Question: What is the theme for Audition week? [/INST] SELECT theme FROM table_26250176_1 WHERE week__number = "Audition" </s>
|
What was the results for top 12?
|
CREATE TABLE table_26250176_1 (result VARCHAR, week__number VARCHAR)
|
SELECT result FROM table_26250176_1 WHERE week__number = "Top 12"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26250176_1 (result VARCHAR, week__number VARCHAR) Question: What was the results for top 12? [/INST] SELECT result FROM table_26250176_1 WHERE week__number = "Top 12" </s>
|
Who was the original artist for First Solo?
|
CREATE TABLE table_26250176_1 (original_artist VARCHAR, theme VARCHAR)
|
SELECT original_artist FROM table_26250176_1 WHERE theme = "First Solo"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26250176_1 (original_artist VARCHAR, theme VARCHAR) Question: Who was the original artist for First Solo? [/INST] SELECT original_artist FROM table_26250176_1 WHERE theme = "First Solo" </s>
|
Which episode is #4?
|
CREATE TABLE table_26250218_1 (episode VARCHAR, order__number VARCHAR)
|
SELECT episode FROM table_26250218_1 WHERE order__number = "4"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26250218_1 (episode VARCHAR, order__number VARCHAR) Question: Which episode is #4? [/INST] SELECT episode FROM table_26250218_1 WHERE order__number = "4" </s>
|
What is every year for joined with the Ravens nickname?
|
CREATE TABLE table_262514_1 (joined VARCHAR, nickname VARCHAR)
|
SELECT joined FROM table_262514_1 WHERE nickname = "Ravens"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_262514_1 (joined VARCHAR, nickname VARCHAR) Question: What is every year for joined with the Ravens nickname? [/INST] SELECT joined FROM table_262514_1 WHERE nickname = "Ravens" </s>
|
What is every institution with a nickname of Ravens?
|
CREATE TABLE table_262514_1 (institution VARCHAR, nickname VARCHAR)
|
SELECT institution FROM table_262514_1 WHERE nickname = "Ravens"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_262514_1 (institution VARCHAR, nickname VARCHAR) Question: What is every institution with a nickname of Ravens? [/INST] SELECT institution FROM table_262514_1 WHERE nickname = "Ravens" </s>
|
how many revised hepburn when english is roman characters
|
CREATE TABLE table_26263954_1 (revised_hepburn VARCHAR, english VARCHAR)
|
SELECT revised_hepburn FROM table_26263954_1 WHERE english = "Roman characters"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26263954_1 (revised_hepburn VARCHAR, english VARCHAR) Question: how many revised hepburn when english is roman characters [/INST] SELECT revised_hepburn FROM table_26263954_1 WHERE english = "Roman characters" </s>
|
when chiji is revised hepburn what are all the english
|
CREATE TABLE table_26263954_1 (english VARCHAR, revised_hepburn VARCHAR)
|
SELECT english FROM table_26263954_1 WHERE revised_hepburn = "chiji"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26263954_1 (english VARCHAR, revised_hepburn VARCHAR) Question: when chiji is revised hepburn what are all the english [/INST] SELECT english FROM table_26263954_1 WHERE revised_hepburn = "chiji" </s>
|
how many number of english when kunrei-shiki is otya
|
CREATE TABLE table_26263954_1 (english VARCHAR, kunrei_shiki VARCHAR)
|
SELECT COUNT(english) FROM table_26263954_1 WHERE kunrei_shiki = "otya"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26263954_1 (english VARCHAR, kunrei_shiki VARCHAR) Question: how many number of english when kunrei-shiki is otya [/INST] SELECT COUNT(english) FROM table_26263954_1 WHERE kunrei_shiki = "otya" </s>
|
how many kana spelling when english is mount fuji
|
CREATE TABLE table_26263954_1 (kana_spelling VARCHAR, english VARCHAR)
|
SELECT kana_spelling FROM table_26263954_1 WHERE english = "Mount Fuji"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26263954_1 (kana_spelling VARCHAR, english VARCHAR) Question: how many kana spelling when english is mount fuji [/INST] SELECT kana_spelling FROM table_26263954_1 WHERE english = "Mount Fuji" </s>
|
when english is tea how many nihon-shiki
|
CREATE TABLE table_26263954_1 (nihon_shiki VARCHAR, english VARCHAR)
|
SELECT nihon_shiki FROM table_26263954_1 WHERE english = "tea"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26263954_1 (nihon_shiki VARCHAR, english VARCHAR) Question: when english is tea how many nihon-shiki [/INST] SELECT nihon_shiki FROM table_26263954_1 WHERE english = "tea" </s>
|
What was the original airdate of the episode with production number 2x03?
|
CREATE TABLE table_26293875_3 (original_airdate VARCHAR, prod_no VARCHAR)
|
SELECT original_airdate FROM table_26293875_3 WHERE prod_no = "2x03"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26293875_3 (original_airdate VARCHAR, prod_no VARCHAR) Question: What was the original airdate of the episode with production number 2x03? [/INST] SELECT original_airdate FROM table_26293875_3 WHERE prod_no = "2x03" </s>
|
How many episodes had production number 2x13?
|
CREATE TABLE table_26293875_3 (season__number VARCHAR, prod_no VARCHAR)
|
SELECT COUNT(season__number) FROM table_26293875_3 WHERE prod_no = "2x13"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26293875_3 (season__number VARCHAR, prod_no VARCHAR) Question: How many episodes had production number 2x13? [/INST] SELECT COUNT(season__number) FROM table_26293875_3 WHERE prod_no = "2x13" </s>
|
How many different kickoffs happened when the oppenent was at Rhein Fire?
|
CREATE TABLE table_26275503_2 (kickoff VARCHAR, opponent VARCHAR)
|
SELECT COUNT(kickoff) FROM table_26275503_2 WHERE opponent = "at Rhein Fire"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26275503_2 (kickoff VARCHAR, opponent VARCHAR) Question: How many different kickoffs happened when the oppenent was at Rhein Fire? [/INST] SELECT COUNT(kickoff) FROM table_26275503_2 WHERE opponent = "at Rhein Fire" </s>
|
How many different kickoffs happened when the opponent was the Scottish Claymores
|
CREATE TABLE table_26275503_2 (kickoff VARCHAR, opponent VARCHAR)
|
SELECT COUNT(kickoff) FROM table_26275503_2 WHERE opponent = "Scottish Claymores"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26275503_2 (kickoff VARCHAR, opponent VARCHAR) Question: How many different kickoffs happened when the opponent was the Scottish Claymores [/INST] SELECT COUNT(kickoff) FROM table_26275503_2 WHERE opponent = "Scottish Claymores" </s>
|
What is the lowest enrollment for Eastern Michigan University?
|
CREATE TABLE table_26351260_1 (enrollment INTEGER, institution VARCHAR)
|
SELECT MIN(enrollment) FROM table_26351260_1 WHERE institution = "Eastern Michigan University"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26351260_1 (enrollment INTEGER, institution VARCHAR) Question: What is the lowest enrollment for Eastern Michigan University? [/INST] SELECT MIN(enrollment) FROM table_26351260_1 WHERE institution = "Eastern Michigan University" </s>
|
What is Kent State University's team nickname?
|
CREATE TABLE table_26351260_1 (team_nickname VARCHAR, institution VARCHAR)
|
SELECT team_nickname FROM table_26351260_1 WHERE institution = "Kent State University"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26351260_1 (team_nickname VARCHAR, institution VARCHAR) Question: What is Kent State University's team nickname? [/INST] SELECT team_nickname FROM table_26351260_1 WHERE institution = "Kent State University" </s>
|
How many Kent State University's are there?
|
CREATE TABLE table_26351260_1 (location VARCHAR, institution VARCHAR)
|
SELECT COUNT(location) FROM table_26351260_1 WHERE institution = "Kent State University"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26351260_1 (location VARCHAR, institution VARCHAR) Question: How many Kent State University's are there? [/INST] SELECT COUNT(location) FROM table_26351260_1 WHERE institution = "Kent State University" </s>
|
How many school teams are nicknamed "Bulldogs".
|
CREATE TABLE table_26351260_1 (location VARCHAR, team_nickname VARCHAR)
|
SELECT location FROM table_26351260_1 WHERE team_nickname = "Bulldogs"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26351260_1 (location VARCHAR, team_nickname VARCHAR) Question: How many school teams are nicknamed "Bulldogs". [/INST] SELECT location FROM table_26351260_1 WHERE team_nickname = "Bulldogs" </s>
|
If the public is 4, what is the total?
|
CREATE TABLE table_26375386_17 (total VARCHAR, public VARCHAR)
|
SELECT total FROM table_26375386_17 WHERE public = 4
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26375386_17 (total VARCHAR, public VARCHAR) Question: If the public is 4, what is the total? [/INST] SELECT total FROM table_26375386_17 WHERE public = 4 </s>
|
How many results where given for the vote percentage 3.1%?
|
CREATE TABLE table_26375386_17 (result VARCHAR, vote_percentage VARCHAR)
|
SELECT COUNT(result) FROM table_26375386_17 WHERE vote_percentage = "3.1%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26375386_17 (result VARCHAR, vote_percentage VARCHAR) Question: How many results where given for the vote percentage 3.1%? [/INST] SELECT COUNT(result) FROM table_26375386_17 WHERE vote_percentage = "3.1%" </s>
|
What couple had a vote percentage of 5.2%?
|
CREATE TABLE table_26375386_17 (couple VARCHAR, vote_percentage VARCHAR)
|
SELECT couple FROM table_26375386_17 WHERE vote_percentage = "5.2%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26375386_17 (couple VARCHAR, vote_percentage VARCHAR) Question: What couple had a vote percentage of 5.2%? [/INST] SELECT couple FROM table_26375386_17 WHERE vote_percentage = "5.2%" </s>
|
What was the vote % of Heather and Matt?
|
CREATE TABLE table_26375386_18 (vote_percentage VARCHAR, couple VARCHAR)
|
SELECT vote_percentage FROM table_26375386_18 WHERE couple = "Heather and Matt"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26375386_18 (vote_percentage VARCHAR, couple VARCHAR) Question: What was the vote % of Heather and Matt? [/INST] SELECT vote_percentage FROM table_26375386_18 WHERE couple = "Heather and Matt" </s>
|
Who was the couple on the bottom two?
|
CREATE TABLE table_26375386_18 (couple VARCHAR, result VARCHAR)
|
SELECT couple FROM table_26375386_18 WHERE result = "Bottom two"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26375386_18 (couple VARCHAR, result VARCHAR) Question: Who was the couple on the bottom two? [/INST] SELECT couple FROM table_26375386_18 WHERE result = "Bottom two" </s>
|
WHat was the max public with danniella and matthew?
|
CREATE TABLE table_26375386_18 (public INTEGER, couple VARCHAR)
|
SELECT MAX(public) FROM table_26375386_18 WHERE couple = "Danniella and Matthew"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26375386_18 (public INTEGER, couple VARCHAR) Question: WHat was the max public with danniella and matthew? [/INST] SELECT MAX(public) FROM table_26375386_18 WHERE couple = "Danniella and Matthew" </s>
|
If the overall viewers were 1.83 millions, what was the overall market share?
|
CREATE TABLE table_2639433_4 (market_share__overall_ VARCHAR, viewers__in_millions_overall_ VARCHAR)
|
SELECT market_share__overall_ FROM table_2639433_4 WHERE viewers__in_millions_overall_ = "1.83"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2639433_4 (market_share__overall_ VARCHAR, viewers__in_millions_overall_ VARCHAR) Question: If the overall viewers were 1.83 millions, what was the overall market share? [/INST] SELECT market_share__overall_ FROM table_2639433_4 WHERE viewers__in_millions_overall_ = "1.83" </s>
|
If the episode was number 234, what was it's timeslot?
|
CREATE TABLE table_2639433_4 (timeslot VARCHAR, episodes VARCHAR)
|
SELECT timeslot FROM table_2639433_4 WHERE episodes = 234
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2639433_4 (timeslot VARCHAR, episodes VARCHAR) Question: If the episode was number 234, what was it's timeslot? [/INST] SELECT timeslot FROM table_2639433_4 WHERE episodes = 234 </s>
|
What episode came out in the year 2007?
|
CREATE TABLE table_2639433_4 (episodes VARCHAR, year VARCHAR)
|
SELECT episodes FROM table_2639433_4 WHERE year = 2007
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2639433_4 (episodes VARCHAR, year VARCHAR) Question: What episode came out in the year 2007? [/INST] SELECT episodes FROM table_2639433_4 WHERE year = 2007 </s>
|
What was the timeslot for the episode in the year 2008?
|
CREATE TABLE table_2639433_4 (timeslot VARCHAR, year VARCHAR)
|
SELECT timeslot FROM table_2639433_4 WHERE year = 2008
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2639433_4 (timeslot VARCHAR, year VARCHAR) Question: What was the timeslot for the episode in the year 2008? [/INST] SELECT timeslot FROM table_2639433_4 WHERE year = 2008 </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.