Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT IDUsuario ,COUNT('TotalDeUps') as Total, FROM uploads
- WHERE Time >= '2018-02-20 00:00:00'
- AND Time < '2018-03-21 00:00:00'
- GROUP BY IDUsuario
- ORDER BY COUNT("UserID") DESC
- SELECT IDUsuario ,COUNT('TotalDeUps') as Total,SUM(Size) as TotalDeUp FROM uploads
- WHERE Time >= '2018-02-20 00:00:00'
- AND Time < '2018-03-21 00:00:00'
- GROUP BY IDUsuario
- ORDER BY COUNT("UserID") DESC
Add Comment
Please, Sign In to add comment