SQL - GROUP BY and HAVING
You have a table
orders with columns customer_id, order_date, and amount. Write a query to find the total amount spent by each customer, but only include customers who spent more than 1000, and order the results by total spent descending.