This request will complete the task
select cast(id as varchar(20)), Jan, Feb, Mar , Jan + Feb + Mar as TRS from table1 union all select 'TCS' as id, SUM(Jan) Jan, SUM(Feb) Feb, SUM(Mar) Mar, null as TRS from table1
The first column will be returned as varchar , since you have a combination of integers (id) and TCS text.
source share