You can do this using
CASE (Transact-SQL)[
^].
Here is a sample
DECLARE @T TABLE
(
ID VARCHAR(10),
C1 INT,
C2 INT,
C3 INT
)
INSERT INTO @T
SELECT 'T1', 1, 3 , 5 UNION ALL
SELECT 'T2', 5, 1, 10 UNION ALL
SELECT 'T3', 8, 15, 2
SELECT *, CASE WHEN C1 > C2 AND C1 > C3 THEN C1
WHEN C2 > C1 AND C2 > C3 THEN C2
ELSE C3 END AS [Result(Max)]
FROM @T