Advertisement
Guest User

Untitled

a guest
Nov 24th, 2015
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. -- select * from tab_bar_tapped limit 5;
  2.  
  3. select
  4. DATE(CONVERT_TIMEZONE('America/New_York', (TIMESTAMP 'epoch' + time * INTERVAL '1 Second '))),
  5. count(*)
  6. from tab_bar_tapped
  7. where tab_title = 'DISCOVER'
  8. group by 1
  9. order by 1 desc;
  10.  
  11. select
  12. tab_title
  13. from tab_bar_tapped;
  14.  
  15. select
  16. DATE(CONVERT_TIMEZONE('America/New_York', (TIMESTAMP 'epoch' + time * INTERVAL '1 Second '))),
  17. count(*)
  18. from tab_bar_tapped
  19. where tab_title = 'GIFTS'
  20. group by 1
  21. order by 1 desc;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement