« first day (2386 days earlier)      last day (1932 days later) » 

08:16
mornign
morning
08:32
morning
08:53
o/
 
5 hours later…
13:56
morning
 
1 hour later…
15:18
later guys
 
1 hour later…
Sly
Sly
16:20
guys
got a question
when I run this two queries I get same results, however when I change them around like this, I get different results. any suggestions on why I am getting different result set?
SELECT COUNT (DISTINCT CAND_FLAG) FROM BBY=2

SELECT COUNT (DISTINCT CAND_FLAG) FROM AAY=2
This query gives me a very different result sets SELECT CAND_FLAG FROM AAY

SELECT CAND_FLAG FROM BBY;
 
3 hours later…
19:57
ServiceFromDat serviceToDate
2017-10-16 2017-11-15
2017-10-16 2017-09-19
I want to have the ability to select all the rows where ServiceToDate is an older date than ServiceFromDate.

« first day (2386 days earlier)      last day (1932 days later) »