Hi ,
Can you please let me know : How I can get the count for the particular date (from start timestamp till end timestamp) from the table ?
Rule :
=====
Current date -2 ( if todays date is dec 1st, then i need to get the count from the table for only the date nov 29th)
SELECT Count(Distinct (Emply number) FROM Employ table where
WHERE LOG_TS BETWEEN
(TIMESTAMP(CURRENT DATE- 02 days ,'00:00')-
AND (TIMESTAMP(CURRENT DATE - 02 DAYS,'00:00')- 1 MICROSECOND) WITH UR;
This returns no rows .
Can you please help on this ?