Entity-Relationship Diagrams

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 พ.ค. 2014
  • Puzzled over how to make an entity-relationship diagram? This quick video shows you how.
    This lecture is only one of fifty on Seventh Morning's "Fundamentals of Business Analysis" course.
    Check it out here... This link discounts the course down to $99, but it's only available for the first 500 subscribers...
    www.udemy.com/businessanalysi...

ความคิดเห็น • 168

  • @dayday8421
    @dayday8421 6 ปีที่แล้ว +64

    If only there were more quality videos on TH-cam like this! Well paced, easy to understand and well narrated.

    • @NorwalkAberdeen
      @NorwalkAberdeen  6 ปีที่แล้ว +6

      David, thanks for your kind words!

    • @jr1152
      @jr1152 5 ปีที่แล้ว +1

      @@NorwalkAberdeen make more tutorial vids please

  • @johnhurley8918
    @johnhurley8918 9 ปีที่แล้ว +141

    SOOOOOOOO helpful! You sir just summed up an entire chapter of my textbook in less than 9 minutes.

  • @TheWaveism
    @TheWaveism 5 ปีที่แล้ว +2

    THANK YOU!!!! Finally a video that makes sense and properly explains an entity-relationship diagram! Very well done!

  • @janinearif7850
    @janinearif7850 5 ปีที่แล้ว +8

    They should just play this in my lectures at university! It would have saved them 2 hours of us all wanting to fall to sleep. Thank you for explaining this in an easier-to-understand and not-so-boring way.

  • @scimitar4211
    @scimitar4211 7 ปีที่แล้ว +5

    exactly what i needed to hear and see to make things simpler. thanks for everything

  • @seabus.2003
    @seabus.2003 ปีที่แล้ว +31

    Who else came here from the "SQL for Data Sciene" course. Week 1, additional studies.

    • @geraldineorieoma7169
      @geraldineorieoma7169 6 หลายเดือนก่อน

      Meee😊

    • @seabus.2003
      @seabus.2003 6 หลายเดือนก่อน

      @@geraldineorieoma7169 That's nice, good luck with the studies 😊

    • @GagandeepSingh-sb1uk
      @GagandeepSingh-sb1uk หลายเดือนก่อน +1

      what you guys doing now ! I just started studying

  • @tasadem20
    @tasadem20 2 ปีที่แล้ว +4

    Completely newbie here! Although it looks very complex, analogy is very simple. Everything makes sense right now. Thank you for your time!

  • @Stagedrengen
    @Stagedrengen 3 ปีที่แล้ว +5

    I'm late to the party on this, but a great instructional video on TH-cam always deserves praise! Thanks a ton!

  • @lifeviz28568
    @lifeviz28568 2 ปีที่แล้ว +3

    so much better and well-explained than my databases professor. thanks for making this video, appreciate it! :)

  • @NorwalkAberdeen
    @NorwalkAberdeen  9 ปีที่แล้ว +38

    LOL, yeah, Don has a good nerd laugh. Glad you like it.

  • @sukhammittal7630
    @sukhammittal7630 4 ปีที่แล้ว +1

    The video was very simple, clear and easy to understand. Great Job!!

  • @Rad-pt9wp
    @Rad-pt9wp 3 ปีที่แล้ว +3

    Crazy how I found this video before following Coursera's recommendation to this video! I will binge watch the rest of this!

  • @vinayabeveney5201
    @vinayabeveney5201 8 ปีที่แล้ว +1

    Thank you so much! This was exactly what I needed!

  • @princessteeana8834
    @princessteeana8834 8 ปีที่แล้ว +3

    Very clear and concise explanation, thank you!!

  • @elianj.gonzalez3886
    @elianj.gonzalez3886 8 ปีที่แล้ว +2

    i finally understand these THANK YOU

  • @baqirhusain5652
    @baqirhusain5652 ปีที่แล้ว

    amazingly intuitive and simple to follow. Thank you. You are an extraordinary teacher.

  • @lazaros.v8626
    @lazaros.v8626 8 ปีที่แล้ว

    Much liked your method in actually identifying the Cardinality. Thanks : )

  • @DeepSukhwani
    @DeepSukhwani 8 ปีที่แล้ว

    Thats a very helpful explanation. Thanks so much!

  • @mr.commonsense6645
    @mr.commonsense6645 ปีที่แล้ว

    This is soo helpful, hoping you make your videos. Your explanation is just very easy to understand

  • @slothc
    @slothc 9 ปีที่แล้ว +3

    Kudos on explaining an actual ER diagram instead of those confusing data model lookalikes most people choose (which are less abstract, and a lot of people prefer that, but easily lead to mistakes).
    I personally prefer listing attributes separately, beneath the ER diagram, to make it cleaner since ER is mostly about relationships and because attributes aren't really crucial for the ER part.
    p.s. I also hated these (on my first year), but on my fourth year when I got a serious db project, I finally understood them and started to love, well... appreciate, them.

    • @NorwalkAberdeen
      @NorwalkAberdeen  8 ปีที่แล้ว +2

      +slothc Appreciation is good enough :) Regarding the attributes being listed separately, I wouldn't disagree with you. Especially because in the real world, the list of attributes can be enormous and muck up the visual model. Thanks for the kudos!

  • @mahmoudsharshira1690
    @mahmoudsharshira1690 10 หลายเดือนก่อน

    OMG, I took ER Diagrams from 2 years at college and I used to hate them so much. However, I started to refresh about them because of SQL and well ah I love them now. Strange how people from different parts of the world can have the same Experience! Thank you buddy for the Great Explanation!

  • @user-nx5rg8pl8z
    @user-nx5rg8pl8z 4 ปีที่แล้ว

    Thank you! It was very informative and easy to understand.

  • @anubseran4774
    @anubseran4774 7 ปีที่แล้ว +70

    It's amazing how a clear voice spoken in neutral english can make all the difference. Given all unintelligible indian tutorials about this that I had to skip before getting to (and staying with) this one.

    • @benjamindemontgomery6317
      @benjamindemontgomery6317 6 ปีที่แล้ว +4

      Yes i wish there was a filter for dialects

    • @kriswright5112
      @kriswright5112 6 ปีที่แล้ว

      here's some voice conversion software: github.com/andabi/deep-voice-conversion

  • @NorwalkAberdeen
    @NorwalkAberdeen  7 ปีที่แล้ว +1

    @Louise cris -- TH-cam won't let me reply to your comment! Grr!
    In short, these diagrams are put together long before we start to worry about IDs and keys. We would start to use those concepts when creating a logical (or even physical) data model.

  • @jyotijangra388
    @jyotijangra388 7 ปีที่แล้ว +1

    great tutorial man, kudos!

  • @alleluiawoluba3601
    @alleluiawoluba3601 2 ปีที่แล้ว

    Simple and great explanation. Thanks

  • @gnomesonfire1
    @gnomesonfire1 9 ปีที่แล้ว +5

    This was so useful, I'll never be the first one to say it but going around you-tube looking for technical minded videos can be a nightmare even when the videos really are there with the best of intent.
    The explanations were clear and simple,each slide was nicely separated so it never felt as though there was too much going on at any one point the voice over that was giving the explanation of the video was clear, engaged and associable *when I say this, I'm criticizing the countless videos that go on with dry, highly scripted lines that just feel abominable to listen to without breaking your own sanity(

  • @hobieperez8144
    @hobieperez8144 3 ปีที่แล้ว

    Thank you sir, This video made me understand what my prof tried to explain.

  • @roosman5322
    @roosman5322 8 ปีที่แล้ว +1

    im having trouble with the n and m what side do i use wich

  • @danielangelomaniego1796
    @danielangelomaniego1796 7 ปีที่แล้ว +2

    Many thanks, it helped me alot :)

  • @Premier007
    @Premier007 9 ปีที่แล้ว +2

    Sweet video hopefully it will make my pass my database exam :)

  • @abhishekghimire3539
    @abhishekghimire3539 10 หลายเดือนก่อน

    Clear and concise. Thank you sir!

  • @brand1974
    @brand1974 4 หลายเดือนก่อน

    Great video. This explains a lot.

  • @abdelbadiakaramostefa8908
    @abdelbadiakaramostefa8908 2 ปีที่แล้ว

    I want to thank you a lot for this explanation.

  • @8Trails50
    @8Trails50 9 ปีที่แล้ว

    Awesome. I was pretty confused in lecture about the ER Diagram. Great video.

  • @gauthamp7169
    @gauthamp7169 7 ปีที่แล้ว

    you saved my day ...brilliant

  • @bigchiefnoble6077
    @bigchiefnoble6077 4 ปีที่แล้ว

    I dont even know how i made it to this video but i just learned something. Great info

  • @bharatiya804
    @bharatiya804 ปีที่แล้ว

    Thank you so much. You have made it so easy to understand.

  • @Oz007
    @Oz007 7 ปีที่แล้ว +1

    Life saving :) much thanks

  • @Thezizoubear
    @Thezizoubear 6 ปีที่แล้ว

    Excellent, thank you!

  • @essas.coisas
    @essas.coisas 2 ปีที่แล้ว

    Wow thanks for the easy explanation !

  • @AK476056
    @AK476056 4 ปีที่แล้ว

    Very helpful for A level, thank you

  • @osamamohamedos2033
    @osamamohamedos2033 ปีที่แล้ว

    I spent one hour to see some one good
    But you are fantastic 🤩
    Thx a lot it helps me ❤️

  • @datasciencewithshreyas1806
    @datasciencewithshreyas1806 3 ปีที่แล้ว

    Superb video, thank you so much.

  • @yosin12
    @yosin12 8 ปีที่แล้ว

    Good video, thanks.

  • @louisecris8288
    @louisecris8288 7 ปีที่แล้ว

    what about the unique identifier or primary key of each entity?

  • @AmitKumar-xn6vg
    @AmitKumar-xn6vg 8 ปีที่แล้ว +1

    Great Video.... So helpful....Thanks.................Seventh Morning LLC

  • @mbenyane
    @mbenyane ปีที่แล้ว

    Thank you very much sir, you really helped me on my assignment.

  • @tarunverma4935
    @tarunverma4935 6 ปีที่แล้ว

    Explained in the simplest way, glad I found your video for ER diagrams.

  • @ejaywillie
    @ejaywillie 8 ปีที่แล้ว +1

    This is really good, I'm surprise on the low number of videos

  • @Tanveer048
    @Tanveer048 ปีที่แล้ว

    easily understood .. thanks sir

  • @xdebugger123
    @xdebugger123 2 ปีที่แล้ว

    Thank you sir very imformative and clearly explained the symbols

  • @JayasuryanChandrasekharCMF
    @JayasuryanChandrasekharCMF ปีที่แล้ว

    Simply amazing!

  • @smoothie9931
    @smoothie9931 4 ปีที่แล้ว +1

    I know it's an old video, but does anyone know how to show a foreign key in chen notation

  • @rinavenhlovska2279
    @rinavenhlovska2279 7 ปีที่แล้ว +2

    Thank you, dear author, you literally saved my life!

    • @NorwalkAberdeen
      @NorwalkAberdeen  7 ปีที่แล้ว

      Ne za chto!

    • @dayday8421
      @dayday8421 6 ปีที่แล้ว +1

      OK, you have to explain as this sounds like an amazing story.... or did you just use literally incorrectly?

  • @chelangatjobchemorput903
    @chelangatjobchemorput903 5 ปีที่แล้ว

    i have followe you explanation but may you please clarify on how to list assumptions and how to write a data documentation for the ER diagram

  • @professorposh4146
    @professorposh4146 4 ปีที่แล้ว

    What about Mandatory and Optional relationships?

  • @Imrankhan-nn5kp
    @Imrankhan-nn5kp 7 ปีที่แล้ว +1

    Thank you!!

  • @icpit
    @icpit 9 ปีที่แล้ว +5

    5:37 That Laugh LOOOOOL!! its a great video though, Really helped. Thumbs up

  • @masoudghahremani7913
    @masoudghahremani7913 2 ปีที่แล้ว

    merci beacoup de votre explication claire monsieur.

  • @circadianite
    @circadianite 9 ปีที่แล้ว +6

    I got so curious from the comments I had to skip forward to hear the laugh before I could concentrate lol.

  • @wilomuyoma8412
    @wilomuyoma8412 8 ปีที่แล้ว +1

    Thank you!

  • @pavelsavelev2560
    @pavelsavelev2560 ปีที่แล้ว

    Really helpful , thank you

  • @raenastra
    @raenastra 7 ปีที่แล้ว

    What are primary and foreign keys?

  • @abhineshchandra6718
    @abhineshchandra6718 7 ปีที่แล้ว

    it was very good sir...thanks...

  • @yuvrajsingh-yn3xd
    @yuvrajsingh-yn3xd 3 ปีที่แล้ว

    Which geomatric shape is used to represent entity relationship in er diargram ?????

  • @Seftehandle
    @Seftehandle ปีที่แล้ว

    very nice video. thank you for the recomendations from learn sql from data science coursera course

  • @toluwabanjoko6620
    @toluwabanjoko6620 2 ปีที่แล้ว

    Thank you! I got over the hate significantly after watching this video😇

  • @pratiksapkota5083
    @pratiksapkota5083 ปีที่แล้ว

    i have an entity (staff). each of the staff members are managed by zero or one staff members, except Jane Thomas who does not have a manager. The staff members may manage zero or more staff members. Attributes for the staff are (ID, Names, Sex and Age)

  • @aleonalabran103
    @aleonalabran103 4 ปีที่แล้ว

    Small correction: since each course can have a varying number of lectures i.e. Kn, then under the "Lecture" entity box instead of n it should say Kn, and to the left of the "Lecture" entity box instead of n it should say (n x Kn) - since every user can watch a maximum of all the lectures in the n courses.

  • @therealborischang
    @therealborischang 7 ปีที่แล้ว +1

    Chen style takes u- a lot of diagram space by having attributes in individual ovals, and relationships in diamonds instead of just plain lines.

    • @NorwalkAberdeen
      @NorwalkAberdeen  7 ปีที่แล้ว +1

      That is true, and they can give the impression that the relationships are entities rather than just descriptors. Couple things to watch out for.

  • @jasonkladas7827
    @jasonkladas7827 3 ปีที่แล้ว

    Good job!

  • @germiljohnsagun8452
    @germiljohnsagun8452 3 ปีที่แล้ว +3

    4:55 still confuses me, I mean, can we just use 'm' for both sides? Cause it still means multiple, right?

    • @bibblybopbops441
      @bibblybopbops441 3 ปีที่แล้ว

      I'm coming from a Maths background, so bare in mind I'm new to this and could be wrong. However, in Maths it would be convention to label them differently due to them being different sets. You could have a different number of courses and users, but still have multiple of each. Therefore we are clarifying that these numbers can be different, where as if we just had both of them as M, there could be an implication that they are the same number.

  • @farukyldrm8498
    @farukyldrm8498 ปีที่แล้ว

    if I understand it correctly, in the diagram at 8:00 I thnk there is a typo in the relation "has", a course has multiple lectures (it can participate in multiple "has" reln instance)
    but a lecture belongs to 1 course, (a lecture can be seen at most one reln instance in the "has" reln set). so, the connection labels 1 and n are not in the correct places, they should be replaced.

  • @D7ooM442
    @D7ooM442 7 ปีที่แล้ว +1

    you make me love them , thx bro ^_^

  • @kangemanmaipmokiuah226
    @kangemanmaipmokiuah226 8 ปีที่แล้ว +13

    MY 9minits not wasted

  • @vinoddiwan5792
    @vinoddiwan5792 4 ปีที่แล้ว

    Which books should I read to gain this kind of knowledge.

  • @madushanprathap9901
    @madushanprathap9901 3 ปีที่แล้ว

    Thank You

  • @devinjones1455
    @devinjones1455 7 ปีที่แล้ว +1

    thanks brother! Plain english is VERY helpful. BTW anyone ever tell you you sound like topher grace (eric from that 70's show)!

    • @NorwalkAberdeen
      @NorwalkAberdeen  7 ปีที่แล้ว

      Glad it's helpful! And ha, no, I've never heard that until now :)

  • @emirzmen
    @emirzmen 2 ปีที่แล้ว

    Thanks a lot

  • @honprarules
    @honprarules 4 ปีที่แล้ว

    Anyone else here from the Coursera link?
    This is a great video!

  • @aryaa3998
    @aryaa3998 5 ปีที่แล้ว

    that soundtrack at the beginning woke me up

  • @genrevefernandez195
    @genrevefernandez195 4 ปีที่แล้ว

    Thank you!!!

  • @geraldineorieoma7169
    @geraldineorieoma7169 6 หลายเดือนก่อน

    Thank you

  • @elie3423
    @elie3423 6 ปีที่แล้ว

    Thanks !

  • @sahanbakmiwewa178
    @sahanbakmiwewa178 9 ปีที่แล้ว +1

    Thanks :)

  • @meesie1
    @meesie1 8 ปีที่แล้ว +1

    How many database tables do you need if you have an ER diagram of: user studies course? Do I only have a user and course table with their attributes, or do I need a 3rd table called study?

    • @jeanelbicho3
      @jeanelbicho3 8 ปีที่แล้ว +1

      +meesie1 hello friend, I'm studying computer science probably just as you and what we do is we have 3 tables for an entity - relationship - entity it is a little expensive in the database however this system is used to know exactly what could be the worst scenario for our database if we use a relational system and how much memory we need to assign to the database

    • @NorwalkAberdeen
      @NorwalkAberdeen  7 ปีที่แล้ว +1

      Sorry - missed your question somehow!
      Just like Jean said, there is a third table.
      In this case, it might be called UserCourseMappings or something similar. And the mapping table just contains a column for the UserId and a column for the CourseId. Together those two columns comprise a composite primary key. I believe that's the most common practice. This third table also could be used if you have attributes of the relationship itself (just make additional columns in the mappings table).

  • @haru4901
    @haru4901 ปีที่แล้ว

    not bad this sums up my first week in 9 minutes

  • @HemanthChandra
    @HemanthChandra ปีที่แล้ว

    thank you

  • @ayilareese3655
    @ayilareese3655 5 ปีที่แล้ว

    very helpful

  • @temelreis381
    @temelreis381 4 ปีที่แล้ว

    "And we connect them to whatever Entity or Attribute they are an Attribute of"
    Uhh.. Did you mean Relationship? I'm taking notes so i wanted to get everything right..

  • @sayyiedmohammed1101
    @sayyiedmohammed1101 2 ปีที่แล้ว

    Thanks

  • @chryskou8893
    @chryskou8893 9 ปีที่แล้ว +1

    Can you please explain the attributes, that belong to relationships?

    • @NorwalkAberdeen
      @NorwalkAberdeen  9 ปีที่แล้ว +5

      Hi, it's Don Hussey, the instructor.
      We don't use attributes on relationships nearly as often as we do on entities. But they're the same concept -- descriptors or data elements that are attached to the relationship.
      One example... Look at the ERD in 7:53. See the "Watches" relationship at the top-left of the diagram? Now imagine an attribute coming out of that called "In One Sitting". And for our purposes we can assume that's a Yes/No attribute that tells whether or not the User watches the Lecture in one sitting.
      It's an attribute of the *relationship* because it's not an attribute of the user. Neither is it an attribute of the lecture... It's an attribute of the interaction between the two.
      Let me know if this doesn't make sense. They're kind of wacky and seldom used.

    • @chryskou8893
      @chryskou8893 9 ปีที่แล้ว +1

      Seventh Morning LLC Thank you very much,you really helped me a lot...

    • @jennaprice5563
      @jennaprice5563 6 ปีที่แล้ว

      Thank you this is really clear!

  • @RizalHilman
    @RizalHilman ปีที่แล้ว

    Why use "n" when it can be represent as "m" ? N and M both mean "more than one" right?

  • @ismailkapasi5670
    @ismailkapasi5670 2 ปีที่แล้ว

    What is the difference between m and n, why is there n in one place and m in the other?

  • @nadiasaud2636
    @nadiasaud2636 ปีที่แล้ว

    @ 2:50- wasn't that an example of many-to-one? many-to-one isn't listed among the types of cardinality. Can someone please help me understand this part better?

  • @jiaolee6158
    @jiaolee6158 ปีที่แล้ว

    thanks

  • @hikariwuff
    @hikariwuff 3 ปีที่แล้ว +6

    Oh my LORD, my teacher taught this badly

  • @mahmoudkhalaf5162
    @mahmoudkhalaf5162 7 ปีที่แล้ว

    thanx alot

  • @breakdancerQ
    @breakdancerQ 7 ปีที่แล้ว +2

    I have this shit on school, thanks for making things clear. Still very much in period of hating these tho :p

    • @padmaja3836
      @padmaja3836 5 ปีที่แล้ว

      I was from biology, physics, chemistry and math group in my school. I took the Information Technology course in university. No one explained this ER diagram very well and I used to hate it. I agree with this coach. I now understand it better. Thanks for the good video.