Answers for "sql sum of all rows"

SQL
1

sql sum of all rows

SELECT SUM(amount) FROM orders;
SELECT SUM(amount + bonus) FROM orders;
SELECT client_id, SUM(amount) FROM orders GROUP BY client_id;
Posted by: Guest on April-18-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language