SQL Help, Pick highest Spend
Oralce 10G.
I have a Table with many unique records, kinda looks like this:
customer_key | BB | CL | LA
123 100 300 50
456 65 125 658
789 12 5 98
I need to take the highest spend.
customer_key | SPEND
123 300
456 658
789 98
Not sure how do this since, the field have different names ?