|
|
Tuples with the same DNO value is put in the same group
|
Solution procedure:
|
Example:
|
DNO Avg
+-----------+------------+
| 4 | 45000 |
+-----------+------------+
| 5 | 55000 |
+-----------+------------+
|
|
Solution procedure:
|
Example:
|
sex Avg
+-----------+------------+
| M | 50000 |
+-----------+------------+
| F | 50000 |
+-----------+------------+
|
GrAttrs γ func(A)( R ) = (1) First, form subgroups based on common value
in attributes GrAttrs
(2) Then, apply function func on attribute A
in each subgroup
|
Examples:
|