report query updated

This commit is contained in:
root 2022-09-13 19:51:02 +05:30
parent cc481e4d11
commit fcd8473d50
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ with pro_data as (
cons_data1 as (
SELECT
date_trunc('month', min(PRO_EMP.start_date)) AS min,
date_trunc('month', max(coalesce(PRO_EMP.end_date, current_date))) AS max,
date_trunc('month', coalesce(max(PRO_EMP.end_date), current_date)) AS max,
PRO_EMP.start_date as start_date,
coalesce(PRO_EMP.end_date, current_date) as end_date,
PRO_EMP.project_id,