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
How do you create a unique index?
What is string join?
Mention what are different methods to trace the pl/sql code?
What is rowtype?
Explain aggregate functions are available there in sql?
Which data type is a composite type?
what are the drivers in mysql? : Sql dba
Does view contain data?
How can you maintain the integrity of your database on instances where deleting an element in a table result in the deletion of the element(s) within another table?
how to include numeric values in sql statements? : Sql dba
How do I create a sql script?
what is the bond code in materialized view?
what are the nonstandard string types? : Sql dba
What is dynamic query?
what is the command line end user interface - mysql? : Sql dba