Schema: CREATE TABLE users (user_login VARCHAR)
Question: How many users are logged in?
SQL: SELECT COUNT(*) FROM users WHERE user_login = 1