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
Is truncate ddl or dml?
What does sign mean sql?
What is use of package in pl sql?
How many types of sql are there?
What is group function in sql?
What is mdf ldf and ndf?
what is the difference between truncate and delete statement? : Transact sql
Explain aggregate functions are available there in sql?
What are the two types of periodical indexes?
Explain the methods used to protect source code of pl/sql.
What are different methods to trace the pl/sql code?
Where the sql database files are stored?
What is a table?
What is a primary key sql?
What are the different types of sql commands?