SQL - Views
You want to create a view
top_customers that shows customers with total purchases over 1000. The orders table has columns customer_id and amount. Which query correctly creates this view?