SQL aggregation · 5 minutes
Keep two genuine equal-value sales
Get feedback on your answer. No account needed.
Two different sale lines on a receipt both cost 8. The report uses SUM(DISTINCT amount) to repair a join. What sales total will it report for those lines?
