What is the most frequent status of bookings?
CREATE TABLE BOOKINGS (Status_Code VARCHAR)
SELECT TOP 1 Status_Code FROM BOOKINGS GROUP BY Status_Code ORDER BY COUNT(*) DESC
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE BOOKINGS (Status_Code VARCHAR) Question: What is the most frequent status of bookings? [/INST] SELECT TOP 1 Status_Code FROM BOOKINGS GROUP BY Status_Code ORDER BY COUNT(*) DESC </s>