SCHEMA:
CREATE TABLE users (user_login VARCHAR)
USER:
How many users are logged in?

QUERY:
SELECT COUNT(*) FROM users WHERE user_login = 1