I built a result set using a pivot table that looks like this:
customer A B C D
Joe. 1 4 0 2
Sue. 2 0 3 9
How would I select the column name with the largest value from the pivot table? For instance:
Joe B
Sue D
Seems like it should be easy but I'll be damned if my skills aren't up to the task