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
How can a function retun more than one value in oracle with proper example?
How many tables can you join in sql?
What does the argument [or replace] do?
How many aggregate functions are available there in sql?
How is a process of pl/sql compiled?
Is ms sql traffic encrypted?
What is the difference between numeric and autonumber?
Is record in oracle pl sql?
What is the order of sql select?
List and explain the different types of join clauses supported in ansi-standard sql?
What is sqlca in powerbuilder?
Explain the insert into statements in sql?
Is it possible to link two groups inside a cross products after the cross products group has been created?
how can we destroy the session, how can we unset the variable of a session? : Sql dba
what is error ora-03113: end-of-file on communication channel?