instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
what is the name of the jeremy guest for the episode 1x01
|
CREATE TABLE table_17413485_1 (jeremys_guest VARCHAR, episode VARCHAR)
|
SELECT jeremys_guest FROM table_17413485_1 WHERE episode = "1x01"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17413485_1 (jeremys_guest VARCHAR, episode VARCHAR) Question: what is the name of the jeremy guest for the episode 1x01 [/INST] SELECT jeremys_guest FROM table_17413485_1 WHERE episode = "1x01" </s>
|
what is the number of the episode where maria mcerlane where gramer guest
|
CREATE TABLE table_17413485_1 (episode VARCHAR, graemes_guest VARCHAR)
|
SELECT episode FROM table_17413485_1 WHERE graemes_guest = "Maria McErlane"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17413485_1 (episode VARCHAR, graemes_guest VARCHAR) Question: what is the number of the episode where maria mcerlane where gramer guest [/INST] SELECT episode FROM table_17413485_1 WHERE graemes_guest = "Maria McErlane" </s>
|
what is the name of the graemest guest of episode 1x03
|
CREATE TABLE table_17413485_1 (graemes_guest VARCHAR, episode VARCHAR)
|
SELECT graemes_guest FROM table_17413485_1 WHERE episode = "1x03"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17413485_1 (graemes_guest VARCHAR, episode VARCHAR) Question: what is the name of the graemest guest of episode 1x03 [/INST] SELECT graemes_guest FROM table_17413485_1 WHERE episode = "1x03" </s>
|
what is the largest city where the population is 6620100?
|
CREATE TABLE table_17416221_1 (largest_city VARCHAR, population__2013_ VARCHAR)
|
SELECT largest_city FROM table_17416221_1 WHERE population__2013_ = 6620100
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17416221_1 (largest_city VARCHAR, population__2013_ VARCHAR) Question: what is the largest city where the population is 6620100? [/INST] SELECT largest_city FROM table_17416221_1 WHERE population__2013_ = 6620100 </s>
|
what is the largest city where the province is eastern cape?
|
CREATE TABLE table_17416221_1 (largest_city VARCHAR, province VARCHAR)
|
SELECT largest_city FROM table_17416221_1 WHERE province = "Eastern Cape"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17416221_1 (largest_city VARCHAR, province VARCHAR) Question: what is the largest city where the province is eastern cape? [/INST] SELECT largest_city FROM table_17416221_1 WHERE province = "Eastern Cape" </s>
|
what is minimum area where the largest city is bloemfontein?
|
CREATE TABLE table_17416221_1 (area__km_2__ INTEGER, largest_city VARCHAR)
|
SELECT MIN(area__km_2__) FROM table_17416221_1 WHERE largest_city = "Bloemfontein"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17416221_1 (area__km_2__ INTEGER, largest_city VARCHAR) Question: what is minimum area where the largest city is bloemfontein? [/INST] SELECT MIN(area__km_2__) FROM table_17416221_1 WHERE largest_city = "Bloemfontein" </s>
|
what is the numbe of provincial captial where the population is 1162900?
|
CREATE TABLE table_17416221_1 (provincial_capital VARCHAR, population__2013_ VARCHAR)
|
SELECT COUNT(provincial_capital) FROM table_17416221_1 WHERE population__2013_ = 1162900
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17416221_1 (provincial_capital VARCHAR, population__2013_ VARCHAR) Question: what is the numbe of provincial captial where the population is 1162900? [/INST] SELECT COUNT(provincial_capital) FROM table_17416221_1 WHERE population__2013_ = 1162900 </s>
|
what is the number of provincial captial where the province is northern cape?
|
CREATE TABLE table_17416221_1 (provincial_capital VARCHAR, province VARCHAR)
|
SELECT COUNT(provincial_capital) FROM table_17416221_1 WHERE province = "Northern Cape"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17416221_1 (provincial_capital VARCHAR, province VARCHAR) Question: what is the number of provincial captial where the province is northern cape? [/INST] SELECT COUNT(provincial_capital) FROM table_17416221_1 WHERE province = "Northern Cape" </s>
|
What is the airport with the IATA MEL?
|
CREATE TABLE table_17419587_1 (airport VARCHAR, iata VARCHAR)
|
SELECT COUNT(airport) FROM table_17419587_1 WHERE iata = "MEL"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17419587_1 (airport VARCHAR, iata VARCHAR) Question: What is the airport with the IATA MEL? [/INST] SELECT COUNT(airport) FROM table_17419587_1 WHERE iata = "MEL" </s>
|
If unknown is larger than 1.0, what is the maximum two year amount?
|
CREATE TABLE table_174266_6 (two_years INTEGER, unknown INTEGER)
|
SELECT MAX(two_years) FROM table_174266_6 WHERE unknown > 1.0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_174266_6 (two_years INTEGER, unknown INTEGER) Question: If unknown is larger than 1.0, what is the maximum two year amount? [/INST] SELECT MAX(two_years) FROM table_174266_6 WHERE unknown > 1.0 </s>
|
If two years is 159, what is the amount for one year?
|
CREATE TABLE table_174266_6 (one_year INTEGER, two_years VARCHAR)
|
SELECT MIN(one_year) FROM table_174266_6 WHERE two_years = 159
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_174266_6 (one_year INTEGER, two_years VARCHAR) Question: If two years is 159, what is the amount for one year? [/INST] SELECT MIN(one_year) FROM table_174266_6 WHERE two_years = 159 </s>
|
When debra j. fisher & erica messer are the writers and the director is patrick norris what is the series number?
|
CREATE TABLE table_17467147_1 (series__number VARCHAR, directed_by VARCHAR, written_by VARCHAR)
|
SELECT series__number FROM table_17467147_1 WHERE directed_by = "Patrick Norris" AND written_by = "Debra J. Fisher & Erica Messer"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17467147_1 (series__number VARCHAR, directed_by VARCHAR, written_by VARCHAR) Question: When debra j. fisher & erica messer are the writers and the director is patrick norris what is the series number? [/INST] SELECT series__number FROM table_17467147_1 WHERE directed_by = "Patrick Norris" AND written_by = "Debra J. Fisher & Erica Messer" </s>
|
When there are 12.70 million u.s. viewers who is the director?
|
CREATE TABLE table_17467147_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
|
SELECT directed_by FROM table_17467147_1 WHERE us_viewers__million_ = "12.70"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17467147_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) Question: When there are 12.70 million u.s. viewers who is the director? [/INST] SELECT directed_by FROM table_17467147_1 WHERE us_viewers__million_ = "12.70" </s>
|
Which is the number of the episode "rook gave" "rūku dīo" (デ デ ィ オ ー ル) which aired on July 14, 2003
|
CREATE TABLE table_17481974_1 (episode__number INTEGER, original_airdate VARCHAR)
|
SELECT MIN(episode__number) FROM table_17481974_1 WHERE original_airdate = "July 14, 2003"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17481974_1 (episode__number INTEGER, original_airdate VARCHAR) Question: Which is the number of the episode "rook gave" "rūku dīo" (デ デ ィ オ ー ル) which aired on July 14, 2003 [/INST] SELECT MIN(episode__number) FROM table_17481974_1 WHERE original_airdate = "July 14, 2003" </s>
|
What are the numbers of episodes that were broadcast on September 1, 2003
|
CREATE TABLE table_17481974_1 (episode__number VARCHAR, original_airdate VARCHAR)
|
SELECT episode__number FROM table_17481974_1 WHERE original_airdate = "September 1, 2003"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17481974_1 (episode__number VARCHAR, original_airdate VARCHAR) Question: What are the numbers of episodes that were broadcast on September 1, 2003 [/INST] SELECT episode__number FROM table_17481974_1 WHERE original_airdate = "September 1, 2003" </s>
|
How many viewers did Episode #5 have?
|
CREATE TABLE table_17525955_2 (viewers__millions_ VARCHAR, episode__number VARCHAR)
|
SELECT viewers__millions_ FROM table_17525955_2 WHERE episode__number = 5
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17525955_2 (viewers__millions_ VARCHAR, episode__number VARCHAR) Question: How many viewers did Episode #5 have? [/INST] SELECT viewers__millions_ FROM table_17525955_2 WHERE episode__number = 5 </s>
|
How many episodes were originally aired Saturday, May 30, 2009?
|
CREATE TABLE table_17525955_2 (episode__number VARCHAR, us_air_date VARCHAR)
|
SELECT COUNT(episode__number) FROM table_17525955_2 WHERE us_air_date = "Saturday, May 30, 2009"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17525955_2 (episode__number VARCHAR, us_air_date VARCHAR) Question: How many episodes were originally aired Saturday, May 30, 2009? [/INST] SELECT COUNT(episode__number) FROM table_17525955_2 WHERE us_air_date = "Saturday, May 30, 2009" </s>
|
How many episodes aired Saturday, July 11, 2009
|
CREATE TABLE table_17525955_2 (episode__number VARCHAR, us_air_date VARCHAR)
|
SELECT COUNT(episode__number) FROM table_17525955_2 WHERE us_air_date = "Saturday, July 11, 2009"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17525955_2 (episode__number VARCHAR, us_air_date VARCHAR) Question: How many episodes aired Saturday, July 11, 2009 [/INST] SELECT COUNT(episode__number) FROM table_17525955_2 WHERE us_air_date = "Saturday, July 11, 2009" </s>
|
How many subsidiaries of Postermobile Limited?
|
CREATE TABLE table_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR)
|
SELECT subsidiaries FROM table_1756264_2 WHERE company_name = "POSTERMOBILE LIMITED"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR) Question: How many subsidiaries of Postermobile Limited? [/INST] SELECT subsidiaries FROM table_1756264_2 WHERE company_name = "POSTERMOBILE LIMITED" </s>
|
What activities does Clear Channel Entertainment Facilitation Limited engage in?
|
CREATE TABLE table_1756264_2 (description_of_activities VARCHAR, company_name VARCHAR)
|
SELECT description_of_activities FROM table_1756264_2 WHERE company_name = "CLEAR CHANNEL ENTERTAINMENT FACILITATION LIMITED"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1756264_2 (description_of_activities VARCHAR, company_name VARCHAR) Question: What activities does Clear Channel Entertainment Facilitation Limited engage in? [/INST] SELECT description_of_activities FROM table_1756264_2 WHERE company_name = "CLEAR CHANNEL ENTERTAINMENT FACILITATION LIMITED" </s>
|
How many subsidiaries of company F M Media Limited?
|
CREATE TABLE table_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR)
|
SELECT subsidiaries FROM table_1756264_2 WHERE company_name = "F M MEDIA LIMITED"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR) Question: How many subsidiaries of company F M Media Limited? [/INST] SELECT subsidiaries FROM table_1756264_2 WHERE company_name = "F M MEDIA LIMITED" </s>
|
How many subsidiaries are there of Postermobile Advertising Limited?
|
CREATE TABLE table_1756264_2 (subsidiaries INTEGER, company_name VARCHAR)
|
SELECT MIN(subsidiaries) FROM table_1756264_2 WHERE company_name = "POSTERMOBILE ADVERTISING LIMITED"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1756264_2 (subsidiaries INTEGER, company_name VARCHAR) Question: How many subsidiaries are there of Postermobile Advertising Limited? [/INST] SELECT MIN(subsidiaries) FROM table_1756264_2 WHERE company_name = "POSTERMOBILE ADVERTISING LIMITED" </s>
|
What is the largest number of holding companies?
|
CREATE TABLE table_1756264_2 (holding_companies INTEGER)
|
SELECT MAX(holding_companies) FROM table_1756264_2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1756264_2 (holding_companies INTEGER) Question: What is the largest number of holding companies? [/INST] SELECT MAX(holding_companies) FROM table_1756264_2 </s>
|
How many companies have Postermobile Limited as a parent company?
|
CREATE TABLE table_1756264_2 (company_name VARCHAR, parent__holding__company VARCHAR)
|
SELECT COUNT(company_name) FROM table_1756264_2 WHERE parent__holding__company = "POSTERMOBILE LIMITED"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1756264_2 (company_name VARCHAR, parent__holding__company VARCHAR) Question: How many companies have Postermobile Limited as a parent company? [/INST] SELECT COUNT(company_name) FROM table_1756264_2 WHERE parent__holding__company = "POSTERMOBILE LIMITED" </s>
|
Name the total number of league cup for mark roberts
|
CREATE TABLE table_17598822_11 (league VARCHAR, player VARCHAR)
|
SELECT COUNT(league) AS Cup FROM table_17598822_11 WHERE player = "Mark Roberts"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17598822_11 (league VARCHAR, player VARCHAR) Question: Name the total number of league cup for mark roberts [/INST] SELECT COUNT(league) AS Cup FROM table_17598822_11 WHERE player = "Mark Roberts" </s>
|
Name the total number of league for 5
|
CREATE TABLE table_17598822_11 (league VARCHAR, total VARCHAR)
|
SELECT COUNT(league) FROM table_17598822_11 WHERE total = 5
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17598822_11 (league VARCHAR, total VARCHAR) Question: Name the total number of league for 5 [/INST] SELECT COUNT(league) FROM table_17598822_11 WHERE total = 5 </s>
|
Name the maximum leagure for 0 scottish cup
|
CREATE TABLE table_17598822_11 (league INTEGER, scottish_cup VARCHAR)
|
SELECT MAX(league) FROM table_17598822_11 WHERE scottish_cup = 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17598822_11 (league INTEGER, scottish_cup VARCHAR) Question: Name the maximum leagure for 0 scottish cup [/INST] SELECT MAX(league) FROM table_17598822_11 WHERE scottish_cup = 0 </s>
|
Name the most challenge cup for damon gray
|
CREATE TABLE table_17598822_11 (challenge_cup INTEGER, player VARCHAR)
|
SELECT MAX(challenge_cup) FROM table_17598822_11 WHERE player = "Damon Gray"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17598822_11 (challenge_cup INTEGER, player VARCHAR) Question: Name the most challenge cup for damon gray [/INST] SELECT MAX(challenge_cup) FROM table_17598822_11 WHERE player = "Damon Gray" </s>
|
Name the league for paul paton
|
CREATE TABLE table_17598822_11 (league VARCHAR, player VARCHAR)
|
SELECT league FROM table_17598822_11 WHERE player = "Paul Paton"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17598822_11 (league VARCHAR, player VARCHAR) Question: Name the league for paul paton [/INST] SELECT league FROM table_17598822_11 WHERE player = "Paul Paton" </s>
|
What was the original air date of this episode that was written by Debbie Sarjeant?
|
CREATE TABLE table_17623902_1 (original_air_date VARCHAR, written_by VARCHAR)
|
SELECT original_air_date FROM table_17623902_1 WHERE written_by = "Debbie Sarjeant"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17623902_1 (original_air_date VARCHAR, written_by VARCHAR) Question: What was the original air date of this episode that was written by Debbie Sarjeant? [/INST] SELECT original_air_date FROM table_17623902_1 WHERE written_by = "Debbie Sarjeant" </s>
|
How many episodes did Julie Martin wrote for the show If every episode has its own production code?
|
CREATE TABLE table_17623902_1 (production_code VARCHAR, written_by VARCHAR)
|
SELECT COUNT(production_code) FROM table_17623902_1 WHERE written_by = "Julie Martin"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17623902_1 (production_code VARCHAR, written_by VARCHAR) Question: How many episodes did Julie Martin wrote for the show If every episode has its own production code? [/INST] SELECT COUNT(production_code) FROM table_17623902_1 WHERE written_by = "Julie Martin" </s>
|
Name the total number of series for april 26
|
CREATE TABLE table_17621978_11 (series VARCHAR, date VARCHAR)
|
SELECT COUNT(series) FROM table_17621978_11 WHERE date = "April 26"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17621978_11 (series VARCHAR, date VARCHAR) Question: Name the total number of series for april 26 [/INST] SELECT COUNT(series) FROM table_17621978_11 WHERE date = "April 26" </s>
|
Name the number of high rebounds for april 21
|
CREATE TABLE table_17621978_11 (high_rebounds VARCHAR, date VARCHAR)
|
SELECT COUNT(high_rebounds) FROM table_17621978_11 WHERE date = "April 21"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17621978_11 (high_rebounds VARCHAR, date VARCHAR) Question: Name the number of high rebounds for april 21 [/INST] SELECT COUNT(high_rebounds) FROM table_17621978_11 WHERE date = "April 21" </s>
|
Name the number of location attendance for april 24
|
CREATE TABLE table_17621978_11 (location_attendance VARCHAR, date VARCHAR)
|
SELECT COUNT(location_attendance) FROM table_17621978_11 WHERE date = "April 24"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17621978_11 (location_attendance VARCHAR, date VARCHAR) Question: Name the number of location attendance for april 24 [/INST] SELECT COUNT(location_attendance) FROM table_17621978_11 WHERE date = "April 24" </s>
|
What is listed in p when the type is listed as free agent 1?
|
CREATE TABLE table_17634290_7 (p VARCHAR, type VARCHAR)
|
SELECT p FROM table_17634290_7 WHERE type = "Free agent 1"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17634290_7 (p VARCHAR, type VARCHAR) Question: What is listed in p when the type is listed as free agent 1? [/INST] SELECT p FROM table_17634290_7 WHERE type = "Free agent 1" </s>
|
What is the end when moving from is listed as cary clarets?
|
CREATE TABLE table_17634290_7 (ends VARCHAR, moving_from VARCHAR)
|
SELECT ends FROM table_17634290_7 WHERE moving_from = "Cary Clarets"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17634290_7 (ends VARCHAR, moving_from VARCHAR) Question: What is the end when moving from is listed as cary clarets? [/INST] SELECT ends FROM table_17634290_7 WHERE moving_from = "Cary Clarets" </s>
|
What is the name of the country where moving from is listed as bristol city?
|
CREATE TABLE table_17634290_7 (country VARCHAR, moving_from VARCHAR)
|
SELECT country FROM table_17634290_7 WHERE moving_from = "Bristol City"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17634290_7 (country VARCHAR, moving_from VARCHAR) Question: What is the name of the country where moving from is listed as bristol city? [/INST] SELECT country FROM table_17634290_7 WHERE moving_from = "Bristol City" </s>
|
Name the number of duration for viewership of 5.46 million
|
CREATE TABLE table_17641206_6 (duration VARCHAR, viewership VARCHAR)
|
SELECT COUNT(duration) FROM table_17641206_6 WHERE viewership = "5.46 million"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17641206_6 (duration VARCHAR, viewership VARCHAR) Question: Name the number of duration for viewership of 5.46 million [/INST] SELECT COUNT(duration) FROM table_17641206_6 WHERE viewership = "5.46 million" </s>
|
Name the total number of episodes written by david cantor
|
CREATE TABLE table_17641206_6 (episode VARCHAR, written_by VARCHAR)
|
SELECT COUNT(episode) FROM table_17641206_6 WHERE written_by = "David Cantor"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17641206_6 (episode VARCHAR, written_by VARCHAR) Question: Name the total number of episodes written by david cantor [/INST] SELECT COUNT(episode) FROM table_17641206_6 WHERE written_by = "David Cantor" </s>
|
Name the total number of original titles written by john sullivan and keith lindsay
|
CREATE TABLE table_17641206_6 (original_title VARCHAR, written_by VARCHAR)
|
SELECT COUNT(original_title) FROM table_17641206_6 WHERE written_by = "John Sullivan and Keith Lindsay"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17641206_6 (original_title VARCHAR, written_by VARCHAR) Question: Name the total number of original titles written by john sullivan and keith lindsay [/INST] SELECT COUNT(original_title) FROM table_17641206_6 WHERE written_by = "John Sullivan and Keith Lindsay" </s>
|
Name the original title for 6.05 million viewership
|
CREATE TABLE table_17641206_6 (original_title VARCHAR, viewership VARCHAR)
|
SELECT original_title FROM table_17641206_6 WHERE viewership = "6.05 million"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17641206_6 (original_title VARCHAR, viewership VARCHAR) Question: Name the original title for 6.05 million viewership [/INST] SELECT original_title FROM table_17641206_6 WHERE viewership = "6.05 million" </s>
|
Who took third-place when there were 4 total wins?
|
CREATE TABLE table_17632217_2 (third_place VARCHAR, total_wins VARCHAR)
|
SELECT third_place FROM table_17632217_2 WHERE total_wins = 4
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17632217_2 (third_place VARCHAR, total_wins VARCHAR) Question: Who took third-place when there were 4 total wins? [/INST] SELECT third_place FROM table_17632217_2 WHERE total_wins = 4 </s>
|
What is the total number of clubs when the runner-up was Liaoning Fushun?
|
CREATE TABLE table_17632217_2 (number_of_clubs VARCHAR, runners_up VARCHAR)
|
SELECT COUNT(number_of_clubs) FROM table_17632217_2 WHERE runners_up = "Liaoning Fushun"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17632217_2 (number_of_clubs VARCHAR, runners_up VARCHAR) Question: What is the total number of clubs when the runner-up was Liaoning Fushun? [/INST] SELECT COUNT(number_of_clubs) FROM table_17632217_2 WHERE runners_up = "Liaoning Fushun" </s>
|
Who was placed fourth when third was Beijing Guoan and the winner was Dalian Wanda and wins total was 4?
|
CREATE TABLE table_17632217_2 (fourth_placed VARCHAR, total_wins VARCHAR, third_place VARCHAR, winners VARCHAR)
|
SELECT fourth_placed FROM table_17632217_2 WHERE third_place = "Beijing Guoan" AND winners = "Dalian Wanda" AND total_wins = 4
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17632217_2 (fourth_placed VARCHAR, total_wins VARCHAR, third_place VARCHAR, winners VARCHAR) Question: Who was placed fourth when third was Beijing Guoan and the winner was Dalian Wanda and wins total was 4? [/INST] SELECT fourth_placed FROM table_17632217_2 WHERE third_place = "Beijing Guoan" AND winners = "Dalian Wanda" AND total_wins = 4 </s>
|
Who was placed third when the ruuner up was Guangzhou Apollo?
|
CREATE TABLE table_17632217_2 (third_place VARCHAR, runners_up VARCHAR)
|
SELECT third_place FROM table_17632217_2 WHERE runners_up = "Guangzhou Apollo"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17632217_2 (third_place VARCHAR, runners_up VARCHAR) Question: Who was placed third when the ruuner up was Guangzhou Apollo? [/INST] SELECT third_place FROM table_17632217_2 WHERE runners_up = "Guangzhou Apollo" </s>
|
Who was placed third in 2001?
|
CREATE TABLE table_17632217_2 (third_place VARCHAR, season VARCHAR)
|
SELECT third_place FROM table_17632217_2 WHERE season = 2001
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17632217_2 (third_place VARCHAR, season VARCHAR) Question: Who was placed third in 2001? [/INST] SELECT third_place FROM table_17632217_2 WHERE season = 2001 </s>
|
What is the census ranking for the Perth parish?
|
CREATE TABLE table_176524_2 (census_ranking VARCHAR, official_name VARCHAR)
|
SELECT census_ranking FROM table_176524_2 WHERE official_name = "Perth"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_176524_2 (census_ranking VARCHAR, official_name VARCHAR) Question: What is the census ranking for the Perth parish? [/INST] SELECT census_ranking FROM table_176524_2 WHERE official_name = "Perth" </s>
|
What is the minimum population of the parish with a 750.51 km area?
|
CREATE TABLE table_176524_2 (population INTEGER, area_km_2 VARCHAR)
|
SELECT MIN(population) FROM table_176524_2 WHERE area_km_2 = "750.51"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_176524_2 (population INTEGER, area_km_2 VARCHAR) Question: What is the minimum population of the parish with a 750.51 km area? [/INST] SELECT MIN(population) FROM table_176524_2 WHERE area_km_2 = "750.51" </s>
|
with the amount of tries at 89, how many win's were there?
|
CREATE TABLE table_17675675_2 (won VARCHAR, tries_against VARCHAR)
|
SELECT won FROM table_17675675_2 WHERE tries_against = "89"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17675675_2 (won VARCHAR, tries_against VARCHAR) Question: with the amount of tries at 89, how many win's were there? [/INST] SELECT won FROM table_17675675_2 WHERE tries_against = "89" </s>
|
For club Swansea Uplands RFC, what is the amount of tries against?
|
CREATE TABLE table_17675675_2 (tries_against VARCHAR, club VARCHAR)
|
SELECT tries_against FROM table_17675675_2 WHERE club = "Swansea Uplands RFC"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17675675_2 (tries_against VARCHAR, club VARCHAR) Question: For club Swansea Uplands RFC, what is the amount of tries against? [/INST] SELECT tries_against FROM table_17675675_2 WHERE club = "Swansea Uplands RFC" </s>
|
What is the total amount of points when the given won is 9?
|
CREATE TABLE table_17675675_2 (points VARCHAR, won VARCHAR)
|
SELECT points FROM table_17675675_2 WHERE won = "9"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17675675_2 (points VARCHAR, won VARCHAR) Question: What is the total amount of points when the given won is 9? [/INST] SELECT points FROM table_17675675_2 WHERE won = "9" </s>
|
With the given points of 51, what was the total number of the try bonus?
|
CREATE TABLE table_17675675_2 (try_bonus VARCHAR, points VARCHAR)
|
SELECT COUNT(try_bonus) FROM table_17675675_2 WHERE points = "51"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17675675_2 (try_bonus VARCHAR, points VARCHAR) Question: With the given points of 51, what was the total number of the try bonus? [/INST] SELECT COUNT(try_bonus) FROM table_17675675_2 WHERE points = "51" </s>
|
With the given loss of 4, what was the number of tries?
|
CREATE TABLE table_17675675_2 (tries_for VARCHAR, lost VARCHAR)
|
SELECT COUNT(tries_for) FROM table_17675675_2 WHERE lost = "4"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17675675_2 (tries_for VARCHAR, lost VARCHAR) Question: With the given loss of 4, what was the number of tries? [/INST] SELECT COUNT(tries_for) FROM table_17675675_2 WHERE lost = "4" </s>
|
With the given points of 667, what was the number of tries against?
|
CREATE TABLE table_17675675_2 (tries_against VARCHAR, points_for VARCHAR)
|
SELECT tries_against FROM table_17675675_2 WHERE points_for = "667"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17675675_2 (tries_against VARCHAR, points_for VARCHAR) Question: With the given points of 667, what was the number of tries against? [/INST] SELECT tries_against FROM table_17675675_2 WHERE points_for = "667" </s>
|
What is the largest number of episodes for a 1989 season dvd release?
|
CREATE TABLE table_17697980_1 (no_of_episodes INTEGER, year VARCHAR)
|
SELECT MAX(no_of_episodes) FROM table_17697980_1 WHERE year = "1989"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17697980_1 (no_of_episodes INTEGER, year VARCHAR) Question: What is the largest number of episodes for a 1989 season dvd release? [/INST] SELECT MAX(no_of_episodes) FROM table_17697980_1 WHERE year = "1989" </s>
|
How many dvd titled "series 5" were released having a release date or a non available date in region 2?
|
CREATE TABLE table_17697980_1 (region_2 VARCHAR, dvd_title VARCHAR)
|
SELECT COUNT(region_2) FROM table_17697980_1 WHERE dvd_title = "Series 5"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17697980_1 (region_2 VARCHAR, dvd_title VARCHAR) Question: How many dvd titled "series 5" were released having a release date or a non available date in region 2? [/INST] SELECT COUNT(region_2) FROM table_17697980_1 WHERE dvd_title = "Series 5" </s>
|
Who are all the stage winners where the team classification is Caisse D'epargne?
|
CREATE TABLE table_17672500_19 (stage__winner_ VARCHAR, team_classification VARCHAR)
|
SELECT stage__winner_ FROM table_17672500_19 WHERE team_classification = "Caisse d'Epargne"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17672500_19 (stage__winner_ VARCHAR, team_classification VARCHAR) Question: Who are all the stage winners where the team classification is Caisse D'epargne? [/INST] SELECT stage__winner_ FROM table_17672500_19 WHERE team_classification = "Caisse d'Epargne" </s>
|
How many original air dates have U.S. Views (millions) of 19.49?
|
CREATE TABLE table_17758010_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
|
SELECT COUNT(original_air_date) FROM table_17758010_2 WHERE us_viewers__millions_ = "19.49"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17758010_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) Question: How many original air dates have U.S. Views (millions) of 19.49? [/INST] SELECT COUNT(original_air_date) FROM table_17758010_2 WHERE us_viewers__millions_ = "19.49" </s>
|
What is the lowest no. in series?
|
CREATE TABLE table_17758010_2 (no_in_series INTEGER)
|
SELECT MIN(no_in_series) FROM table_17758010_2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17758010_2 (no_in_series INTEGER) Question: What is the lowest no. in series? [/INST] SELECT MIN(no_in_series) FROM table_17758010_2 </s>
|
The opponent was the New York Jets on what week?
|
CREATE TABLE table_17781886_1 (week VARCHAR, opponent VARCHAR)
|
SELECT week FROM table_17781886_1 WHERE opponent = "New York Jets"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17781886_1 (week VARCHAR, opponent VARCHAR) Question: The opponent was the New York Jets on what week? [/INST] SELECT week FROM table_17781886_1 WHERE opponent = "New York Jets" </s>
|
Where was the December 12, 1965 game?
|
CREATE TABLE table_17781886_1 (game_site VARCHAR, date VARCHAR)
|
SELECT game_site FROM table_17781886_1 WHERE date = "December 12, 1965"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17781886_1 (game_site VARCHAR, date VARCHAR) Question: Where was the December 12, 1965 game? [/INST] SELECT game_site FROM table_17781886_1 WHERE date = "December 12, 1965" </s>
|
How many attended game(s) against the boston patriots?
|
CREATE TABLE table_17779448_1 (attendance VARCHAR, opponent VARCHAR)
|
SELECT attendance FROM table_17779448_1 WHERE opponent = "Boston Patriots"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17779448_1 (attendance VARCHAR, opponent VARCHAR) Question: How many attended game(s) against the boston patriots? [/INST] SELECT attendance FROM table_17779448_1 WHERE opponent = "Boston Patriots" </s>
|
which examples are pronounced ɪs in american
|
CREATE TABLE table_17798093_20 (examples VARCHAR, american VARCHAR)
|
SELECT examples FROM table_17798093_20 WHERE american = "ɪs"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17798093_20 (examples VARCHAR, american VARCHAR) Question: which examples are pronounced ɪs in american [/INST] SELECT examples FROM table_17798093_20 WHERE american = "ɪs" </s>
|
which examples are pronounced et in australian
|
CREATE TABLE table_17798093_20 (examples VARCHAR, australian VARCHAR)
|
SELECT examples FROM table_17798093_20 WHERE australian = "et"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17798093_20 (examples VARCHAR, australian VARCHAR) Question: which examples are pronounced et in australian [/INST] SELECT examples FROM table_17798093_20 WHERE australian = "et" </s>
|
how many endings have american pronounciation əs
|
CREATE TABLE table_17798093_20 (australian VARCHAR, american VARCHAR)
|
SELECT COUNT(australian) FROM table_17798093_20 WHERE american = "əs"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17798093_20 (australian VARCHAR, american VARCHAR) Question: how many endings have american pronounciation əs [/INST] SELECT COUNT(australian) FROM table_17798093_20 WHERE american = "əs" </s>
|
what are the endings of examples achilles, appendices, fæces
|
CREATE TABLE table_17798093_20 (ending VARCHAR, examples VARCHAR)
|
SELECT ending FROM table_17798093_20 WHERE examples = "Achilles, appendices, fæces"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17798093_20 (ending VARCHAR, examples VARCHAR) Question: what are the endings of examples achilles, appendices, fæces [/INST] SELECT ending FROM table_17798093_20 WHERE examples = "Achilles, appendices, fæces" </s>
|
What is the callsign for the Cebu station?
|
CREATE TABLE table_17822401_1 (callsign VARCHAR, location VARCHAR)
|
SELECT callsign FROM table_17822401_1 WHERE location = "Cebu"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17822401_1 (callsign VARCHAR, location VARCHAR) Question: What is the callsign for the Cebu station? [/INST] SELECT callsign FROM table_17822401_1 WHERE location = "Cebu" </s>
|
What is the number of brand where the power is 5kw?
|
CREATE TABLE table_17822401_1 (branding VARCHAR, power__kw_ VARCHAR)
|
SELECT COUNT(branding) FROM table_17822401_1 WHERE power__kw_ = "5kW"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17822401_1 (branding VARCHAR, power__kw_ VARCHAR) Question: What is the number of brand where the power is 5kw? [/INST] SELECT COUNT(branding) FROM table_17822401_1 WHERE power__kw_ = "5kW" </s>
|
What is the power of the Baguio station?
|
CREATE TABLE table_17822401_1 (power__kw_ VARCHAR, location VARCHAR)
|
SELECT power__kw_ FROM table_17822401_1 WHERE location = "Baguio"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17822401_1 (power__kw_ VARCHAR, location VARCHAR) Question: What is the power of the Baguio station? [/INST] SELECT power__kw_ FROM table_17822401_1 WHERE location = "Baguio" </s>
|
How many stations are called radyo5 101.9 news fm?
|
CREATE TABLE table_17822401_1 (location VARCHAR, branding VARCHAR)
|
SELECT COUNT(location) FROM table_17822401_1 WHERE branding = "Radyo5 101.9 News FM"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17822401_1 (location VARCHAR, branding VARCHAR) Question: How many stations are called radyo5 101.9 news fm? [/INST] SELECT COUNT(location) FROM table_17822401_1 WHERE branding = "Radyo5 101.9 News FM" </s>
|
What is the church name for the church located in Kyrkjebø?
|
CREATE TABLE table_178389_1 (church_name VARCHAR, location_of_the_church VARCHAR)
|
SELECT church_name FROM table_178389_1 WHERE location_of_the_church = "Kyrkjebø"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_178389_1 (church_name VARCHAR, location_of_the_church VARCHAR) Question: What is the church name for the church located in Kyrkjebø? [/INST] SELECT church_name FROM table_178389_1 WHERE location_of_the_church = "Kyrkjebø" </s>
|
What is the sub-parish for the church names Høyanger Kyrkje?
|
CREATE TABLE table_178389_1 (sub_parish__sogn_ VARCHAR, church_name VARCHAR)
|
SELECT sub_parish__sogn_ FROM table_178389_1 WHERE church_name = "Høyanger kyrkje"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_178389_1 (sub_parish__sogn_ VARCHAR, church_name VARCHAR) Question: What is the sub-parish for the church names Høyanger Kyrkje? [/INST] SELECT sub_parish__sogn_ FROM table_178389_1 WHERE church_name = "Høyanger kyrkje" </s>
|
What is the total number of churches built in 1916?
|
CREATE TABLE table_178389_1 (location_of_the_church VARCHAR, year_built VARCHAR)
|
SELECT COUNT(location_of_the_church) FROM table_178389_1 WHERE year_built = 1916
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_178389_1 (location_of_the_church VARCHAR, year_built VARCHAR) Question: What is the total number of churches built in 1916? [/INST] SELECT COUNT(location_of_the_church) FROM table_178389_1 WHERE year_built = 1916 </s>
|
What is the total number of churches named Høyanger Kyrkje?
|
CREATE TABLE table_178389_1 (sub_parish__sogn_ VARCHAR, church_name VARCHAR)
|
SELECT COUNT(sub_parish__sogn_) FROM table_178389_1 WHERE church_name = "Høyanger kyrkje"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_178389_1 (sub_parish__sogn_ VARCHAR, church_name VARCHAR) Question: What is the total number of churches named Høyanger Kyrkje? [/INST] SELECT COUNT(sub_parish__sogn_) FROM table_178389_1 WHERE church_name = "Høyanger kyrkje" </s>
|
What is the church name located in Høyanger?
|
CREATE TABLE table_178389_1 (church_name VARCHAR, location_of_the_church VARCHAR)
|
SELECT church_name FROM table_178389_1 WHERE location_of_the_church = "Høyanger"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_178389_1 (church_name VARCHAR, location_of_the_church VARCHAR) Question: What is the church name located in Høyanger? [/INST] SELECT church_name FROM table_178389_1 WHERE location_of_the_church = "Høyanger" </s>
|
What is the location of the church when the church name is Ortnevik Kyrkje?
|
CREATE TABLE table_178389_1 (location_of_the_church VARCHAR, church_name VARCHAR)
|
SELECT location_of_the_church FROM table_178389_1 WHERE church_name = "Ortnevik kyrkje"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_178389_1 (location_of_the_church VARCHAR, church_name VARCHAR) Question: What is the location of the church when the church name is Ortnevik Kyrkje? [/INST] SELECT location_of_the_church FROM table_178389_1 WHERE church_name = "Ortnevik kyrkje" </s>
|
Name the total number for sub parish sokn for 1865
|
CREATE TABLE table_178408_1 (sub_parish__sokn_ VARCHAR, year_built VARCHAR)
|
SELECT COUNT(sub_parish__sokn_) FROM table_178408_1 WHERE year_built = 1865
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_178408_1 (sub_parish__sokn_ VARCHAR, year_built VARCHAR) Question: Name the total number for sub parish sokn for 1865 [/INST] SELECT COUNT(sub_parish__sokn_) FROM table_178408_1 WHERE year_built = 1865 </s>
|
Name the location of the church for berle kyrkje
|
CREATE TABLE table_178408_1 (location_of_the_church VARCHAR, church_name VARCHAR)
|
SELECT location_of_the_church FROM table_178408_1 WHERE church_name = "Berle kyrkje"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_178408_1 (location_of_the_church VARCHAR, church_name VARCHAR) Question: Name the location of the church for berle kyrkje [/INST] SELECT location_of_the_church FROM table_178408_1 WHERE church_name = "Berle kyrkje" </s>
|
Name the location of the church for bremanger
|
CREATE TABLE table_178408_1 (location_of_the_church VARCHAR, sub_parish__sokn_ VARCHAR)
|
SELECT location_of_the_church FROM table_178408_1 WHERE sub_parish__sokn_ = "Bremanger"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_178408_1 (location_of_the_church VARCHAR, sub_parish__sokn_ VARCHAR) Question: Name the location of the church for bremanger [/INST] SELECT location_of_the_church FROM table_178408_1 WHERE sub_parish__sokn_ = "Bremanger" </s>
|
Name the most year built for davik kyrkje
|
CREATE TABLE table_178408_1 (year_built INTEGER, church_name VARCHAR)
|
SELECT MAX(year_built) FROM table_178408_1 WHERE church_name = "Davik Kyrkje"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_178408_1 (year_built INTEGER, church_name VARCHAR) Question: Name the most year built for davik kyrkje [/INST] SELECT MAX(year_built) FROM table_178408_1 WHERE church_name = "Davik Kyrkje" </s>
|
Who was the episode writer when the viewers reached 3.03 million in the US?
|
CREATE TABLE table_17861265_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
|
SELECT written_by FROM table_17861265_1 WHERE us_viewers__million_ = "3.03"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17861265_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) Question: Who was the episode writer when the viewers reached 3.03 million in the US? [/INST] SELECT written_by FROM table_17861265_1 WHERE us_viewers__million_ = "3.03" </s>
|
Who wrote the last episode (episode 15) of season 3?
|
CREATE TABLE table_17861265_1 (written_by VARCHAR, no_in_season VARCHAR)
|
SELECT written_by FROM table_17861265_1 WHERE no_in_season = 15
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17861265_1 (written_by VARCHAR, no_in_season VARCHAR) Question: Who wrote the last episode (episode 15) of season 3? [/INST] SELECT written_by FROM table_17861265_1 WHERE no_in_season = 15 </s>
|
How many episodes did Cliff Bole directed in season 3?
|
CREATE TABLE table_17861265_1 (title VARCHAR, directed_by VARCHAR)
|
SELECT COUNT(title) FROM table_17861265_1 WHERE directed_by = "Cliff Bole"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17861265_1 (title VARCHAR, directed_by VARCHAR) Question: How many episodes did Cliff Bole directed in season 3? [/INST] SELECT COUNT(title) FROM table_17861265_1 WHERE directed_by = "Cliff Bole" </s>
|
What is the record when the game was at the San Diego Stadium?
|
CREATE TABLE table_17848578_1 (record VARCHAR, game_site VARCHAR)
|
SELECT record FROM table_17848578_1 WHERE game_site = "San Diego Stadium"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17848578_1 (record VARCHAR, game_site VARCHAR) Question: What is the record when the game was at the San Diego Stadium? [/INST] SELECT record FROM table_17848578_1 WHERE game_site = "San Diego Stadium" </s>
|
How many results are there when the game was at the Atlanta-Fulton county stadium?
|
CREATE TABLE table_17848578_1 (result VARCHAR, game_site VARCHAR)
|
SELECT COUNT(result) FROM table_17848578_1 WHERE game_site = "Atlanta-Fulton County Stadium"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17848578_1 (result VARCHAR, game_site VARCHAR) Question: How many results are there when the game was at the Atlanta-Fulton county stadium? [/INST] SELECT COUNT(result) FROM table_17848578_1 WHERE game_site = "Atlanta-Fulton County Stadium" </s>
|
What is the date of the game at Arrowhead Stadium?
|
CREATE TABLE table_17848578_1 (date VARCHAR, game_site VARCHAR)
|
SELECT date FROM table_17848578_1 WHERE game_site = "Arrowhead Stadium"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17848578_1 (date VARCHAR, game_site VARCHAR) Question: What is the date of the game at Arrowhead Stadium? [/INST] SELECT date FROM table_17848578_1 WHERE game_site = "Arrowhead Stadium" </s>
|
Where was the game where attendance was 51478?
|
CREATE TABLE table_17848578_1 (game_site VARCHAR, attendance VARCHAR)
|
SELECT game_site FROM table_17848578_1 WHERE attendance = 51478
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17848578_1 (game_site VARCHAR, attendance VARCHAR) Question: Where was the game where attendance was 51478? [/INST] SELECT game_site FROM table_17848578_1 WHERE attendance = 51478 </s>
|
Name the military expenditures for 2011 for romania
|
CREATE TABLE table_17971449_2 (military_expenditures__2011 VARCHAR, _us$_millions_ VARCHAR, country VARCHAR)
|
SELECT military_expenditures__2011, _us$_millions_ FROM table_17971449_2 WHERE country = "Romania"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17971449_2 (military_expenditures__2011 VARCHAR, _us$_millions_ VARCHAR, country VARCHAR) Question: Name the military expenditures for 2011 for romania [/INST] SELECT military_expenditures__2011, _us$_millions_ FROM table_17971449_2 WHERE country = "Romania" </s>
|
Name the population 2011 for luxembourg
|
CREATE TABLE table_17971449_2 (population__2011_ VARCHAR, country VARCHAR)
|
SELECT population__2011_ FROM table_17971449_2 WHERE country = "Luxembourg"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17971449_2 (population__2011_ VARCHAR, country VARCHAR) Question: Name the population 2011 for luxembourg [/INST] SELECT population__2011_ FROM table_17971449_2 WHERE country = "Luxembourg" </s>
|
Name the deployable military 2011 for denmark
|
CREATE TABLE table_17971449_2 (deployable_military__2011 VARCHAR, _thousands_ VARCHAR, country VARCHAR)
|
SELECT deployable_military__2011, _thousands_ FROM table_17971449_2 WHERE country = "Denmark"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17971449_2 (deployable_military__2011 VARCHAR, _thousands_ VARCHAR, country VARCHAR) Question: Name the deployable military 2011 for denmark [/INST] SELECT deployable_military__2011, _thousands_ FROM table_17971449_2 WHERE country = "Denmark" </s>
|
List total loses forh the tauras tauragė team.
|
CREATE TABLE table_18018214_2 (loses VARCHAR, club VARCHAR)
|
SELECT COUNT(loses) FROM table_18018214_2 WHERE club = "Tauras Tauragė"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18018214_2 (loses VARCHAR, club VARCHAR) Question: List total loses forh the tauras tauragė team. [/INST] SELECT COUNT(loses) FROM table_18018214_2 WHERE club = "Tauras Tauragė" </s>
|
List the number of goals scored to equal 58.
|
CREATE TABLE table_18018214_2 (goals_conceded INTEGER, points VARCHAR)
|
SELECT MIN(goals_conceded) FROM table_18018214_2 WHERE points = 58
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18018214_2 (goals_conceded INTEGER, points VARCHAR) Question: List the number of goals scored to equal 58. [/INST] SELECT MIN(goals_conceded) FROM table_18018214_2 WHERE points = 58 </s>
|
How many total reason for change are listed corresponding to the successor Leonard B. Jordan (r)?
|
CREATE TABLE table_1802522_3 (reason_for_change VARCHAR, successor VARCHAR)
|
SELECT COUNT(reason_for_change) FROM table_1802522_3 WHERE successor = "Leonard B. Jordan (R)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1802522_3 (reason_for_change VARCHAR, successor VARCHAR) Question: How many total reason for change are listed corresponding to the successor Leonard B. Jordan (r)? [/INST] SELECT COUNT(reason_for_change) FROM table_1802522_3 WHERE successor = "Leonard B. Jordan (R)" </s>
|
What state had November 30, 1962 as the date of the successors formal installation?
|
CREATE TABLE table_1802522_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR)
|
SELECT state__class_ FROM table_1802522_3 WHERE date_of_successors_formal_installation = "November 30, 1962"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1802522_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR) Question: What state had November 30, 1962 as the date of the successors formal installation? [/INST] SELECT state__class_ FROM table_1802522_3 WHERE date_of_successors_formal_installation = "November 30, 1962" </s>
|
How many vacant seats were filled by newcomer Joseph H. Bottum (r)?
|
CREATE TABLE table_1802522_3 (vacator VARCHAR, successor VARCHAR)
|
SELECT COUNT(vacator) FROM table_1802522_3 WHERE successor = "Joseph H. Bottum (R)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1802522_3 (vacator VARCHAR, successor VARCHAR) Question: How many vacant seats were filled by newcomer Joseph H. Bottum (r)? [/INST] SELECT COUNT(vacator) FROM table_1802522_3 WHERE successor = "Joseph H. Bottum (R)" </s>
|
What are the results of those elections for which Marcy Kaptur is the incumbent?
|
CREATE TABLE table_1805191_36 (results VARCHAR, incumbent VARCHAR)
|
SELECT results FROM table_1805191_36 WHERE incumbent = "Marcy Kaptur"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1805191_36 (results VARCHAR, incumbent VARCHAR) Question: What are the results of those elections for which Marcy Kaptur is the incumbent? [/INST] SELECT results FROM table_1805191_36 WHERE incumbent = "Marcy Kaptur" </s>
|
What are the results of the elections in which Ted Strickland is seeking re-election?
|
CREATE TABLE table_1805191_36 (results VARCHAR, incumbent VARCHAR)
|
SELECT results FROM table_1805191_36 WHERE incumbent = "Ted Strickland"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1805191_36 (results VARCHAR, incumbent VARCHAR) Question: What are the results of the elections in which Ted Strickland is seeking re-election? [/INST] SELECT results FROM table_1805191_36 WHERE incumbent = "Ted Strickland" </s>
|
Who are all of the candidates in elections where Dennis Kucinich was a candidate?
|
CREATE TABLE table_1805191_36 (candidates VARCHAR, incumbent VARCHAR)
|
SELECT candidates FROM table_1805191_36 WHERE incumbent = "Dennis Kucinich"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1805191_36 (candidates VARCHAR, incumbent VARCHAR) Question: Who are all of the candidates in elections where Dennis Kucinich was a candidate? [/INST] SELECT candidates FROM table_1805191_36 WHERE incumbent = "Dennis Kucinich" </s>
|
Who were all the candidates in elections in which Steve Chabot was a candidate?
|
CREATE TABLE table_1805191_36 (candidates VARCHAR, incumbent VARCHAR)
|
SELECT candidates FROM table_1805191_36 WHERE incumbent = "Steve Chabot"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1805191_36 (candidates VARCHAR, incumbent VARCHAR) Question: Who were all the candidates in elections in which Steve Chabot was a candidate? [/INST] SELECT candidates FROM table_1805191_36 WHERE incumbent = "Steve Chabot" </s>
|
Who was treasurer in 2008?
|
CREATE TABLE table_18052353_4 (treasurer VARCHAR, year VARCHAR)
|
SELECT treasurer FROM table_18052353_4 WHERE year = "2008"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18052353_4 (treasurer VARCHAR, year VARCHAR) Question: Who was treasurer in 2008? [/INST] SELECT treasurer FROM table_18052353_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.