Get your own SQL server

SQL Statement:

Result:

 sum
-------
 51317
(1 row)
Demo Database:

categories
customers
products
orders
order_details
testproducts