I'm in need of some query help. I'm currently trying to Join multiple tables on Salesforce Marketing Cloud but it keeps timingout. Each table has a field called "SubscriberKey" and "EventDate" for Sent, Opens, Clicks, Unsub which I want to pull all together. This way i can see the subscribers and their actions from an email deployment. Hope that makes sense. Below is my query:
SELECT
s.SubscriberKey,
min(s.EventDate) as [EventSent],
min(o.EventDate) as [EventOpens],
min(c.EventDate) as [EventClicks],
min(u.EventDate) as [EventUnsubs]
FROM _Sent s
LEFT JOIN _Open o
ON s.SubscriberKey = o.SubscriberKey
LEFT JOIN _Click c
ON s.SubscriberKey = c.SubscriberKey
LEFT JOIN _Unsubscribe u
ON s.SubscriberKey = u.SubscriberKey
WHERE s.jobid = 695597
GROUP BY s.[SubscriberKey]