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

What is range partitioning?

692


Are null values same as that of zero or a blank space?

731


What are sql injection vulnerabilities?

692


What packages(if any) has oracle provided for use by developers?

5323


How do I start sql profiler?

746






Is full outer join same as cross join?

695


Can we insert data into materialized view?

710


What is sql*plus?

775


Is trigger a stored procedure?

700


How can I tell if sql is running?

761


What are the various restrictions imposed on view in terms of dml?

692


Does varchar need length?

714


What does pragma mean?

713


How to write pl sql program in mysql command prompt?

711


What is a string data type in sql?

718