I have to write an SQL command that generates a stored procedure named 'spCustomerValue' that returns the total value of order from the OrderDetails table placed by customer whose reference is passed in as a parameter.???
I would really appreciate some help?