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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to fetch alternate records from a table?

671


What is trigger in pl sql with examples?

511


What is rownum?

530


What is %s in sql?

556


Where the sql database files are stored?

477






What are expressions?

557


Where is all the data on the internet stored?

547


What are data types in pl sql?

548


What does count (*) mean?

517


Can we create index on primary key?

515


when MSQL8.0 is in market

1592


How do I add a database to sql?

566


What is use of trigger?

505


What is sqlcommand?

546


What is data abstraction in sql?

503