USE Mall GO SET NOCOUNT ON ------ return the amount of all products ------ -- ********** Begin ********** -- SELECT SUM(prod_price * quantity) as amount FROM Products -- ********** End ********** -- GO