sql: VIEW active_users