Intern — Middle
Number of orders with a total amount of at least 1000
livecode
Task condition
Formulate an SQL query that will output the number of orders for each customer, where the total price (price_total) is 1000 or more. The result should be sorted in descending order by the number of orders.