Hey.
Question on sql. I do not understand about the identifying and non-identifying links (in the workbench this is a solid and dashed line). Table connections are implemented via column keys.
I read many articles and did not understand what an identifying and non-identifying link is. Please give a clear example.
It is written that "an identifying relationship is a relationship in which one or several columns of a key (recall that a key can consist of several columns) specified in the link (i.e. those in the parent table) are used as the whole primary key or parts of the primary key of the referencing (ie, child) table. "
I don’t understand how a key can be ** multiple columns ** at once . I understand about one column - for example, in the main table there is a column with the teacher number (1, 2, 3 ..), and in the reference table these numbers are decoded (1 is Ivanov, 2 is Petrov ...).