Advertisement
Guest User

Untitled

a guest
Jan 16th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. update cloudfront_log
  2.    set landing_page_id = landing_page.id
  3.   from landing_page
  4.  where cloudfront_log.log->>'landing-page' = landing_page.landing_page
  5.    and cloudfront_log.date_time >= '2017-01-05' -- %(date_time)s
  6.    and cloudfront_log.date_time < cast('2017-01-05' as timestamp with time zone) + interval '1 days' -- cast(%(date_time)s as timestamp with time zone) + interval '1 weeks'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement