This content has been marked as final.
Show 1 reply
-
1. Re: Group by date from timestapm ejbql
zharenkov Nov 27, 2014 6:46 AM (in response to zharenkov)I found the solution:
select EXTRACT(day from rqs.dateTime)||'.'||EXTRACT(month from rqs.dateTime)||'.'||EXTRACT(year from rqs.dateTime),rqs.gossrvcDocPackage.owner,
count(rqs.typeState)
from GossrvcPackRatingQualityService rqs where rqs.dateTime between :startDate and
:endDate and rqs.typeState = 'reject' group by
EXTRACT(day from rqs.dateTime)||'.'||EXTRACT(month from rqs.dateTime)||'.'||EXTRACT(year from rqs.dateTime),
rqs.gossrvcDocPackage.owner