Khóa học miễn phí Neo4j – Aggregation Function nhận dự án làm có lương

Neo4j – Aggregation Function



Like SQL, Neo4j CQL has provided some aggregation functions to use in RETURN clause. It is similar to GROUP BY clause in SQL.

We can use this RETURN + Aggregation Functions in MATCH command to work on a group of nodes and return some aggregated value.

AGGREGATION Functions List

Following is the list of aggregation functions in Neo4j.

Sr.No Function & Description
1

It returns the number of rows returned by MATCH command.

2

It returns the maximum value from a set of rows returned by MATCH command.

3

It returns the minimum value from a set of rows returned by MATCH command.

4

It returns the summation value of all rows returned by MATCH command.

5

It returns the average value of all rows returned by MATCH command.

Khóa học lập trình tại Toidayhoc vừa học vừa làm dự án vừa nhận lương: Khóa học lập trình nhận lương tại trung tâm Toidayhoc