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.

return the result with respect to the other columns value came equal

In the image there is a 3 column named as new_issue,co,cos. my requirement is to return new_issue when other columns value get as same value.

7 REPLIES 7

Screenshot from 2022-06-06 16-11-55.png

@Eben  do you have a specific question?  

I believe they want to know how to return just the 'new_issue' column when one of the other columns (co or cos) are equal. @Eben can you confirm and/or explain further?

Ok, I will assume the requirement is to return the 'new_issue' column only when 'cos equals co'. For this case, replace line 6 with the following code:

with p.nest_issue as new_issue, co, cos
where co = cos
return p.nest_issue

thank you @glilienfield its working

yes u are right.

that is great.  Can you mark the response as a solution so everyone knows the thread has been closed?   thanks...