I want to get a list of Subscriber that has received 13+ email in July and know their aggregate unique Opens. Here is what I did but there is no result returned.
SELECT
se.SubscriberKey,
sub.EmailAddress,
se.EventDate
From _Sent se
INNER JOIN _Subscribers sub
ON se.SubscriberKey = sub.SubscriberKey
WHERE se.EventDate BETWEEN '2023-07-01 12:00:00' AND '2023-07-31 23:59:59'
AND se.SubscriberKey IN (
SELECT sub.SubscriberKey AS SubscriberKey
FROM _Subscribers sub
GROUP BY sub.SubscriberKey
HAVING COUNT (Sub.SubscriberKey) >= 13
)