Greetings to every one !
I have some records in a table and i want to show all records from that table after that i want to show the sum of corresponding columns then what will be the sql query for this problem ??
table structure as follows :
[id] [int] IDENTITY(1,1) NOT NULL,
[EmployeeID] [nvarchar](50) ,
[Basic] [float] NULL,
[GradePay] [float] NULL,
[SpecialPay] [float] NULL,
id is primary key for this table.
i want result like below :
id EmployeeID Basic GradePay SpecialPay
1