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 / phani kumar
select greatest(cola,colb) from tblname;
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What does := mean in pl sql?
What is sql rowcount?
What are crud methods?
Is sql a oracle?
When is the update_statistics command used?
Is pl sql different from sql?
What is the example of procedure?
What are hotfixes and patches?
what is the use of set statement in tsql? : Transact sql
What is function and procedure in pl sql?
What is data abstraction in sql?
what is the difference between where clause and having clause? : Sql dba
What are different methods to trace the pl/sql code?
how does a local variable is defined using t-sql? : Transact sql
What are expressions?