How many king beds are there?
CREATE TABLE Rooms (beds INTEGER, bedtype VARCHAR)
SELECT SUM(beds) FROM Rooms WHERE bedtype = 'King'
### Context: CREATE TABLE Rooms (beds INTEGER, bedtype VARCHAR) ### Question: How many king beds are there? ### Answer: SELECT SUM(beds) FROM Rooms WHERE bedtype = 'King'