Advertisement
kirzecy670

Все_Статусы_По_Ребенку

Sep 10th, 2024
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.46 KB | None | 0 0
  1. select pp.uid,
  2.        pp.full_reg_datetime,
  3.        pp.install_datetime,
  4.        pp.last_active_datetime,
  5.        pch.*
  6. from analytics.parent_properties pp
  7. join
  8.   (select *
  9.    from logs.parent_child_history
  10.    where parent in (117738119,
  11.                     118601881,
  12.                     118653549)) as pch on pch.parent = pp.id
  13. where pp.uid in ('naf1g8psa6',
  14.                  '4d994jeo67',
  15.                  '3g1n3l9683')
  16. order by pp.id,
  17.          pch.ts;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement