Re: Select between dates?
Posted by:
Macamba .
Date: March 16, 2017 04:29AM
Thanks. It seems to work, but I got an empty result set back.
FWIW, the query is now:
SELECT `day`,`activity`, SUM(`worked_time`)
FROM `projects`
WHERE (`day` BETWEEN CAST("2017-03-13 00:00:00" AS DATE) AND CAST("2016-03-14 00:00:00" AS DATE) ) GROUP BY `day`, `activity`
MySQL gave back an empty result set (0 rows)
The reply is translated from Dutch. Hope it makes sense.
Subject
Written By
Posted
Re: Select between dates?
March 16, 2017 04:29AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.