Add all timestamp data according to date
问题 I have this access_log table create_time | time_spent --------------+------------ NOV 02, 2017 | 00:00:00 NOV 02, 2017 | 01:45:04 NOV 02, 2017 | 00:00:00 NOV 02, 2017 | 00:00:00 NOV 02, 2017 | 00:39:29 NOV 02, 2017 | 03:05:49 NOV 03, 2017 | 03:58:57 NOV 03, 2017 | 00:52:29 NOV 03, 2017 | 02:53:25 using this table, make looks like this using PostgreSQL . it should add all time_spent column data of respective date create_time | time_spent --------------+------------ NOV 02, 2017 | 05:30:22 NOV