TDCustmerSupportJP

Untitled

Jul 3rd, 2017
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.22 KB | None | 0 0
  1. SELECT
  2.    TD_TIME_FORMAT(time,  'yyyy-MM-dd', 'JST') as d,
  3.    COUNT(DISTINCT user_id) as uu,
  4.    SUM( impression ) / COUNT(DISTINCT user_id ) as imp_uu,
  5.    SUM( click ) / COUNT(DISTINCT user_id ) as click_uu
  6. FROM access_log
Add Comment
Please, Sign In to add comment