Difference between aggregate function and analytical function?

Answers were Sorted based on User's Feedback



Difference between aggregate function and analytical function?..

Answer / nb_mopidevi

Aggregate Function : Which returns one row for a group.

Analytical Function : which returns one result for each row in the group.


feedback accepted.

Is This Answer Correct ?    60 Yes 2 No

Difference between aggregate function and analytical function?..

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

Difference between aggregate function and analytical function?..

Answer / pradeep

aggregate function - it returns only single value and (aggr Fun are Min,Max,Count,Sum,Avg)
analytical Function - it returns more than one value and (Analy fun are, string,date, numeric,conversions, and miscellaneous)

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

In pl/sql, what is bulk binding, and when/how would it help performance?

0 Answers  


How many scalar data types are supported in pl/sql?

0 Answers  


Which is the best place to learn hadoop?

1 Answers  


Difference between NVL, NVL2 and NULLIF

1 Answers   CTS, Metric Stream,


1> how are u debugging in plsql ? 2> how to connect oracle database from unix. is there ne way other than using sqlplus ?

2 Answers  






What is an oracle stored procedure?

0 Answers  


What are packages in pl sql and also explain its advantages?

0 Answers  


When can we use the where clause and the having clause?

0 Answers  


Why do we need databases?

0 Answers  


List the various privileges that a user can grant to another user?

0 Answers  


how to load data files into tables with 'mysqlimport'? : Sql dba

0 Answers  


What are the different set operators available in sql?

0 Answers  


Categories