a guest Aug 19th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Acct ID 01 Session 1, Acct ID 01 Session 1
- SELECT count( DISTINCT source_session_id), acct_id, device_id, program_id, event_date
- FROM TABLE
- WHERE condition
- group by source_session_id, acct_id, device_id, program_id, event_date;
RAW Paste Data