You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE Rooms (beds INTEGER, bedtype VARCHAR)
system
How many king beds are there?
user
SELECT SUM(beds) FROM Rooms WHERE bedtype = 'King'
assistant
<|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE Rooms (beds INTEGER, bedtype VARCHAR)<|im_end|>
<|im_start|>user
How many king beds are there?<|im_end|>
