instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
What was the max when they score 2200?
CREATE TABLE table_20855452_4 (new_points INTEGER, points VARCHAR)
SELECT MAX(new_points) FROM table_20855452_4 WHERE points = 2200
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20855452_4 (new_points INTEGER, points VARCHAR) Question: What was the max when they score 2200? [/INST] SELECT MAX(new_points) FROM table_20855452_4 WHERE points = 2200 </s>
How many points did agnieszka radwańska score?
CREATE TABLE table_20855452_4 (points VARCHAR, player VARCHAR)
SELECT points FROM table_20855452_4 WHERE player = "Agnieszka Radwańska"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20855452_4 (points VARCHAR, player VARCHAR) Question: How many points did agnieszka radwańska score? [/INST] SELECT points FROM table_20855452_4 WHERE player = "Agnieszka Radwańska" </s>
How many points did shahar pe'er score?
CREATE TABLE table_20855452_4 (points VARCHAR, player VARCHAR)
SELECT points AS won FROM table_20855452_4 WHERE player = "Shahar Pe'er"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20855452_4 (points VARCHAR, player VARCHAR) Question: How many points did shahar pe'er score? [/INST] SELECT points AS won FROM table_20855452_4 WHERE player = "Shahar Pe'er" </s>
What is the weight for western ontario college?
CREATE TABLE table_20872722_1 (weight VARCHAR, college VARCHAR)
SELECT weight FROM table_20872722_1 WHERE college = "Western Ontario"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20872722_1 (weight VARCHAR, college VARCHAR) Question: What is the weight for western ontario college? [/INST] SELECT weight FROM table_20872722_1 WHERE college = "Western Ontario" </s>
How many positions have round 3?
CREATE TABLE table_20872722_1 (position VARCHAR, round VARCHAR)
SELECT COUNT(position) FROM table_20872722_1 WHERE round = 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20872722_1 (position VARCHAR, round VARCHAR) Question: How many positions have round 3? [/INST] SELECT COUNT(position) FROM table_20872722_1 WHERE round = 3 </s>
Which position has 225lb as weight?
CREATE TABLE table_20872722_1 (position VARCHAR, weight VARCHAR)
SELECT position FROM table_20872722_1 WHERE weight = "225lb"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20872722_1 (position VARCHAR, weight VARCHAR) Question: Which position has 225lb as weight? [/INST] SELECT position FROM table_20872722_1 WHERE weight = "225lb" </s>
What is the round?
CREATE TABLE table_20872722_1 (round INTEGER)
SELECT MIN(round) FROM table_20872722_1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20872722_1 (round INTEGER) Question: What is the round? [/INST] SELECT MIN(round) FROM table_20872722_1 </s>
What is the height of the cornerback position?
CREATE TABLE table_20872722_1 (height VARCHAR, position VARCHAR)
SELECT COUNT(height) FROM table_20872722_1 WHERE position = "Cornerback"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20872722_1 (height VARCHAR, position VARCHAR) Question: What is the height of the cornerback position? [/INST] SELECT COUNT(height) FROM table_20872722_1 WHERE position = "Cornerback" </s>
What is the most recent year joined?
CREATE TABLE table_20887670_1 (year_joined INTEGER)
SELECT MAX(year_joined) FROM table_20887670_1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20887670_1 (year_joined INTEGER) Question: What is the most recent year joined? [/INST] SELECT MAX(year_joined) FROM table_20887670_1 </s>
what is the affiliation of the hilltoppers mascot?
CREATE TABLE table_20887670_1 (affiliation VARCHAR, mascot VARCHAR)
SELECT affiliation FROM table_20887670_1 WHERE mascot = "Hilltoppers"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20887670_1 (affiliation VARCHAR, mascot VARCHAR) Question: what is the affiliation of the hilltoppers mascot? [/INST] SELECT affiliation FROM table_20887670_1 WHERE mascot = "Hilltoppers" </s>
what is the affiliation of the colors maroon and white?
CREATE TABLE table_20887670_1 (affiliation VARCHAR, colors VARCHAR)
SELECT affiliation FROM table_20887670_1 WHERE colors = "Maroon and White"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20887670_1 (affiliation VARCHAR, colors VARCHAR) Question: what is the affiliation of the colors maroon and white? [/INST] SELECT affiliation FROM table_20887670_1 WHERE colors = "Maroon and White" </s>
what is the number of enrollment of the central institution?
CREATE TABLE table_20887670_1 (enrollment VARCHAR, institution VARCHAR)
SELECT enrollment FROM table_20887670_1 WHERE institution = "Central"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20887670_1 (enrollment VARCHAR, institution VARCHAR) Question: what is the number of enrollment of the central institution? [/INST] SELECT enrollment FROM table_20887670_1 WHERE institution = "Central" </s>
what is the name of the institution of the sparta, wi location?
CREATE TABLE table_20887670_1 (institution VARCHAR, location VARCHAR)
SELECT institution FROM table_20887670_1 WHERE location = "Sparta, WI"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20887670_1 (institution VARCHAR, location VARCHAR) Question: what is the name of the institution of the sparta, wi location? [/INST] SELECT institution FROM table_20887670_1 WHERE location = "Sparta, WI" </s>
in what year did the colors red and gold join?
CREATE TABLE table_20887670_1 (year_joined VARCHAR, colors VARCHAR)
SELECT COUNT(year_joined) FROM table_20887670_1 WHERE colors = "Red and Gold"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20887670_1 (year_joined VARCHAR, colors VARCHAR) Question: in what year did the colors red and gold join? [/INST] SELECT COUNT(year_joined) FROM table_20887670_1 WHERE colors = "Red and Gold" </s>
What circuit did rick kelly win on?
CREATE TABLE table_20884163_2 (circuit VARCHAR, winner VARCHAR)
SELECT circuit FROM table_20884163_2 WHERE winner = "Rick Kelly"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20884163_2 (circuit VARCHAR, winner VARCHAR) Question: What circuit did rick kelly win on? [/INST] SELECT circuit FROM table_20884163_2 WHERE winner = "Rick Kelly" </s>
What circuit features the placemakers v8 supercars race?
CREATE TABLE table_20884163_2 (circuit VARCHAR, race_title VARCHAR)
SELECT circuit FROM table_20884163_2 WHERE race_title = "PlaceMakers V8 Supercars"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20884163_2 (circuit VARCHAR, race_title VARCHAR) Question: What circuit features the placemakers v8 supercars race? [/INST] SELECT circuit FROM table_20884163_2 WHERE race_title = "PlaceMakers V8 Supercars" </s>
What dates was the falken tasmania challenge race that had triple eight race engineering as the team?
CREATE TABLE table_20884163_2 (date VARCHAR, team VARCHAR, race_title VARCHAR)
SELECT date FROM table_20884163_2 WHERE team = "Triple Eight Race Engineering" AND race_title = "Falken Tasmania Challenge"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20884163_2 (date VARCHAR, team VARCHAR, race_title VARCHAR) Question: What dates was the falken tasmania challenge race that had triple eight race engineering as the team? [/INST] SELECT date FROM table_20884163_2 WHERE team = "Triple Eight Race Engineering" AND race_title = "Falken Tasmania Challenge" </s>
What was the report for the winton race?
CREATE TABLE table_20884163_2 (report VARCHAR, race_title VARCHAR)
SELECT report FROM table_20884163_2 WHERE race_title = "Winton"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20884163_2 (report VARCHAR, race_title VARCHAR) Question: What was the report for the winton race? [/INST] SELECT report FROM table_20884163_2 WHERE race_title = "Winton" </s>
What medium was used for the sculpture of George Harold Baker?
CREATE TABLE table_20903658_1 (medium VARCHAR, title_subject VARCHAR)
SELECT medium FROM table_20903658_1 WHERE title_subject = "George Harold Baker"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20903658_1 (medium VARCHAR, title_subject VARCHAR) Question: What medium was used for the sculpture of George Harold Baker? [/INST] SELECT medium FROM table_20903658_1 WHERE title_subject = "George Harold Baker" </s>
Who was the subject of the sculpture created in 1982?
CREATE TABLE table_20903658_1 (title_subject VARCHAR, date_painted_created VARCHAR)
SELECT title_subject FROM table_20903658_1 WHERE date_painted_created = "1982"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20903658_1 (title_subject VARCHAR, date_painted_created VARCHAR) Question: Who was the subject of the sculpture created in 1982? [/INST] SELECT title_subject FROM table_20903658_1 WHERE date_painted_created = "1982" </s>
Who was the subject of the bronze sculpture who was a colonist and soldier in Ville Marie, New France?
CREATE TABLE table_20903658_1 (title_subject VARCHAR, medium VARCHAR, public_office VARCHAR)
SELECT title_subject FROM table_20903658_1 WHERE medium = "Bronze" AND public_office = "colonist and soldier in Ville Marie, New France"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20903658_1 (title_subject VARCHAR, medium VARCHAR, public_office VARCHAR) Question: Who was the subject of the bronze sculpture who was a colonist and soldier in Ville Marie, New France? [/INST] SELECT title_subject FROM table_20903658_1 WHERE medium = "Bronze" AND public_office = "colonist and soldier in Ville Marie, New France" </s>
What was the public office of the subject whose sculpture was created in 1954?
CREATE TABLE table_20903658_1 (public_office VARCHAR, date_painted_created VARCHAR)
SELECT public_office FROM table_20903658_1 WHERE date_painted_created = "1954"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20903658_1 (public_office VARCHAR, date_painted_created VARCHAR) Question: What was the public office of the subject whose sculpture was created in 1954? [/INST] SELECT public_office FROM table_20903658_1 WHERE date_painted_created = "1954" </s>
What medium was used for the sculpture by Ernest Richard Gause?
CREATE TABLE table_20903658_1 (medium VARCHAR, artist VARCHAR)
SELECT medium FROM table_20903658_1 WHERE artist = "Ernest Richard Gause"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20903658_1 (medium VARCHAR, artist VARCHAR) Question: What medium was used for the sculpture by Ernest Richard Gause? [/INST] SELECT medium FROM table_20903658_1 WHERE artist = "Ernest Richard Gause" </s>
Name the originl title for no stars in the jungle
CREATE TABLE table_20963074_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_title FROM table_20963074_1 WHERE film_title_used_in_nomination = "No Stars in the Jungle"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20963074_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) Question: Name the originl title for no stars in the jungle [/INST] SELECT original_title FROM table_20963074_1 WHERE film_title_used_in_nomination = "No Stars in the Jungle" </s>
Name the original title for not nominated result with report on death
CREATE TABLE table_20963074_1 (original_title VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_title FROM table_20963074_1 WHERE result = "Not Nominated" AND film_title_used_in_nomination = "Report on Death"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20963074_1 (original_title VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR) Question: Name the original title for not nominated result with report on death [/INST] SELECT original_title FROM table_20963074_1 WHERE result = "Not Nominated" AND film_title_used_in_nomination = "Report on Death" </s>
Name the total number of results for octubre
CREATE TABLE table_20963074_1 (result VARCHAR, original_title VARCHAR)
SELECT COUNT(result) FROM table_20963074_1 WHERE original_title = "Octubre"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20963074_1 (result VARCHAR, original_title VARCHAR) Question: Name the total number of results for octubre [/INST] SELECT COUNT(result) FROM table_20963074_1 WHERE original_title = "Octubre" </s>
Name the film title for la boca del lobo
CREATE TABLE table_20963074_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
SELECT film_title_used_in_nomination FROM table_20963074_1 WHERE original_title = "La boca del lobo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20963074_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) Question: Name the film title for la boca del lobo [/INST] SELECT film_title_used_in_nomination FROM table_20963074_1 WHERE original_title = "La boca del lobo" </s>
Name the year for reportaje a la muerte
CREATE TABLE table_20963074_1 (year__ceremony_ VARCHAR, original_title VARCHAR)
SELECT year__ceremony_ FROM table_20963074_1 WHERE original_title = "Reportaje a la muerte"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20963074_1 (year__ceremony_ VARCHAR, original_title VARCHAR) Question: Name the year for reportaje a la muerte [/INST] SELECT year__ceremony_ FROM table_20963074_1 WHERE original_title = "Reportaje a la muerte" </s>
How many directors for #15?
CREATE TABLE table_20942925_1 (directed_by VARCHAR, _number VARCHAR)
SELECT COUNT(directed_by) FROM table_20942925_1 WHERE _number = 15
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20942925_1 (directed_by VARCHAR, _number VARCHAR) Question: How many directors for #15? [/INST] SELECT COUNT(directed_by) FROM table_20942925_1 WHERE _number = 15 </s>
What is every director with production code of NABF13?
CREATE TABLE table_20942925_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_20942925_1 WHERE production_code = "NABF13"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20942925_1 (directed_by VARCHAR, production_code VARCHAR) Question: What is every director with production code of NABF13? [/INST] SELECT directed_by FROM table_20942925_1 WHERE production_code = "NABF13" </s>
What are all values for U.S. viewers(millions) with Kevin Curran as a writer?
CREATE TABLE table_20942925_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR)
SELECT us_viewers__millions_ FROM table_20942925_1 WHERE written_by = "Kevin Curran"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20942925_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR) Question: What are all values for U.S. viewers(millions) with Kevin Curran as a writer? [/INST] SELECT us_viewers__millions_ FROM table_20942925_1 WHERE written_by = "Kevin Curran" </s>
How many titles for the production code of NABF07?
CREATE TABLE table_20942925_1 (title VARCHAR, production_code VARCHAR)
SELECT COUNT(title) FROM table_20942925_1 WHERE production_code = "NABF07"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20942925_1 (title VARCHAR, production_code VARCHAR) Question: How many titles for the production code of NABF07? [/INST] SELECT COUNT(title) FROM table_20942925_1 WHERE production_code = "NABF07" </s>
Name the episode for 18-49 rating being 3.6
CREATE TABLE table_20971444_3 (episode VARCHAR, rating__18_49_ VARCHAR)
SELECT COUNT(episode) FROM table_20971444_3 WHERE rating__18_49_ = "3.6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20971444_3 (episode VARCHAR, rating__18_49_ VARCHAR) Question: Name the episode for 18-49 rating being 3.6 [/INST] SELECT COUNT(episode) FROM table_20971444_3 WHERE rating__18_49_ = "3.6" </s>
Name the rank timeslot for 11.59 viewers
CREATE TABLE table_20971444_3 (rank__timeslot_ VARCHAR, viewers__millions_ VARCHAR)
SELECT rank__timeslot_ FROM table_20971444_3 WHERE viewers__millions_ = "11.59"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20971444_3 (rank__timeslot_ VARCHAR, viewers__millions_ VARCHAR) Question: Name the rank timeslot for 11.59 viewers [/INST] SELECT rank__timeslot_ FROM table_20971444_3 WHERE viewers__millions_ = "11.59" </s>
Name the first air date for 9 episode
CREATE TABLE table_20971444_3 (first_air_date VARCHAR, episode VARCHAR)
SELECT first_air_date FROM table_20971444_3 WHERE episode = 9
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20971444_3 (first_air_date VARCHAR, episode VARCHAR) Question: Name the first air date for 9 episode [/INST] SELECT first_air_date FROM table_20971444_3 WHERE episode = 9 </s>
Name the rank timeslot for 18-49 share being 13
CREATE TABLE table_20971444_3 (rank__timeslot_ VARCHAR, share__18_49_ VARCHAR)
SELECT COUNT(rank__timeslot_) FROM table_20971444_3 WHERE share__18_49_ = 13
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20971444_3 (rank__timeslot_ VARCHAR, share__18_49_ VARCHAR) Question: Name the rank timeslot for 18-49 share being 13 [/INST] SELECT COUNT(rank__timeslot_) FROM table_20971444_3 WHERE share__18_49_ = 13 </s>
Name the total number of rank timeslot for 18-49 being 3.1
CREATE TABLE table_20971444_3 (rank__timeslot_ VARCHAR, rating__18_49_ VARCHAR)
SELECT COUNT(rank__timeslot_) FROM table_20971444_3 WHERE rating__18_49_ = "3.1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20971444_3 (rank__timeslot_ VARCHAR, rating__18_49_ VARCHAR) Question: Name the total number of rank timeslot for 18-49 being 3.1 [/INST] SELECT COUNT(rank__timeslot_) FROM table_20971444_3 WHERE rating__18_49_ = "3.1" </s>
Name the total number for 18-49 share being 18-49 being 3.1
CREATE TABLE table_20971444_3 (share__18_49_ VARCHAR, rating__18_49_ VARCHAR)
SELECT COUNT(share__18_49_) FROM table_20971444_3 WHERE rating__18_49_ = "3.1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20971444_3 (share__18_49_ VARCHAR, rating__18_49_ VARCHAR) Question: Name the total number for 18-49 share being 18-49 being 3.1 [/INST] SELECT COUNT(share__18_49_) FROM table_20971444_3 WHERE rating__18_49_ = "3.1" </s>
What was the date for the Champs Sports Bowl?
CREATE TABLE table_20996923_20 (date VARCHAR, bowl_game VARCHAR)
SELECT date FROM table_20996923_20 WHERE bowl_game = "Champs Sports Bowl"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20996923_20 (date VARCHAR, bowl_game VARCHAR) Question: What was the date for the Champs Sports Bowl? [/INST] SELECT date FROM table_20996923_20 WHERE bowl_game = "Champs Sports Bowl" </s>
What is the date when the city is San Antonio, Texas?
CREATE TABLE table_20996923_20 (date VARCHAR, city VARCHAR)
SELECT date FROM table_20996923_20 WHERE city = "San Antonio, Texas"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20996923_20 (date VARCHAR, city VARCHAR) Question: What is the date when the city is San Antonio, Texas? [/INST] SELECT date FROM table_20996923_20 WHERE city = "San Antonio, Texas" </s>
What is the city when the Television network was the NFL Network?
CREATE TABLE table_20996923_20 (city VARCHAR, television VARCHAR)
SELECT city FROM table_20996923_20 WHERE television = "NFL Network"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20996923_20 (city VARCHAR, television VARCHAR) Question: What is the city when the Television network was the NFL Network? [/INST] SELECT city FROM table_20996923_20 WHERE television = "NFL Network" </s>
How many opponents did the Sun Devils play when they scored 41 points?
CREATE TABLE table_21007615_1 (opponent VARCHAR, sun_devils_points VARCHAR)
SELECT COUNT(opponent) FROM table_21007615_1 WHERE sun_devils_points = 41
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21007615_1 (opponent VARCHAR, sun_devils_points VARCHAR) Question: How many opponents did the Sun Devils play when they scored 41 points? [/INST] SELECT COUNT(opponent) FROM table_21007615_1 WHERE sun_devils_points = 41 </s>
What was the record for the Sun Devils when they scored 44 points?
CREATE TABLE table_21007615_1 (record VARCHAR, sun_devils_points VARCHAR)
SELECT record FROM table_21007615_1 WHERE sun_devils_points = 44
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21007615_1 (record VARCHAR, sun_devils_points VARCHAR) Question: What was the record for the Sun Devils when they scored 44 points? [/INST] SELECT record FROM table_21007615_1 WHERE sun_devils_points = 44 </s>
When the torsion spring diameter is 38.4cm what would be the length or weight of the missile
CREATE TABLE table_21012786_2 (length_weight_of_missile VARCHAR, diameter_of_torsion_spring VARCHAR)
SELECT length_weight_of_missile FROM table_21012786_2 WHERE diameter_of_torsion_spring = "38.4cm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21012786_2 (length_weight_of_missile VARCHAR, diameter_of_torsion_spring VARCHAR) Question: When the torsion spring diameter is 38.4cm what would be the length or weight of the missile [/INST] SELECT length_weight_of_missile FROM table_21012786_2 WHERE diameter_of_torsion_spring = "38.4cm" </s>
Who wrote the episode that had 8.84 million viewers?
CREATE TABLE table_21025437_5 (written_by VARCHAR, viewers__millions_ VARCHAR)
SELECT written_by FROM table_21025437_5 WHERE viewers__millions_ = "8.84"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21025437_5 (written_by VARCHAR, viewers__millions_ VARCHAR) Question: Who wrote the episode that had 8.84 million viewers? [/INST] SELECT written_by FROM table_21025437_5 WHERE viewers__millions_ = "8.84" </s>
How many million viewers watched episode number 20?
CREATE TABLE table_21025437_5 (viewers__millions_ VARCHAR, episode_no VARCHAR)
SELECT viewers__millions_ FROM table_21025437_5 WHERE episode_no = 20
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21025437_5 (viewers__millions_ VARCHAR, episode_no VARCHAR) Question: How many million viewers watched episode number 20? [/INST] SELECT viewers__millions_ FROM table_21025437_5 WHERE episode_no = 20 </s>
What was the title of the episode written by Keith Temple?
CREATE TABLE table_21025437_5 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_21025437_5 WHERE written_by = "Keith Temple"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21025437_5 (title VARCHAR, written_by VARCHAR) Question: What was the title of the episode written by Keith Temple? [/INST] SELECT title FROM table_21025437_5 WHERE written_by = "Keith Temple" </s>
what is the lowest value under the column series no.?
CREATE TABLE table_21025437_3 (series_no INTEGER)
SELECT MIN(series_no) FROM table_21025437_3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21025437_3 (series_no INTEGER) Question: what is the lowest value under the column series no.? [/INST] SELECT MIN(series_no) FROM table_21025437_3 </s>
When there are 7.4 million viewers how many episodes are there?
CREATE TABLE table_2102945_1 (episode VARCHAR, viewers__in_millions_ VARCHAR)
SELECT COUNT(episode) FROM table_2102945_1 WHERE viewers__in_millions_ = "7.4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2102945_1 (episode VARCHAR, viewers__in_millions_ VARCHAR) Question: When there are 7.4 million viewers how many episodes are there? [/INST] SELECT COUNT(episode) FROM table_2102945_1 WHERE viewers__in_millions_ = "7.4" </s>
When 24:31 is the run time how many measurements of viewers (in millions) are there?
CREATE TABLE table_2102945_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)
SELECT COUNT(viewers__in_millions_) FROM table_2102945_1 WHERE run_time = "24:31"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2102945_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR) Question: When 24:31 is the run time how many measurements of viewers (in millions) are there? [/INST] SELECT COUNT(viewers__in_millions_) FROM table_2102945_1 WHERE run_time = "24:31" </s>
When 24:31 is the run time how many millions of viewers are there?
CREATE TABLE table_2102945_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)
SELECT viewers__in_millions_ FROM table_2102945_1 WHERE run_time = "24:31"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2102945_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR) Question: When 24:31 is the run time how many millions of viewers are there? [/INST] SELECT viewers__in_millions_ FROM table_2102945_1 WHERE run_time = "24:31" </s>
When there are 7.5 million viewers what is the archive?
CREATE TABLE table_2102945_1 (archive VARCHAR, viewers__in_millions_ VARCHAR)
SELECT archive FROM table_2102945_1 WHERE viewers__in_millions_ = "7.5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2102945_1 (archive VARCHAR, viewers__in_millions_ VARCHAR) Question: When there are 7.5 million viewers what is the archive? [/INST] SELECT archive FROM table_2102945_1 WHERE viewers__in_millions_ = "7.5" </s>
Name the broadcast network for saitama prefecture
CREATE TABLE table_21076286_2 (broadcast_network VARCHAR, broadcast_scope VARCHAR)
SELECT broadcast_network FROM table_21076286_2 WHERE broadcast_scope = "Saitama Prefecture"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21076286_2 (broadcast_network VARCHAR, broadcast_scope VARCHAR) Question: Name the broadcast network for saitama prefecture [/INST] SELECT broadcast_network FROM table_21076286_2 WHERE broadcast_scope = "Saitama Prefecture" </s>
Name the broadcast network for chiba prefecture
CREATE TABLE table_21076286_2 (broadcast_network VARCHAR, broadcast_scope VARCHAR)
SELECT broadcast_network FROM table_21076286_2 WHERE broadcast_scope = "Chiba Prefecture"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21076286_2 (broadcast_network VARCHAR, broadcast_scope VARCHAR) Question: Name the broadcast network for chiba prefecture [/INST] SELECT broadcast_network FROM table_21076286_2 WHERE broadcast_scope = "Chiba Prefecture" </s>
Name the broadcast day and timings for tv saitama
CREATE TABLE table_21076286_2 (broadcast_day_and_timings__in_jst__ VARCHAR, broadcast_network VARCHAR)
SELECT broadcast_day_and_timings__in_jst__ FROM table_21076286_2 WHERE broadcast_network = "TV Saitama"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21076286_2 (broadcast_day_and_timings__in_jst__ VARCHAR, broadcast_network VARCHAR) Question: Name the broadcast day and timings for tv saitama [/INST] SELECT broadcast_day_and_timings__in_jst__ FROM table_21076286_2 WHERE broadcast_network = "TV Saitama" </s>
Name the opponent for opponents being 12
CREATE TABLE table_21092427_1 (opponent VARCHAR, opponents VARCHAR)
SELECT opponent FROM table_21092427_1 WHERE opponents = 12
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21092427_1 (opponent VARCHAR, opponents VARCHAR) Question: Name the opponent for opponents being 12 [/INST] SELECT opponent FROM table_21092427_1 WHERE opponents = 12 </s>
Name the result for 9-1 record
CREATE TABLE table_21092427_1 (result VARCHAR, record VARCHAR)
SELECT result FROM table_21092427_1 WHERE record = "9-1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21092427_1 (result VARCHAR, record VARCHAR) Question: Name the result for 9-1 record [/INST] SELECT result FROM table_21092427_1 WHERE record = "9-1" </s>
Name the most opponents for 8-1 record
CREATE TABLE table_21092427_1 (opponents INTEGER, record VARCHAR)
SELECT MAX(opponents) FROM table_21092427_1 WHERE record = "8-1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21092427_1 (opponents INTEGER, record VARCHAR) Question: Name the most opponents for 8-1 record [/INST] SELECT MAX(opponents) FROM table_21092427_1 WHERE record = "8-1" </s>
How many seats in 2006 has a % 1997 rating of 38.9?
CREATE TABLE table_21132404_1 (seats_2006 VARCHAR, _percentage_1997 VARCHAR)
SELECT COUNT(seats_2006) FROM table_21132404_1 WHERE _percentage_1997 = "38.9"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21132404_1 (seats_2006 VARCHAR, _percentage_1997 VARCHAR) Question: How many seats in 2006 has a % 1997 rating of 38.9? [/INST] SELECT COUNT(seats_2006) FROM table_21132404_1 WHERE _percentage_1997 = "38.9" </s>
What was the % 2006 rating in 2006 where there were 5 seats?
CREATE TABLE table_21132404_1 (_percentage_2006 VARCHAR, seats_2006 VARCHAR)
SELECT _percentage_2006 FROM table_21132404_1 WHERE seats_2006 = 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21132404_1 (_percentage_2006 VARCHAR, seats_2006 VARCHAR) Question: What was the % 2006 rating in 2006 where there were 5 seats? [/INST] SELECT _percentage_2006 FROM table_21132404_1 WHERE seats_2006 = 5 </s>
How many time was the political party the social democratic party of germany?
CREATE TABLE table_21132404_1 (_percentage_2006 VARCHAR, political_parties VARCHAR)
SELECT COUNT(_percentage_2006) FROM table_21132404_1 WHERE political_parties = "Social Democratic Party of Germany"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21132404_1 (_percentage_2006 VARCHAR, political_parties VARCHAR) Question: How many time was the political party the social democratic party of germany? [/INST] SELECT COUNT(_percentage_2006) FROM table_21132404_1 WHERE political_parties = "Social Democratic Party of Germany" </s>
How many political parties had a %2006 rating of 43.5?
CREATE TABLE table_21132404_1 (political_parties VARCHAR, _percentage_2006 VARCHAR)
SELECT COUNT(political_parties) FROM table_21132404_1 WHERE _percentage_2006 = "43.5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21132404_1 (political_parties VARCHAR, _percentage_2006 VARCHAR) Question: How many political parties had a %2006 rating of 43.5? [/INST] SELECT COUNT(political_parties) FROM table_21132404_1 WHERE _percentage_2006 = "43.5" </s>
How many seats were there in 2001 when there were 11 seats in 2006?
CREATE TABLE table_21132404_1 (seats_2001 INTEGER, seats_2006 VARCHAR)
SELECT MIN(seats_2001) FROM table_21132404_1 WHERE seats_2006 = 11
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21132404_1 (seats_2001 INTEGER, seats_2006 VARCHAR) Question: How many seats were there in 2001 when there were 11 seats in 2006? [/INST] SELECT MIN(seats_2001) FROM table_21132404_1 WHERE seats_2006 = 11 </s>
Name the won promotion for 1987
CREATE TABLE table_2119448_3 (won_promotion VARCHAR, season VARCHAR)
SELECT won_promotion FROM table_2119448_3 WHERE season = 1987
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2119448_3 (won_promotion VARCHAR, season VARCHAR) Question: Name the won promotion for 1987 [/INST] SELECT won_promotion FROM table_2119448_3 WHERE season = 1987 </s>
Name the won promotion for kalmar ff
CREATE TABLE table_2119448_3 (won_promotion VARCHAR, lost_promotion_playoffs VARCHAR)
SELECT won_promotion FROM table_2119448_3 WHERE lost_promotion_playoffs = "Kalmar FF"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2119448_3 (won_promotion VARCHAR, lost_promotion_playoffs VARCHAR) Question: Name the won promotion for kalmar ff [/INST] SELECT won_promotion FROM table_2119448_3 WHERE lost_promotion_playoffs = "Kalmar FF" </s>
If the matches for NQF is 2009, what is the position?
CREATE TABLE table_21223773_2 (position VARCHAR, matches_for_nqf VARCHAR)
SELECT position FROM table_21223773_2 WHERE matches_for_nqf = "2009"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21223773_2 (position VARCHAR, matches_for_nqf VARCHAR) Question: If the matches for NQF is 2009, what is the position? [/INST] SELECT position FROM table_21223773_2 WHERE matches_for_nqf = "2009" </s>
What was Robin's score when she was eliminated?
CREATE TABLE table_21234111_10 (robin VARCHAR, result VARCHAR)
SELECT robin FROM table_21234111_10 WHERE result = "Eliminated"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21234111_10 (robin VARCHAR, result VARCHAR) Question: What was Robin's score when she was eliminated? [/INST] SELECT robin FROM table_21234111_10 WHERE result = "Eliminated" </s>
What song did Robin perform with a result of 4.0?
CREATE TABLE table_21234111_10 (song VARCHAR, robin VARCHAR)
SELECT song FROM table_21234111_10 WHERE robin = "4.0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21234111_10 (song VARCHAR, robin VARCHAR) Question: What song did Robin perform with a result of 4.0? [/INST] SELECT song FROM table_21234111_10 WHERE robin = "4.0" </s>
Among deaths 106 000 how many is crude rate.
CREATE TABLE table_21258_1 (crude_death_rate VARCHAR, deaths VARCHAR)
SELECT crude_death_rate FROM table_21258_1 WHERE deaths = "106 000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21258_1 (crude_death_rate VARCHAR, deaths VARCHAR) Question: Among deaths 106 000 how many is crude rate. [/INST] SELECT crude_death_rate FROM table_21258_1 WHERE deaths = "106 000" </s>
where births is 388 000 how many number is natural increase
CREATE TABLE table_21258_1 (natural_increase VARCHAR, births VARCHAR)
SELECT COUNT(natural_increase) FROM table_21258_1 WHERE births = "388 000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21258_1 (natural_increase VARCHAR, births VARCHAR) Question: where births is 388 000 how many number is natural increase [/INST] SELECT COUNT(natural_increase) FROM table_21258_1 WHERE births = "388 000" </s>
period between 1985 - 1990 have minimum infant mortality rate of what.
CREATE TABLE table_21258_1 (infant_mortality_rate INTEGER, period VARCHAR)
SELECT MIN(infant_mortality_rate) FROM table_21258_1 WHERE period = "1985 - 1990"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21258_1 (infant_mortality_rate INTEGER, period VARCHAR) Question: period between 1985 - 1990 have minimum infant mortality rate of what. [/INST] SELECT MIN(infant_mortality_rate) FROM table_21258_1 WHERE period = "1985 - 1990" </s>
How many winners scored exactly 202 (-11)?
CREATE TABLE table_21260421_1 (winner VARCHAR, score VARCHAR)
SELECT COUNT(winner) FROM table_21260421_1 WHERE score = "202 (-11)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21260421_1 (winner VARCHAR, score VARCHAR) Question: How many winners scored exactly 202 (-11)? [/INST] SELECT COUNT(winner) FROM table_21260421_1 WHERE score = "202 (-11)" </s>
How many tournaments were held at Alabama?
CREATE TABLE table_21260421_1 (score VARCHAR, location VARCHAR)
SELECT COUNT(score) FROM table_21260421_1 WHERE location = "Alabama"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21260421_1 (score VARCHAR, location VARCHAR) Question: How many tournaments were held at Alabama? [/INST] SELECT COUNT(score) FROM table_21260421_1 WHERE location = "Alabama" </s>
Where was the tourney when Louisville won the regular season?
CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR)
SELECT tournament_venue__city_ FROM table_21269441_4 WHERE regular_season_winner = "Louisville"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR) Question: Where was the tourney when Louisville won the regular season? [/INST] SELECT tournament_venue__city_ FROM table_21269441_4 WHERE regular_season_winner = "Louisville" </s>
Where was the tourney when UCLA won the regular season?
CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR)
SELECT tournament_venue__city_ FROM table_21269441_4 WHERE regular_season_winner = "UCLA"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR) Question: Where was the tourney when UCLA won the regular season? [/INST] SELECT tournament_venue__city_ FROM table_21269441_4 WHERE regular_season_winner = "UCLA" </s>
Where was the tourney when Weber State won the regular season?
CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR)
SELECT tournament_venue__city_ FROM table_21269441_4 WHERE regular_season_winner = "Weber State"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR) Question: Where was the tourney when Weber State won the regular season? [/INST] SELECT tournament_venue__city_ FROM table_21269441_4 WHERE regular_season_winner = "Weber State" </s>
Which drivers won $40,000 in the NASCAR Winston Cup?
CREATE TABLE table_21297652_1 (driver VARCHAR, series VARCHAR, winnings VARCHAR)
SELECT driver FROM table_21297652_1 WHERE series = "NASCAR Winston Cup" AND winnings = "$40,000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21297652_1 (driver VARCHAR, series VARCHAR, winnings VARCHAR) Question: Which drivers won $40,000 in the NASCAR Winston Cup? [/INST] SELECT driver FROM table_21297652_1 WHERE series = "NASCAR Winston Cup" AND winnings = "$40,000" </s>
What series is at the position 7?
CREATE TABLE table_21297652_1 (series VARCHAR, position VARCHAR)
SELECT series FROM table_21297652_1 WHERE position = 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21297652_1 (series VARCHAR, position VARCHAR) Question: What series is at the position 7? [/INST] SELECT series FROM table_21297652_1 WHERE position = 7 </s>
In what series did the driver get 30 points?
CREATE TABLE table_21297652_1 (series VARCHAR, points VARCHAR)
SELECT series FROM table_21297652_1 WHERE points = 30
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21297652_1 (series VARCHAR, points VARCHAR) Question: In what series did the driver get 30 points? [/INST] SELECT series FROM table_21297652_1 WHERE points = 30 </s>
How much did Dale Jarrett win?
CREATE TABLE table_21297652_1 (winnings VARCHAR, driver VARCHAR)
SELECT winnings FROM table_21297652_1 WHERE driver = "Dale Jarrett"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21297652_1 (winnings VARCHAR, driver VARCHAR) Question: How much did Dale Jarrett win? [/INST] SELECT winnings FROM table_21297652_1 WHERE driver = "Dale Jarrett" </s>
Name the most households
CREATE TABLE table_21310575_2 (households INTEGER)
SELECT MAX(households) FROM table_21310575_2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21310575_2 (households INTEGER) Question: Name the most households [/INST] SELECT MAX(households) FROM table_21310575_2 </s>
When 0 - 1 barbiero 78' is the score how many measurements of attendance are there?
CREATE TABLE table_21377473_7 (attendance VARCHAR, score VARCHAR)
SELECT COUNT(attendance) FROM table_21377473_7 WHERE score = "0 - 1 Barbiero 78'"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21377473_7 (attendance VARCHAR, score VARCHAR) Question: When 0 - 1 barbiero 78' is the score how many measurements of attendance are there? [/INST] SELECT COUNT(attendance) FROM table_21377473_7 WHERE score = "0 - 1 Barbiero 78'" </s>
When 3 - 1 hughes 64' is the score what is the stadium?
CREATE TABLE table_21377473_7 (stadium VARCHAR, score VARCHAR)
SELECT stadium FROM table_21377473_7 WHERE score = "3 - 1 Hughes 64'"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21377473_7 (stadium VARCHAR, score VARCHAR) Question: When 3 - 1 hughes 64' is the score what is the stadium? [/INST] SELECT stadium FROM table_21377473_7 WHERE score = "3 - 1 Hughes 64'" </s>
When 1 - 1 leckie 90+3' is the score what is the stadium?
CREATE TABLE table_21377473_7 (stadium VARCHAR, score VARCHAR)
SELECT stadium FROM table_21377473_7 WHERE score = "1 - 1 Leckie 90+3'"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21377473_7 (stadium VARCHAR, score VARCHAR) Question: When 1 - 1 leckie 90+3' is the score what is the stadium? [/INST] SELECT stadium FROM table_21377473_7 WHERE score = "1 - 1 Leckie 90+3'" </s>
What date did Adriano Buzaid have the pole position?
CREATE TABLE table_21373283_3 (date VARCHAR, pole_position VARCHAR)
SELECT date FROM table_21373283_3 WHERE pole_position = "Adriano Buzaid"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21373283_3 (date VARCHAR, pole_position VARCHAR) Question: What date did Adriano Buzaid have the pole position? [/INST] SELECT date FROM table_21373283_3 WHERE pole_position = "Adriano Buzaid" </s>
What is the winning team at Oulton Park when Max Chilton held the pole position?
CREATE TABLE table_21373283_3 (winning_team VARCHAR, pole_position VARCHAR, circuit VARCHAR)
SELECT winning_team FROM table_21373283_3 WHERE pole_position = "Max Chilton" AND circuit = "Oulton Park"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21373283_3 (winning_team VARCHAR, pole_position VARCHAR, circuit VARCHAR) Question: What is the winning team at Oulton Park when Max Chilton held the pole position? [/INST] SELECT winning_team FROM table_21373283_3 WHERE pole_position = "Max Chilton" AND circuit = "Oulton Park" </s>
What date did Renger Van Der Zande have the pole position at Donington Park?
CREATE TABLE table_21373283_3 (date VARCHAR, pole_position VARCHAR, circuit VARCHAR)
SELECT date FROM table_21373283_3 WHERE pole_position = "Renger van der Zande" AND circuit = "Donington Park"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21373283_3 (date VARCHAR, pole_position VARCHAR, circuit VARCHAR) Question: What date did Renger Van Der Zande have the pole position at Donington Park? [/INST] SELECT date FROM table_21373283_3 WHERE pole_position = "Renger van der Zande" AND circuit = "Donington Park" </s>
Name the regular season for 2005
CREATE TABLE table_2139111_1 (regular_season VARCHAR, year VARCHAR)
SELECT regular_season FROM table_2139111_1 WHERE year = 2005
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2139111_1 (regular_season VARCHAR, year VARCHAR) Question: Name the regular season for 2005 [/INST] SELECT regular_season FROM table_2139111_1 WHERE year = 2005 </s>
When nº is 3, what are all the ministires?
CREATE TABLE table_21422977_1 (ministries VARCHAR, nº VARCHAR)
SELECT COUNT(ministries) FROM table_21422977_1 WHERE nº = 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21422977_1 (ministries VARCHAR, nº VARCHAR) Question: When nº is 3, what are all the ministires? [/INST] SELECT COUNT(ministries) FROM table_21422977_1 WHERE nº = 3 </s>
When nº is 3, what are all the coaliton parties?
CREATE TABLE table_21422977_1 (coalition_parties VARCHAR, nº VARCHAR)
SELECT coalition_parties FROM table_21422977_1 WHERE nº = 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21422977_1 (coalition_parties VARCHAR, nº VARCHAR) Question: When nº is 3, what are all the coaliton parties? [/INST] SELECT coalition_parties FROM table_21422977_1 WHERE nº = 3 </s>
What is the most amount of ministries?
CREATE TABLE table_21422977_1 (ministries INTEGER)
SELECT MAX(ministries) FROM table_21422977_1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21422977_1 (ministries INTEGER) Question: What is the most amount of ministries? [/INST] SELECT MAX(ministries) FROM table_21422977_1 </s>
What is the ministries number when duration is 4 years, 4 days (1,465 days)?
CREATE TABLE table_21422977_2 (ministries VARCHAR, duration VARCHAR)
SELECT ministries FROM table_21422977_2 WHERE duration = "4 years, 4 days (1,465 days)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21422977_2 (ministries VARCHAR, duration VARCHAR) Question: What is the ministries number when duration is 4 years, 4 days (1,465 days)? [/INST] SELECT ministries FROM table_21422977_2 WHERE duration = "4 years, 4 days (1,465 days)" </s>
How many ministers are there when the cabinet (nickname) is Steingrímur Hermannsson III?
CREATE TABLE table_21422977_2 (ministers VARCHAR, cabinet__nickname_ VARCHAR)
SELECT ministers FROM table_21422977_2 WHERE cabinet__nickname_ = "Steingrímur Hermannsson III"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21422977_2 (ministers VARCHAR, cabinet__nickname_ VARCHAR) Question: How many ministers are there when the cabinet (nickname) is Steingrímur Hermannsson III? [/INST] SELECT ministers FROM table_21422977_2 WHERE cabinet__nickname_ = "Steingrímur Hermannsson III" </s>
What is the duration for no 33?
CREATE TABLE table_21422977_2 (duration VARCHAR, nº VARCHAR)
SELECT duration FROM table_21422977_2 WHERE nº = 33
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21422977_2 (duration VARCHAR, nº VARCHAR) Question: What is the duration for no 33? [/INST] SELECT duration FROM table_21422977_2 WHERE nº = 33 </s>
When 1 is the number what episodes were used?
CREATE TABLE table_2144389_9 (episodes_used VARCHAR, _number VARCHAR)
SELECT episodes_used FROM table_2144389_9 WHERE _number = 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2144389_9 (episodes_used VARCHAR, _number VARCHAR) Question: When 1 is the number what episodes were used? [/INST] SELECT episodes_used FROM table_2144389_9 WHERE _number = 1 </s>
When 七色アーチ is the japanese title what is the japanese translation?
CREATE TABLE table_2144389_9 (japanese_translation VARCHAR, japanese_title VARCHAR)
SELECT japanese_translation FROM table_2144389_9 WHERE japanese_title = "七色アーチ"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2144389_9 (japanese_translation VARCHAR, japanese_title VARCHAR) Question: When 七色アーチ is the japanese title what is the japanese translation? [/INST] SELECT japanese_translation FROM table_2144389_9 WHERE japanese_title = "七色アーチ" </s>
When 5 is the number what is the japanese title?
CREATE TABLE table_2144389_9 (japanese_title VARCHAR, _number VARCHAR)
SELECT japanese_title FROM table_2144389_9 WHERE _number = 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2144389_9 (japanese_title VARCHAR, _number VARCHAR) Question: When 5 is the number what is the japanese title? [/INST] SELECT japanese_title FROM table_2144389_9 WHERE _number = 5 </s>
When momoiro clover z is the vocalist how many japanese titles are there?
CREATE TABLE table_2144389_9 (japanese_title VARCHAR, vocalist VARCHAR)
SELECT COUNT(japanese_title) FROM table_2144389_9 WHERE vocalist = "Momoiro Clover Z"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2144389_9 (japanese_title VARCHAR, vocalist VARCHAR) Question: When momoiro clover z is the vocalist how many japanese titles are there? [/INST] SELECT COUNT(japanese_title) FROM table_2144389_9 WHERE vocalist = "Momoiro Clover Z" </s>
When momoiro clover z is the vocalist what is the japanese translation?
CREATE TABLE table_2144389_9 (japanese_translation VARCHAR, vocalist VARCHAR)
SELECT japanese_translation FROM table_2144389_9 WHERE vocalist = "Momoiro Clover Z"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2144389_9 (japanese_translation VARCHAR, vocalist VARCHAR) Question: When momoiro clover z is the vocalist what is the japanese translation? [/INST] SELECT japanese_translation FROM table_2144389_9 WHERE vocalist = "Momoiro Clover Z" </s>
When pokémon ieru kana? bw is the romaji who is the vocalist?
CREATE TABLE table_2144389_9 (vocalist VARCHAR, rōmaji VARCHAR)
SELECT vocalist FROM table_2144389_9 WHERE rōmaji = "Pokémon ieru kana? BW"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2144389_9 (vocalist VARCHAR, rōmaji VARCHAR) Question: When pokémon ieru kana? bw is the romaji who is the vocalist? [/INST] SELECT vocalist FROM table_2144389_9 WHERE rōmaji = "Pokémon ieru kana? BW" </s>