cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Not Displaying the count on the output

Sorry for this basic questions, it there a way just to show popular name and not the count once the code has been executed?

example <RETURN pop.Name, count(pop.Name) as frequency
ORDER BY frequency DESC
LIMIT 2>
Thank you

1 ACCEPTED SOLUTION

Hello @HelloDearSir and welcome to the Neo4j community

WITH pop.Name AS name, count(pop.Name) AS frequency
ORDER BY frequency DESC
LIMIT 2
RETURN name

Regards,
Cobra

View solution in original post

1 REPLY 1

Hello @HelloDearSir and welcome to the Neo4j community

WITH pop.Name AS name, count(pop.Name) AS frequency
ORDER BY frequency DESC
LIMIT 2
RETURN name

Regards,
Cobra