Hi I have the below as sql output.
TYPE SUM(UPDATE_COUNT)
Legis 93
Acds 43
Updates 41
Multibases 345
but i want updates to be displayed as Sum of updates and Multibases and here both Multibases and Updates belong to same column. It should be like the below.
Updates 386
the query i used for the first output is
SELECT type, SUM(Update_Count)
FROM Scope1
where type in ('Updates','Multibases','DAIS','Acds','Legis','LegAll') and
(RECVD_DATE >='04/02/2012' and RECVD_DATE <='11/30/2012')
group by type
please help me how do i get the second output.
A more scalable solution is to have another table that maps
typetosuper_type.Then you can put entries such as the following in your map…
etc, etc