A table has Quantity and UnitPrice per sale. Which expression calculates total extended revenue?

Published
  1. COUNT(*) * MAX(UnitPrice)
  2. SUM(Quantity) * SUM(UnitPrice)
  3. AVG(UnitPrice)
  4. SUM(Quantity * UnitPrice)

Comments — 0