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 not equal in sql?

511


What are the qualities of 2nf?

546


What is the use of triggers?

545


what are rollup and cube in t-sql? : Transact sql

661


Does a user_objects view have an entry for a trigger?

570






Why is sql better than hql?

510


How can we connect an Android App to an Oracle database and use the PL/SQL procedural code?

584


Why do we use view in sql?

534


Is clustered index a primary key?

537


How do you drop a trigger?

542


Does pl sql work in mysql?

536


What is %type in sql?

518


what is a scheduled jobs or what is a scheduled tasks? : Sql dba

554


How do you update sql?

523


what is the difference between char and varchar data types? : Sql dba

541