I have the following rows in my table:
name sale1 sale2 sale3
the employees record their daily sales in this table. lets say i wanted to add all the sales for each employee how do i go about performing addition on these rows... i know how to do the select statement to get the sum of the sales, but not do something to the extent of:
totsales=sum(sale1)+sum(sale2)+sum(sale3) ---> this is what i'm trying to achieve. what's the best possible way to do this.
thanks for any replies.