How many instruments does the song "Badlands" use?
CREATE TABLE instruments (songid VARCHAR); CREATE TABLE songs (songid VARCHAR)
SELECT COUNT(DISTINCT instrument) FROM instruments AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = "Badlands"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE instruments (songid VARCHAR); CREATE TABLE songs (songid VARCHAR) Question: How many instruments does the song "Badlands" use? [/INST] SELECT COUNT(DISTINCT instrument) FROM instruments AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = "Badlands" </s>