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 view? Can we update view
Show code of a cursor for loop.
Is truncate ddl or dml?
How do you explain an index?
Is mariadb nosql?
What is rename command in sql?
What is a primary key example?
how would you get the current date in mysql? : Sql dba
How do I run a pl sql program?
What is constant in pl sql?
What is compound trigger?
what is self join and what is the requirement of self join? : Sql dba
Is sqlite free?
what are all types of user defined functions? : Sql dba
What is cursor and its types?