select request_id
from notification_requests
where type_id = :type_id
and user_id = :user_id
and object_id = :object_id
select count(*)
from notification_requests
where type_id = :type_id
and object_id = :object_id
select user_id
from notification_requests
where type_id = :type_id
and object_id = :object_id
select request_id
from notification_requests
where type_id = :type_id
and object_id = :object_id