Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
08-22-2018 07:27 PM
With a traditional SQL based database a HAVING clause will restrict aggregated values. For example
select zipcode, count(*) as population
from Person
group by zipcode
having population>100000;
will return all zipcodes which have more than 100k residents.
To achieve the same in Cypher use the following
match (n:Person)
with n.zipcode as zip, count(*) as population
where population>100000
return zip,population
All the sessions of the conference are now available online