instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
How many no outs for an average of 56.38? | CREATE TABLE table_20367820_16 (not_out VARCHAR, average VARCHAR) | SELECT COUNT(not_out) FROM table_20367820_16 WHERE average = "56.38" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20367820_16 (not_out VARCHAR, average VARCHAR) Question: How many no outs for an average of 56.38? [/INST] SELECT COUNT(not_out) FROM table_20367820_16 WHERE average = "56.38" </s> |
How many poles had 78 points? | CREATE TABLE table_20396_1 (poles VARCHAR, points VARCHAR) | SELECT COUNT(poles) FROM table_20396_1 WHERE points = "78" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20396_1 (poles VARCHAR, points VARCHAR) Question: How many poles had 78 points? [/INST] SELECT COUNT(poles) FROM table_20396_1 WHERE points = "78" </s> |
How many poles had 72 points? | CREATE TABLE table_20396_1 (poles VARCHAR, points VARCHAR) | SELECT COUNT(poles) FROM table_20396_1 WHERE points = "72" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20396_1 (poles VARCHAR, points VARCHAR) Question: How many poles had 72 points? [/INST] SELECT COUNT(poles) FROM table_20396_1 WHERE points = "72" </s> |
How many poles were there in season 2000? | CREATE TABLE table_20396_1 (poles VARCHAR, season VARCHAR) | SELECT poles FROM table_20396_1 WHERE season = 2000 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20396_1 (poles VARCHAR, season VARCHAR) Question: How many poles were there in season 2000? [/INST] SELECT poles FROM table_20396_1 WHERE season = 2000 </s> |
What team scored 4 points? | CREATE TABLE table_20396_1 (team VARCHAR, points VARCHAR) | SELECT team FROM table_20396_1 WHERE points = "4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20396_1 (team VARCHAR, points VARCHAR) Question: What team scored 4 points? [/INST] SELECT team FROM table_20396_1 WHERE points = "4" </s> |
Who won the cup on 30.11.2008? | CREATE TABLE table_20462111_1 (winner VARCHAR, date VARCHAR) | SELECT winner FROM table_20462111_1 WHERE date = "30.11.2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20462111_1 (winner VARCHAR, date VARCHAR) Question: Who won the cup on 30.11.2008? [/INST] SELECT winner FROM table_20462111_1 WHERE date = "30.11.2008" </s> |
Who got the 3rd place in the cup on 01.02.2009? | CREATE TABLE table_20462111_1 (date VARCHAR) | SELECT 3 AS rd_place FROM table_20462111_1 WHERE date = "01.02.2009" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20462111_1 (date VARCHAR) Question: Who got the 3rd place in the cup on 01.02.2009? [/INST] SELECT 3 AS rd_place FROM table_20462111_1 WHERE date = "01.02.2009" </s> |
Where was the cup on 07.02.2009 held? | CREATE TABLE table_20462111_1 (location VARCHAR, date VARCHAR) | SELECT location FROM table_20462111_1 WHERE date = "07.02.2009" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20462111_1 (location VARCHAR, date VARCHAR) Question: Where was the cup on 07.02.2009 held? [/INST] SELECT location FROM table_20462111_1 WHERE date = "07.02.2009" </s> |
What was the population of the coastal location Isio in May of 2000? | CREATE TABLE table_2051288_1 (_2000_ VARCHAR, population__may INTEGER, location VARCHAR, barangay VARCHAR) | SELECT MIN(population__may), _2000_ FROM table_2051288_1 WHERE location = "coastal" AND barangay = "Isio" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2051288_1 (_2000_ VARCHAR, population__may INTEGER, location VARCHAR, barangay VARCHAR) Question: What was the population of the coastal location Isio in May of 2000? [/INST] SELECT MIN(population__may), _... |
What was the share for rank 54? | CREATE TABLE table_20522228_2 (share INTEGER, rank__overall_ VARCHAR) | SELECT MAX(share) FROM table_20522228_2 WHERE rank__overall_ = "54" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20522228_2 (share INTEGER, rank__overall_ VARCHAR) Question: What was the share for rank 54? [/INST] SELECT MAX(share) FROM table_20522228_2 WHERE rank__overall_ = "54" </s> |
What are the ratings/share ratio when viewers are 5.50 Million? | CREATE TABLE table_20522228_2 (rating VARCHAR, viewers__millions_ VARCHAR) | SELECT rating / NULLIF(SHARE(18 - 49), 0) FROM table_20522228_2 WHERE viewers__millions_ = "5.50" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20522228_2 (rating VARCHAR, viewers__millions_ VARCHAR) Question: What are the ratings/share ratio when viewers are 5.50 Million? [/INST] SELECT rating / NULLIF(SHARE(18 - 49), 0) FROM table_20522228_2 WHE... |
What are the rank timeslots where ratings are 4.1? | CREATE TABLE table_20522228_2 (rank__timeslot_ VARCHAR, rating VARCHAR) | SELECT rank__timeslot_ FROM table_20522228_2 WHERE rating = "4.1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20522228_2 (rank__timeslot_ VARCHAR, rating VARCHAR) Question: What are the rank timeslots where ratings are 4.1? [/INST] SELECT rank__timeslot_ FROM table_20522228_2 WHERE rating = "4.1" </s> |
What is overall rank when viewers are at 6.59 million? | CREATE TABLE table_20522228_2 (rank__overall_ VARCHAR, viewers__millions_ VARCHAR) | SELECT rank__overall_ FROM table_20522228_2 WHERE viewers__millions_ = "6.59" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20522228_2 (rank__overall_ VARCHAR, viewers__millions_ VARCHAR) Question: What is overall rank when viewers are at 6.59 million? [/INST] SELECT rank__overall_ FROM table_20522228_2 WHERE viewers__millions_... |
What was the episode name when share was 8? | CREATE TABLE table_20522228_2 (episode VARCHAR, share VARCHAR) | SELECT episode FROM table_20522228_2 WHERE share = 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20522228_2 (episode VARCHAR, share VARCHAR) Question: What was the episode name when share was 8? [/INST] SELECT episode FROM table_20522228_2 WHERE share = 8 </s> |
Who were the writers of episode 20? | CREATE TABLE table_20538157_2 (written_by VARCHAR, no_in_season VARCHAR) | SELECT written_by FROM table_20538157_2 WHERE no_in_season = 20 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20538157_2 (written_by VARCHAR, no_in_season VARCHAR) Question: Who were the writers of episode 20? [/INST] SELECT written_by FROM table_20538157_2 WHERE no_in_season = 20 </s> |
What county has others at 5? | CREATE TABLE table_20573232_1 (county VARCHAR, others_number VARCHAR) | SELECT county FROM table_20573232_1 WHERE others_number = 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20573232_1 (county VARCHAR, others_number VARCHAR) Question: What county has others at 5? [/INST] SELECT county FROM table_20573232_1 WHERE others_number = 5 </s> |
What is the percentage of others when McCain is at 57.7% | CREATE TABLE table_20573232_1 (others_percentage VARCHAR, mccain_percentage VARCHAR) | SELECT others_percentage FROM table_20573232_1 WHERE mccain_percentage = "57.7%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20573232_1 (others_percentage VARCHAR, mccain_percentage VARCHAR) Question: What is the percentage of others when McCain is at 57.7% [/INST] SELECT others_percentage FROM table_20573232_1 WHERE mccain_perc... |
What is Nader's percentage when Obama is 44.6%? | CREATE TABLE table_20573232_1 (nader_percentage VARCHAR, obama_percentage VARCHAR) | SELECT nader_percentage FROM table_20573232_1 WHERE obama_percentage = "44.6%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20573232_1 (nader_percentage VARCHAR, obama_percentage VARCHAR) Question: What is Nader's percentage when Obama is 44.6%? [/INST] SELECT nader_percentage FROM table_20573232_1 WHERE obama_percentage = "44.... |
What schools are accredited by COE? | CREATE TABLE table_2064747_1 (location_s_ VARCHAR, accreditation VARCHAR) | SELECT location_s_ FROM table_2064747_1 WHERE accreditation = "COE" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2064747_1 (location_s_ VARCHAR, accreditation VARCHAR) Question: What schools are accredited by COE? [/INST] SELECT location_s_ FROM table_2064747_1 WHERE accreditation = "COE" </s> |
Where was there a school founded in 1927? | CREATE TABLE table_2064747_1 (location_s_ VARCHAR, founded VARCHAR) | SELECT location_s_ FROM table_2064747_1 WHERE founded = 1927 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2064747_1 (location_s_ VARCHAR, founded VARCHAR) Question: Where was there a school founded in 1927? [/INST] SELECT location_s_ FROM table_2064747_1 WHERE founded = 1927 </s> |
What is the minimum length of the locations where the average climb percentage is exactly 59%? | CREATE TABLE table_206361_2 (length__in_m_ INTEGER, average_climb___percentage_ VARCHAR) | SELECT MIN(length__in_m_) FROM table_206361_2 WHERE average_climb___percentage_ = 59 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_206361_2 (length__in_m_ INTEGER, average_climb___percentage_ VARCHAR) Question: What is the minimum length of the locations where the average climb percentage is exactly 59%? [/INST] SELECT MIN(length__in_... |
What is the maximum number of km listed? | CREATE TABLE table_206361_2 (kilometer INTEGER) | SELECT MAX(kilometer) FROM table_206361_2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_206361_2 (kilometer INTEGER) Question: What is the maximum number of km listed? [/INST] SELECT MAX(kilometer) FROM table_206361_2 </s> |
Name the number of δs ‡ /cal mol −1 k −1 for butadiene being 1,2-dimethylene-cyclohexane | CREATE TABLE table_2068719_1 (δs_ VARCHAR, _butadiene VARCHAR) | SELECT COUNT(δs_) AS ‡__cal_mol_−1_k_−1 FROM table_2068719_1 WHERE _butadiene = "1,2-dimethylene-cyclohexane" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2068719_1 (δs_ VARCHAR, _butadiene VARCHAR) Question: Name the number of δs ‡ /cal mol −1 k −1 for butadiene being 1,2-dimethylene-cyclohexane [/INST] SELECT COUNT(δs_) AS ‡__cal_mol_−1_k_−1 FROM table_206... |
When 17,874 (33.2) is the percentage against what is the percentage for? | CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, against___percentage_ VARCHAR) | SELECT for___percentage_ FROM table_20683381_3 WHERE against___percentage_ = "17,874 (33.2)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, against___percentage_ VARCHAR) Question: When 17,874 (33.2) is the percentage against what is the percentage for? [/INST] SELECT for___percentage_ FROM table_20683381... |
When 27,822 (72.3) is the percentage for how many electorate measurements are there? | CREATE TABLE table_20683381_3 (electorate VARCHAR, for___percentage_ VARCHAR) | SELECT COUNT(electorate) FROM table_20683381_3 WHERE for___percentage_ = "27,822 (72.3)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20683381_3 (electorate VARCHAR, for___percentage_ VARCHAR) Question: When 27,822 (72.3) is the percentage for how many electorate measurements are there? [/INST] SELECT COUNT(electorate) FROM table_2068338... |
When 13,895 (27.3) is the percentage against what is the toll poll percentage? | CREATE TABLE table_20683381_3 (total_poll___percentage_ VARCHAR, against___percentage_ VARCHAR) | SELECT total_poll___percentage_ FROM table_20683381_3 WHERE against___percentage_ = "13,895 (27.3)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20683381_3 (total_poll___percentage_ VARCHAR, against___percentage_ VARCHAR) Question: When 13,895 (27.3) is the percentage against what is the toll poll percentage? [/INST] SELECT total_poll___percentage_... |
When +18.1 is the ± yes side 2008 percentage what is the percentage of against? | CREATE TABLE table_20683381_3 (against___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR) | SELECT against___percentage_ FROM table_20683381_3 WHERE ±_yes_side_2008___percentage_ = "+18.1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20683381_3 (against___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR) Question: When +18.1 is the ± yes side 2008 percentage what is the percentage of against? [/INST] SELECT against___percenta... |
When 60,254 (58.0) is the toll poll percentage what is the for percentage? | CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, total_poll___percentage_ VARCHAR) | SELECT for___percentage_ FROM table_20683381_3 WHERE total_poll___percentage_ = "60,254 (58.0)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, total_poll___percentage_ VARCHAR) Question: When 60,254 (58.0) is the toll poll percentage what is the for percentage? [/INST] SELECT for___percentage_ FROM table_20... |
When +20.3 is the ± yes side 2008 (%) what is the for percentage? | CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR) | SELECT for___percentage_ FROM table_20683381_3 WHERE ±_yes_side_2008___percentage_ = "+20.3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR) Question: When +20.3 is the ± yes side 2008 (%) what is the for percentage? [/INST] SELECT for___percentage_ FROM table_2068338... |
What was the original air date for season 11? | CREATE TABLE table_20704243_6 (original_air_date VARCHAR, season__number VARCHAR) | SELECT original_air_date FROM table_20704243_6 WHERE season__number = 11 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20704243_6 (original_air_date VARCHAR, season__number VARCHAR) Question: What was the original air date for season 11? [/INST] SELECT original_air_date FROM table_20704243_6 WHERE season__number = 11 </s> |
What episode did John Rogers direct? | CREATE TABLE table_20704243_6 (title VARCHAR, directed_by VARCHAR) | SELECT title FROM table_20704243_6 WHERE directed_by = "John Rogers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20704243_6 (title VARCHAR, directed_by VARCHAR) Question: What episode did John Rogers direct? [/INST] SELECT title FROM table_20704243_6 WHERE directed_by = "John Rogers" </s> |
Who directed the episode that aired on july15,2012? | CREATE TABLE table_20704243_6 (directed_by VARCHAR, original_air_date VARCHAR) | SELECT directed_by FROM table_20704243_6 WHERE original_air_date = "July15,2012" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20704243_6 (directed_by VARCHAR, original_air_date VARCHAR) Question: Who directed the episode that aired on july15,2012? [/INST] SELECT directed_by FROM table_20704243_6 WHERE original_air_date = "July15,... |
Which episode aired on august19,2012? | CREATE TABLE table_20704243_6 (title VARCHAR, original_air_date VARCHAR) | SELECT title FROM table_20704243_6 WHERE original_air_date = "August19,2012" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20704243_6 (title VARCHAR, original_air_date VARCHAR) Question: Which episode aired on august19,2012? [/INST] SELECT title FROM table_20704243_6 WHERE original_air_date = "August19,2012" </s> |
What is the weight with a cross section area of 25.3? | CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, cross_section_area__cm_2__ VARCHAR) | SELECT weight__kg_m_ FROM table_2071644_2 WHERE cross_section_area__cm_2__ = "25.3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, cross_section_area__cm_2__ VARCHAR) Question: What is the weight with a cross section area of 25.3? [/INST] SELECT weight__kg_m_ FROM table_2071644_2 WHERE cross_section_a... |
How many weights are there when the flange with is 304? | CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, flange_width__mm_ VARCHAR) | SELECT COUNT(weight__kg_m_) FROM table_2071644_2 WHERE flange_width__mm_ = 304 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, flange_width__mm_ VARCHAR) Question: How many weights are there when the flange with is 304? [/INST] SELECT COUNT(weight__kg_m_) FROM table_2071644_2 WHERE flange_width__m... |
What is the web thickness if the flange width is 100? | CREATE TABLE table_2071644_2 (web_thickness__mm_ VARCHAR, flange_width__mm_ VARCHAR) | SELECT web_thickness__mm_ FROM table_2071644_2 WHERE flange_width__mm_ = 100 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2071644_2 (web_thickness__mm_ VARCHAR, flange_width__mm_ VARCHAR) Question: What is the web thickness if the flange width is 100? [/INST] SELECT web_thickness__mm_ FROM table_2071644_2 WHERE flange_width__... |
If the cross-section area is 21.2, what is the weight? | CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, cross_section_area__cm_2__ VARCHAR) | SELECT weight__kg_m_ FROM table_2071644_2 WHERE cross_section_area__cm_2__ = "21.2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, cross_section_area__cm_2__ VARCHAR) Question: If the cross-section area is 21.2, what is the weight? [/INST] SELECT weight__kg_m_ FROM table_2071644_2 WHERE cross_section_... |
What is the flange thickness when the weight is 19.9? | CREATE TABLE table_2071644_2 (flange_thickness__mm_ VARCHAR, weight__kg_m_ VARCHAR) | SELECT flange_thickness__mm_ FROM table_2071644_2 WHERE weight__kg_m_ = "19.9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2071644_2 (flange_thickness__mm_ VARCHAR, weight__kg_m_ VARCHAR) Question: What is the flange thickness when the weight is 19.9? [/INST] SELECT flange_thickness__mm_ FROM table_2071644_2 WHERE weight__kg_m... |
Who directed the episode with a production code of 4WAB05? | CREATE TABLE table_20726262_5 (directedby VARCHAR, production_code VARCHAR) | SELECT directedby FROM table_20726262_5 WHERE production_code = "4WAB05" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20726262_5 (directedby VARCHAR, production_code VARCHAR) Question: Who directed the episode with a production code of 4WAB05? [/INST] SELECT directedby FROM table_20726262_5 WHERE production_code = "4WAB05... |
Who directed the episode with a production code of 4WAB04? | CREATE TABLE table_20726262_5 (directedby VARCHAR, production_code VARCHAR) | SELECT directedby FROM table_20726262_5 WHERE production_code = "4WAB04" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20726262_5 (directedby VARCHAR, production_code VARCHAR) Question: Who directed the episode with a production code of 4WAB04? [/INST] SELECT directedby FROM table_20726262_5 WHERE production_code = "4WAB04... |
What episode was directed by Karen Gaviola? | CREATE TABLE table_20726262_6 (no_in_season INTEGER, directedby VARCHAR) | SELECT MIN(no_in_season) FROM table_20726262_6 WHERE directedby = "Karen Gaviola" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20726262_6 (no_in_season INTEGER, directedby VARCHAR) Question: What episode was directed by Karen Gaviola? [/INST] SELECT MIN(no_in_season) FROM table_20726262_6 WHERE directedby = "Karen Gaviola" </s> |
What was the score on February 8, 1992? | CREATE TABLE table_20745706_1 (score VARCHAR, date VARCHAR) | SELECT score FROM table_20745706_1 WHERE date = "February 8, 1992" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20745706_1 (score VARCHAR, date VARCHAR) Question: What was the score on February 8, 1992? [/INST] SELECT score FROM table_20745706_1 WHERE date = "February 8, 1992" </s> |
Who is the opponent in game 5? | CREATE TABLE table_20745706_1 (opponent VARCHAR, _number VARCHAR) | SELECT opponent FROM table_20745706_1 WHERE _number = "5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20745706_1 (opponent VARCHAR, _number VARCHAR) Question: Who is the opponent in game 5? [/INST] SELECT opponent FROM table_20745706_1 WHERE _number = "5" </s> |
What is the date of game 5? | CREATE TABLE table_20745706_1 (date VARCHAR, _number VARCHAR) | SELECT date FROM table_20745706_1 WHERE _number = "5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20745706_1 (date VARCHAR, _number VARCHAR) Question: What is the date of game 5? [/INST] SELECT date FROM table_20745706_1 WHERE _number = "5" </s> |
What was attendance on March 11, 1995? | CREATE TABLE table_20745746_1 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_20745746_1 WHERE date = "March 11, 1995" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20745746_1 (attendance INTEGER, date VARCHAR) Question: What was attendance on March 11, 1995? [/INST] SELECT MIN(attendance) FROM table_20745746_1 WHERE date = "March 11, 1995" </s> |
What was the score when 7260 people attended the game? | CREATE TABLE table_20745746_1 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_20745746_1 WHERE attendance = 7260 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20745746_1 (score VARCHAR, attendance VARCHAR) Question: What was the score when 7260 people attended the game? [/INST] SELECT score FROM table_20745746_1 WHERE attendance = 7260 </s> |
How many games resulted in a loss? | CREATE TABLE table_20745746_1 (_number VARCHAR, record VARCHAR) | SELECT _number FROM table_20745746_1 WHERE record = "Loss" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20745746_1 (_number VARCHAR, record VARCHAR) Question: How many games resulted in a loss? [/INST] SELECT _number FROM table_20745746_1 WHERE record = "Loss" </s> |
What is the date of game 7? | CREATE TABLE table_20745746_1 (date VARCHAR, _number VARCHAR) | SELECT date FROM table_20745746_1 WHERE _number = "7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20745746_1 (date VARCHAR, _number VARCHAR) Question: What is the date of game 7? [/INST] SELECT date FROM table_20745746_1 WHERE _number = "7" </s> |
What is the Obama# when McCain% is 64.4%? | CREATE TABLE table_20750731_1 (obama_number INTEGER, mccain_percentage VARCHAR) | SELECT MAX(obama_number) FROM table_20750731_1 WHERE mccain_percentage = "64.4%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20750731_1 (obama_number INTEGER, mccain_percentage VARCHAR) Question: What is the Obama# when McCain% is 64.4%? [/INST] SELECT MAX(obama_number) FROM table_20750731_1 WHERE mccain_percentage = "64.4%" </s... |
Name the Others# when McCain# is 4730. | CREATE TABLE table_20750731_1 (others_number VARCHAR, mccain_number VARCHAR) | SELECT others_number FROM table_20750731_1 WHERE mccain_number = 4730 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20750731_1 (others_number VARCHAR, mccain_number VARCHAR) Question: Name the Others# when McCain# is 4730. [/INST] SELECT others_number FROM table_20750731_1 WHERE mccain_number = 4730 </s> |
What County was the Obama% at 41.7%? | CREATE TABLE table_20750731_1 (county VARCHAR, obama_percentage VARCHAR) | SELECT county FROM table_20750731_1 WHERE obama_percentage = "41.7%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20750731_1 (county VARCHAR, obama_percentage VARCHAR) Question: What County was the Obama% at 41.7%? [/INST] SELECT county FROM table_20750731_1 WHERE obama_percentage = "41.7%" </s> |
When McCain% was 64.8%, what is the Others#? | CREATE TABLE table_20750731_1 (others_number VARCHAR, mccain_percentage VARCHAR) | SELECT others_number FROM table_20750731_1 WHERE mccain_percentage = "64.8%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20750731_1 (others_number VARCHAR, mccain_percentage VARCHAR) Question: When McCain% was 64.8%, what is the Others#? [/INST] SELECT others_number FROM table_20750731_1 WHERE mccain_percentage = "64.8%" </s... |
What was the Obama% when McCain% was 61.2%? | CREATE TABLE table_20750731_1 (obama_percentage VARCHAR, mccain_percentage VARCHAR) | SELECT obama_percentage FROM table_20750731_1 WHERE mccain_percentage = "61.2%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20750731_1 (obama_percentage VARCHAR, mccain_percentage VARCHAR) Question: What was the Obama% when McCain% was 61.2%? [/INST] SELECT obama_percentage FROM table_20750731_1 WHERE mccain_percentage = "61.2%... |
Name the date for attendance 9372 | CREATE TABLE table_20745759_1 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_20745759_1 WHERE attendance = 9372 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20745759_1 (date VARCHAR, attendance VARCHAR) Question: Name the date for attendance 9372 [/INST] SELECT date FROM table_20745759_1 WHERE attendance = 9372 </s> |
Name the record for january 18, 1997 | CREATE TABLE table_20745759_1 (record VARCHAR, date VARCHAR) | SELECT record FROM table_20745759_1 WHERE date = "January 18, 1997" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20745759_1 (record VARCHAR, date VARCHAR) Question: Name the record for january 18, 1997 [/INST] SELECT record FROM table_20745759_1 WHERE date = "January 18, 1997" </s> |
Name the score for march 29, 1997 | CREATE TABLE table_20745759_1 (score VARCHAR, date VARCHAR) | SELECT score FROM table_20745759_1 WHERE date = "March 29, 1997" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20745759_1 (score VARCHAR, date VARCHAR) Question: Name the score for march 29, 1997 [/INST] SELECT score FROM table_20745759_1 WHERE date = "March 29, 1997" </s> |
How tall is the contestant from Honduras? | CREATE TABLE table_20754016_2 (height__ft_ VARCHAR, country VARCHAR) | SELECT height__ft_ FROM table_20754016_2 WHERE country = "Honduras" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20754016_2 (height__ft_ VARCHAR, country VARCHAR) Question: How tall is the contestant from Honduras? [/INST] SELECT height__ft_ FROM table_20754016_2 WHERE country = "Honduras" </s> |
What country is the contestant from Chihuahua from? | CREATE TABLE table_20754016_2 (country VARCHAR, hometown VARCHAR) | SELECT country FROM table_20754016_2 WHERE hometown = "Chihuahua" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20754016_2 (country VARCHAR, hometown VARCHAR) Question: What country is the contestant from Chihuahua from? [/INST] SELECT country FROM table_20754016_2 WHERE hometown = "Chihuahua" </s> |
What contestant is 173 cm tall? | CREATE TABLE table_20754016_2 (contestant VARCHAR, height__cm_ VARCHAR) | SELECT contestant FROM table_20754016_2 WHERE height__cm_ = 173 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20754016_2 (contestant VARCHAR, height__cm_ VARCHAR) Question: What contestant is 173 cm tall? [/INST] SELECT contestant FROM table_20754016_2 WHERE height__cm_ = 173 </s> |
What country is the contestant from Salto from? | CREATE TABLE table_20754016_2 (country VARCHAR, hometown VARCHAR) | SELECT country FROM table_20754016_2 WHERE hometown = "Salto" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20754016_2 (country VARCHAR, hometown VARCHAR) Question: What country is the contestant from Salto from? [/INST] SELECT country FROM table_20754016_2 WHERE hometown = "Salto" </s> |
How tall is the contestant from Guatemala? | CREATE TABLE table_20754016_2 (height__cm_ VARCHAR, country VARCHAR) | SELECT height__cm_ FROM table_20754016_2 WHERE country = "Guatemala" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20754016_2 (height__cm_ VARCHAR, country VARCHAR) Question: How tall is the contestant from Guatemala? [/INST] SELECT height__cm_ FROM table_20754016_2 WHERE country = "Guatemala" </s> |
How much would you expect the enrollment to be in Springfield? | CREATE TABLE table_2076463_2 (enrollment INTEGER, location_s_ VARCHAR) | SELECT MIN(enrollment) FROM table_2076463_2 WHERE location_s_ = "Springfield" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076463_2 (enrollment INTEGER, location_s_ VARCHAR) Question: How much would you expect the enrollment to be in Springfield? [/INST] SELECT MIN(enrollment) FROM table_2076463_2 WHERE location_s_ = "Springf... |
where would you find a public university which was founded in 1915? | CREATE TABLE table_2076463_2 (location_s_ VARCHAR, control VARCHAR, founded VARCHAR) | SELECT location_s_ FROM table_2076463_2 WHERE control = "Public university" AND founded = 1915 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076463_2 (location_s_ VARCHAR, control VARCHAR, founded VARCHAR) Question: where would you find a public university which was founded in 1915? [/INST] SELECT location_s_ FROM table_2076463_2 WHERE control... |
What is the only type of university that was founded in 1873? | CREATE TABLE table_2076463_2 (control VARCHAR, founded VARCHAR) | SELECT control FROM table_2076463_2 WHERE founded = 1873 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076463_2 (control VARCHAR, founded VARCHAR) Question: What is the only type of university that was founded in 1873? [/INST] SELECT control FROM table_2076463_2 WHERE founded = 1873 </s> |
What enrollement would you expect if you were attending the university in St. Louis? | CREATE TABLE table_2076463_2 (enrollment VARCHAR, location_s_ VARCHAR) | SELECT enrollment FROM table_2076463_2 WHERE location_s_ = "St. Louis" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076463_2 (enrollment VARCHAR, location_s_ VARCHAR) Question: What enrollement would you expect if you were attending the university in St. Louis? [/INST] SELECT enrollment FROM table_2076463_2 WHERE locat... |
Which school would you come across if you were in Kirksville? | CREATE TABLE table_2076463_2 (school VARCHAR, location_s_ VARCHAR) | SELECT school FROM table_2076463_2 WHERE location_s_ = "Kirksville" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076463_2 (school VARCHAR, location_s_ VARCHAR) Question: Which school would you come across if you were in Kirksville? [/INST] SELECT school FROM table_2076463_2 WHERE location_s_ = "Kirksville" </s> |
What type of school would you see when visiting Missouri Western State University? | CREATE TABLE table_2076463_2 (control VARCHAR, school VARCHAR) | SELECT control FROM table_2076463_2 WHERE school = "Missouri Western State University" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076463_2 (control VARCHAR, school VARCHAR) Question: What type of school would you see when visiting Missouri Western State University? [/INST] SELECT control FROM table_2076463_2 WHERE school = "Missouri... |
When east carolina university is the school what is the highest year founded? | CREATE TABLE table_2076516_1 (founded INTEGER, school VARCHAR) | SELECT MAX(founded) FROM table_2076516_1 WHERE school = "East Carolina University" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076516_1 (founded INTEGER, school VARCHAR) Question: When east carolina university is the school what is the highest year founded? [/INST] SELECT MAX(founded) FROM table_2076516_1 WHERE school = "East Car... |
When 1927 is the founded year how many measurements of enrollment in 2012 are there? | CREATE TABLE table_2076516_1 (enrollment__2012_ VARCHAR, founded VARCHAR) | SELECT COUNT(enrollment__2012_) FROM table_2076516_1 WHERE founded = 1927 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076516_1 (enrollment__2012_ VARCHAR, founded VARCHAR) Question: When 1927 is the founded year how many measurements of enrollment in 2012 are there? [/INST] SELECT COUNT(enrollment__2012_) FROM table_2076... |
When western carolina university is the school what is the control? | CREATE TABLE table_2076516_1 (control VARCHAR, school VARCHAR) | SELECT control FROM table_2076516_1 WHERE school = "Western Carolina University" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076516_1 (control VARCHAR, school VARCHAR) Question: When western carolina university is the school what is the control? [/INST] SELECT control FROM table_2076516_1 WHERE school = "Western Carolina Univer... |
When university of north carolina at charlotte is the school what is the lowest enrollment in 2012? | CREATE TABLE table_2076516_1 (enrollment__2012_ INTEGER, school VARCHAR) | SELECT MIN(enrollment__2012_) FROM table_2076516_1 WHERE school = "University of North Carolina at Charlotte" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076516_1 (enrollment__2012_ INTEGER, school VARCHAR) Question: When university of north carolina at charlotte is the school what is the lowest enrollment in 2012? [/INST] SELECT MIN(enrollment__2012_) FRO... |
What is the enrollment for the school in bottineau? | CREATE TABLE table_2076522_2 (enrollment__fall_2010_ VARCHAR, location_s_ VARCHAR) | SELECT enrollment__fall_2010_ FROM table_2076522_2 WHERE location_s_ = "Bottineau" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076522_2 (enrollment__fall_2010_ VARCHAR, location_s_ VARCHAR) Question: What is the enrollment for the school in bottineau? [/INST] SELECT enrollment__fall_2010_ FROM table_2076522_2 WHERE location_s_ = ... |
What is the control for the school accredited by the higher learning commission ( nca ), ccne? | CREATE TABLE table_2076522_2 (control VARCHAR, accreditation VARCHAR) | SELECT control FROM table_2076522_2 WHERE accreditation = "The Higher Learning Commission ( NCA ), CCNE" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076522_2 (control VARCHAR, accreditation VARCHAR) Question: What is the control for the school accredited by the higher learning commission ( nca ), ccne? [/INST] SELECT control FROM table_2076522_2 WHERE... |
What year was the school founded with an 898 enrollment? | CREATE TABLE table_2076522_2 (founded INTEGER, enrollment__fall_2010_ VARCHAR) | SELECT MAX(founded) FROM table_2076522_2 WHERE enrollment__fall_2010_ = 898 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076522_2 (founded INTEGER, enrollment__fall_2010_ VARCHAR) Question: What year was the school founded with an 898 enrollment? [/INST] SELECT MAX(founded) FROM table_2076522_2 WHERE enrollment__fall_2010_ ... |
How many schools founded in 2006? | CREATE TABLE table_2076522_2 (accreditation VARCHAR, founded VARCHAR) | SELECT COUNT(accreditation) FROM table_2076522_2 WHERE founded = 2006 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076522_2 (accreditation VARCHAR, founded VARCHAR) Question: How many schools founded in 2006? [/INST] SELECT COUNT(accreditation) FROM table_2076522_2 WHERE founded = 2006 </s> |
What is the accrediation for united tribes technical college? | CREATE TABLE table_2076522_2 (accreditation VARCHAR, school VARCHAR) | SELECT accreditation FROM table_2076522_2 WHERE school = "United Tribes Technical College" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076522_2 (accreditation VARCHAR, school VARCHAR) Question: What is the accrediation for united tribes technical college? [/INST] SELECT accreditation FROM table_2076522_2 WHERE school = "United Tribes Tec... |
What is the latest founding date? | CREATE TABLE table_2076490_1 (founded INTEGER) | SELECT MAX(founded) FROM table_2076490_1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076490_1 (founded INTEGER) Question: What is the latest founding date? [/INST] SELECT MAX(founded) FROM table_2076490_1 </s> |
What was the enrollment (2005) for baccalaureate colleges , for Granite State College? | CREATE TABLE table_2076490_1 (enrollment__2005_ VARCHAR, type VARCHAR, school VARCHAR) | SELECT enrollment__2005_ FROM table_2076490_1 WHERE type = "Baccalaureate college" AND school = "Granite State College" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076490_1 (enrollment__2005_ VARCHAR, type VARCHAR, school VARCHAR) Question: What was the enrollment (2005) for baccalaureate colleges , for Granite State College? [/INST] SELECT enrollment__2005_ FROM ta... |
What year is the founding year, for the school that had an enrollment in 2005 of 963? | CREATE TABLE table_2076490_1 (founded VARCHAR, enrollment__2005_ VARCHAR) | SELECT founded FROM table_2076490_1 WHERE enrollment__2005_ = "963" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076490_1 (founded VARCHAR, enrollment__2005_ VARCHAR) Question: What year is the founding year, for the school that had an enrollment in 2005 of 963? [/INST] SELECT founded FROM table_2076490_1 WHERE enro... |
What school had an enrollment in 2005 of 69? | CREATE TABLE table_2076490_1 (school VARCHAR, enrollment__2005_ VARCHAR) | SELECT school FROM table_2076490_1 WHERE enrollment__2005_ = "69" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076490_1 (school VARCHAR, enrollment__2005_ VARCHAR) Question: What school had an enrollment in 2005 of 69? [/INST] SELECT school FROM table_2076490_1 WHERE enrollment__2005_ = "69" </s> |
How many students enrolled in 2005 at New Hampshire Institute of Art? | CREATE TABLE table_2076490_1 (enrollment__2005_ VARCHAR, school VARCHAR) | SELECT enrollment__2005_ FROM table_2076490_1 WHERE school = "New Hampshire Institute of Art" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076490_1 (enrollment__2005_ VARCHAR, school VARCHAR) Question: How many students enrolled in 2005 at New Hampshire Institute of Art? [/INST] SELECT enrollment__2005_ FROM table_2076490_1 WHERE school = "N... |
Name the most founded for enrollment 2005 being 1285 | CREATE TABLE table_2076533_1 (founded INTEGER, enrollment__2005_ VARCHAR) | SELECT MAX(founded) FROM table_2076533_1 WHERE enrollment__2005_ = 1285 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076533_1 (founded INTEGER, enrollment__2005_ VARCHAR) Question: Name the most founded for enrollment 2005 being 1285 [/INST] SELECT MAX(founded) FROM table_2076533_1 WHERE enrollment__2005_ = 1285 </s> |
Name the main location for public and masters university | CREATE TABLE table_2076533_1 (main_location VARCHAR, control VARCHAR, type VARCHAR) | SELECT main_location FROM table_2076533_1 WHERE control = "Public" AND type = "Masters university" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076533_1 (main_location VARCHAR, control VARCHAR, type VARCHAR) Question: Name the main location for public and masters university [/INST] SELECT main_location FROM table_2076533_1 WHERE control = "Public... |
Name the type for mcminnville | CREATE TABLE table_2076533_1 (type VARCHAR, main_location VARCHAR) | SELECT type FROM table_2076533_1 WHERE main_location = "McMinnville" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076533_1 (type VARCHAR, main_location VARCHAR) Question: Name the type for mcminnville [/INST] SELECT type FROM table_2076533_1 WHERE main_location = "McMinnville" </s> |
Name the control for albany | CREATE TABLE table_2076533_1 (control VARCHAR, main_location VARCHAR) | SELECT control FROM table_2076533_1 WHERE main_location = "Albany" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076533_1 (control VARCHAR, main_location VARCHAR) Question: Name the control for albany [/INST] SELECT control FROM table_2076533_1 WHERE main_location = "Albany" </s> |
Name the least founded for gutenberg college | CREATE TABLE table_2076533_1 (founded INTEGER, school VARCHAR) | SELECT MIN(founded) FROM table_2076533_1 WHERE school = "Gutenberg College" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076533_1 (founded INTEGER, school VARCHAR) Question: Name the least founded for gutenberg college [/INST] SELECT MIN(founded) FROM table_2076533_1 WHERE school = "Gutenberg College" </s> |
Name the type for 1245 enrollment | CREATE TABLE table_2076533_1 (type VARCHAR, enrollment__2005_ VARCHAR) | SELECT type FROM table_2076533_1 WHERE enrollment__2005_ = 1245 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076533_1 (type VARCHAR, enrollment__2005_ VARCHAR) Question: Name the type for 1245 enrollment [/INST] SELECT type FROM table_2076533_1 WHERE enrollment__2005_ = 1245 </s> |
when type of work is novel and published in english is 1977, what was published in russian? | CREATE TABLE table_207795_1 (published_in_russian VARCHAR, type_of_work VARCHAR, published_in_english VARCHAR) | SELECT published_in_russian FROM table_207795_1 WHERE type_of_work = "novel" AND published_in_english = "1977" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_207795_1 (published_in_russian VARCHAR, type_of_work VARCHAR, published_in_english VARCHAR) Question: when type of work is novel and published in english is 1977, what was published in russian? [/INST] SEL... |
How many types of work is хромая судьба? | CREATE TABLE table_207795_1 (type_of_work VARCHAR, russian_title VARCHAR) | SELECT COUNT(type_of_work) FROM table_207795_1 WHERE russian_title = "Хромая судьба" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_207795_1 (type_of_work VARCHAR, russian_title VARCHAR) Question: How many types of work is хромая судьба? [/INST] SELECT COUNT(type_of_work) FROM table_207795_1 WHERE russian_title = "Хромая судьба" </s> |
What is the russian title of the ugly swans? | CREATE TABLE table_207795_1 (russian_title VARCHAR, english_title VARCHAR) | SELECT russian_title FROM table_207795_1 WHERE english_title = "The Ugly Swans" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_207795_1 (russian_title VARCHAR, english_title VARCHAR) Question: What is the russian title of the ugly swans? [/INST] SELECT russian_title FROM table_207795_1 WHERE english_title = "The Ugly Swans" </s> |
when it published in english is n/a and published in russian is 1986, what is the type of work? | CREATE TABLE table_207795_1 (type_of_work VARCHAR, published_in_english VARCHAR, published_in_russian VARCHAR) | SELECT type_of_work FROM table_207795_1 WHERE published_in_english = "N/A" AND published_in_russian = "1986" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_207795_1 (type_of_work VARCHAR, published_in_english VARCHAR, published_in_russian VARCHAR) Question: when it published in english is n/a and published in russian is 1986, what is the type of work? [/INST]... |
List the presbyterian members of the senate. | CREATE TABLE table_20803065_1 (senator VARCHAR, religion VARCHAR) | SELECT senator FROM table_20803065_1 WHERE religion = "Presbyterian" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20803065_1 (senator VARCHAR, religion VARCHAR) Question: List the presbyterian members of the senate. [/INST] SELECT senator FROM table_20803065_1 WHERE religion = "Presbyterian" </s> |
Which state does congressman jim demint represent? | CREATE TABLE table_20803065_1 (state VARCHAR, senator VARCHAR) | SELECT state FROM table_20803065_1 WHERE senator = "Jim DeMint" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20803065_1 (state VARCHAR, senator VARCHAR) Question: Which state does congressman jim demint represent? [/INST] SELECT state FROM table_20803065_1 WHERE senator = "Jim DeMint" </s> |
Name the total number of tie number for team 2 osijek | CREATE TABLE table_20819379_2 (tie_no VARCHAR, team_2 VARCHAR) | SELECT COUNT(tie_no) FROM table_20819379_2 WHERE team_2 = "Osijek" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20819379_2 (tie_no VARCHAR, team_2 VARCHAR) Question: Name the total number of tie number for team 2 osijek [/INST] SELECT COUNT(tie_no) FROM table_20819379_2 WHERE team_2 = "Osijek" </s> |
What is the minimum number of total placings? | CREATE TABLE table_20823568_3 (total_placings_s_ INTEGER) | SELECT MIN(total_placings_s_) FROM table_20823568_3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20823568_3 (total_placings_s_ INTEGER) Question: What is the minimum number of total placings? [/INST] SELECT MIN(total_placings_s_) FROM table_20823568_3 </s> |
What was the result of the game with the record of 3-1? | CREATE TABLE table_20849830_1 (result VARCHAR, record VARCHAR) | SELECT result FROM table_20849830_1 WHERE record = "3-1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20849830_1 (result VARCHAR, record VARCHAR) Question: What was the result of the game with the record of 3-1? [/INST] SELECT result FROM table_20849830_1 WHERE record = "3-1" </s> |
What was the date of the game with the record of 2-1? | CREATE TABLE table_20849830_1 (date VARCHAR, record VARCHAR) | SELECT date FROM table_20849830_1 WHERE record = "2-1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20849830_1 (date VARCHAR, record VARCHAR) Question: What was the date of the game with the record of 2-1? [/INST] SELECT date FROM table_20849830_1 WHERE record = "2-1" </s> |
How many games were there in the 1966 season? | CREATE TABLE table_20849830_1 (game INTEGER) | SELECT MAX(game) FROM table_20849830_1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20849830_1 (game INTEGER) Question: How many games were there in the 1966 season? [/INST] SELECT MAX(game) FROM table_20849830_1 </s> |
What game number had a record of 3-1? | CREATE TABLE table_20849830_1 (game VARCHAR, record VARCHAR) | SELECT game FROM table_20849830_1 WHERE record = "3-1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20849830_1 (game VARCHAR, record VARCHAR) Question: What game number had a record of 3-1? [/INST] SELECT game FROM table_20849830_1 WHERE record = "3-1" </s> |
What happened when the new points was 1705? | CREATE TABLE table_20855452_4 (status VARCHAR, new_points VARCHAR) | SELECT status FROM table_20855452_4 WHERE new_points = 1705 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20855452_4 (status VARCHAR, new_points VARCHAR) Question: What happened when the new points was 1705? [/INST] SELECT status FROM table_20855452_4 WHERE new_points = 1705 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.