What does over partition by mean in sql?



What does over partition by mean in sql?..

Answer / Parmatma Prasad

In SQL, the 'OVER (PARTITION BY)' clause allows you to perform aggregate functions (such as SUM, AVG, MAX, MIN) on a partitioned table. This means that the function is calculated separately for each partition and then combined to produce the overall result.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

how to enter binary numbers in sql statements? : Sql dba

1 Answers  


What are the ways on commenting in a pl/sql code?

1 Answers  


What is trigger point?

1 Answers  


Explain what is table in a database?

1 Answers  


what are the advantages of cursors than procedures?

2 Answers  


i have a table emp and columns ename,empno,mgr_id,i need ename,manager name as result i.e employee respective manager.. example empno ename mgr_id 1 john 3 2 paul 3 3 smith 1 4 kevin 1 5 stewart 2 result has to look like this ename manager john smith paul smith smith john kevin john stewart paul can u plz help me out in this.....

8 Answers  


how can you create an empty table from an existing table? : Sql dba

1 Answers  


Is it possible to update views?

1 Answers  


how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba

1 Answers  


how to calculate expressions with sql statements? : Sql dba

1 Answers  


Does a primary key have to be a number?

1 Answers  


Can you have more than one key in a database?

1 Answers  


Categories