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 the difference between inner join and left join?
What is the starting oracle error number?
Define SQL and state the differences between SQL and other conventional programming Languages?
what are tables and fields? : Sql dba
What are sql injection vulnerabilities?
How do I count rows in sql query?
What do you think about pl/sql?
What is the use of function in sql?
Who is the owner of mysql database?
Is merge a dml statement?
What is the use of double ampersand (&&) in sql queries? Give an example
what is the use of set statement in tsql? : Transact sql
Why is the cursor important?
What is cartesian join in sql?
Which nosql database is best?