Entity Relationship Diagram (ERD) Tutorial and EXAMPLE

Поділитися
Вставка
  • Опубліковано 10 січ 2025

КОМЕНТАРІ • 89

  • @thebadoc
    @thebadoc  2 роки тому +5

    Be sure to SUBSCRIBE for regular BA training and tips!
    Also, For Business Analysis TEMPLATES that will help facilitate the requirements analysis and documentation process, check out our BA Templates and Elicitation Questions Package here: the-business-analysis-doctor-self-paced-learning.thinkific.com/courses/business-analysis-template-package

  • @RJFlash
    @RJFlash 9 місяців тому +17

    This tutorial was more helpful, straightforward, and informative than the first 5 chapters of my textbook that was assigned for Data Management course. Thank you for this incredibly helpful material.

    • @thebadoc
      @thebadoc  9 місяців тому +1

      WOW! I'm am so glad I was able to add value to your learning experience. This is so encouraging to keep creating this type of content! You might also find my tutorials on Data Flow Diagrams and Sequence Diagrams useful as well. All the best on your studies!

  • @Vanessaaaa12-1
    @Vanessaaaa12-1 6 днів тому

    ERD: Turning database chaos into crystal-clear logic, one crow's foot at a time! Finally, a tutorial where relationships make more sense than my dating life! Thanks!

  • @VeiseLeeQuilloy
    @VeiseLeeQuilloy Рік тому +7

    I need this kind of tutorial in the database, easy to understand and very comprehensive I'm leaving 10/10, thank you

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

      Thank you so much for that awesome review! I'm do glad I could present the information in a way that is easy to consume! I hope the information serves you well! Also, check out my videos on the data flow diagram and sequence diagram. You might find those helpful as well. Cheers!

  • @masonsingleton3037
    @masonsingleton3037 2 роки тому +5

    You explained this so well! So many people have tried to train me on this and some of the concepts never made sense until now. Thank you so much.

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

      You are most welcome! Glad I was able to give you a new outlook on the technique.

  • @e.denise1450
    @e.denise1450 2 роки тому +8

    This was great! Thanks for sharing the tip about the noun technique. I've always found identifying which entities to include to be a challenge.

    • @thebadoc
      @thebadoc  2 роки тому +1

      Excellent! Happy to provide the insight! I hope it makes your next ERD more effective!

    • @masonsingleton3037
      @masonsingleton3037 2 роки тому +1

      Yep. Determining the entities was stuff for me too. Now I know how 😃.

  • @jings0nline
    @jings0nline Місяць тому +1

    This video is tooo good and underrated.

    • @thebadoc
      @thebadoc  Місяць тому

      Thank you so much for that feedback and for watching! Glad you enjoyed the video.

  • @SchandYu
    @SchandYu 4 місяці тому

    This was such a clear and informative discussion of ERDs! You made everything so easy to understand, especially with the example at the end. I feel confident enough to start creating my own ERD now. Thanks for making these concepts so understandable, Dr. White!

    • @thebadoc
      @thebadoc  4 місяці тому

      Excellent! I'm so had to hear that you are now confident enough to attempt designing an ERD. Let me know how it goes.

  • @molefimalao2927
    @molefimalao2927 21 день тому

    your explaination is clear as cristal, much appreciated.

    • @thebadoc
      @thebadoc  20 днів тому

      Excellent! I'm glad the content resonated with you. I hope this info on the entity relationship diagram serves you well.

  • @smtxtv
    @smtxtv 9 місяців тому +2

    Good presentation and effective explanation. Thanks ! Asst. due.

    • @thebadoc
      @thebadoc  9 місяців тому +1

      You are very welcome! I'm glad I was able to present the information in a way that resonated with you.

  • @emanuelarturorivasescobar1085
    @emanuelarturorivasescobar1085 Рік тому +2

    Man this is a great explanation, thanks a lot for your content

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

      Glad to be of service!

  • @ottiasedrick7934
    @ottiasedrick7934 Місяць тому

    The best I've watched 🎉

    • @thebadoc
      @thebadoc  Місяць тому

      I really appreciate your kind feedback! It means a lot to know that my content resonates with viewers like you! I hope it serves you well.

  • @OliviaMurray-g4y
    @OliviaMurray-g4y Рік тому +2

    This video is amazing!

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

      Thank you so much for that feedback! I hope you gained a lot from the video.

  • @higiniofuentes2551
    @higiniofuentes2551 9 місяців тому +1

    Thank you for this very useful video!

    • @thebadoc
      @thebadoc  9 місяців тому +1

      You're very welcome! Glad you found the information useful.

  • @emanuelarturorivasescobar1085
    @emanuelarturorivasescobar1085 Рік тому +1

    Man that great explanation, thanks a lot for your content

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

      You are very welcome! I'm glad you are finding the information valuable. Cheers!

  • @erikvillar9270
    @erikvillar9270 Рік тому +1

    This is a great explanation!! thank you!

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

      You're very welcome! Glad to share the info. Also, be sure to check out the other tutorials like this as well! Cheers!

  • @StellaV-z4t
    @StellaV-z4t Місяць тому

    Such a great and understandable description of ERDs! The division of mental, logical, and physical levels greatly aided my comprehension of how these representations develop. The library example was dead on. It made the concepts really approachable. Are there any ideas for dealing with contradictory business regulations while generating these diagrams? Thank you again for the amazing content!

    • @thebadoc
      @thebadoc  19 днів тому

      What a thought provoking question? To address contradictory business rules while generating entity-relationship diagrams (ERDs), start by identifying and documenting each conflicting rule in detail. Analyze the rules to determine their source, scope, and intended purpose. Engage stakeholders to clarify ambiguities and understand the rationale behind each rule. Use prioritization techniques, such as MoSCoW or decision matrices, to align rules with business goals and identify which take precedence. Where possible, restructure rules to harmonize them or create conditional logic within the data model. Iteratively validate the updated rules and ERD with stakeholders to ensure alignment and avoid further conflicts. I hope that points you in the right direction?

  • @baruchben-david4196
    @baruchben-david4196 8 місяців тому +1

    thank you for this clear explanation.

    • @thebadoc
      @thebadoc  8 місяців тому

      My pleasure! I'm glad I was able to clarify the concept for you.

  • @chanbella6941
    @chanbella6941 10 місяців тому +1

    Best tutorial

    • @thebadoc
      @thebadoc  10 місяців тому +1

      Thank you so much for those kind words. I'm glad you enjoyed the content!

  • @tg8799
    @tg8799 Рік тому +3

    In the last slide, the Book to Renewal relationship - I understand the premise but there is no Book ID in the Renewal table or a Renewal ID in the Book table... is this correct? How can a relationship be established here if there is no connection in relation?

    • @thebadoc
      @thebadoc  Рік тому +3

      Good Observation. Remember, when you are referencing a primary key in a table, you are pulling in all of the attributes that fall under that primary key. So by referencing the Checkout ID in the renewal table, that will pull in the Book ID (foreign key) from the checkout table. I hope that helps!

  • @GabriellaVegasss
    @GabriellaVegasss 5 місяців тому

    This tutorial does a great job of explaining ERD fundamentals! Good work. Btw, what are some common mistakes to avoid when creating an ERD? Thanks!

    • @thebadoc
      @thebadoc  5 місяців тому +1

      Thank you and you're welcome. A common mistake is overcomplicating the diagram by adding too much detail that can make the ERD difficult to read and understand. It's important to focus on the key elements needed to convey the relationships and structure of the data.

    • @GabriellaVegasss
      @GabriellaVegasss 5 місяців тому

      @@thebadoc Thanks for answering!

  • @Itstollol
    @Itstollol 9 місяців тому +1

    Thanks for the great explanation! I have a question - why didn't you add relatinoship between BOOK and CHECKOUT entities?

    • @thebadoc
      @thebadoc  9 місяців тому +1

      You are very welcome! Good observation. In this example, I didn't outline a business rule or requirement that would require me to display the relationship. Now, because I used the Book ID, which is Book's primary key as a "foreign key" in the Checkout entity, I technically should have included relationship lines to show their relationship. I hope that helps!

  • @விஜய்குமார்

    great bro

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

      Thanks for the feedback and for watching!

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

    Well done and easy to understand.

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

      Thanks for the feedback! Much appreciated!

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

    Nice overview of the bad old ERD - two things. Firstly, the ERD approach scares people - so many weird words - entity, cardinality, domains, nouns, primary key, foreign key. It's simply a way of describing a system so that a coder can use it to construct a Database. Why are we still doing this? BAs DO develop an understanding of the "System Model" (Types of objects / entities and their associations to other objects in the System) e.g. "Book" -> [author] -> "Contact" - a very simple vision of a system. That's all that is needed! Software can take it from there. Secondly, by dropping the ERD and using a system model approach, it is a much easier and better way to comprehend the System at the correct level of granularity for the process being developed. Of course, as you state, the ERD is really necessary for the coder. But imagine that once you have built your system model you can build your complete system WITHOUT using a software coder. That's what NoCode is all about. Let's move away from software design methods for the last millennium!

    • @thebadoc
      @thebadoc  2 роки тому +3

      That's an interesting perspective. While I do love NoCode, unfortunately, not every organization has picked up this trend. So, in order for a BA or DA to be truly effective and versatile in any organization, they need to be adept in various methods of modeling systems. There's rarely a one size fits all approach. 😀

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

      The thing about Product Owners is that they trust us, the BA's. We talk "human". we are part of the translation from Product owner to coder. No Code suits the BA down to the ground. You should give it a go. Means we become the developer, not just the conduit, opens a whole new chapter in software development, innovation, business security and on-going management. @The Business Analysis Doctor, LLC

    • @thebadoc
      @thebadoc  2 роки тому +1

      I've actually been on a few no code projects in the past that involved building out workflows. I must admit it was liberating. But at the same time, being that close to the code takes away from the time I get to spend doing more strategic work. Which is an area I strive in. But I definitely think no code environments are great for those who prefer to be more hands on with the code while also having more autonomy.

  • @ludespaho5373
    @ludespaho5373 9 місяців тому +1

    i want help with an exercise that i have in the databas!Describe the type of relationship between STORE and ZONE
    reles ERD that reflect the relationship between the STORE and ZONE
    Describe the types of relationships between the WORKER and the SHOP.(each shop employs many workers,one of them manges the shop)
    create the ERD that reflect the relationship between STORE,ZONE and WORKER
    Create the rational diagram

    • @thebadoc
      @thebadoc  9 місяців тому +1

      Hi, Lude! I'd love to help you with your exercise! The best forum for this would be a coaching session. you can book a session via the calendar below and we can discuss the details further: thebadoc.com/services/ola/services/one-on-one-coaching-session
      Looking forward to working with you.

  • @SamuelArthur-z3p
    @SamuelArthur-z3p Рік тому +1

    My system basically allows lecturers to upload notes and allows students to view, as well submit quizzes. Lecturers can then view the submission and upload assessment for students to view. My entities are quite unclear to me. I've got Student and Admin as my entities only, would there be any other?

    • @thebadoc
      @thebadoc  Рік тому +1

      Hi, Samuel! When you outline the requirements and processes that exist within the system or domain, you need to identity and extract any "noun" within those processes. Any noun that the organization wants to track and is required for the process to be completed is what you need to include in the ERD. So based on the bit of information provided the entities would likely be lecturers, lecture/lesson, student, notes, and admin if they are different from the lecturer. I hope that helps.

  • @shanabenjamin8945
    @shanabenjamin8945 8 місяців тому +1

    Thank you :) ❤

    • @thebadoc
      @thebadoc  8 місяців тому

      You are very welcome! Thank you so much for watching!

  • @BluezConcepts
    @BluezConcepts Рік тому +1

    Should you link book with check out? Since youre pulling the book id as a fk? Doesnt it need a direct link?

    • @thebadoc
      @thebadoc  Рік тому +2

      Good question! It's not necessary to show the relationship between the foreign key attribute and the original entity, but it can be beneficial for understanding the structure of your database, especially in complex databases. Especially at the physical level.

  • @rizabhandari545
    @rizabhandari545 Рік тому +1

    could you please make some videos about writing user stories in agile with some examples

    • @thebadoc
      @thebadoc  Рік тому +1

      Hi Riza! You're in luck! Check out the following video on User Stories in Agile: ua-cam.com/video/q26147zlcMU/v-deo.html
      Let me know if this helps!

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

      @@thebadoc thank you so much

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

      @@rizabhandari545 You are very welcome! I hope it helps!

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

    Good work

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

      Hi, Cindy! I appreciate the feedback. Thanks for watching!

  • @silverletsgo6344
    @silverletsgo6344 8 місяців тому +4

    I wasn't expecting that accent 😂😂😂

    • @thebadoc
      @thebadoc  8 місяців тому

      Ha! I've heard that before. Curious what type of accent you were expecting.

  • @vincentkaikai
    @vincentkaikai 10 місяців тому +1

    what about erd using crossfoot

    • @thebadoc
      @thebadoc  10 місяців тому

      Thanks for watching! The ERD in the example is using crow's foot notation. It's also discussed in the notation section of the lesson. I hope that helps!

  • @aydn7246
    @aydn7246 Рік тому +1

    i have prepare a erd for airline

    • @thebadoc
      @thebadoc  Рік тому +1

      Wow ...that sounds interesting! I hope the video provides some guidance to you. Let me know how it goes!

  • @MaryamMuradi-l3o
    @MaryamMuradi-l3o 5 місяців тому

    this was so hard to understand, I've been studying database for a few months now and found erd confusing so went to watch some video. This one just used such a hard way of explaining stuff and the concepts and everythign just made it so hard to focus and udnerstand.

    • @thebadoc
      @thebadoc  5 місяців тому

      Thanks for the feedback. I'll take it into consideration though it's counter to the typical response. Just curious if you can provide an example of one of the areas you found hard to follow?

  • @VitaliiKholmukhamedov-z6q
    @VitaliiKholmukhamedov-z6q Рік тому +1

    What the hell is sensco?

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

      Ha! Should be "sensical" 😁

  • @CaliEi
    @CaliEi 8 місяців тому +1

    2/5/2024

    • @thebadoc
      @thebadoc  8 місяців тому

      Thank you for stopping by and watching the content!

  • @LipiAktar-n8p
    @LipiAktar-n8p 4 місяці тому

    Martin Brenda White Sharon Hernandez Matthew

    • @thebadoc
      @thebadoc  4 місяці тому

      Thanks for watching!

  • @koalak7456
    @koalak7456 3 місяці тому +3

    Honestly bro, that haircut is doing you dirty. I suggest trying out a new hairstyle or do videos with a fresh cut. Anyways nice vid.

    • @thebadoc
      @thebadoc  3 місяці тому +3

      Ha! Thanks for the unsolicited advice. Glad it didn't distract you from understanding the content.

    • @crums6610
      @crums6610 2 місяці тому

      💀💀

  • @yinhlamakamu2624
    @yinhlamakamu2624 Рік тому +4

    calm down it looks like you're about to pop out of the screen when the video begins

    • @thebadoc
      @thebadoc  Рік тому +13

      Ha! I am... I'm popping out to grab your attention! Thanks for watching.

    • @yinhlamakamu2624
      @yinhlamakamu2624 Рік тому +3

      @@thebadoc nice one🤣🤣

  • @DeniseGomezz
    @DeniseGomezz 2 місяці тому

    This ERD tutorial was quite clear and detailed! I like how you broke down each section, particularly the explanations of primary keys, foreign keys, and relationships. Using the library book circulation example made everything clear. It's such a familiar scenario. I also found your description of conceptual, logical, and physical models really useful, particularly in bridging the gap between business and technical teams. Quick question, how do you decide which level of abstraction to utilize (conceptual, logical, or physical) and when to switch between them in a project? Looking forward for your thoughts. Thanks!

    • @thebadoc
      @thebadoc  2 місяці тому +1

      The choice of abstraction level in ERD creation depends on the project’s stage and the level of detail needed for the team’s objectives at that moment. A conceptual ERD is used at the early stage of a project, especially during initial requirements gathering and stakeholder discussions, where the focus is on understanding the core data entities and general relationships. Move to a more detailed model once stakeholders agree on what the main entities and their relationships are. This model often serves as the starting point for the logical ERD.

    • @DeniseGomezz
      @DeniseGomezz 2 місяці тому

      @@thebadoc Thanks for taking time to answer my question. Appreciate it!