1
I’m studying databases, and at the moment beyond bank definitions, type of models I’m seeing Cardinality! I’m having doubts in this exercise below:
My doubts are as follows
How I identify the
origem
and thedestino
of this relationship?
For to me the origin would be Boleto and the Payment Destination..
I also wondered if my thoughts on
cardinalidade
that is correct!
To cardinalidade (0,1)
for the billet and (1,1)
for the payment... I’m sure?
But the answer to the exercise is :
Origem
(min=1, max=1) and Destino
(min=0, max=1)
That is- Apparently: payment as Origin and Boleto as destination!
The ways of representing the cardinalities change a lot, would you have the dashed line caption ? nr_boleto is probably a primary key, but vl_interest ? what would be the type ?
– Otávio Reis Perkles
So there’s no legend! The exercise only asks to say the relationship:Identify the minimum and maximum cardinality of the origin and destination of the relationship
– Carol M