Quantcast
Viewing all articles
Browse latest Browse all 14773

Need help with selecting distinct event date within last 180 days - response (4) by Mathuram

Try this query... SELECT A.SubscriberKey, B.CreatedDate, EventDate,Count(EventDate) as "count" FROM _Open A JOIN _ListSubscribers B ON A.SubscriberKey = B.SubscriberKey WHERE (B.ListID = '10630') AND (B.CreatedDate Between 'Jan 10 2009' AND 'Nov 06 2012') (AND EventDate > (DATE-180)) Group By A.SubscriberKey,B.CreatedDate,EventDate

Viewing all articles
Browse latest Browse all 14773

Trending Articles