Your task
Compute average completed order value; explain why averaging line values would answer a different question. Write the query before opening the solution. Record the expected output grain.
Hint
Apply the status filter before aggregation. State whether the result represents orders, channels or periods. Keep currency units explicit.
Worked solution
EUR 116.67, from EUR 700 divided by 6 completed orders. There are no line items in this source.
SELECT ROUND(AVG(net_cents)/100.0,2) aov_eur FROM orders WHERE status='completed';Check your reasoning
Reconcile the result to the source and describe one limitation. This tiny fictional dataset cannot establish customer behavior or predict future sales.
Try the activity before reading its reference. Keep your sources, commands and assumptions with your work. Companion activities are unsaved self-practice and do not award a certificate or change lesson progress.