Explore standardized definitions, formulas and usage guidance for key ecommerce performance metrics.
Total Orders represents the total number of confirmed orders placed within a selected period, regardless of their status. It serves as a measure of overall order volume and customer activity.
How many total orders did we receive yesterday?
SELECT COUNT(DISTINCT order_id) AS total_orders FROM orders WHERE order_date BETWEEN :start AND :end;