Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT
- rtmbha.report_date,
- rtmbha.report_hours,
- sum(rtmbha.total_minutes),
- sum(rtmbha.phone_minutes),
- sum(rtmbha.widget_minutes)
- from report_total_minutes_by_hour_actual rtmbha
- WHERE (
- created_at > '2015-10-05 00:00:00 -0400'
- and created_at < '2015-10-05 23:59:59 -0400'
- )
- GROUP BY report_hours
Advertisement
Add Comment
Please, Sign In to add comment