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
How to pronounce postgresql?
How do I create an index in word?
Is sqlite thread safe?
What are the methods of filing?
In what condition is it good to disable a trigger?
What are the advantages of pl sql over sql?
Mention what is the plv (pl/vision) package offers?
What is a crud api?
What is query execution plan in sql?
What is #table in sql?
Why is a trigger used?
Does sql view stored data?
what happens when the column is set to auto increment and you reach the maximum value for that table? : Sql dba
What are the steps for performance tuning.
Is sqlite good enough for production?