Wednesday, 14 August 2013

SQL 2008R2 Finding the max column from a row

SQL 2008R2 Finding the max column from a row

I have a table like below
A B C D
10 14 14 13
12 11 16 15
and my query should retrieve the answer like below:
E
14
16
how can i write a query to display it?

No comments:

Post a Comment