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
Post a Comment