How many users are logged in?
CREATE TABLE users (user_login VARCHAR)
SELECT COUNT(*) FROM users WHERE user_login = 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE users (user_login VARCHAR) Question: How many users are logged in? [/INST] SELECT COUNT(*) FROM users WHERE user_login = 1 </s>