I tried the following query but it doesn't give the answer that I need
SELECT fname, SUM(salary) FROM employee
I need to have the all the fname records and the Sum value as the next column.
What I get from this query is only the first fname Record and the total summation of the salaries.(only the 1st fname value)