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 / satish tadepalli
select greatest(nvl(cola,0),nvl(colb,0)) from tablename
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What normalization means?
Is sql free?
what is the difference between undefined value and null value? : Sql dba
what are sequences
What is difference between hql and sql?
Explain the commit statement.
Should I use mbr or gpt?
Define select, insert, create, delete, update, drop keywords
What is bind reference and how can it be created?
What is #table in sql?
what is data integrity? : Sql dba
What is faster join or subquery?
How do you write an index?
What is the mutating table and constraining table?
what is the difference between myisam static and myisam dynamic? : Sql dba