How many customers have an account?
CREATE TABLE Accounts (customer_id VARCHAR)
SELECT COUNT(DISTINCT customer_id) FROM Accounts
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Accounts (customer_id VARCHAR) Question: How many customers have an account? [/INST] SELECT COUNT(DISTINCT customer_id) FROM Accounts </s>