instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
What's the BTU/Gal of the fuel whose kWh/Gal is 24.04?
CREATE TABLE table_2224692_1 (btu_gal VARCHAR, kwh_gal VARCHAR)
SELECT btu_gal FROM table_2224692_1 WHERE kwh_gal = "24.04"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2224692_1 (btu_gal VARCHAR, kwh_gal VARCHAR) Question: What's the BTU/Gal of the fuel whose kWh/Gal is 24.04? [/INST] SELECT btu_gal FROM table_2224692_1 WHERE kwh_gal = "24.04" </s>
What's the HP -hr/gal of the fuel whose GGE is 0.9000?
CREATE TABLE table_2224692_1 (hp__hr_gal VARCHAR, gge VARCHAR)
SELECT hp__hr_gal FROM table_2224692_1 WHERE gge = "0.9000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2224692_1 (hp__hr_gal VARCHAR, gge VARCHAR) Question: What's the HP -hr/gal of the fuel whose GGE is 0.9000? [/INST] SELECT hp__hr_gal FROM table_2224692_1 WHERE gge = "0.9000" </s>
What is the percentage yield for a DPMO of 3.4?
CREATE TABLE table_222448_1 (percentage_yield VARCHAR, dpmo VARCHAR)
SELECT percentage_yield FROM table_222448_1 WHERE dpmo = "3.4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_222448_1 (percentage_yield VARCHAR, dpmo VARCHAR) Question: What is the percentage yield for a DPMO of 3.4? [/INST] SELECT percentage_yield FROM table_222448_1 WHERE dpmo = "3.4" </s>
How many percentage yield figures are there when 6.7% are defective?
CREATE TABLE table_222448_1 (percentage_yield VARCHAR, percent_defective VARCHAR)
SELECT COUNT(percentage_yield) FROM table_222448_1 WHERE percent_defective = "6.7%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_222448_1 (percentage_yield VARCHAR, percent_defective VARCHAR) Question: How many percentage yield figures are there when 6.7% are defective? [/INST] SELECT COUNT(percentage_yield) FROM table_222448_1 WHER...
What is long-term C PK when the short-term C PK is 2.00?
CREATE TABLE table_222448_1 (long_term_c_pk VARCHAR, short_term_c_pk VARCHAR)
SELECT long_term_c_pk FROM table_222448_1 WHERE short_term_c_pk = "2.00"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_222448_1 (long_term_c_pk VARCHAR, short_term_c_pk VARCHAR) Question: What is long-term C PK when the short-term C PK is 2.00? [/INST] SELECT long_term_c_pk FROM table_222448_1 WHERE short_term_c_pk = "2.00...
What is the sigma (with 1.5σ shift) when there are 69% defective?
CREATE TABLE table_222448_1 (sigma__with_15σ_shift_ VARCHAR, percent_defective VARCHAR)
SELECT sigma__with_15σ_shift_ FROM table_222448_1 WHERE percent_defective = "69%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_222448_1 (sigma__with_15σ_shift_ VARCHAR, percent_defective VARCHAR) Question: What is the sigma (with 1.5σ shift) when there are 69% defective? [/INST] SELECT sigma__with_15σ_shift_ FROM table_222448_1 WH...
When sigma (with 1.5σ shift) is 2.5, what percent is defective?
CREATE TABLE table_222448_1 (percent_defective VARCHAR, sigma__with_15σ_shift_ VARCHAR)
SELECT percent_defective FROM table_222448_1 WHERE sigma__with_15σ_shift_ = "2.5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_222448_1 (percent_defective VARCHAR, sigma__with_15σ_shift_ VARCHAR) Question: When sigma (with 1.5σ shift) is 2.5, what percent is defective? [/INST] SELECT percent_defective FROM table_222448_1 WHERE sig...
How many times was u.s. Viewers listed for episode 36 in the series?
CREATE TABLE table_22265225_1 (us_viewers__millions_ VARCHAR, no_in_series VARCHAR)
SELECT COUNT(us_viewers__millions_) FROM table_22265225_1 WHERE no_in_series = "36"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22265225_1 (us_viewers__millions_ VARCHAR, no_in_series VARCHAR) Question: How many times was u.s. Viewers listed for episode 36 in the series? [/INST] SELECT COUNT(us_viewers__millions_) FROM table_222652...
How many million U.s. Viewers watched episode 12 in the season?
CREATE TABLE table_22265225_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR)
SELECT us_viewers__millions_ FROM table_22265225_1 WHERE no_in_season = "12"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22265225_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR) Question: How many million U.s. Viewers watched episode 12 in the season? [/INST] SELECT us_viewers__millions_ FROM table_22265225_1 WHERE n...
What day did the episode with a production code of 218 originally air?
CREATE TABLE table_22265225_1 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_22265225_1 WHERE production_code = "218"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22265225_1 (original_air_date VARCHAR, production_code VARCHAR) Question: What day did the episode with a production code of 218 originally air? [/INST] SELECT original_air_date FROM table_22265225_1 WHERE...
How many episodes were listed as number 29 in the series?
CREATE TABLE table_22265225_1 (no_in_season VARCHAR, no_in_series VARCHAR)
SELECT COUNT(no_in_season) FROM table_22265225_1 WHERE no_in_series = "29"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22265225_1 (no_in_season VARCHAR, no_in_series VARCHAR) Question: How many episodes were listed as number 29 in the series? [/INST] SELECT COUNT(no_in_season) FROM table_22265225_1 WHERE no_in_series = "29...
What was the Sp of the 2nd Position?
CREATE TABLE table_22265261_1 (sp VARCHAR, position VARCHAR)
SELECT COUNT(sp) FROM table_22265261_1 WHERE position = "2nd"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22265261_1 (sp VARCHAR, position VARCHAR) Question: What was the Sp of the 2nd Position? [/INST] SELECT COUNT(sp) FROM table_22265261_1 WHERE position = "2nd" </s>
How old was the horse when the SP was 200/1?
CREATE TABLE table_22265261_1 (age VARCHAR, sp VARCHAR)
SELECT COUNT(age) FROM table_22265261_1 WHERE sp = "200/1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22265261_1 (age VARCHAR, sp VARCHAR) Question: How old was the horse when the SP was 200/1? [/INST] SELECT COUNT(age) FROM table_22265261_1 WHERE sp = "200/1" </s>
What was the distance for the 11th position?
CREATE TABLE table_22265261_1 (distance VARCHAR, position VARCHAR)
SELECT distance FROM table_22265261_1 WHERE position = "11th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22265261_1 (distance VARCHAR, position VARCHAR) Question: What was the distance for the 11th position? [/INST] SELECT distance FROM table_22265261_1 WHERE position = "11th" </s>
Who was the jockey in 7th position?
CREATE TABLE table_22265261_1 (jockey VARCHAR, position VARCHAR)
SELECT jockey FROM table_22265261_1 WHERE position = "7th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22265261_1 (jockey VARCHAR, position VARCHAR) Question: Who was the jockey in 7th position? [/INST] SELECT jockey FROM table_22265261_1 WHERE position = "7th" </s>
What was the distance when the handicap was 11-2?
CREATE TABLE table_22265261_1 (distance VARCHAR, handicap__st_lb_ VARCHAR)
SELECT distance FROM table_22265261_1 WHERE handicap__st_lb_ = "11-2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22265261_1 (distance VARCHAR, handicap__st_lb_ VARCHAR) Question: What was the distance when the handicap was 11-2? [/INST] SELECT distance FROM table_22265261_1 WHERE handicap__st_lb_ = "11-2" </s>
If the production code is 6.18, what was the episode title?
CREATE TABLE table_2226817_7 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_2226817_7 WHERE production_code = "6.18"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2226817_7 (title VARCHAR, production_code VARCHAR) Question: If the production code is 6.18, what was the episode title? [/INST] SELECT title FROM table_2226817_7 WHERE production_code = "6.18" </s>
If the original air date January 19, 1992, who was the episode directed by?
CREATE TABLE table_2226817_7 (directed_by VARCHAR, original_air_date VARCHAR)
SELECT directed_by FROM table_2226817_7 WHERE original_air_date = "January 19, 1992"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2226817_7 (directed_by VARCHAR, original_air_date VARCHAR) Question: If the original air date January 19, 1992, who was the episode directed by? [/INST] SELECT directed_by FROM table_2226817_7 WHERE origin...
What's the season number of the episode with series number 84?
CREATE TABLE table_2226817_6 (no_in_season INTEGER, no_in_series VARCHAR)
SELECT MIN(no_in_season) FROM table_2226817_6 WHERE no_in_series = 84
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2226817_6 (no_in_season INTEGER, no_in_series VARCHAR) Question: What's the season number of the episode with series number 84? [/INST] SELECT MIN(no_in_season) FROM table_2226817_6 WHERE no_in_series = 84...
How many season numbers are there for the episodes written by Art Everett?
CREATE TABLE table_2226817_6 (no_in_season VARCHAR, written_by VARCHAR)
SELECT COUNT(no_in_season) FROM table_2226817_6 WHERE written_by = "Art Everett"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2226817_6 (no_in_season VARCHAR, written_by VARCHAR) Question: How many season numbers are there for the episodes written by Art Everett? [/INST] SELECT COUNT(no_in_season) FROM table_2226817_6 WHERE writt...
How many series numbers do the episodes originally aired on October 28, 1990?
CREATE TABLE table_2226817_6 (no_in_series VARCHAR, original_air_date VARCHAR)
SELECT COUNT(no_in_series) FROM table_2226817_6 WHERE original_air_date = "October 28, 1990"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2226817_6 (no_in_series VARCHAR, original_air_date VARCHAR) Question: How many series numbers do the episodes originally aired on October 28, 1990? [/INST] SELECT COUNT(no_in_series) FROM table_2226817_6 W...
What' the series number of the episode with season number 13?
CREATE TABLE table_2226817_6 (no_in_series INTEGER, no_in_season VARCHAR)
SELECT MIN(no_in_series) FROM table_2226817_6 WHERE no_in_season = 13
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2226817_6 (no_in_series INTEGER, no_in_season VARCHAR) Question: What' the series number of the episode with season number 13? [/INST] SELECT MIN(no_in_series) FROM table_2226817_6 WHERE no_in_season = 13 ...
What was the report for the Sunday race where the winner had an average speed of 128.27 mph?
CREATE TABLE table_22298383_1 (report VARCHAR, day VARCHAR, average_speed__mph_ VARCHAR)
SELECT report FROM table_22298383_1 WHERE day = "Sunday" AND average_speed__mph_ = "128.27"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22298383_1 (report VARCHAR, day VARCHAR, average_speed__mph_ VARCHAR) Question: What was the report for the Sunday race where the winner had an average speed of 128.27 mph? [/INST] SELECT report FROM table...
On what day was the race that Cale Yarborough won in 364 laps?
CREATE TABLE table_22298383_1 (day VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT day FROM table_22298383_1 WHERE laps = "364" AND driver = "Cale Yarborough"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22298383_1 (day VARCHAR, laps VARCHAR, driver VARCHAR) Question: On what day was the race that Cale Yarborough won in 364 laps? [/INST] SELECT day FROM table_22298383_1 WHERE laps = "364" AND driver = "Cal...
Who manufactured the car that won with an average speed of 126.259 mph?
CREATE TABLE table_22298383_1 (manufacturer VARCHAR, average_speed__mph_ VARCHAR)
SELECT manufacturer FROM table_22298383_1 WHERE average_speed__mph_ = "126.259"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22298383_1 (manufacturer VARCHAR, average_speed__mph_ VARCHAR) Question: Who manufactured the car that won with an average speed of 126.259 mph? [/INST] SELECT manufacturer FROM table_22298383_1 WHERE aver...
What year did the Leo Jackson Racing team win?
CREATE TABLE table_22298383_1 (year VARCHAR, team VARCHAR)
SELECT year FROM table_22298383_1 WHERE team = "Leo Jackson Racing"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22298383_1 (year VARCHAR, team VARCHAR) Question: What year did the Leo Jackson Racing team win? [/INST] SELECT year FROM table_22298383_1 WHERE team = "Leo Jackson Racing" </s>
When was the station WLS-TV owned since?
CREATE TABLE table_22329326_1 (owned_since VARCHAR, station VARCHAR)
SELECT owned_since FROM table_22329326_1 WHERE station = "WLS-TV"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22329326_1 (owned_since VARCHAR, station VARCHAR) Question: When was the station WLS-TV owned since? [/INST] SELECT owned_since FROM table_22329326_1 WHERE station = "WLS-TV" </s>
What market rank and city had the station KABC-TV?
CREATE TABLE table_22329326_1 (market_rank_ VARCHAR, _city_of_license__market VARCHAR, station VARCHAR)
SELECT market_rank_ & _city_of_license__market FROM table_22329326_1 WHERE station = "KABC-TV"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22329326_1 (market_rank_ VARCHAR, _city_of_license__market VARCHAR, station VARCHAR) Question: What market rank and city had the station KABC-TV? [/INST] SELECT market_rank_ & _city_of_license__market FROM...
What was the earliest year a station was owned since?
CREATE TABLE table_22329326_1 (owned_since INTEGER)
SELECT MIN(owned_since) FROM table_22329326_1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22329326_1 (owned_since INTEGER) Question: What was the earliest year a station was owned since? [/INST] SELECT MIN(owned_since) FROM table_22329326_1 </s>
How many episodes had 3.62 million viewers?
CREATE TABLE table_22353769_3 (share VARCHAR, viewers__millions_ VARCHAR)
SELECT COUNT(share) FROM table_22353769_3 WHERE viewers__millions_ = "3.62"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22353769_3 (share VARCHAR, viewers__millions_ VARCHAR) Question: How many episodes had 3.62 million viewers? [/INST] SELECT COUNT(share) FROM table_22353769_3 WHERE viewers__millions_ = "3.62" </s>
How many episodes have episode #11?
CREATE TABLE table_22353769_3 (us_air_date VARCHAR, episode__number VARCHAR)
SELECT COUNT(us_air_date) FROM table_22353769_3 WHERE episode__number = 11
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22353769_3 (us_air_date VARCHAR, episode__number VARCHAR) Question: How many episodes have episode #11? [/INST] SELECT COUNT(us_air_date) FROM table_22353769_3 WHERE episode__number = 11 </s>
How many epsidode(s) had 3.63 million viewers?
CREATE TABLE table_22353769_3 (episode__number VARCHAR, viewers__millions_ VARCHAR)
SELECT COUNT(episode__number) FROM table_22353769_3 WHERE viewers__millions_ = "3.63"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22353769_3 (episode__number VARCHAR, viewers__millions_ VARCHAR) Question: How many epsidode(s) had 3.63 million viewers? [/INST] SELECT COUNT(episode__number) FROM table_22353769_3 WHERE viewers__millions...
What nation had the athlete sebastian coe category:articles with hcards?
CREATE TABLE table_22355_11 (nation VARCHAR, athlete VARCHAR)
SELECT nation FROM table_22355_11 WHERE athlete = "Sebastian Coe Category:Articles with hCards"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22355_11 (nation VARCHAR, athlete VARCHAR) Question: What nation had the athlete sebastian coe category:articles with hcards? [/INST] SELECT nation FROM table_22355_11 WHERE athlete = "Sebastian Coe Catego...
What rank did the nation with athlete peter snell category:articles with hcards have?
CREATE TABLE table_22355_11 (rank VARCHAR, athlete VARCHAR)
SELECT COUNT(rank) FROM table_22355_11 WHERE athlete = "Peter Snell Category:Articles with hCards"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22355_11 (rank VARCHAR, athlete VARCHAR) Question: What rank did the nation with athlete peter snell category:articles with hcards have? [/INST] SELECT COUNT(rank) FROM table_22355_11 WHERE athlete = "Pete...
how many times was nation counted where athlete is shuhei nishida category:articles with hcards
CREATE TABLE table_22355_50 (nation VARCHAR, athlete VARCHAR)
SELECT COUNT(nation) FROM table_22355_50 WHERE athlete = "Shuhei Nishida Category:Articles with hCards"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22355_50 (nation VARCHAR, athlete VARCHAR) Question: how many times was nation counted where athlete is shuhei nishida category:articles with hcards [/INST] SELECT COUNT(nation) FROM table_22355_50 WHERE a...
What is the least number of silver medals won
CREATE TABLE table_22355_50 (silver INTEGER)
SELECT MIN(silver) FROM table_22355_50
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22355_50 (silver INTEGER) Question: What is the least number of silver medals won [/INST] SELECT MIN(silver) FROM table_22355_50 </s>
How many silver medalist was won?
CREATE TABLE table_22355_71 (silver INTEGER)
SELECT MAX(silver) FROM table_22355_71
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22355_71 (silver INTEGER) Question: How many silver medalist was won? [/INST] SELECT MAX(silver) FROM table_22355_71 </s>
Name the league cup for northern ireland
CREATE TABLE table_22357065_1 (league VARCHAR, nation VARCHAR)
SELECT league AS Cup FROM table_22357065_1 WHERE nation = "Northern Ireland"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22357065_1 (league VARCHAR, nation VARCHAR) Question: Name the league cup for northern ireland [/INST] SELECT league AS Cup FROM table_22357065_1 WHERE nation = "Northern Ireland" </s>
If the spacecraft is the Shenzhou 7 Eva 1, what is the start (utc) date and time?
CREATE TABLE table_22385461_9 (start___utc__ VARCHAR, spacecraft VARCHAR)
SELECT start___utc__ FROM table_22385461_9 WHERE spacecraft = "Shenzhou 7 EVA 1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22385461_9 (start___utc__ VARCHAR, spacecraft VARCHAR) Question: If the spacecraft is the Shenzhou 7 Eva 1, what is the start (utc) date and time? [/INST] SELECT start___utc__ FROM table_22385461_9 WHERE s...
If the start (utc) is November 18, 2008 18:09, what is the name of the spacecraft?
CREATE TABLE table_22385461_9 (spacecraft VARCHAR, start___utc__ VARCHAR)
SELECT spacecraft FROM table_22385461_9 WHERE start___utc__ = "November 18, 2008 18:09"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22385461_9 (spacecraft VARCHAR, start___utc__ VARCHAR) Question: If the start (utc) is November 18, 2008 18:09, what is the name of the spacecraft? [/INST] SELECT spacecraft FROM table_22385461_9 WHERE sta...
What is the end (UTC) for spacecraft STS-114 Eva 3?
CREATE TABLE table_22385461_6 (end__utc_ VARCHAR, spacecraft VARCHAR)
SELECT end__utc_ FROM table_22385461_6 WHERE spacecraft = "STS-114 EVA 3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22385461_6 (end__utc_ VARCHAR, spacecraft VARCHAR) Question: What is the end (UTC) for spacecraft STS-114 Eva 3? [/INST] SELECT end__utc_ FROM table_22385461_6 WHERE spacecraft = "STS-114 EVA 3" </s>
What is the start date and time of the walk that ends March 28, 2005, 11:31?
CREATE TABLE table_22385461_6 (start___utc__ VARCHAR, end__utc_ VARCHAR)
SELECT start___utc__ FROM table_22385461_6 WHERE end__utc_ = "March 28, 2005, 11:31"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22385461_6 (start___utc__ VARCHAR, end__utc_ VARCHAR) Question: What is the start date and time of the walk that ends March 28, 2005, 11:31? [/INST] SELECT start___utc__ FROM table_22385461_6 WHERE end__ut...
Which points classification has 4 as the stage?
CREATE TABLE table_22464308_2 (points_classification VARCHAR, stage VARCHAR)
SELECT points_classification FROM table_22464308_2 WHERE stage = 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22464308_2 (points_classification VARCHAR, stage VARCHAR) Question: Which points classification has 4 as the stage? [/INST] SELECT points_classification FROM table_22464308_2 WHERE stage = 4 </s>
Which malaysian team classification had mohd nur rizuan zainal as points classification?
CREATE TABLE table_22464308_2 (malaysian_team_classification VARCHAR, points_classification VARCHAR)
SELECT malaysian_team_classification FROM table_22464308_2 WHERE points_classification = "Mohd Nur Rizuan Zainal"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22464308_2 (malaysian_team_classification VARCHAR, points_classification VARCHAR) Question: Which malaysian team classification had mohd nur rizuan zainal as points classification? [/INST] SELECT malaysian...
Which team classification has malaysian team classification of mncf continental team?
CREATE TABLE table_22464308_2 (team_classification VARCHAR, malaysian_team_classification VARCHAR)
SELECT team_classification FROM table_22464308_2 WHERE malaysian_team_classification = "MNCF Continental Team"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22464308_2 (team_classification VARCHAR, malaysian_team_classification VARCHAR) Question: Which team classification has malaysian team classification of mncf continental team? [/INST] SELECT team_classific...
When did the term end that began January 3, 2007?
CREATE TABLE table_224672_2 (term_ended VARCHAR, term_began VARCHAR)
SELECT term_ended FROM table_224672_2 WHERE term_began = "January 3, 2007"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_224672_2 (term_ended VARCHAR, term_began VARCHAR) Question: When did the term end that began January 3, 2007? [/INST] SELECT term_ended FROM table_224672_2 WHERE term_began = "January 3, 2007" </s>
When did the term began when the date of election is N/A?
CREATE TABLE table_224672_2 (term_began VARCHAR, elected VARCHAR)
SELECT term_began FROM table_224672_2 WHERE elected = "N/A"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_224672_2 (term_began VARCHAR, elected VARCHAR) Question: When did the term began when the date of election is N/A? [/INST] SELECT term_began FROM table_224672_2 WHERE elected = "N/A" </s>
When did the term end that began December 4, 1978?
CREATE TABLE table_224672_2 (term_ended VARCHAR, term_began VARCHAR)
SELECT term_ended FROM table_224672_2 WHERE term_began = "December 4, 1978"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_224672_2 (term_ended VARCHAR, term_began VARCHAR) Question: When did the term end that began December 4, 1978? [/INST] SELECT term_ended FROM table_224672_2 WHERE term_began = "December 4, 1978" </s>
When did the term begin that ended January 3, 1995?
CREATE TABLE table_224672_2 (term_began VARCHAR, term_ended VARCHAR)
SELECT term_began FROM table_224672_2 WHERE term_ended = "January 3, 1995"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_224672_2 (term_began VARCHAR, term_ended VARCHAR) Question: When did the term begin that ended January 3, 1995? [/INST] SELECT term_began FROM table_224672_2 WHERE term_ended = "January 3, 1995" </s>
What branch of government was the term that ended on January 3, 2001?
CREATE TABLE table_224672_2 (type VARCHAR, term_ended VARCHAR)
SELECT type FROM table_224672_2 WHERE term_ended = "January 3, 2001"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_224672_2 (type VARCHAR, term_ended VARCHAR) Question: What branch of government was the term that ended on January 3, 2001? [/INST] SELECT type FROM table_224672_2 WHERE term_ended = "January 3, 2001" </s>
Where is the position when houston, tx is the hometown and worthing is the high school?
CREATE TABLE table_22496344_1 (position VARCHAR, home_town VARCHAR, high_school VARCHAR)
SELECT position FROM table_22496344_1 WHERE home_town = "Houston, TX" AND high_school = "Worthing"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22496344_1 (position VARCHAR, home_town VARCHAR, high_school VARCHAR) Question: Where is the position when houston, tx is the hometown and worthing is the high school? [/INST] SELECT position FROM table_22...
Which highschool has senior (rs) for the year?
CREATE TABLE table_22496344_1 (high_school VARCHAR, year VARCHAR)
SELECT high_school FROM table_22496344_1 WHERE year = "Senior (RS)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22496344_1 (high_school VARCHAR, year VARCHAR) Question: Which highschool has senior (rs) for the year? [/INST] SELECT high_school FROM table_22496344_1 WHERE year = "Senior (RS)" </s>
What is the # when conroe, tx is the hometown?
CREATE TABLE table_22496344_1 (_number INTEGER, home_town VARCHAR)
SELECT MIN(_number) FROM table_22496344_1 WHERE home_town = "Conroe, TX"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22496344_1 (_number INTEGER, home_town VARCHAR) Question: What is the # when conroe, tx is the hometown? [/INST] SELECT MIN(_number) FROM table_22496344_1 WHERE home_town = "Conroe, TX" </s>
What is the weight when 20 is the number?
CREATE TABLE table_22496344_1 (weight INTEGER, _number VARCHAR)
SELECT MAX(weight) FROM table_22496344_1 WHERE _number = 20
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22496344_1 (weight INTEGER, _number VARCHAR) Question: What is the weight when 20 is the number? [/INST] SELECT MAX(weight) FROM table_22496344_1 WHERE _number = 20 </s>
What is the name when senior is the year with the # less than 10.0?
CREATE TABLE table_22496344_1 (name VARCHAR, year VARCHAR, _number VARCHAR)
SELECT name FROM table_22496344_1 WHERE year = "Senior" AND _number < 10.0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22496344_1 (name VARCHAR, year VARCHAR, _number VARCHAR) Question: What is the name when senior is the year with the # less than 10.0? [/INST] SELECT name FROM table_22496344_1 WHERE year = "Senior" AND _n...
What is the # for worthing high school?
CREATE TABLE table_22496344_1 (_number VARCHAR, high_school VARCHAR)
SELECT COUNT(_number) FROM table_22496344_1 WHERE high_school = "Worthing"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22496344_1 (_number VARCHAR, high_school VARCHAR) Question: What is the # for worthing high school? [/INST] SELECT COUNT(_number) FROM table_22496344_1 WHERE high_school = "Worthing" </s>
Name the reason for change for jonathan jennings
CREATE TABLE table_225094_4 (reason_for_change VARCHAR, successor VARCHAR)
SELECT COUNT(reason_for_change) FROM table_225094_4 WHERE successor = "Jonathan Jennings"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_225094_4 (reason_for_change VARCHAR, successor VARCHAR) Question: Name the reason for change for jonathan jennings [/INST] SELECT COUNT(reason_for_change) FROM table_225094_4 WHERE successor = "Jonathan Je...
Name the date successor seated for failure to elect
CREATE TABLE table_225094_4 (date_successor_seated VARCHAR, reason_for_change VARCHAR)
SELECT date_successor_seated FROM table_225094_4 WHERE reason_for_change = "failure to elect"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_225094_4 (date_successor_seated VARCHAR, reason_for_change VARCHAR) Question: Name the date successor seated for failure to elect [/INST] SELECT date_successor_seated FROM table_225094_4 WHERE reason_for_c...
Name the successor for james noble died in previous congress
CREATE TABLE table_225198_3 (successor VARCHAR, reason_for_change VARCHAR)
SELECT successor FROM table_225198_3 WHERE reason_for_change = "James Noble died in previous Congress"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_225198_3 (successor VARCHAR, reason_for_change VARCHAR) Question: Name the successor for james noble died in previous congress [/INST] SELECT successor FROM table_225198_3 WHERE reason_for_change = "James ...
Name the state class for isaac d. barnard (j)
CREATE TABLE table_225198_3 (state__class_ VARCHAR, vacator VARCHAR)
SELECT state__class_ FROM table_225198_3 WHERE vacator = "Isaac D. Barnard (J)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_225198_3 (state__class_ VARCHAR, vacator VARCHAR) Question: Name the state class for isaac d. barnard (j) [/INST] SELECT state__class_ FROM table_225198_3 WHERE vacator = "Isaac D. Barnard (J)" </s>
Who is the successor when the reason for change is died November 11, 1845?
CREATE TABLE table_225205_4 (successor VARCHAR, reason_for_change VARCHAR)
SELECT successor FROM table_225205_4 WHERE reason_for_change = "Died November 11, 1845"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_225205_4 (successor VARCHAR, reason_for_change VARCHAR) Question: Who is the successor when the reason for change is died November 11, 1845? [/INST] SELECT successor FROM table_225205_4 WHERE reason_for_ch...
How many date of successor seated is new jersey 2nd in the district?
CREATE TABLE table_225205_4 (date_successor_seated VARCHAR, district VARCHAR)
SELECT COUNT(date_successor_seated) FROM table_225205_4 WHERE district = "New Jersey 2nd"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_225205_4 (date_successor_seated VARCHAR, district VARCHAR) Question: How many date of successor seated is new jersey 2nd in the district? [/INST] SELECT COUNT(date_successor_seated) FROM table_225205_4 WHE...
Who was the Best Male Artist where Bankie Travolta won the Best Male MC?
CREATE TABLE table_22546460_4 (best_male_artist VARCHAR, best_male_mc VARCHAR)
SELECT best_male_artist FROM table_22546460_4 WHERE best_male_mc = "Bankie Travolta"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22546460_4 (best_male_artist VARCHAR, best_male_mc VARCHAR) Question: Who was the Best Male Artist where Bankie Travolta won the Best Male MC? [/INST] SELECT best_male_artist FROM table_22546460_4 WHERE be...
Who was the Best Male MC if Best Album won the Best Male Lyricist?
CREATE TABLE table_22546460_4 (best_male_mc VARCHAR, best_male_lyricist VARCHAR)
SELECT best_male_mc FROM table_22546460_4 WHERE best_male_lyricist = "Best Album"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22546460_4 (best_male_mc VARCHAR, best_male_lyricist VARCHAR) Question: Who was the Best Male MC if Best Album won the Best Male Lyricist? [/INST] SELECT best_male_mc FROM table_22546460_4 WHERE best_male_...
Who was the Best Male Lyricist if Neshia Nee won the Best Male Record?
CREATE TABLE table_22546460_4 (best_male_lyricist VARCHAR, best_male_record VARCHAR)
SELECT best_male_lyricist FROM table_22546460_4 WHERE best_male_record = "Neshia Nee"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22546460_4 (best_male_lyricist VARCHAR, best_male_record VARCHAR) Question: Who was the Best Male Lyricist if Neshia Nee won the Best Male Record? [/INST] SELECT best_male_lyricist FROM table_22546460_4 WH...
Who won the Best Female Artist where Best R&B Contributor won the Best Male Lyricist?
CREATE TABLE table_22546460_4 (best_female_artist VARCHAR, best_male_lyricist VARCHAR)
SELECT best_female_artist FROM table_22546460_4 WHERE best_male_lyricist = "Best R&B Contributor"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22546460_4 (best_female_artist VARCHAR, best_male_lyricist VARCHAR) Question: Who won the Best Female Artist where Best R&B Contributor won the Best Male Lyricist? [/INST] SELECT best_female_artist FROM ta...
What won the Best Female Artist if Best Lyrical Record won the Best Male Artist?
CREATE TABLE table_22546460_4 (best_female_artist VARCHAR, best_male_artist VARCHAR)
SELECT best_female_artist FROM table_22546460_4 WHERE best_male_artist = "Best Lyrical Record"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22546460_4 (best_female_artist VARCHAR, best_male_artist VARCHAR) Question: What won the Best Female Artist if Best Lyrical Record won the Best Male Artist? [/INST] SELECT best_female_artist FROM table_225...
What won the Best Female Artist if People's Male MC won the Best Female Lyricist?
CREATE TABLE table_22546460_4 (best_female_artist VARCHAR, best_female_lyricist VARCHAR)
SELECT best_female_artist FROM table_22546460_4 WHERE best_female_lyricist = "People's Male MC"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22546460_4 (best_female_artist VARCHAR, best_female_lyricist VARCHAR) Question: What won the Best Female Artist if People's Male MC won the Best Female Lyricist? [/INST] SELECT best_female_artist FROM tabl...
What is the lowest number of states contested under apna dal?
CREATE TABLE table_22582663_1 (states_contested INTEGER, party_name VARCHAR)
SELECT MIN(states_contested) FROM table_22582663_1 WHERE party_name = "Apna Dal"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22582663_1 (states_contested INTEGER, party_name VARCHAR) Question: What is the lowest number of states contested under apna dal? [/INST] SELECT MIN(states_contested) FROM table_22582663_1 WHERE party_name...
Where 19 seats were won, what was the minimum number of forfeited seats?
CREATE TABLE table_22582663_1 (forfeited_in_seats INTEGER, seats_won VARCHAR)
SELECT MIN(forfeited_in_seats) FROM table_22582663_1 WHERE seats_won = 19
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22582663_1 (forfeited_in_seats INTEGER, seats_won VARCHAR) Question: Where 19 seats were won, what was the minimum number of forfeited seats? [/INST] SELECT MIN(forfeited_in_seats) FROM table_22582663_1 WH...
How many akhil bharatiya rashtriya azad hind party seats were contested?
CREATE TABLE table_22582663_1 (seats_contested VARCHAR, party_name VARCHAR)
SELECT seats_contested FROM table_22582663_1 WHERE party_name = "Akhil Bharatiya Rashtriya Azad Hind Party"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22582663_1 (seats_contested VARCHAR, party_name VARCHAR) Question: How many akhil bharatiya rashtriya azad hind party seats were contested? [/INST] SELECT seats_contested FROM table_22582663_1 WHERE party_...
When was John McEnroe's minimum year?
CREATE TABLE table_22597626_1 (year INTEGER)
SELECT MIN(year) FROM table_22597626_1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22597626_1 (year INTEGER) Question: When was John McEnroe's minimum year? [/INST] SELECT MIN(year) FROM table_22597626_1 </s>
What were the US Open's final scores?
CREATE TABLE table_22597626_1 (score_in_the_final VARCHAR, championship VARCHAR)
SELECT score_in_the_final FROM table_22597626_1 WHERE championship = "US Open"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22597626_1 (score_in_the_final VARCHAR, championship VARCHAR) Question: What were the US Open's final scores? [/INST] SELECT score_in_the_final FROM table_22597626_1 WHERE championship = "US Open" </s>
Who were the partners in games where the score was 7-5, 2-6, [6-10]?
CREATE TABLE table_2259502_2 (partner VARCHAR, score VARCHAR)
SELECT partner FROM table_2259502_2 WHERE score = "7-5, 2-6, [6-10]"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2259502_2 (partner VARCHAR, score VARCHAR) Question: Who were the partners in games where the score was 7-5, 2-6, [6-10]? [/INST] SELECT partner FROM table_2259502_2 WHERE score = "7-5, 2-6, [6-10]" </s>
Who were the opponents in the Tokyo championships?
CREATE TABLE table_2259502_2 (opponents VARCHAR, championship VARCHAR)
SELECT opponents FROM table_2259502_2 WHERE championship = "Tokyo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2259502_2 (opponents VARCHAR, championship VARCHAR) Question: Who were the opponents in the Tokyo championships? [/INST] SELECT opponents FROM table_2259502_2 WHERE championship = "Tokyo" </s>
Who were the partners in games where the score was 1-6, 2-6?
CREATE TABLE table_2259502_2 (partner VARCHAR, score VARCHAR)
SELECT partner FROM table_2259502_2 WHERE score = "1-6, 2-6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2259502_2 (partner VARCHAR, score VARCHAR) Question: Who were the partners in games where the score was 1-6, 2-6? [/INST] SELECT partner FROM table_2259502_2 WHERE score = "1-6, 2-6" </s>
Who were the partners in 2012?
CREATE TABLE table_2259502_2 (partner VARCHAR, year VARCHAR)
SELECT partner FROM table_2259502_2 WHERE year = 2012
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2259502_2 (partner VARCHAR, year VARCHAR) Question: Who were the partners in 2012? [/INST] SELECT partner FROM table_2259502_2 WHERE year = 2012 </s>
What was the outcome in games where the score was 7-5, 2-6, [6-10]?
CREATE TABLE table_2259502_2 (outcome VARCHAR, score VARCHAR)
SELECT outcome FROM table_2259502_2 WHERE score = "7-5, 2-6, [6-10]"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2259502_2 (outcome VARCHAR, score VARCHAR) Question: What was the outcome in games where the score was 7-5, 2-6, [6-10]? [/INST] SELECT outcome FROM table_2259502_2 WHERE score = "7-5, 2-6, [6-10]" </s>
If the opponents in the final is Hewitt McMillan and the partner is Fleming, what is the surface?
CREATE TABLE table_22597626_2 (surface VARCHAR, partner VARCHAR, opponents_in_the_final VARCHAR)
SELECT surface FROM table_22597626_2 WHERE partner = "Fleming" AND opponents_in_the_final = "Hewitt McMillan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22597626_2 (surface VARCHAR, partner VARCHAR, opponents_in_the_final VARCHAR) Question: If the opponents in the final is Hewitt McMillan and the partner is Fleming, what is the surface? [/INST] SELECT surf...
What is the final score if the partner is Woodforde?
CREATE TABLE table_22597626_2 (score_in_the_final VARCHAR, partner VARCHAR)
SELECT score_in_the_final FROM table_22597626_2 WHERE partner = "Woodforde"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22597626_2 (score_in_the_final VARCHAR, partner VARCHAR) Question: What is the final score if the partner is Woodforde? [/INST] SELECT score_in_the_final FROM table_22597626_2 WHERE partner = "Woodforde" <...
In the US Open championship and the outcome is runner-up, what is the minimum year?
CREATE TABLE table_22597626_2 (year INTEGER, outcome VARCHAR, championship VARCHAR)
SELECT MIN(year) FROM table_22597626_2 WHERE outcome = "Runner-up" AND championship = "US Open"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22597626_2 (year INTEGER, outcome VARCHAR, championship VARCHAR) Question: In the US Open championship and the outcome is runner-up, what is the minimum year? [/INST] SELECT MIN(year) FROM table_22597626_2...
What is the surface made of if the opponent in the final is Hewitt McMillan?
CREATE TABLE table_22597626_2 (surface VARCHAR, opponents_in_the_final VARCHAR)
SELECT surface FROM table_22597626_2 WHERE opponents_in_the_final = "Hewitt McMillan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22597626_2 (surface VARCHAR, opponents_in_the_final VARCHAR) Question: What is the surface made of if the opponent in the final is Hewitt McMillan? [/INST] SELECT surface FROM table_22597626_2 WHERE oppone...
What is the surface made of if the year is 1979 and the championship is US Open?
CREATE TABLE table_22597626_2 (surface VARCHAR, championship VARCHAR, year VARCHAR)
SELECT surface FROM table_22597626_2 WHERE championship = "US Open" AND year = 1979
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22597626_2 (surface VARCHAR, championship VARCHAR, year VARCHAR) Question: What is the surface made of if the year is 1979 and the championship is US Open? [/INST] SELECT surface FROM table_22597626_2 WHER...
Name the ticket/office for orville preston
CREATE TABLE table_22607062_1 (ticket___office VARCHAR, secretary_of_state VARCHAR)
SELECT ticket___office FROM table_22607062_1 WHERE secretary_of_state = "Orville Preston"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22607062_1 (ticket___office VARCHAR, secretary_of_state VARCHAR) Question: Name the ticket/office for orville preston [/INST] SELECT ticket___office FROM table_22607062_1 WHERE secretary_of_state = "Orvill...
Name the comptroller for republican
CREATE TABLE table_22607062_1 (comptroller VARCHAR, ticket___office VARCHAR)
SELECT comptroller FROM table_22607062_1 WHERE ticket___office = "Republican"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22607062_1 (comptroller VARCHAR, ticket___office VARCHAR) Question: Name the comptroller for republican [/INST] SELECT comptroller FROM table_22607062_1 WHERE ticket___office = "Republican" </s>
Name the comptroller for office of prohibition
CREATE TABLE table_22607062_1 (comptroller VARCHAR, ticket___office VARCHAR)
SELECT comptroller FROM table_22607062_1 WHERE ticket___office = "Prohibition"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22607062_1 (comptroller VARCHAR, ticket___office VARCHAR) Question: Name the comptroller for office of prohibition [/INST] SELECT comptroller FROM table_22607062_1 WHERE ticket___office = "Prohibition" </s...
Name the replaced by for 8 july 2009
CREATE TABLE table_22640051_3 (replaced_by VARCHAR, date_of_appointment VARCHAR)
SELECT replaced_by FROM table_22640051_3 WHERE date_of_appointment = "8 July 2009"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22640051_3 (replaced_by VARCHAR, date_of_appointment VARCHAR) Question: Name the replaced by for 8 july 2009 [/INST] SELECT replaced_by FROM table_22640051_3 WHERE date_of_appointment = "8 July 2009" </s>
Name the total number of replaced by for 13 june 2009
CREATE TABLE table_22640051_3 (replaced_by VARCHAR, date_of_appointment VARCHAR)
SELECT COUNT(replaced_by) FROM table_22640051_3 WHERE date_of_appointment = "13 June 2009"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22640051_3 (replaced_by VARCHAR, date_of_appointment VARCHAR) Question: Name the total number of replaced by for 13 june 2009 [/INST] SELECT COUNT(replaced_by) FROM table_22640051_3 WHERE date_of_appointme...
Name the date of vacancy for manuel pellegrini
CREATE TABLE table_22640051_3 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
SELECT date_of_vacancy FROM table_22640051_3 WHERE outgoing_manager = "Manuel Pellegrini"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22640051_3 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) Question: Name the date of vacancy for manuel pellegrini [/INST] SELECT date_of_vacancy FROM table_22640051_3 WHERE outgoing_manager = "Manuel...
What was the free dance score in the event where compulsory dance score was 15.99?
CREATE TABLE table_22644589_4 (free_dance__fd_ VARCHAR, compulsory_dance__cd_ VARCHAR)
SELECT free_dance__fd_ FROM table_22644589_4 WHERE compulsory_dance__cd_ = "15.99"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22644589_4 (free_dance__fd_ VARCHAR, compulsory_dance__cd_ VARCHAR) Question: What was the free dance score in the event where compulsory dance score was 15.99? [/INST] SELECT free_dance__fd_ FROM table_2...
How many original dance scores are listed in the event where the compulsory dance was 20.03?
CREATE TABLE table_22644589_4 (original_dance__od_ VARCHAR, compulsory_dance__cd_ VARCHAR)
SELECT COUNT(original_dance__od_) FROM table_22644589_4 WHERE compulsory_dance__cd_ = "20.03"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22644589_4 (original_dance__od_ VARCHAR, compulsory_dance__cd_ VARCHAR) Question: How many original dance scores are listed in the event where the compulsory dance was 20.03? [/INST] SELECT COUNT(original...
In what even was the compulsory dance scored 23.75?
CREATE TABLE table_22644589_4 (event VARCHAR, compulsory_dance__cd_ VARCHAR)
SELECT event FROM table_22644589_4 WHERE compulsory_dance__cd_ = "23.75"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22644589_4 (event VARCHAR, compulsory_dance__cd_ VARCHAR) Question: In what even was the compulsory dance scored 23.75? [/INST] SELECT event FROM table_22644589_4 WHERE compulsory_dance__cd_ = "23.75" </s...
In what event was the compulsory dance score 28.12?
CREATE TABLE table_22644589_4 (event VARCHAR, compulsory_dance__cd_ VARCHAR)
SELECT event FROM table_22644589_4 WHERE compulsory_dance__cd_ = "28.12"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22644589_4 (event VARCHAR, compulsory_dance__cd_ VARCHAR) Question: In what event was the compulsory dance score 28.12? [/INST] SELECT event FROM table_22644589_4 WHERE compulsory_dance__cd_ = "28.12" </s...
What is every year when the reporters were Lesley Visser and Robin Roberts?
CREATE TABLE table_22654139_3 (year VARCHAR, reporters VARCHAR)
SELECT year FROM table_22654139_3 WHERE reporters = "Lesley Visser and Robin Roberts"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22654139_3 (year VARCHAR, reporters VARCHAR) Question: What is every year when the reporters were Lesley Visser and Robin Roberts? [/INST] SELECT year FROM table_22654139_3 WHERE reporters = "Lesley Visser...
What is the latest year with reporters Lesley Visser and Robin Roberts?
CREATE TABLE table_22654139_3 (year INTEGER, reporters VARCHAR)
SELECT MAX(year) FROM table_22654139_3 WHERE reporters = "Lesley Visser and Robin Roberts"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22654139_3 (year INTEGER, reporters VARCHAR) Question: What is the latest year with reporters Lesley Visser and Robin Roberts? [/INST] SELECT MAX(year) FROM table_22654139_3 WHERE reporters = "Lesley Visse...
Who was the driver for the Richard Childress Racing team in the race with a time of 2:58:22?
CREATE TABLE table_2266762_1 (driver VARCHAR, team VARCHAR, race_time VARCHAR)
SELECT driver FROM table_2266762_1 WHERE team = "Richard Childress Racing" AND race_time = "2:58:22"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2266762_1 (driver VARCHAR, team VARCHAR, race_time VARCHAR) Question: Who was the driver for the Richard Childress Racing team in the race with a time of 2:58:22? [/INST] SELECT driver FROM table_2266762_1...
On how many dates was the average speed of the race 91.033 MPH?
CREATE TABLE table_2266762_1 (date VARCHAR, average_speed__mph_ VARCHAR)
SELECT COUNT(date) FROM table_2266762_1 WHERE average_speed__mph_ = "91.033"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2266762_1 (date VARCHAR, average_speed__mph_ VARCHAR) Question: On how many dates was the average speed of the race 91.033 MPH? [/INST] SELECT COUNT(date) FROM table_2266762_1 WHERE average_speed__mph_ = "...
Who was the winning driver in the race that was 3:04:09 long?
CREATE TABLE table_2266762_1 (driver VARCHAR, race_time VARCHAR)
SELECT driver FROM table_2266762_1 WHERE race_time = "3:04:09"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2266762_1 (driver VARCHAR, race_time VARCHAR) Question: Who was the winning driver in the race that was 3:04:09 long? [/INST] SELECT driver FROM table_2266762_1 WHERE race_time = "3:04:09" </s>
Who was the opponent in the game in which Hakim Warrick (14) did the most high points?
CREATE TABLE table_22669044_10 (team VARCHAR, high_points VARCHAR)
SELECT team FROM table_22669044_10 WHERE high_points = "Hakim Warrick (14)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22669044_10 (team VARCHAR, high_points VARCHAR) Question: Who was the opponent in the game in which Hakim Warrick (14) did the most high points? [/INST] SELECT team FROM table_22669044_10 WHERE high_points...
What's the record in the game in which Brad Miller (7) did the high rebounds?
CREATE TABLE table_22669044_10 (record VARCHAR, high_rebounds VARCHAR)
SELECT record FROM table_22669044_10 WHERE high_rebounds = "Brad Miller (7)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22669044_10 (record VARCHAR, high_rebounds VARCHAR) Question: What's the record in the game in which Brad Miller (7) did the high rebounds? [/INST] SELECT record FROM table_22669044_10 WHERE high_rebounds ...