SELECT
       SUM(CASE WHEN status = 1 THEN 1 ELSE 0 END) AS active_users,
       SUM(CASE WHEN status = 0 THEN 1 ELSE 0 END) AS inactive_users
FROM users;