wt is the diff b/w greast and max ,least and min?
wt is the diff b/w case and decod?
Answers were Sorted based on User's Feedback
Answer / satya
simply greatest,least are rowlevel functions
max,min are the column level functions
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / shivaindu
greatest/Least: we can pass any no. of exp
Max/Min: we can pass one exp that may a column
Case: is a statement function, cannot process null
Decode: is a function, can process null, we can use in
update statement.
| Is This Answer Correct ? | 10 Yes | 3 No |
Answer / jyothi
greatest gives largest value from the list of values passed
where as max gives maximum value in that column.similarly
least and min too.
decode performs only equality conditions and it doesn't work
in plsql.process null.
case compares all the cases.null cannot processed. case
performs all the actions of decode and it works in pl/sql.
| Is This Answer Correct ? | 4 Yes | 0 No |
Explian rowid, rownum? What are the psoducolumns we have?
How to know the last executed procedure?
what is the different between now() and current_date()? : Sql dba
What does dml mean?
What does a pl/sql package consist of?
What is right join sql?
What is the need of merge statement?
What is sql and explain its components?
What does “select count(*) from tab” result?
15 Answers IBM, Student, Wipro,
Why query optimization is needed?
What does rownum mean in sql?
What is normalization ?
9 Answers BirlaSoft, CTS, HCL,
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)