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 / suresh ramsng
select A,B,greatest(A,B) output from <tablename>
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is dialect in sql?
Write a query to display the current date in sql?
What is the difference between microsoft access and sql server?
which types of join is used in sql widely? : Sql dba
Explain how exception handling is done in advance pl/sql?
What is pl/sql table? Why it is used?
What are different methods to trace the pl/sql code?
What packages(if any) has oracle provided for use by developers?
What is the trigger in sql?
What does stand for in sql?
How do I save a stored procedure?
How do I send sql query results to excel?
what is collation? : Sql dba
What is the process of debugging?
What is the maximum number of triggers, you can apply on a single table?