select default_aggregator
from na_user_preferences
where user_id = :user_id
select aggregator_id
from na_aggregators a,
acs_objects o
where a.aggregator_id = o.object_id
and creation_user = :user_id
and aggregator_id != :delete_aggregator_id
order by creation_date
limit 1