Skip to content

Instantly share code, notes, and snippets.

@zuzannamj
Created March 5, 2021 09:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zuzannamj/fb7cb66352ed77ddb0f7901eee18d7f2 to your computer and use it in GitHub Desktop.
Save zuzannamj/fb7cb66352ed77ddb0f7901eee18d7f2 to your computer and use it in GitHub Desktop.
select distinct
jobid,
ListID,
BatchID,
subscriberid,
count(distinct url) AS URLs
from _click
group by subscriberid, jobid, ListID, BatchID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment