Advertisement
Guest User

Untitled

a guest
Feb 17th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.36 KB | None | 0 0
  1. select sum(`uploaded_requestlog`.`filesizebyte`) AS `Byte` from `uploaded_requestlog` where (`uploaded_requestlog`.`timestampX` between concat(date_format((curdate() - interval 1 day),'%Y-%m-%d'),' 00:00:00') and concat(last_day((curdate() - interval 1 day)),' 23:59:59') and `uploaded_requestlog`.`clicked` = 1 ) order by `uploaded_requestlog`.`filesizebyte` desc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement