mysql - What is the relationship between the vortex and the edge tables? -


i work mysql database , have 2 tables namely vortex , edge. provided below,

enter image description here

is one-to-many relationship exists between tables ? explanation helpful.

there 2 one-to-many relationships because each vertex can source or destination of many edges, each edge can have 1 source , 1 destination.

speaking in terms of rows in tables, have each vertex id appearing once in vertex table, potentially more once in vertex_src_id , in vertex_dst_id columns of edges table.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

asp.net ajax - Jquery scroll to element just goes to top of page -