Тёмный

Ternary Relationships 

Brian Finnegan
Подписаться 4,2 тыс.
Просмотров 67 тыс.
50% 1

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@abdulkarimobeid5159
@abdulkarimobeid5159 7 лет назад
"That is the worst steering wheel I have ever seen, pretend that didn't happen" - hahaha
@flipsmash
@flipsmash 7 лет назад
I know, and I am duly ashamed.
@ChituOkoli
@ChituOkoli 9 лет назад
Unfortunately, the only reason I wanted to watch this video was in trying to figure out participation and cardinality in ternary relationships (that is, which ends are minimum 0 or minimum 1, that is, mandatory or optional), and he basically skipped over that because "it is a bear". :-(
@aliyagzcaniguroglu5851
@aliyagzcaniguroglu5851 6 месяцев назад
Did you learn it ?
@swarupmahakud6582
@swarupmahakud6582 7 лет назад
It was completely awesome to see this.You have got such a great sense of humour!Hurray!
@maidenrockzzz
@maidenrockzzz 11 лет назад
Thank you for the clear, informative, and helpful videos.
@LuisJavierStudio
@LuisJavierStudio 7 лет назад
why are we always focusing on a given instance of two entities to find out if they are many of the third, if is many in all of them, cant we say multiple instances of these two entities goes into many of the third? sorry I'm having a hard time understanding the way to approach this diagram.
@_mdan9304
@_mdan9304 9 лет назад
hey thanks, that was very useful!
@oussamasethoum2755
@oussamasethoum2755 5 лет назад
That was amazing explanation, Thank you.
@groovyandreababy
@groovyandreababy 6 лет назад
why is the cardinality to supplier many? I thought if you're looking at 1 car and 1 part, then that 1 part for that car can only come from 1 supplier no? Like you can't have half the steering wheel coming from supplier A and the other half from supplier B. Could you please clarify this for me? will really appreciate :)
@flipsmash
@flipsmash 6 лет назад
Good question. You are absolutely correct that for a specific individual steering wheel, that part can only come from a single, specific supplier. HOWEVER, it is possible that Company X sources the steering wheel for Vehicle Y from more than 1 supplier, such that some specific vehicle IDs get their steering wheel from Acme and others get them from WheelCo, etc. Make Sense?
@jimenezgomez75
@jimenezgomez75 7 лет назад
If an order can have many clients and those clients place the order through many salesperson. Is that a ternary relationship?
@flipsmash
@flipsmash 7 лет назад
It is a candidate, yes. You could model as three many-to-many binary relationships or as a ternary relationship
@hkccp
@hkccp 8 лет назад
can it be replaced with three binary relationships ? would it be losing some information or relationships ?
@flipsmash
@flipsmash 8 лет назад
+Wai Lok Poon Replacing a ternary relationship with 3 binary relationships does indeed lose information. For example, you can say a given supplier supplies a given part, and that given part is used in a given car, and that given supplier supplies a car, but you can't say for sure that a given supplier supplies a given part to a given car.
@manasmohapatra7847
@manasmohapatra7847 8 лет назад
+Brian Finnegan Thank you so much for answering this question. I had this exact doubt and you clarified it
@dnangel4277
@dnangel4277 6 лет назад
Thanks Brian! This clears things up for me as well in terms of potentially replacing a ternary relationship with 3 binary relationships! :)
@allegresse6497
@allegresse6497 5 лет назад
Excellent. thank you
@boahgeil465
@boahgeil465 8 лет назад
what if only one entity type A participates with many in a ternary relationship while the other two only participate with 1? Then could you model the relationship in the table of A?
@flipsmash
@flipsmash 8 лет назад
+diggi No, you can't. You will always need a relationship table for ternary relationships, no matter the cardinality.
@boahgeil465
@boahgeil465 8 лет назад
Brian Finnegan Thanks for the fast answer :)
@patrycjadziurdziak3180
@patrycjadziurdziak3180 10 лет назад
Nice video :)
@gabrielsousa3926
@gabrielsousa3926 5 лет назад
Obrigado Belho
@GulaschGeneral
@GulaschGeneral 5 лет назад
helped a lot! thanks
@pathumsrinath401
@pathumsrinath401 Год назад
Super explanation 🤍
@888ssj
@888ssj 9 лет назад
thanks :)
@jimloya2490
@jimloya2490 8 лет назад
very nice
@vobu5598
@vobu5598 9 лет назад
Nice tutorial, but dude you should get to know a little bit more about car manufacturer, Ford tztztztz....
@dykens7758
@dykens7758 8 лет назад
Do you know how to model ternary operations in MySQL workbench, couldn't find this anywhere.
@flipsmash
@flipsmash 8 лет назад
+Cookie Monster I don't use or know MySQL Workbench, but its EER model appears to be strictly binary, which means that relationships aren't explicitly modeled and direct representation of a ternary relationship is not accommodated. That said, there are two workarounds: 3 binary relationships (A-B,B-C, A-C), although some information is lost there (see my response to Wai Lok Poon below) or you can create a table for the relationship with a primary key that is the concatenation of all 3 participating entities PKs (A#B#C#) and that has an M:N relationship to all 3 participating entities. This is the closest approximation, although you lose the ability to represent all possible ternary cardinality states (1:1:1, 1:1:N,....N:M:P), which doesn't typically make any practical difference.
@ZivotoTeKocka
@ZivotoTeKocka 10 лет назад
Thanks a lot, this really helped me :)
@UltromanTheTacoman
@UltromanTheTacoman 10 лет назад
"Steer Co." instant classic XD
@flipsmash
@flipsmash 10 лет назад
All the best steering wheels are made by SteerCo!
@sandramintah2151
@sandramintah2151 7 лет назад
Thanks a lot. Gave me a clear understanding to adequately prepare for my exams.
@medAmineRg
@medAmineRg 2 года назад
that was very helful sir tankyou so much
@manvithyadavdega3921
@manvithyadavdega3921 3 года назад
Thanks. Was useful :)
@nakedsnakeee3
@nakedsnakeee3 4 года назад
Thank you so much!
Далее
Weak Entity Modeling
13:02
Просмотров 53 тыс.
The Participation Constraint in the ER Diagram
9:00
Просмотров 68 тыс.
Entity-Relationship Diagrams
8:53
Просмотров 660 тыс.
Concept of Relationships in ER Diagram
15:06
Просмотров 484 тыс.
Databases: Degrees of Relationships
15:53
Просмотров 1,4 тыс.
Extended Entity Relationship Models (EER diagrams)
10:22
The Enhanced Entity Relationship Model
17:33
Просмотров 7 тыс.
Logical Database Design and E-R Diagrams
32:23
Просмотров 375 тыс.
Designing an ER Diagram | SQL | Tutorial 22
12:59
Просмотров 98 тыс.