Which customer status code has least number of customers?
CREATE TABLE Customers (customer_status_code VARCHAR)
SELECT TOP 1 customer_status_code FROM Customers GROUP BY customer_status_code ORDER BY COUNT(*)
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Customers (customer_status_code VARCHAR) Question: Which customer status code has least number of customers? [/INST] SELECT TOP 1 customer_status_code FROM Customers GROUP BY customer_status_code ORDER BY COUNT(*) </s>