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 are the different tables present in mysql, which type of table is generated when we are creating a table in the following syntax: create table employee (eno int(2),ename varchar(10)) ? : Sql dba
How many joins in sql?
Mention what does plv msg allows you to do?
What is difference between sql function and stored procedure?
What is the meaning of disabling a trigger?
Why is pl sql needed?
What is the difference between microsoft access and sql server?
how to rename an existing column in a table? : Sql dba
What is a recursive stored procedure?
what is bdb (berkeleydb)? : Sql dba
What are the advantages of normalization?
How is data stored in sql?
What is a design view?
what are wild cards used in database for pattern matching ? : Sql dba
What plvcmt and plvrb does in pl/sql?