SQL - Subqueries
You want to find all customers who placed orders with a total amount greater than 1000. Given tables:
Which query correctly uses a subquery in the
customers(customer_id, name)orders(order_id, customer_id, total_amount)Which query correctly uses a subquery in the
WHERE clause to achieve this?