column A column b | output
10 7 | 10
5 8 | 8
7 -9 | 7
3 5 | 5
0 6 | 6
Write a sql query to print such output.
Answer Posted / apoorva garg
select a,b,
CASE WHEN (a>b) THEN a
ELSE b
END output
from a
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Why is normalization important?
How consistent is the view of the data between and within multiple sessions, transactions or statements ?
What is clause in sql?
Is oracel sql developer written in java?
What does bitemporal mean?
What sql database should I use?
What is trigger with example?
Is sql database free?
What does count (*) do in sql?
Explain scalar functions in sql?
How do I create a memory optimized filegroup?
what are the types of subquery? : Sql dba
how to fetch common records from two tables? : Sql dba
What are expressions?
What is the difference between a primary key and a clustered index?