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



wt is the diff b/w greast and max ,least and min? wt is the diff b/w case and decod?..

Answer / satya

simply greatest,least are rowlevel functions
max,min are the column level functions

Is This Answer Correct ?    10 Yes 2 No

wt is the diff b/w greast and max ,least and min? wt is the diff b/w case and decod?..

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

wt is the diff b/w greast and max ,least and min? wt is the diff b/w case and decod?..

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

wt is the diff b/w greast and max ,least and min? wt is the diff b/w case and decod?..

Answer / prakasha

n0

Is This Answer Correct ?    2 Yes 15 No

Post New Answer

More SQL PLSQL Interview Questions

What is percent sign in sql?

0 Answers  


what is acid property in database? : Sql dba

0 Answers  


What is sqlerrm?

0 Answers  


what is schema? : Sql dba

0 Answers  


what's the difference between a primary key and a unique key? : Sql dba

0 Answers  






What are the possible values that can be stored in a boolean data field?

0 Answers  


How do I edit a trigger in sql developer?

0 Answers  


What is left join example?

0 Answers  


if i perform any operation on views such as insert, delete etc will my base table get affected?????

4 Answers  


what is the difference between rownum pseudo column and row_number() function? : Sql dba

0 Answers  


There is a table, In one column it has implemented a index, but the index is disturbed by the regular dml statements.. but still we need to keep the index. how it is possible?

1 Answers   Cognizant,


what is clause? : Sql dba

0 Answers  


Categories