entity - Difference between entities and relations in databases -
i want know if entity table in database modelling context? , difference between entity , relation? know relation base concept of relational databases , has tabular presentation. entity , relation same thing? note: not confuse relation relshionship.
an entity somting object, can put name entity. relation "link" beetwen entity, can put verb entity, in mcd of databases. exemple :
in mcd dog end entity end part of relation
+-------+ +-----+ |dog | |race | |-------| |-----| |name |---(part of)----|name | |age | +-----+ +-------+
in mpd mcd become :
+--------+ +---------+ |tdog | |trace | |--------| |---------| |id_tdog | +--|id_trace | |namedog | +--(trace_to_tdog)--| |namerace | |agedog | | +---------+ |fk_trace|<-+ +--------+
Comments
Post a Comment