User Tools

Site Tools


transformations:aggregate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
transformations:aggregate [2015/04/10 14:04] elenaptransformations:aggregate [2015/05/01 08:48] dmitry
Line 11: Line 11:
   * Max   * Max
  
 +EXAMPLE
 +
 +**Source table:** The longest rivers in the world
 +
 +^  River  ^  Length(km)  ^  Continent  ^
 +| Nile  |  6650  |  Africa  |
 +| Amazon  |  6400  |  South America  |
 +| Yangtze  |  6300  |  Asia  |
 +| Mississippi  |  6275  |  North America  |
 +| Yenisei  |  5539  |  Asia  |
 +| Yellow River  |  5464  |  Asia  |
 +| Ob  |  5410  |  Asia  |
 +| Paraná  |  4880  |  South America  |
 +
 +**Objective:** Find out which are the longest rivers on each continent.
 +
 +**Transformation parameters:**
 +
 +  * Calculate: Length(km)   
 +  * Aggregation: Max
 +  * Group by: Continent
 +
 +**Output table:**
 +
 +^  River  ^  Continent  ^  Max of Length(km)  ^
 +| Nile  |  Africa  |  6650  |
 +| Yangtze  |  Asia  |  6300  |
 +| Mississippi  |  North America  |  6275  |
 +| Amazon  |  South America  |  6400  |
  
transformations/aggregate.txt · Last modified: 2021/09/12 11:25 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki