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
What is the most restrictive isolation level? : Transact sql
How do I send sql query results to excel?
How do I start pl sql?
what is a foreign key ? : Sql dba
what is the command used to fetch first 5 characters of the string? : Sql dba
what is sql in mysql? : Sql dba
How many types of primary keys are there?
Is natural join and inner join same?
how tsql statements can be written and submitted to the database engine? : Transact sql
Is it possible to sort a column using a column alias?
What do you know by pl/sql cursors?
Is sql developer case sensitive?
What are the parts of a basic sql query?
What are the limitations of sql express?
What are the different types of joins in sql?