SELECT SUM(quantity)
FROM order_details;
sum ------- 51317 (1 row)
categories customers products orders order_details testproducts