Advertisement
kirzecy670

Untitled

Jan 22nd, 2025 (edited)
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.29 KB | None | 0 0
  1. SELECT user_id, pp.uid as user_uid
  2. FROM analytics.parent_properties pp
  3. JOIN analytics.pushes_sent ps ON ps.user_uid = pp.uid
  4. WHERE
  5.     ps.dt >= '2025-01-01'
  6.     AND sub_type = 'AA'
  7.     AND pushes_sent.dt >= '2025-01-01'
  8.     AND pp.platform in ('iOS', 'Android')
  9. GROUP BY 1
  10. LIMIT 100;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement