cypher - How to write a below query in neo4j? -


how can write below sql query in neo4j cypher?

select t1.empno,         t1.lastname,         t1.birthdate,         t2.empno,         t2.lastname,         t2.birthdate employee t1, employee t2 t1.birthdate = t2.birthdate , t1.empno <> t2.empno 

it depends on model equivalent form :

match(t1:employee),(t2:employee) t1.birthdate = t2.birthdate , t1.empno <> t2.empno return t1.empno, t1.lastname, t1.birthdate, t2.empno, t2.lastname, t2.birthdate 

hope helps.

regards, tom


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -