select cust_id ,sum(item_price*quantity)total_ordered from OrderItems,Orders where OrderItems.order_num=Orders.order_num group by cust_id having sum(item_price*quantity) order by total_ordered desc