0
I am using the following query that works fine:
SELECT COUNT
(SPRIORITY)as iTOTAL,SPLANTSECTION,STYPE,SUM(LASTDAY) AS LASTDAY,SUM(TWODAYS)AS TWODAYS, SUM(P4)AS P4 ,min(SPriority) AS TOTALPRIORITY,MIN(LASTDAYPRIORITY) AS LASTDAYPRIORITY,MIN(TWODAYSPRIORITY) AS TWODAYSPRIORITY
FROM
(select REPL...