Here is a solution,
MATCH (f:Fld1)-->(g:Fld2)
RETURN f.f1 as Fld1, max(g.f2) as Fld2;
Result:

MATCH (f:Fld1)-->(g:Fld2)
WITH f.f1 as Fld1, max(g.f2) as Fld2
MATCH (f1:Fld1)-->(g1:Fld2)
WHERE g1.f2 IN [Fld2]
RETURN f1, g1;
Result:

Here is a solution,
MATCH (f:Fld1)-->(g:Fld2)
RETURN f.f1 as Fld1, max(g.f2) as Fld2;
Result:

MATCH (f:Fld1)-->(g:Fld2)
WITH f.f1 as Fld1, max(g.f2) as Fld2
MATCH (f1:Fld1)-->(g1:Fld2)
WHERE g1.f2 IN [Fld2]
RETURN f1, g1;
Result:

| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Use max() function in a graph | 7 | 316 | June 24, 2021 | |
| Grouping values with Cypher query | 6 | 391 | October 25, 2021 | |
| Extract the largest node in a path from multiple paths | 8 | 1011 | February 28, 2020 | |
| How to make a group by in cypher query language? | 19 | 13413 | May 20, 2022 | |
| Max property value within a list of nodes | 3 | 594 | October 5, 2022 |