I was wondering if Memgraph supports something like COUNT(DISTINCT x)
and if not how can I achieve what I'm looking for?
Asked
Active
Viewed 64 times
0

KWriter
- 1,024
- 4
- 22
1 Answers
1
Since Memgraph 2.5.0 there is no longer need for constructions like WITH DISTINCT n.prop as distinct_prop RETURN COUNT(distinct_prop)
. You can use RETURN COUNT(DISTINCT n.prop)
instead.

Sven Martoen
- 68
- 3