Skip to content
Advertisement

How to get Sum of many columns as one

am working to get percentage of GSM , DEPOT , IPMSAN ..Etc and I would like to sum the counts within each column that correspond to each

this is the actual result :

the result i want is like this :

Advertisement

Answer

Use below query to select in your CTE:

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement