date(creation_date) < current_date - cast(:registration_before_days as integer)
date(creation_date) >= current_date - cast(:registration_after_days as integer)
date(last_visit) < current_date - cast(:last_visit_before_days as integer)
date(last_visit) >= current_date - cast(:last_visit_after_days as integer)
select group_name from groups where group_id = :limit_to_users_in_group_id