Table schema:
CREATE TABLE Rooms (beds INTEGER, bedtype VARCHAR)

Question: How many king beds are there?
SQL: SELECT SUM(beds) FROM Rooms WHERE bedtype = 'King'