You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
/*Write a SQL statement to find the highest purchase amount ordered by the each
|
|
customer with their ID and highest purchase amount. */
|
|
SELECT customer_id,MAX(purch_amt)
|
|
FROM orders
|
|
GROUP BY customer_id; |