How to develop relationship between department and employee tables

9 views
Skip to first unread message

Alliance Ais

unread,
Dec 6, 2016, 7:24:25 AM12/6/16
to Neo4j
Hello friends,
 
I am new to neo4j. So not much aware about defining the relationship between tables. I have two table Employee and Department. One employee work in one department. Below are the two table data. Now how can i define relationship in to neo4j for below data. Please help me if anybody know how to do it.

 Department Table

====================
id    name
====================
1    HR
2    Account
3    Developer
4    Management

Employee Table
====================
id    name  dept_id
====================
1    ABC     1
2    XYZ      2
3    PQR     3
4    DEF     1
5    MRF     3
6    BAT      2
Reply all
Reply to author
Forward
0 new messages