Calculate cost from orders with SQL | MathWorks