Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. mysql> select from_unixtime(time_received,'%m%d') as md,count(*) from ss_rt_feed where time_dispatched-time_received>3600 group by md;
  2. +------+----------+
  3. | md | count(*) |
  4. +------+----------+
  5. | 0529 | 435346 |
  6. | 0530 | 439425 |
  7. | 0531 | 643918 |
  8. | 0601 | 917178 |
  9. | 0602 | 1843582 |
  10. | 0603 | 1783357 |
  11. | 0604 | 364779 |
  12. | 0605 | 25345 |
  13. | 0606 | 473562 |
  14. | 0607 | 934715 |
  15. | 0608 | 1419013 |
  16. | 0609 | 619971 |
  17. | 0610 | 152476 |
  18. | 0611 | 480124 |
  19. | 0612 | 274650 |
  20. | 0613 | 736 |
  21. | 0615 | 2 |
  22. | 0616 | 854 |
  23. | 0617 | 1 |
  24. | 0618 | 2 |
  25. | 0619 | 22 |
  26. | 0620 | 21 |
  27. | 0621 | 211 |
  28. | 0622 | 357 |
  29. | 0623 | 1 |
  30. | 0624 | 9946 |
  31. | 0626 | 3 |
  32. | 0627 | 221 |
  33. | 0628 | 788 |
  34. +------+----------+
  35. 29 rows in set
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement