Skip to content

Commit

Permalink
Update Cypher.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mingxiw authored Jan 20, 2025
1 parent e5e77cd commit a2e6120
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions demos/guru_scripts/docker/tutorial/4.x/Cypher.md
Original file line number Diff line number Diff line change
Expand Up @@ -661,14 +661,14 @@ The result is shown in [c19.out](https://github.com/tigergraph/ecosys/blob/maste
Aggregation functions in OpenCypher allow you to perform calculations over a set of values, summarizing or transforming the data into a single result. These functions are typically used in combination with the WITH or RETURN clauses to compute aggregate values based on certain criteria.

### Common Aggregation Functions:
***COUNT()***: Counts the number of items in a given set. e.g. COUNT(*), COUNT(1), COUNT(DISTINCT columnName).
***SUM()***: Computes the sum of numeric values. It is often used to calculate totals, such as the total amount transferred.
***AVG()***: Calculates the average of numeric values.
***MIN()***: Finds the smallest value in a set. Often used to determine the minimum amount or value.
***MAX()***: Finds the largest value in a set. This is useful for identifying the highest value.
***COLLECT()***: Aggregates values into a list. Can be used to collect nodes or relationships into a list for further processing.
***STDEV()***: Computes the standard deviation of values.
***STDEVP()***: Computes the population standard deviation of values.
- ***COUNT()***: Counts the number of items in a given set. e.g. COUNT(*), COUNT(1), COUNT(DISTINCT columnName).
- ***SUM()***: Computes the sum of numeric values. It is often used to calculate totals, such as the total amount transferred.
- ***AVG()***: Calculates the average of numeric values.
- ***MIN()***: Finds the smallest value in a set. Often used to determine the minimum amount or value.
- ***MAX()***: Finds the largest value in a set. This is useful for identifying the highest value.
- ***COLLECT()***: Aggregates values into a list. Can be used to collect nodes or relationships into a list for further processing.
- ***STDEV()***: Computes the standard deviation of values.
- ***STDEVP()***: Computes the population standard deviation of values.


# Support
Expand Down

0 comments on commit a2e6120

Please sign in to comment.