✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Question: revenue of the orders placed from 2026-04-01 00:00:00 to 2026-05-01 00:00:00. A model returns the query below; its value is higher than your checked reference. What is the cause?
SELECT SUM(o.quantity_product * p.price) AS revenue_cents
FROM orders o JOIN product p ON p.product_id = o.product_id
WHERE o.date BETWEEN '2026-04-01 00:00:00' AND '2026-05-01 00:00:00'