SELECT userId FROM i_user_login_logs GROUP BY userId HAVING count(*) >= 3;