hi there,
i ve been trying to figure out how to solve this query but havent found any success as yet , could anyone help:
ques : To write down a query to calculate the cullulative sal of an employee i.e along with the employeeid,employee name,sal,CUMMULATIVE SAL --column should also come as output(Computed column of course)
empid ename sal c_sal
eg: aa1122 bobby 2000 2000
asd344 celina 5000 7000 --(5000+2000)
234f5r jack 6000 13000 (7000+6000)
etc........
thanks.
i ve been trying to figure out how to solve this query but havent found any success as yet , could anyone help:
ques : To write down a query to calculate the cullulative sal of an employee i.e along with the employeeid,employee name,sal,CUMMULATIVE SAL --column should also come as output(Computed column of course)
empid ename sal c_sal
eg: aa1122 bobby 2000 2000
asd344 celina 5000 7000 --(5000+2000)
234f5r jack 6000 13000 (7000+6000)
etc........
thanks.