SELECT sum(beds) FROM Rooms WHERE bedtype  =  'King';
How many king beds are there?
SELECT sum ( beds ) FROM Rooms WHERE bedtype = 'King ' ;
select sum ( beds ) from rooms where bedtype = value
How many king beds are there ?