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 |
Define implicit and explicit cursors.
Is big data nosql?
HOW TO TUNE ORACLE SQL QUERIES GIVE ME STEP BY SREP
suppose I have two table one Emp and other is dpt. Emp table has a field ,dept id,name ,sal and dpt table has a field dept id,dept name. Now I want to find out the emplyee list whose sal is between 2000-3000 from dept x.
7 Answers Geometric Software, IBM,
What is rtm stands for?
what are the performance and scalability characteristics of mysql? : Sql dba
What is string data type in sql?
Which kind of parameters cannot have a default value in pl sql?
What is the difference between joins?
What is sql injection owasp?
What are pl/sql packages?
how to create a database in oracle?