I am studying database, and at the moment beyond the definitions of bank, type of models I am seeing Cardinality! I have doubts in this exercise below:
My doubts are as follows
How do I identify the
origem
anddestino
of this relationship?
For me the origin would be Boleto and Destino Destino ..
I also wanted to know if my thinking about
cardinalidade
is correct!
The cardinalidade (0,1)
for the ticket and (1,1)
for the payment ... Am I right?
But the exercise response is:
Origem
(min = 1, max = 1) and Destino
(min = 0, max = 1)
That is- Apparently: payment as Origin and Ticket as destination!