Consider the following table schema: Customer (cust_id, cust_name, cust_email) Order (order_id, order_date, cust_id) OrderItem (order_id, item_id, item_qty,
Fantastic news! We've Found the answer you've been seeking!
Question:
Consider the following table schema:
Customer (cust_id, cust_name, cust_email)
Order (order_id, order_date, cust_id)
OrderItem (order_id, item_id, item_qty, item_price)
Write an SQL query to find the total revenue generated by each customer.
Related Book For
Modern Database Management
ISBN: 978-0133544619
12th edition
Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi
Posted Date: