How many king beds are there?
CREATE TABLE Rooms (beds INTEGER, bedtype VARCHAR)
SELECT SUM(beds) FROM Rooms WHERE bedtype = 'King'
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Rooms (beds INTEGER, bedtype VARCHAR) Question: How many king beds are there? [/INST] SELECT SUM(beds) FROM Rooms WHERE bedtype = 'King' </s>