I have multiple columns in a table but I only want the highest value from the columns to be selected in a sql.
Example Info:
D1 D2 D3 D4
----- ----- ----- -----
3 2 150 5
1 3 20 10
Output needs to be:
MaxPower
150
20
Anyone know a good way to do this? A single sql would be preferred but vba would work also.
1 Answer