This website uses cookies to ensure you get the best experience.
Learn more.
A query must filter aggregated groups to regions whose total sales exceed a threshold. Which approach best fits?
Published
- Use HAVING for the aggregate condition.
- Use a LEFT JOIN from customers to orders.
- Use a window ranking function and retain the first row per customer.
- Use GROUP BY region with SUM of the sales amount.
Comments — 0
Sign in to comment