Entity-Relationship Diagrams

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 166

  • @dayday8421
    @dayday8421 7 років тому +66

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

    • @NorwalkAberdeen
      @NorwalkAberdeen  7 років тому +6

      David, thanks for your kind words!

    • @jr1152
      @jr1152 5 років тому +1

      @@NorwalkAberdeen make more tutorial vids please

  • @johnhurley8918
    @johnhurley8918 9 років тому +144

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

  • @Rad-pt9wp
    @Rad-pt9wp 3 роки тому +5

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

  • @janinearif7850
    @janinearif7850 6 років тому +9

    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.

  • @seabus.2003
    @seabus.2003 2 роки тому +53

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

  • @Stagedrengen
    @Stagedrengen 3 роки тому +5

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

  • @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!

  • @TheWaveism
    @TheWaveism 6 років тому +2

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

  • @mahmoudsharshira1690
    @mahmoudsharshira1690 Рік тому

    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!

  • @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  9 років тому +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!

  • @lifeviz28568
    @lifeviz28568 3 роки тому +3

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

  • @sukhammittal7630
    @sukhammittal7630 5 років тому +1

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

  • @scimitar4211
    @scimitar4211 8 років тому +5

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

  • @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.

  • @NorwalkAberdeen
    @NorwalkAberdeen  10 років тому +38

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

  • @baqirhusain5652
    @baqirhusain5652 2 роки тому

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

  • @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.

  • @princessteeana8834
    @princessteeana8834 8 років тому +3

    Very clear and concise explanation, thank you!!

  • @gnomesonfire1
    @gnomesonfire1 10 років тому +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(

  • @mr.commonsense6645
    @mr.commonsense6645 Рік тому

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

  • @NorwalkAberdeen
    @NorwalkAberdeen  7 років тому +1

    @Louise cris -- UA-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.

  • @kasperlarsson7598
    @kasperlarsson7598 7 днів тому

    Is GPT right in saying it does not matter if you write M:N or N:M?

  • @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  8 років тому +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).

  • @nadiasaud2636
    @nadiasaud2636 2 роки тому

    @ 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?

  • @rinavenhlovska2279
    @rinavenhlovska2279 8 років тому +2

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

    • @NorwalkAberdeen
      @NorwalkAberdeen  8 років тому

      Ne za chto!

    • @dayday8421
      @dayday8421 7 років тому +1

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

  • @hobieperez8144
    @hobieperez8144 3 роки тому

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

  • @abdelbadiakaramostefa8908
    @abdelbadiakaramostefa8908 2 роки тому

    I want to thank you a lot for this explanation.

  • @abhishekghimire3539
    @abhishekghimire3539 Рік тому

    Clear and concise. Thank you sir!

  • @bigchiefnoble6077
    @bigchiefnoble6077 4 роки тому

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

  • @roosman5322
    @roosman5322 8 років тому +1

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

  • @bharatiya804
    @bharatiya804 2 роки тому

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

  • @smoothie9931
    @smoothie9931 4 роки тому +1

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

  • @osamamohamedos2033
    @osamamohamedos2033 2 роки тому

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

  • @brand1974
    @brand1974 9 місяців тому

    Great video. This explains a lot.

  • @tarunverma4935
    @tarunverma4935 6 років тому

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

  • @yuvrajsingh-yn3xd
    @yuvrajsingh-yn3xd 4 роки тому

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

  • @professorposh4146
    @professorposh4146 4 роки тому

    What about Mandatory and Optional relationships?

  • @honprarules
    @honprarules 4 роки тому

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

  • @vinoddiwan5792
    @vinoddiwan5792 4 роки тому

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

  • @mbenyane
    @mbenyane Рік тому

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

  • @louisecris8288
    @louisecris8288 7 років тому

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

  • @alleluiawoluba3601
    @alleluiawoluba3601 3 роки тому

    Simple and great explanation. Thanks

  • @essas.coisas
    @essas.coisas 3 роки тому

    Wow thanks for the easy explanation !

  • @8Trails50
    @8Trails50 10 років тому

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

  • @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

  • @realdolantrump
    @realdolantrump 10 років тому +2

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

  • @toluwabanjoko6620
    @toluwabanjoko6620 2 роки тому

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

  • @chryskou8893
    @chryskou8893 10 років тому +1

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

    • @NorwalkAberdeen
      @NorwalkAberdeen  10 років тому +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 10 років тому +1

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

    • @jennaprice5563
      @jennaprice5563 7 років тому

      Thank you this is really clear!

  • @RizalHilman
    @RizalHilman 2 роки тому

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

  • @therealborischang
    @therealborischang 8 років тому +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  8 років тому +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.

  • @JayasuryanChandrasekharCMF
    @JayasuryanChandrasekharCMF Рік тому

    Simply amazing!

  • @raenastra
    @raenastra 8 років тому

    What are primary and foreign keys?

  • @haru4901
    @haru4901 2 роки тому

    not bad this sums up my first week in 9 minutes

  • @НадяВасильева-ш6б
    @НадяВасильева-ш6б 4 роки тому

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

  • @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 :)

  • @elianj.gonzalez3886
    @elianj.gonzalez3886 9 років тому +2

    i finally understand these THANK YOU

  • @lazaros.v8626
    @lazaros.v8626 8 років тому

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

  • @xdebugger123
    @xdebugger123 2 роки тому

    Thank you sir very imformative and clearly explained the symbols

  • @vinayabeveney5201
    @vinayabeveney5201 8 років тому +1

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

  • @ejaywillie
    @ejaywillie 8 років тому +1

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

  • @ismailkapasi5670
    @ismailkapasi5670 2 роки тому

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

  • @pratiksapkota5083
    @pratiksapkota5083 2 роки тому

    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)

  • @augustoliver351
    @augustoliver351 5 років тому

    Hi. Is there many to one? Thanks.

  • @jyotijangra388
    @jyotijangra388 7 років тому +1

    great tutorial man, kudos!

  • @careyannesh
    @careyannesh 10 років тому +6

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

  • @Seftehandle
    @Seftehandle Рік тому

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

  • @datasciencewithshreyas1806
    @datasciencewithshreyas1806 3 роки тому

    Superb video, thank you so much.

  • @AmitKumar-xn6vg
    @AmitKumar-xn6vg 9 років тому +1

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

  • @Tanveer048
    @Tanveer048 2 роки тому

    easily understood .. thanks sir

  • @pavelsavelev2560
    @pavelsavelev2560 2 роки тому

    Really helpful , thank you

  • @gauthamp7169
    @gauthamp7169 7 років тому

    you saved my day ...brilliant

  • @BharatPawar13
    @BharatPawar13 8 років тому

    Hello guys i am going to draw an Entity relationship diagram for my website admin panel..I have only one entity in my project that is admin itself.now e.g i want to show process like admin can sends email? then how can i show this process in Entity relationship diagram?
    Because email is not an entity so i am little bit confuse about that.thanks

    • @NorwalkAberdeen
      @NorwalkAberdeen  8 років тому

      For the situation you're describing, an ER diagram won't work well. They don't illustrate processes at all. You will probably want a simple (or swim lane) flow chart.

    • @BharatPawar13
      @BharatPawar13 8 років тому

      yup..thnx bro...do u have any ERD or swim lane diagrame for website admin panel bro?

    • @NorwalkAberdeen
      @NorwalkAberdeen  8 років тому

      No, but I'm sure they're out there on the Googles somewhere. Instead of thinking about flowcharts for the admin panel itself. Try to figure out what functions the admin panel enables -- those are likely going to be the processes you need to diagram in the flows.

    • @BharatPawar13
      @BharatPawar13 8 років тому

      yes bro..thnxx again..

  • @AK476056
    @AK476056 4 роки тому

    Very helpful for A level, thank you

  • @icpit
    @icpit 10 років тому +5

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

  • @DeepSukhwani
    @DeepSukhwani 8 років тому

    Thats a very helpful explanation. Thanks so much!

  • @Oz007
    @Oz007 8 років тому +1

    Life saving :) much thanks

  • @hikariwuff
    @hikariwuff 4 роки тому +6

    Oh my LORD, my teacher taught this badly

  • @danielangelomaniego1796
    @danielangelomaniego1796 8 років тому +2

    Many thanks, it helped me alot :)

  • @kangemanmaipmokiuah226
    @kangemanmaipmokiuah226 9 років тому +13

    MY 9minits not wasted

  • @masoudghahremani7913
    @masoudghahremani7913 2 роки тому

    merci beacoup de votre explication claire monsieur.

  • @wilomuyoma8412
    @wilomuyoma8412 9 років тому +1

    Thank you!

  • @jasonkladas7827
    @jasonkladas7827 4 роки тому

    Good job!

  • @hcbros105
    @hcbros105 3 роки тому +1

    "I actually used to hate these"😂😂

  • @11111ally
    @11111ally 5 років тому

    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.

  • @antoniogonzalez2157
    @antoniogonzalez2157 5 років тому

    Coursera?

  • @Thezizoubear
    @Thezizoubear 7 років тому

    Excellent, thank you!

  • @madushanprathap9901
    @madushanprathap9901 4 роки тому

    Thank You

  • @yosin12
    @yosin12 9 років тому

    Good video, thanks.

  • @abhineshchandra6718
    @abhineshchandra6718 7 років тому

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

  • @yunzanhu1005
    @yunzanhu1005 8 років тому

    Thanks

  • @elie3423
    @elie3423 7 років тому

    Thanks !

  • @oz1213-u4x
    @oz1213-u4x 2 роки тому

    Thanks a lot

  • @ayilareese3655
    @ayilareese3655 6 років тому

    very helpful

  • @Muzaini42
    @Muzaini42 8 років тому +1

    you make me love them , thx bro ^_^

  • @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..

  • @aryaa3998
    @aryaa3998 5 років тому

    that soundtrack at the beginning woke me up

  • @nanakworld
    @nanakworld 2 роки тому

    coursera course brought me here UC Davis spec on SQL

  • @benjamindemontgomery6317
    @benjamindemontgomery6317 7 років тому

    good video should redo the voice when not having a cold, jea im subscribed very good content .

  • @mahmoudkhalaf5162
    @mahmoudkhalaf5162 7 років тому

    thanx alot

  • @breakdancerQ
    @breakdancerQ 8 років тому +2

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

    • @padmaja3836
      @padmaja3836 6 років тому

      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.