instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
What was the composition of the state assembly in 2008? | CREATE TABLE table_18052353_4 (state_assembly VARCHAR, year VARCHAR) | SELECT state_assembly 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 (state_assembly VARCHAR, year VARCHAR) Question: What was the composition of the state assembly in 2008? [/INST] SELECT state_assembly FROM table_18052353_4 WHERE year = "2008" </s> |
What's the series number of the episode with production code 329? | CREATE TABLE table_18055005_1 (no_in_series VARCHAR, prod_code VARCHAR) | SELECT no_in_series FROM table_18055005_1 WHERE prod_code = "329" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18055005_1 (no_in_series VARCHAR, prod_code VARCHAR) Question: What's the series number of the episode with production code 329? [/INST] SELECT no_in_series FROM table_18055005_1 WHERE prod_code = "329" </... |
What's the series number of the episode originally viewed by 4.1 million people and written by Douglas Lieblein? | CREATE TABLE table_18055005_1 (no_in_series VARCHAR, viewers__millions_ VARCHAR, written_by VARCHAR) | SELECT no_in_series FROM table_18055005_1 WHERE viewers__millions_ = "4.1" AND written_by = "Douglas Lieblein" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18055005_1 (no_in_series VARCHAR, viewers__millions_ VARCHAR, written_by VARCHAR) Question: What's the series number of the episode originally viewed by 4.1 million people and written by Douglas Lieblein? ... |
What year was the winners vote 55.99%? | CREATE TABLE table_18106841_1 (year INTEGER, winners__percentage_votes VARCHAR) | SELECT MIN(year) FROM table_18106841_1 WHERE winners__percentage_votes = "55.99%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18106841_1 (year INTEGER, winners__percentage_votes VARCHAR) Question: What year was the winners vote 55.99%? [/INST] SELECT MIN(year) FROM table_18106841_1 WHERE winners__percentage_votes = "55.99%" </s> |
When the winners votes were 50.54% who were the members of parliment? | CREATE TABLE table_18106841_1 (members_of_parliament VARCHAR, winners__percentage_votes VARCHAR) | SELECT members_of_parliament FROM table_18106841_1 WHERE winners__percentage_votes = "50.54%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18106841_1 (members_of_parliament VARCHAR, winners__percentage_votes VARCHAR) Question: When the winners votes were 50.54% who were the members of parliment? [/INST] SELECT members_of_parliament FROM table... |
How many millions of U.S. viewers watched the episode directed by Allison Liddi-Brown? | CREATE TABLE table_18102421_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) | SELECT us_viewers__millions_ FROM table_18102421_2 WHERE directed_by = "Allison Liddi-Brown" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18102421_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) Question: How many millions of U.S. viewers watched the episode directed by Allison Liddi-Brown? [/INST] SELECT us_viewers__millions_ FROM t... |
What was the title of the episode that had 13.82 million U.S. viewers? | CREATE TABLE table_18102421_2 (title VARCHAR, us_viewers__millions_ VARCHAR) | SELECT title FROM table_18102421_2 WHERE us_viewers__millions_ = "13.82" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18102421_2 (title VARCHAR, us_viewers__millions_ VARCHAR) Question: What was the title of the episode that had 13.82 million U.S. viewers? [/INST] SELECT title FROM table_18102421_2 WHERE us_viewers__mill... |
What was the club that won 10 top division titles? | CREATE TABLE table_18143210_2 (club VARCHAR, top_division_titles VARCHAR) | SELECT club FROM table_18143210_2 WHERE top_division_titles = 10 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18143210_2 (club VARCHAR, top_division_titles VARCHAR) Question: What was the club that won 10 top division titles? [/INST] SELECT club FROM table_18143210_2 WHERE top_division_titles = 10 </s> |
When did the club UNAM played the first season in top division? | CREATE TABLE table_18143210_2 (first_season_in_top_division VARCHAR, club VARCHAR) | SELECT first_season_in_top_division FROM table_18143210_2 WHERE club = "UNAM" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18143210_2 (first_season_in_top_division VARCHAR, club VARCHAR) Question: When did the club UNAM played the first season in top division? [/INST] SELECT first_season_in_top_division FROM table_18143210_2 W... |
When was the 'first season of current spell in top division' if the first season in top division is in 1964-65? | CREATE TABLE table_18143210_2 (first_season_of_current_spell_in_top_division VARCHAR, first_season_in_top_division VARCHAR) | SELECT first_season_of_current_spell_in_top_division FROM table_18143210_2 WHERE first_season_in_top_division = "1964-65" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18143210_2 (first_season_of_current_spell_in_top_division VARCHAR, first_season_in_top_division VARCHAR) Question: When was the 'first season of current spell in top division' if the first season in top di... |
How many top division titles were won during the 'first season of current spell in top division' in 1979-80? | CREATE TABLE table_18143210_2 (top_division_titles VARCHAR, first_season_of_current_spell_in_top_division VARCHAR) | SELECT top_division_titles FROM table_18143210_2 WHERE first_season_of_current_spell_in_top_division = "1979-80" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18143210_2 (top_division_titles VARCHAR, first_season_of_current_spell_in_top_division VARCHAR) Question: How many top division titles were won during the 'first season of current spell in top division' in... |
How many 'number of seasons in top division' were played if the 'first season in top division' games is in 1990-91? | CREATE TABLE table_18143210_2 (number_of_seasons_in_top_division INTEGER, first_season_in_top_division VARCHAR) | SELECT MAX(number_of_seasons_in_top_division) FROM table_18143210_2 WHERE first_season_in_top_division = "1990-91" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18143210_2 (number_of_seasons_in_top_division INTEGER, first_season_in_top_division VARCHAR) Question: How many 'number of seasons in top division' were played if the 'first season in top division' games i... |
How many 'number of season in Liga MX' were played if the 'first season of current spell in top division' is in 1962-63? | CREATE TABLE table_18143210_2 (number_of_seasons_in_liga_mx VARCHAR, first_season_of_current_spell_in_top_division VARCHAR) | SELECT number_of_seasons_in_liga_mx FROM table_18143210_2 WHERE first_season_of_current_spell_in_top_division = "1962-63" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18143210_2 (number_of_seasons_in_liga_mx VARCHAR, first_season_of_current_spell_in_top_division VARCHAR) Question: How many 'number of season in Liga MX' were played if the 'first season of current spell i... |
which chapter was Transmitted on wednesday if the episode of "363 the hangover part ii" was transmitted on monday? | CREATE TABLE table_18173916_8 (wednesday VARCHAR, monday VARCHAR) | SELECT wednesday FROM table_18173916_8 WHERE monday = "363 The Hangover Part II" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18173916_8 (wednesday VARCHAR, monday VARCHAR) Question: which chapter was Transmitted on wednesday if the episode of "363 the hangover part ii" was transmitted on monday? [/INST] SELECT wednesday FROM ta... |
which episode was Transmitted on wednesday if the episode of "438 magic: the gathering mini masters tournament" was transmitted on thursday? | CREATE TABLE table_18173916_8 (wednesday VARCHAR, thursday VARCHAR) | SELECT wednesday FROM table_18173916_8 WHERE thursday = "438 Magic: The Gathering Mini Masters Tournament" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18173916_8 (wednesday VARCHAR, thursday VARCHAR) Question: which episode was Transmitted on wednesday if the episode of "438 magic: the gathering mini masters tournament" was transmitted on thursday? [/IN... |
which episode was Transmitted on friday if the episode of "414 insanely twisted shadow planet" was transmitted on tuesday? | CREATE TABLE table_18173916_8 (friday VARCHAR, tuesday VARCHAR) | SELECT friday FROM table_18173916_8 WHERE tuesday = "414 Insanely Twisted Shadow Planet" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18173916_8 (friday VARCHAR, tuesday VARCHAR) Question: which episode was Transmitted on friday if the episode of "414 insanely twisted shadow planet" was transmitted on tuesday? [/INST] SELECT friday FROM... |
which episode was Transmitted on friday if the episode of "515 the adventures of tintin" was transmitted on monday? | CREATE TABLE table_18173916_8 (friday VARCHAR, monday VARCHAR) | SELECT friday FROM table_18173916_8 WHERE monday = "515 The Adventures of Tintin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18173916_8 (friday VARCHAR, monday VARCHAR) Question: which episode was Transmitted on friday if the episode of "515 the adventures of tintin" was transmitted on monday? [/INST] SELECT friday FROM table_1... |
which episode was Transmitted on wednesday if the episode of "319 sucker punch" was transmitted on tuesday? | CREATE TABLE table_18173916_8 (wednesday VARCHAR, tuesday VARCHAR) | SELECT COUNT(wednesday) FROM table_18173916_8 WHERE tuesday = "319 Sucker Punch" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18173916_8 (wednesday VARCHAR, tuesday VARCHAR) Question: which episode was Transmitted on wednesday if the episode of "319 sucker punch" was transmitted on tuesday? [/INST] SELECT COUNT(wednesday) FROM t... |
which episode was Transmitted on wednesday if the episode of "307 vs." was transmitted on friday? | CREATE TABLE table_18173916_8 (wednesday VARCHAR, friday VARCHAR) | SELECT wednesday FROM table_18173916_8 WHERE friday = "307 VS." | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18173916_8 (wednesday VARCHAR, friday VARCHAR) Question: which episode was Transmitted on wednesday if the episode of "307 vs." was transmitted on friday? [/INST] SELECT wednesday FROM table_18173916_8 W... |
Name the scoring average for best finsih being t35 | CREATE TABLE table_18198579_6 (scoring_average VARCHAR, best_finish VARCHAR) | SELECT scoring_average FROM table_18198579_6 WHERE best_finish = "T35" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18198579_6 (scoring_average VARCHAR, best_finish VARCHAR) Question: Name the scoring average for best finsih being t35 [/INST] SELECT scoring_average FROM table_18198579_6 WHERE best_finish = "T35" </s> |
Name the number of top 10s for scoring rank of 9 | CREATE TABLE table_18198579_6 (top_10s VARCHAR, scoring_rank VARCHAR) | SELECT COUNT(top_10s) FROM table_18198579_6 WHERE scoring_rank = "9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18198579_6 (top_10s VARCHAR, scoring_rank VARCHAR) Question: Name the number of top 10s for scoring rank of 9 [/INST] SELECT COUNT(top_10s) FROM table_18198579_6 WHERE scoring_rank = "9" </s> |
How many are the total winners if 7 won the Men's Open? | CREATE TABLE table_182298_5 (total VARCHAR, mens_open VARCHAR) | SELECT total FROM table_182298_5 WHERE mens_open = 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_182298_5 (total VARCHAR, mens_open VARCHAR) Question: How many are the total winners if 7 won the Men's Open? [/INST] SELECT total FROM table_182298_5 WHERE mens_open = 7 </s> |
How many won the Men's Open if the players are from Sweden? | CREATE TABLE table_182298_5 (mens_open VARCHAR, country VARCHAR) | SELECT COUNT(mens_open) FROM table_182298_5 WHERE country = "Sweden" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_182298_5 (mens_open VARCHAR, country VARCHAR) Question: How many won the Men's Open if the players are from Sweden? [/INST] SELECT COUNT(mens_open) FROM table_182298_5 WHERE country = "Sweden" </s> |
How many are the total winners from South Korea? | CREATE TABLE table_182298_5 (total VARCHAR, country VARCHAR) | SELECT total FROM table_182298_5 WHERE country = "South Korea" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_182298_5 (total VARCHAR, country VARCHAR) Question: How many are the total winners from South Korea? [/INST] SELECT total FROM table_182298_5 WHERE country = "South Korea" </s> |
When shaun maloney is the player what is the lowest p? | CREATE TABLE table_18254488_2 (p INTEGER, player VARCHAR) | SELECT MIN(p) FROM table_18254488_2 WHERE player = "Shaun Maloney" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18254488_2 (p INTEGER, player VARCHAR) Question: When shaun maloney is the player what is the lowest p? [/INST] SELECT MIN(p) FROM table_18254488_2 WHERE player = "Shaun Maloney" </s> |
What is the highest amount of uefa champion leagues? | CREATE TABLE table_18254488_2 (uefa_champions_league INTEGER) | SELECT MAX(uefa_champions_league) FROM table_18254488_2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18254488_2 (uefa_champions_league INTEGER) Question: What is the highest amount of uefa champion leagues? [/INST] SELECT MAX(uefa_champions_league) FROM table_18254488_2 </s> |
When koki mizuno is the player what is the lowest league cup? | CREATE TABLE table_18254488_2 (league_cup INTEGER, player VARCHAR) | SELECT MIN(league_cup) FROM table_18254488_2 WHERE player = "Koki Mizuno" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18254488_2 (league_cup INTEGER, player VARCHAR) Question: When koki mizuno is the player what is the lowest league cup? [/INST] SELECT MIN(league_cup) FROM table_18254488_2 WHERE player = "Koki Mizuno" </s... |
When koki mizuno is the player how man positions are there? | CREATE TABLE table_18254488_2 (position VARCHAR, player VARCHAR) | SELECT COUNT(position) FROM table_18254488_2 WHERE player = "Koki Mizuno" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18254488_2 (position VARCHAR, player VARCHAR) Question: When koki mizuno is the player how man positions are there? [/INST] SELECT COUNT(position) FROM table_18254488_2 WHERE player = "Koki Mizuno" </s> |
How many episodes by different writers were seen by 3.24 million people in the US? | CREATE TABLE table_18268826_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT(written_by) FROM table_18268826_1 WHERE us_viewers__million_ = "3.24" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18268826_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) Question: How many episodes by different writers were seen by 3.24 million people in the US? [/INST] SELECT COUNT(written_by) FROM table_182688... |
What's the season number of the episode viewed by 3.19 million people in the US? | CREATE TABLE table_18268826_1 (no_in_season INTEGER, us_viewers__million_ VARCHAR) | SELECT MAX(no_in_season) FROM table_18268826_1 WHERE us_viewers__million_ = "3.19" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18268826_1 (no_in_season INTEGER, us_viewers__million_ VARCHAR) Question: What's the season number of the episode viewed by 3.19 million people in the US? [/INST] SELECT MAX(no_in_season) FROM table_182688... |
Who's the writer of the episode seen by 3.25 million people in the US? | CREATE TABLE table_18268826_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT written_by FROM table_18268826_1 WHERE us_viewers__million_ = "3.25" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18268826_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) Question: Who's the writer of the episode seen by 3.25 million people in the US? [/INST] SELECT written_by FROM table_18268826_1 WHERE us_viewe... |
Who directed the episode seen by 3.93 million people in the US? | CREATE TABLE table_18268826_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT directed_by FROM table_18268826_1 WHERE us_viewers__million_ = "3.93" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18268826_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) Question: Who directed the episode seen by 3.93 million people in the US? [/INST] SELECT directed_by FROM table_18268826_1 WHERE us_viewers__m... |
How much do the tickets cost for August 7, 1987? | CREATE TABLE table_18277458_2 (ticket_price_s_ VARCHAR, date_s_ VARCHAR) | SELECT ticket_price_s_ FROM table_18277458_2 WHERE date_s_ = "August 7, 1987" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18277458_2 (ticket_price_s_ VARCHAR, date_s_ VARCHAR) Question: How much do the tickets cost for August 7, 1987? [/INST] SELECT ticket_price_s_ FROM table_18277458_2 WHERE date_s_ = "August 7, 1987" </s> |
How many tickets are sold for the Carver-Hawkeye Arena? | CREATE TABLE table_18277458_2 (ticket_sold___available VARCHAR, venue VARCHAR) | SELECT ticket_sold___available FROM table_18277458_2 WHERE venue = "Carver-Hawkeye Arena" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18277458_2 (ticket_sold___available VARCHAR, venue VARCHAR) Question: How many tickets are sold for the Carver-Hawkeye Arena? [/INST] SELECT ticket_sold___available FROM table_18277458_2 WHERE venue = "Ca... |
When 1462/63 was the elected what was the no.? | CREATE TABLE table_1827690_4 (no VARCHAR, elected VARCHAR) | SELECT no FROM table_1827690_4 WHERE elected = "1462/63" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1827690_4 (no VARCHAR, elected VARCHAR) Question: When 1462/63 was the elected what was the no.? [/INST] SELECT no FROM table_1827690_4 WHERE elected = "1462/63" </s> |
When 1472 was the elected when was the assembled? | CREATE TABLE table_1827690_4 (assembled VARCHAR, elected VARCHAR) | SELECT assembled FROM table_1827690_4 WHERE elected = "1472" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1827690_4 (assembled VARCHAR, elected VARCHAR) Question: When 1472 was the elected when was the assembled? [/INST] SELECT assembled FROM table_1827690_4 WHERE elected = "1472" </s> |
How many different combinations of scores by individual judges were given to the contestant competing against Mukul Dev? | CREATE TABLE table_18278508_6 (scores_by_each_individual_judge VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) | SELECT COUNT(scores_by_each_individual_judge) FROM table_18278508_6 WHERE co_contestant__yaar_vs_pyaar_ = "Mukul Dev" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18278508_6 (scores_by_each_individual_judge VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) Question: How many different combinations of scores by individual judges were given to the contestant competing a... |
What was Kashmira Shah's position on August 14? | CREATE TABLE table_18278508_6 (position VARCHAR, main_contestant VARCHAR, date_performed VARCHAR) | SELECT position FROM table_18278508_6 WHERE main_contestant = "Kashmira Shah" AND date_performed = "August 14" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18278508_6 (position VARCHAR, main_contestant VARCHAR, date_performed VARCHAR) Question: What was Kashmira Shah's position on August 14? [/INST] SELECT position FROM table_18278508_6 WHERE main_contestant ... |
What was the total score / week of the contestant who placed in the bottom 2 on august 14? | CREATE TABLE table_18278508_6 (total_score_week VARCHAR, date_performed VARCHAR, position VARCHAR) | SELECT total_score_week FROM table_18278508_6 WHERE date_performed = "August 14" AND position = "Bottom 2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18278508_6 (total_score_week VARCHAR, date_performed VARCHAR, position VARCHAR) Question: What was the total score / week of the contestant who placed in the bottom 2 on august 14? [/INST] SELECT total_sco... |
What were the scores by the individual judges for Karanvir Bohra on August 13? | CREATE TABLE table_18278508_6 (scores_by_each_individual_judge VARCHAR, main_contestant VARCHAR, date_performed VARCHAR) | SELECT scores_by_each_individual_judge FROM table_18278508_6 WHERE main_contestant = "Karanvir Bohra" AND date_performed = "August 13" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18278508_6 (scores_by_each_individual_judge VARCHAR, main_contestant VARCHAR, date_performed VARCHAR) Question: What were the scores by the individual judges for Karanvir Bohra on August 13? [/INST] SELECT... |
Name the total number of main contestants for safe position for tina parekh | CREATE TABLE table_18278508_4 (main_contestant VARCHAR, position VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) | SELECT COUNT(main_contestant) FROM table_18278508_4 WHERE position = "Safe" AND co_contestant__yaar_vs_pyaar_ = "Tina Parekh" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18278508_4 (main_contestant VARCHAR, position VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) Question: Name the total number of main contestants for safe position for tina parekh [/INST] SELECT COUNT(main... |
Name the status for karanvir bohra and date performed being july 30 | CREATE TABLE table_18278508_4 (status VARCHAR, main_contestant VARCHAR, date_performed VARCHAR) | SELECT status FROM table_18278508_4 WHERE main_contestant = "Karanvir Bohra" AND date_performed = "July 30" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18278508_4 (status VARCHAR, main_contestant VARCHAR, date_performed VARCHAR) Question: Name the status for karanvir bohra and date performed being july 30 [/INST] SELECT status FROM table_18278508_4 WHERE ... |
What is the province where the age of the contestant is 27? | CREATE TABLE table_18349697_1 (province VARCHAR, _community VARCHAR, age VARCHAR) | SELECT province, _community FROM table_18349697_1 WHERE age = 27 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18349697_1 (province VARCHAR, _community VARCHAR, age VARCHAR) Question: What is the province where the age of the contestant is 27? [/INST] SELECT province, _community FROM table_18349697_1 WHERE age = 27... |
When joan tewkesbury is the director what is the number in seasons? | CREATE TABLE table_18367694_3 (no_in_season VARCHAR, directed_by VARCHAR) | SELECT no_in_season FROM table_18367694_3 WHERE directed_by = "Joan Tewkesbury" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18367694_3 (no_in_season VARCHAR, directed_by VARCHAR) Question: When joan tewkesbury is the director what is the number in seasons? [/INST] SELECT no_in_season FROM table_18367694_3 WHERE directed_by = "J... |
How many series did John Banas direct? | CREATE TABLE table_18428024_3 (no_in_series VARCHAR, directed_by VARCHAR) | SELECT no_in_series FROM table_18428024_3 WHERE directed_by = "John Banas" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18428024_3 (no_in_series VARCHAR, directed_by VARCHAR) Question: How many series did John Banas direct? [/INST] SELECT no_in_series FROM table_18428024_3 WHERE directed_by = "John Banas" </s> |
What is the original air date in series 360? | CREATE TABLE table_18428024_3 (original_air_date VARCHAR, no_in_series VARCHAR) | SELECT COUNT(original_air_date) FROM table_18428024_3 WHERE no_in_series = 360 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18428024_3 (original_air_date VARCHAR, no_in_series VARCHAR) Question: What is the original air date in series 360? [/INST] SELECT COUNT(original_air_date) FROM table_18428024_3 WHERE no_in_series = 360 </... |
Who is the coach of the team in Leicester? | CREATE TABLE table_18461635_1 (coach VARCHAR, location VARCHAR) | SELECT coach FROM table_18461635_1 WHERE location = "Leicester" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18461635_1 (coach VARCHAR, location VARCHAR) Question: Who is the coach of the team in Leicester? [/INST] SELECT coach FROM table_18461635_1 WHERE location = "Leicester" </s> |
What is the name of the team from Derbyshire county? | CREATE TABLE table_18461635_1 (team VARCHAR, county VARCHAR) | SELECT team FROM table_18461635_1 WHERE county = "Derbyshire" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18461635_1 (team VARCHAR, county VARCHAR) Question: What is the name of the team from Derbyshire county? [/INST] SELECT team FROM table_18461635_1 WHERE county = "Derbyshire" </s> |
Who is the captain of the Gloucestershire Gladiators? | CREATE TABLE table_18461635_1 (captain VARCHAR, team VARCHAR) | SELECT captain FROM table_18461635_1 WHERE team = "Gloucestershire Gladiators" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18461635_1 (captain VARCHAR, team VARCHAR) Question: Who is the captain of the Gloucestershire Gladiators? [/INST] SELECT captain FROM table_18461635_1 WHERE team = "Gloucestershire Gladiators" </s> |
Who is the captain of the team in Southampton? | CREATE TABLE table_18461635_1 (captain VARCHAR, location VARCHAR) | SELECT captain FROM table_18461635_1 WHERE location = "Southampton" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18461635_1 (captain VARCHAR, location VARCHAR) Question: Who is the captain of the team in Southampton? [/INST] SELECT captain FROM table_18461635_1 WHERE location = "Southampton" </s> |
Where is the team in Sussex county located? | CREATE TABLE table_18461635_1 (location VARCHAR, county VARCHAR) | SELECT location FROM table_18461635_1 WHERE county = "Sussex" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18461635_1 (location VARCHAR, county VARCHAR) Question: Where is the team in Sussex county located? [/INST] SELECT location FROM table_18461635_1 WHERE county = "Sussex" </s> |
Who is the captain of the team in Essex county? | CREATE TABLE table_18461635_1 (captain VARCHAR, county VARCHAR) | SELECT captain FROM table_18461635_1 WHERE county = "Essex" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18461635_1 (captain VARCHAR, county VARCHAR) Question: Who is the captain of the team in Essex county? [/INST] SELECT captain FROM table_18461635_1 WHERE county = "Essex" </s> |
there are in tobago species name helicops angulatus | CREATE TABLE table_1850282_5 (tobago VARCHAR, species VARCHAR) | SELECT tobago FROM table_1850282_5 WHERE species = "Helicops angulatus" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1850282_5 (tobago VARCHAR, species VARCHAR) Question: there are in tobago species name helicops angulatus [/INST] SELECT tobago FROM table_1850282_5 WHERE species = "Helicops angulatus" </s> |
are in tobago species liophis cobellus cobellus? | CREATE TABLE table_1850282_5 (tobago VARCHAR, species VARCHAR) | SELECT tobago FROM table_1850282_5 WHERE species = "Liophis cobellus cobellus" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1850282_5 (tobago VARCHAR, species VARCHAR) Question: are in tobago species liophis cobellus cobellus? [/INST] SELECT tobago FROM table_1850282_5 WHERE species = "Liophis cobellus cobellus" </s> |
Name the most ending with | CREATE TABLE table_1852650_1 (ending_with INTEGER) | SELECT MAX(ending_with) FROM table_1852650_1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1852650_1 (ending_with INTEGER) Question: Name the most ending with [/INST] SELECT MAX(ending_with) FROM table_1852650_1 </s> |
Name the most ending with for peyalvar | CREATE TABLE table_1852650_1 (ending_with INTEGER, sung_by VARCHAR) | SELECT MAX(ending_with) FROM table_1852650_1 WHERE sung_by = "Peyalvar" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1852650_1 (ending_with INTEGER, sung_by VARCHAR) Question: Name the most ending with for peyalvar [/INST] SELECT MAX(ending_with) FROM table_1852650_1 WHERE sung_by = "Peyalvar" </s> |
Name the starting from thiruvezhukkurrirukkai | CREATE TABLE table_1852650_1 (starting_from INTEGER, name_of_the_prabandham VARCHAR) | SELECT MIN(starting_from) FROM table_1852650_1 WHERE name_of_the_prabandham = "Thiruvezhukkurrirukkai" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1852650_1 (starting_from INTEGER, name_of_the_prabandham VARCHAR) Question: Name the starting from thiruvezhukkurrirukkai [/INST] SELECT MIN(starting_from) FROM table_1852650_1 WHERE name_of_the_prabandha... |
Name the starting from amalanadhi piran | CREATE TABLE table_1852650_1 (starting_from VARCHAR, name_of_the_prabandham VARCHAR) | SELECT starting_from FROM table_1852650_1 WHERE name_of_the_prabandham = "Amalanadhi piran" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1852650_1 (starting_from VARCHAR, name_of_the_prabandham VARCHAR) Question: Name the starting from amalanadhi piran [/INST] SELECT starting_from FROM table_1852650_1 WHERE name_of_the_prabandham = "Amalana... |
Why did the change happened in Massachusetts (2)? | CREATE TABLE table_18563954_3 (reason_for_change VARCHAR, state__class_ VARCHAR) | SELECT reason_for_change FROM table_18563954_3 WHERE state__class_ = "Massachusetts (2)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18563954_3 (reason_for_change VARCHAR, state__class_ VARCHAR) Question: Why did the change happened in Massachusetts (2)? [/INST] SELECT reason_for_change FROM table_18563954_3 WHERE state__class_ = "Massa... |
How many different reasons are there for the change in Connecticut (3)? | CREATE TABLE table_18563954_3 (reason_for_change VARCHAR, state__class_ VARCHAR) | SELECT COUNT(reason_for_change) FROM table_18563954_3 WHERE state__class_ = "Connecticut (3)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18563954_3 (reason_for_change VARCHAR, state__class_ VARCHAR) Question: How many different reasons are there for the change in Connecticut (3)? [/INST] SELECT COUNT(reason_for_change) FROM table_18563954_3... |
When the ability to compromise is 13, what is background? | CREATE TABLE table_1855342_5 (background INTEGER, ability_to_compromise VARCHAR) | SELECT MAX(background) FROM table_1855342_5 WHERE ability_to_compromise = 13 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1855342_5 (background INTEGER, ability_to_compromise VARCHAR) Question: When the ability to compromise is 13, what is background? [/INST] SELECT MAX(background) FROM table_1855342_5 WHERE ability_to_compro... |
When the seq is 41, what is the ability to compromise? | CREATE TABLE table_1855342_5 (ability_to_compromise INTEGER, seq VARCHAR) | SELECT MAX(ability_to_compromise) FROM table_1855342_5 WHERE seq = "41" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1855342_5 (ability_to_compromise INTEGER, seq VARCHAR) Question: When the seq is 41, what is the ability to compromise? [/INST] SELECT MAX(ability_to_compromise) FROM table_1855342_5 WHERE seq = "41" </s> |
When the ability is 32, what is the leadership ability? | CREATE TABLE table_1855342_5 (leadership_ability INTEGER, overall_ability VARCHAR) | SELECT MAX(leadership_ability) FROM table_1855342_5 WHERE overall_ability = 32 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1855342_5 (leadership_ability INTEGER, overall_ability VARCHAR) Question: When the ability is 32, what is the leadership ability? [/INST] SELECT MAX(leadership_ability) FROM table_1855342_5 WHERE overall_a... |
When 25 are willing to take risks, what is the experts view? | CREATE TABLE table_1855342_5 (experts_view INTEGER, willing_to_take_risks VARCHAR) | SELECT MIN(experts_view) FROM table_1855342_5 WHERE willing_to_take_risks = 25 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1855342_5 (experts_view INTEGER, willing_to_take_risks VARCHAR) Question: When 25 are willing to take risks, what is the experts view? [/INST] SELECT MIN(experts_view) FROM table_1855342_5 WHERE willing_to... |
Name who directed the episode that was viewed by 4.22 million | CREATE TABLE table_18569389_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT directed_by FROM table_18569389_1 WHERE us_viewers__million_ = "4.22" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18569389_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) Question: Name who directed the episode that was viewed by 4.22 million [/INST] SELECT directed_by FROM table_18569389_1 WHERE us_viewers__mil... |
Name the title for production code 2t6908 | CREATE TABLE table_18569389_1 (title VARCHAR, production_code VARCHAR) | SELECT title FROM table_18569389_1 WHERE production_code = "2T6908" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18569389_1 (title VARCHAR, production_code VARCHAR) Question: Name the title for production code 2t6908 [/INST] SELECT title FROM table_18569389_1 WHERE production_code = "2T6908" </s> |
Name the total number for number in series that got 3.62 viewers | CREATE TABLE table_18569389_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT(no_in_series) FROM table_18569389_1 WHERE us_viewers__million_ = "3.62" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18569389_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR) Question: Name the total number for number in series that got 3.62 viewers [/INST] SELECT COUNT(no_in_series) FROM table_18569389_1 WHERE us_... |
Name the air date that chris long directed | CREATE TABLE table_18569389_1 (original_air_date VARCHAR, directed_by VARCHAR) | SELECT original_air_date FROM table_18569389_1 WHERE directed_by = "Chris Long" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18569389_1 (original_air_date VARCHAR, directed_by VARCHAR) Question: Name the air date that chris long directed [/INST] SELECT original_air_date FROM table_18569389_1 WHERE directed_by = "Chris Long" </s> |
Name the number of production code for 5.08 | CREATE TABLE table_18569389_1 (production_code VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT(production_code) FROM table_18569389_1 WHERE us_viewers__million_ = "5.08" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18569389_1 (production_code VARCHAR, us_viewers__million_ VARCHAR) Question: Name the number of production code for 5.08 [/INST] SELECT COUNT(production_code) FROM table_18569389_1 WHERE us_viewers__millio... |
When 17.07 is the loa (metres) what is the type of yacht? | CREATE TABLE table_1858574_2 (yacht VARCHAR, loa__metres_ VARCHAR) | SELECT yacht AS Type FROM table_1858574_2 WHERE loa__metres_ = "17.07" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1858574_2 (yacht VARCHAR, loa__metres_ VARCHAR) Question: When 17.07 is the loa (metres) what is the type of yacht? [/INST] SELECT yacht AS Type FROM table_1858574_2 WHERE loa__metres_ = "17.07" </s> |
When 3 is the position what is the sail number? | CREATE TABLE table_1858574_2 (sail_number VARCHAR, position VARCHAR) | SELECT sail_number FROM table_1858574_2 WHERE position = 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1858574_2 (sail_number VARCHAR, position VARCHAR) Question: When 3 is the position what is the sail number? [/INST] SELECT sail_number FROM table_1858574_2 WHERE position = 3 </s> |
When aspect computing is the yacht what is the sail number? | CREATE TABLE table_1858574_2 (sail_number VARCHAR, yacht VARCHAR) | SELECT sail_number FROM table_1858574_2 WHERE yacht = "Aspect Computing" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1858574_2 (sail_number VARCHAR, yacht VARCHAR) Question: When aspect computing is the yacht what is the sail number? [/INST] SELECT sail_number FROM table_1858574_2 WHERE yacht = "Aspect Computing" </s> |
When 6606 is the sail number what is the type of yacht? | CREATE TABLE table_1858574_2 (yacht VARCHAR, sail_number VARCHAR) | SELECT yacht AS Type FROM table_1858574_2 WHERE sail_number = "6606" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1858574_2 (yacht VARCHAR, sail_number VARCHAR) Question: When 6606 is the sail number what is the type of yacht? [/INST] SELECT yacht AS Type FROM table_1858574_2 WHERE sail_number = "6606" </s> |
When 5 is the position what is the state or country? | CREATE TABLE table_1858574_2 (state_country VARCHAR, position VARCHAR) | SELECT state_country FROM table_1858574_2 WHERE position = 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1858574_2 (state_country VARCHAR, position VARCHAR) Question: When 5 is the position what is the state or country? [/INST] SELECT state_country FROM table_1858574_2 WHERE position = 5 </s> |
Name the least ansi code for 609 population 2010 | CREATE TABLE table_18600760_1 (ansi_code INTEGER, pop__2010_ VARCHAR) | SELECT MIN(ansi_code) FROM table_18600760_1 WHERE pop__2010_ = 609 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_1 (ansi_code INTEGER, pop__2010_ VARCHAR) Question: Name the least ansi code for 609 population 2010 [/INST] SELECT MIN(ansi_code) FROM table_18600760_1 WHERE pop__2010_ = 609 </s> |
Name the ansi code fore ashtabula | CREATE TABLE table_18600760_1 (ansi_code INTEGER, township VARCHAR) | SELECT MIN(ansi_code) FROM table_18600760_1 WHERE township = "Ashtabula" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_1 (ansi_code INTEGER, township VARCHAR) Question: Name the ansi code fore ashtabula [/INST] SELECT MIN(ansi_code) FROM table_18600760_1 WHERE township = "Ashtabula" </s> |
Name the land for ada | CREATE TABLE table_18600760_1 (land___sqmi__ VARCHAR, township VARCHAR) | SELECT COUNT(land___sqmi__) FROM table_18600760_1 WHERE township = "Ada" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_1 (land___sqmi__ VARCHAR, township VARCHAR) Question: Name the land for ada [/INST] SELECT COUNT(land___sqmi__) FROM table_18600760_1 WHERE township = "Ada" </s> |
What was the position of the Atl. Colegiales team? | CREATE TABLE table_18597302_1 (position INTEGER, team VARCHAR) | SELECT MAX(position) FROM table_18597302_1 WHERE team = "Atl. Colegiales" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18597302_1 (position INTEGER, team VARCHAR) Question: What was the position of the Atl. Colegiales team? [/INST] SELECT MAX(position) FROM table_18597302_1 WHERE team = "Atl. Colegiales" </s> |
What was the position where the team scored 9 points? | CREATE TABLE table_18597302_1 (position VARCHAR, points VARCHAR) | SELECT COUNT(position) FROM table_18597302_1 WHERE points = 9 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18597302_1 (position VARCHAR, points VARCHAR) Question: What was the position where the team scored 9 points? [/INST] SELECT COUNT(position) FROM table_18597302_1 WHERE points = 9 </s> |
How many player eliminated an opponent within the time frame of 32:32? | CREATE TABLE table_18598175_2 (eliminated_by VARCHAR, time VARCHAR) | SELECT COUNT(eliminated_by) FROM table_18598175_2 WHERE time = "32:32" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18598175_2 (eliminated_by VARCHAR, time VARCHAR) Question: How many player eliminated an opponent within the time frame of 32:32? [/INST] SELECT COUNT(eliminated_by) FROM table_18598175_2 WHERE time = "32:... |
What was the styled used to defeat the opponent within the time frame of 32:32? | CREATE TABLE table_18598175_2 (method_of_elimination VARCHAR, time VARCHAR) | SELECT method_of_elimination FROM table_18598175_2 WHERE time = "32:32" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18598175_2 (method_of_elimination VARCHAR, time VARCHAR) Question: What was the styled used to defeat the opponent within the time frame of 32:32? [/INST] SELECT method_of_elimination FROM table_18598175_2... |
Who won the match when the winner used the Pedigree attack? | CREATE TABLE table_18598175_2 (eliminated_by VARCHAR, method_of_elimination VARCHAR) | SELECT eliminated_by FROM table_18598175_2 WHERE method_of_elimination = "Pedigree" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18598175_2 (eliminated_by VARCHAR, method_of_elimination VARCHAR) Question: Who won the match when the winner used the Pedigree attack? [/INST] SELECT eliminated_by FROM table_18598175_2 WHERE method_of_el... |
What was the elimination number of the fighter who fought within 27:27? | CREATE TABLE table_18598175_2 (elimination_number INTEGER, time VARCHAR) | SELECT MIN(elimination_number) FROM table_18598175_2 WHERE time = "27:27" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18598175_2 (elimination_number INTEGER, time VARCHAR) Question: What was the elimination number of the fighter who fought within 27:27? [/INST] SELECT MIN(elimination_number) FROM table_18598175_2 WHERE ti... |
What was the elimination number of the fighter who fought within 26:15? | CREATE TABLE table_18598175_2 (elimination_number INTEGER, time VARCHAR) | SELECT MAX(elimination_number) FROM table_18598175_2 WHERE time = "26:15" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18598175_2 (elimination_number INTEGER, time VARCHAR) Question: What was the elimination number of the fighter who fought within 26:15? [/INST] SELECT MAX(elimination_number) FROM table_18598175_2 WHERE ti... |
what is the longitude in 35.992 sqmi | CREATE TABLE table_18600760_2 (longitude VARCHAR, land___sqmi__ VARCHAR) | SELECT longitude FROM table_18600760_2 WHERE land___sqmi__ = "35.992" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_2 (longitude VARCHAR, land___sqmi__ VARCHAR) Question: what is the longitude in 35.992 sqmi [/INST] SELECT longitude FROM table_18600760_2 WHERE land___sqmi__ = "35.992" </s> |
how many townships where pop (2010) and ater is 0.818 | CREATE TABLE table_18600760_2 (pop__2010_ VARCHAR, water__sqmi_ VARCHAR) | SELECT COUNT(pop__2010_) FROM table_18600760_2 WHERE water__sqmi_ = "0.818" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_2 (pop__2010_ VARCHAR, water__sqmi_ VARCHAR) Question: how many townships where pop (2010) and ater is 0.818 [/INST] SELECT COUNT(pop__2010_) FROM table_18600760_2 WHERE water__sqmi_ = "0.818" </s... |
what is the name of the townships with 32.222 land | CREATE TABLE table_18600760_19 (township VARCHAR, land___sqmi__ VARCHAR) | SELECT township FROM table_18600760_19 WHERE land___sqmi__ = "32.222" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_19 (township VARCHAR, land___sqmi__ VARCHAR) Question: what is the name of the townships with 32.222 land [/INST] SELECT township FROM table_18600760_19 WHERE land___sqmi__ = "32.222" </s> |
how many lands with longitude of -100.895783 are? | CREATE TABLE table_18600760_19 (land___sqmi__ VARCHAR, longitude VARCHAR) | SELECT COUNT(land___sqmi__) FROM table_18600760_19 WHERE longitude = "-100.895783" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_19 (land___sqmi__ VARCHAR, longitude VARCHAR) Question: how many lands with longitude of -100.895783 are? [/INST] SELECT COUNT(land___sqmi__) FROM table_18600760_19 WHERE longitude = "-100.895783"... |
how many geo id with 48.578664 are | CREATE TABLE table_18600760_19 (geo_id VARCHAR, latitude VARCHAR) | SELECT COUNT(geo_id) FROM table_18600760_19 WHERE latitude = "48.578664" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_19 (geo_id VARCHAR, latitude VARCHAR) Question: how many geo id with 48.578664 are [/INST] SELECT COUNT(geo_id) FROM table_18600760_19 WHERE latitude = "48.578664" </s> |
what is the latitude in the township where wate is 0.288 | CREATE TABLE table_18600760_19 (latitude VARCHAR, water__sqmi_ VARCHAR) | SELECT latitude FROM table_18600760_19 WHERE water__sqmi_ = "0.288" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_19 (latitude VARCHAR, water__sqmi_ VARCHAR) Question: what is the latitude in the township where wate is 0.288 [/INST] SELECT latitude FROM table_18600760_19 WHERE water__sqmi_ = "0.288" </s> |
how is called the township where the latitude is 47.377790 | CREATE TABLE table_18600760_19 (township VARCHAR, latitude VARCHAR) | SELECT township FROM table_18600760_19 WHERE latitude = "47.377790" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_19 (township VARCHAR, latitude VARCHAR) Question: how is called the township where the latitude is 47.377790 [/INST] SELECT township FROM table_18600760_19 WHERE latitude = "47.377790" </s> |
where the land is 35.990 what is the number of the geo id | CREATE TABLE table_18600760_19 (geo_id VARCHAR, land___sqmi__ VARCHAR) | SELECT geo_id FROM table_18600760_19 WHERE land___sqmi__ = "35.990" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_19 (geo_id VARCHAR, land___sqmi__ VARCHAR) Question: where the land is 35.990 what is the number of the geo id [/INST] SELECT geo_id FROM table_18600760_19 WHERE land___sqmi__ = "35.990" </s> |
Name the land where geo id is 3807717980 | CREATE TABLE table_18600760_4 (land___sqmi__ VARCHAR, geo_id VARCHAR) | SELECT land___sqmi__ FROM table_18600760_4 WHERE geo_id = 3807717980 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_4 (land___sqmi__ VARCHAR, geo_id VARCHAR) Question: Name the land where geo id is 3807717980 [/INST] SELECT land___sqmi__ FROM table_18600760_4 WHERE geo_id = 3807717980 </s> |
Name the latitude for deer lake | CREATE TABLE table_18600760_4 (latitude VARCHAR, township VARCHAR) | SELECT latitude FROM table_18600760_4 WHERE township = "Deer Lake" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_4 (latitude VARCHAR, township VARCHAR) Question: Name the latitude for deer lake [/INST] SELECT latitude FROM table_18600760_4 WHERE township = "Deer Lake" </s> |
If the water square milage is 1.701, what is the land square milage? | CREATE TABLE table_18600760_7 (land___sqmi__ VARCHAR, water__sqmi_ VARCHAR) | SELECT land___sqmi__ FROM table_18600760_7 WHERE water__sqmi_ = "1.701" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_7 (land___sqmi__ VARCHAR, water__sqmi_ VARCHAR) Question: If the water square milage is 1.701, what is the land square milage? [/INST] SELECT land___sqmi__ FROM table_18600760_7 WHERE water__sqmi_... |
In Cavalier County and the geo id is larger than 3801931620.0, what is the population? | CREATE TABLE table_18600760_7 (pop__2010_ VARCHAR, county VARCHAR, geo_id VARCHAR) | SELECT pop__2010_ FROM table_18600760_7 WHERE county = "Cavalier" AND geo_id > 3801931620.0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_7 (pop__2010_ VARCHAR, county VARCHAR, geo_id VARCHAR) Question: In Cavalier County and the geo id is larger than 3801931620.0, what is the population? [/INST] SELECT pop__2010_ FROM table_1860076... |
If the population is 1858, what is the maximum ansi code? | CREATE TABLE table_18600760_7 (ansi_code INTEGER, pop__2010_ VARCHAR) | SELECT MAX(ansi_code) FROM table_18600760_7 WHERE pop__2010_ = 1858 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_7 (ansi_code INTEGER, pop__2010_ VARCHAR) Question: If the population is 1858, what is the maximum ansi code? [/INST] SELECT MAX(ansi_code) FROM table_18600760_7 WHERE pop__2010_ = 1858 </s> |
If the longitude is -97.473110, what is the minimum geo id? | CREATE TABLE table_18600760_7 (geo_id INTEGER, longitude VARCHAR) | SELECT MIN(geo_id) FROM table_18600760_7 WHERE longitude = "-97.473110" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_7 (geo_id INTEGER, longitude VARCHAR) Question: If the longitude is -97.473110, what is the minimum geo id? [/INST] SELECT MIN(geo_id) FROM table_18600760_7 WHERE longitude = "-97.473110" </s> |
If the ansi code is 1036632, what is the name of the township? | CREATE TABLE table_18600760_7 (township VARCHAR, ansi_code VARCHAR) | SELECT township FROM table_18600760_7 WHERE ansi_code = 1036632 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_7 (township VARCHAR, ansi_code VARCHAR) Question: If the ansi code is 1036632, what is the name of the township? [/INST] SELECT township FROM table_18600760_7 WHERE ansi_code = 1036632 </s> |
If the land square milage is 10.950, what is the longitude? | CREATE TABLE table_18600760_7 (longitude VARCHAR, land___sqmi__ VARCHAR) | SELECT longitude FROM table_18600760_7 WHERE land___sqmi__ = "10.950" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_7 (longitude VARCHAR, land___sqmi__ VARCHAR) Question: If the land square milage is 10.950, what is the longitude? [/INST] SELECT longitude FROM table_18600760_7 WHERE land___sqmi__ = "10.950" </s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.