Difference between aggregate function and analytical function?

Answer Posted / yogish naik

we can observe that the aggregate functions return only one
row per group whereas analytic functions keeps all the rows
in the group. Using the aggregate functions, the select
clause contains only the columns specified in group by
clause and aggregate functions whereas in analytic functions
you can specify all the columns in the table.

The PARTITION BY clause is similar to GROUP By clause, it
specifies the window of rows that the analytic funciton
should operate on.

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how you can copy a file to file content and file to pl/sql table in advance pl/sql?

638


Why do we use subquery?

598


Is sql a backend?

648


Why is sharding used?

634


What is nvarchar in sql?

606






How do I view tables in mysql?

631


What is row_number () in sql?

630


What are the packages in pl sql?

657


what is cross join? : Sql dba

656


What is the use of double ampersand (&&) in sql queries? Give an example

706


Is sql a programming?

634


what is sql in mysql? : Sql dba

677


How do I remove sql developer from windows 10?

601


Explain exception handling in pl/sql?

610


differentiate between float and double. : Sql dba

641