Find the sum of values of total column.
Example-1
SELECT SUM(price) FROM products
Example-2
Employee Table
Name Salary
Raj 20000
Ravi 10000
Ram 30000
Suresh 40000
Solution
SELECT SUM(salary) FROM employee;
Output 100000
Copyright ©2022 coderraj.com. All Rights Reserved.