SQL - INNER JOIN
You have two tables:
You want to find all customers who have placed orders and the total amount they spent.
Which query correctly uses INNER JOIN and aggregation to get this result?
Orders(order_id, customer_id, amount)Customers(customer_id, customer_name)You want to find all customers who have placed orders and the total amount they spent.
Which query correctly uses INNER JOIN and aggregation to get this result?
