PiMané (9/21/2013)
The values that 'name' has are just for ordering porpoise, for easier visualization of the results...'name' actually has Accounting, Sales, Purchases, Human Resources, etc...
If the "Name" column actually contains something else in real life, please post the test data so that it more closely resembles the real data.
--Jeff Moden
Change is inevitable... Change for the better is not.