T
T
Tsiren Naimanov2015-10-05 15:37:31
SQL
Tsiren Naimanov, 2015-10-05 15:37:31

Can there be in 1 table, two identical others?

Can there be in 1 table two identical others?
for example, I have 10 elements in the ONE table, the
second table SHIP has id / ONE_ID1/ONE_ID2/count in it,
the ratio of each id to another != itself.
How to implement it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2015-10-05
@0LLEGator

In the same table, different records can have the same foreign keys. BUT they (in theory) should have different primary keys, after all, these are different phones, and they should refer to a single record of another table where the owners are collected. After all, in the general case, a single person owns a thing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question