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 the difference between truncate and drop statements?

572


What is difference between rank () row_number () and dense_rank () in sql?

575


How do I run a pl sql procedure in sql developer?

508


What is union and union all keyword in sql and what are their differences?

574


What are records give examples?

560






What is the plv (pl/vision) package offers?

613


What is a parameter query?

621


Is clustered index a primary key?

525


What is sql*loader and what is it used for? : aql loader

618


How do I truncate a sql log file?

530


how to use myisamchk to check or repair myisam tables? : Sql dba

505


What is a unique key and primary key and foreign key?

565


What is coalesce in sql?

558


What are the different types of functions in sql?

512


What is plpgsql language?

529