0
I have a table called QR-Code, this can be sent by an employee, or by a resident, but in the table Qr-code has to have only one code of who sent it, as I can represent it in the relational model??
At times I’m not close to a conputator so this demonstration is not great, is the following the Qr-code will only receive a code , or employee or resident, but the problem is that both have cardinality 1:n
Search for entity partitioning. Basically you will have a sender that can be an employee or a resident.
– anonimo
Alvino, I suggest you make the initial DDL of your model even if you have no relationships, placing the initial tables and main columns. So it will bring more context to the question.
– Rafael Gorski