Database Lesson #4 of 8 - Data Modeling and the ER Model

Поделиться
HTML-код
  • Опубликовано: 9 июл 2024
  • Dr. Soper gives a lecture on data modeling and the entity-relationship (ER) model. Topics include the components of ER models, depicting entities, attributes, relationships, and cardinalities in ER models, one-to-one, one-to-many, and many-to-many relationships, strong and weak entities, identifying and non-identifying relationships, supertypes and subtypes, and recursive relationships in data models.

Комментарии • 200

  • @ziadcs5309
    @ziadcs5309 Год назад +62

    Dear Dr Daniel
    I just wanted you to know
    That I am a computer science student who lives in Syria
    With very Poor financial conditions so I cannot afford for private tutors to teach me dbms
    I'm so grateful for the high quality knowledge you provide here for free
    Words cannot describe how thankful I am
    Wish you all the best

    • @dgenerationbigestfan
      @dgenerationbigestfan 10 месяцев назад +6

      please keep us updated on your progress. Us here are interested in how you end up!!!

    • @ziadcs5309
      @ziadcs5309 10 месяцев назад

      I appreciate your kindness, the situation here is very bad in all aspects, unfortunately I'm just doing the bare minimum to pass my courses at university, the electricity here is available only 3/24 (three hours a day at its best), I think I'm graduating next year, but I think its hard for me to get to the real job market, I may start learning web development (in case things does not go worse!!). thanks for your comment again it made my day, wish you a nice day @@dgenerationbigestfan

  • @Blue4736.
    @Blue4736. 5 лет назад +113

    Requirements to ER model
    5:15
    Entity class v entity instance
    6:50
    Entity class v entity instance visual
    10:30
    Attributes
    11:20
    Identifiers [keys]
    13:10
    Types of keys
    13:50
    Level of entity attribute display
    16:45
    Relationships
    18:50
    Conceptual unary relationship
    21:20
    Conceptual binary relationship
    Conceptual ternary relationship
    One or many connections
    23:12
    One-to-one binary relationship
    24:10
    One-to-many binary relationship
    25:00
    Conceptual many to many binary relationship
    Note: can’t build a direct conceptual many to many in a db. Need
    a middle table….extra entity
    25:40
    Conceptual many to many binary relationship/ extra entity
    26:50
    Maximum cardinality
    27:20
    Minimum cardinality
    28:40
    Crows foot symbols
    29:20
    Cardinality example
    33:20
    Er diagrams
    34:40
    Has -a-relationship
    36:00
    Strong and weak entities
    36:30
    Id-dependent weak entities
    38:00
    Weak entity relationships
    40:00
    Weak entity identifier/ non-id dependent
    41:30
    42:10
    Subtype entities
    44:00
    Subtype entity identifiers
    47:30
    Subtype entity examples
    Recursive relationship
    53:00

  • @mgray999
    @mgray999 4 года назад +3

    You're better than my prof. I've been anxious about this class because the lectures cover just spouts of info and not the details. Thanks for this!

  • @GameFraper
    @GameFraper 9 лет назад +237

    Paying 9 grand for uni and get a useless pdf as a resource. Pay nothing for an hour long, detailed, easy to understand video. This is just so wrong

    • @ervincasiguran
      @ervincasiguran 9 лет назад +5

      i feel you

    • @BraulioCespedesAcosta
      @BraulioCespedesAcosta 9 лет назад +9

      Fedil Al-Hayawi That's the new model of education. The same thing happened to me. I got a book of data base design from the library, Too complex for a beginner, but this video make thing easier.

    • @meyerjohannes
      @meyerjohannes 8 лет назад +12

      +Fedil Al-Hayawi It's a f***ing scam. I decided not to buy any textbooks this semester (except for one that I found an older edition for $5).
      It's so frustrating, they release new editions every couple years, and the only thing that changes is maybe the introduction and the end-of-chapter questions! And then when you finish the course, a $250 book is suddenly worth $60. Better to rent, but it's still a rip off.
      About to graduate, and the whole time I'm thinking when I walk the dean is going to hand me a paper, saying "here's your receipt".

    • @vayunandu
      @vayunandu 6 лет назад +2

      well said!

    • @promisennanemere4
      @promisennanemere4 5 лет назад

      I understand you bro. It can be that bad.

  • @SRHarkreader
    @SRHarkreader 8 лет назад +8

    Thank you so much Dr Soper; this is hands down, the best ERD tutorial I've ever watched. Great job!

  • @sabanaar
    @sabanaar 9 лет назад +16

    Thanks a lot Dr. Soper, best coverage on the data modeling and the entity-relationship (ER) model I have ever seen. You are one of the best teacher I have ever had.

  • @oreed
    @oreed 8 лет назад +5

    Dr. Soper, you are a great teacher. The content is so clear and easy to understand, the way you explain things is so logical, and your examples really help. Thank you for this!

  • @ginaonline83
    @ginaonline83 6 лет назад +10

    I've taken 2 database classes in the past but I've learned so much from your series of videos than I've learned in the classes, very detailed and easy to understand, thx u so much.

  • @bindenlibejohn7378
    @bindenlibejohn7378 Год назад

    If it must be done, It must be done well. Dr. you did it all . from simplicity through clarity to comprehensiveness. Bravoo!!!!!

  • @jimb6554
    @jimb6554 2 года назад +10

    At 20:56 I was having difficulty with the Person entity relating to itself with marriage. I was thinking “Aren’t 2 different entities getting married?”.
    Then I resolved the difficulty by realizing that A person entity is a table. While an employee table relating to a parking table is a binary relationship because it involves two tables, one person instance getting married to another person instance is a Unary relationship because it involves just one table which is why we also call it a reflexive relationship.

  • @lilitanikushkina1194
    @lilitanikushkina1194 7 лет назад +1

    Love everything about your lectures - the pace, the material, the structure, presentation and also the manner of speaking. Huge thanks!

  • @scienceklinic4584
    @scienceklinic4584 Год назад

    Saved the video in 2018 and watching in 2022. What a gem! Thank you so much, prof.

  • @hkrumble
    @hkrumble 6 лет назад +1

    Dr. Daniel Soper, thank you so much for this. This is by far the most clear, lucid explanation of data modeling and ERDs I've come across. Fantastic!

  • @prfgee8788
    @prfgee8788 6 лет назад +4

    Your method of presentation is second to none and your explanation is top notch. You deserve an award. Thank you!

  • @jephthah2347
    @jephthah2347 6 лет назад

    This is the best tutorial on this topic you'll find on the internet

  • @SrkySrky
    @SrkySrky 10 лет назад

    This is gold. The best lessons on RUclips.

  • @christopheropara6083
    @christopheropara6083 6 лет назад

    I thank God for creating people like you.

  • @pikkosaksa
    @pikkosaksa 10 лет назад

    a joy to refresh and learn with Dr. Soper. Thank you!

  • @tiyezx5993
    @tiyezx5993 6 лет назад

    Just came across your tutorials today after years of many challenges learning databases.
    I'll return to give feedback.
    Very positive comments so far about your work.
    Thank you

  • @hauteswan2541
    @hauteswan2541 8 лет назад +3

    This is a great addition to my non-lecture database class. I will recommend it to my class. Thank you.

    • @streetdogg4406
      @streetdogg4406 6 лет назад

      Kimberly wow. How easy is it being a teacher?

  • @pajhume
    @pajhume 10 лет назад

    Very clear and concise. Video elaborates on specific details that are critical to understanding the subject matter. A+ quality. Deeply appreciative of your generosity!!!

  • @tvd1826
    @tvd1826 6 лет назад

    Thank you Dr. Soper for this presentation. It has been a great help!

  • @BobTheBob647
    @BobTheBob647 8 лет назад +2

    Thank you for these videos, they have been incredibly helpful.

  • @fksheke1
    @fksheke1 9 лет назад

    Thank you Dr Soper. This is really amazing. God bless you.

  • @JFrameMan
    @JFrameMan 10 лет назад +6

    Very smooth and understandable explanation. Thanks a lot.

  • @vbreddy800
    @vbreddy800 9 лет назад

    That is is great lecture I ever had before. Thanks very much Dr. Soper.

  • @gideon17you
    @gideon17you 5 лет назад

    Dr. Soper, this is excellent. Thank you very much.

  • @binti3881
    @binti3881 6 лет назад

    this is the best video on Data Modeling . very clear and explanatory. well done prof.

  • @kaizhou8278
    @kaizhou8278 10 лет назад +1

    Thank you so much Dr. Daniel Soper.

  • @scottmacnevin3555
    @scottmacnevin3555 7 лет назад

    You have a teaching gift - like many others who have furnished a response - I currently study this topic at University. The teaching at my facility just isn't up to this standard when it comes to imparting concepts this clearly...I am almost at the end of your fourth video and feel I have such a good grasp of the concepts involved. Thank you

  • @jimc1499
    @jimc1499 7 месяцев назад

    Dr. Soper thank you for this great video series.

  • @madiyarabdukhashimov8570
    @madiyarabdukhashimov8570 4 года назад

    I have studied all those things at the university and I had no idea what the heck I was studying. I could barely get B0 (B-) for all preparing tests and exams with many not sleeping nights. I was just happy not to get FAIL.
    I have been watching this video with 1.5X speed and can't believe everything is so well explained and easy to understand!)

  • @agofpos
    @agofpos 9 лет назад +1

    37:07 "Any entity that is not a weak entity is called a strong entity" Very helpful.

  • @aaronsalifukoroma7994
    @aaronsalifukoroma7994 27 дней назад

    I appreciate your careful systemic explanation

  • @caseyobrien1082
    @caseyobrien1082 8 лет назад +30

    Why hasn't my prof done anything like this? I'm having to scour the internet to find a lecture on the subject. My professor just has us read the book, then gives us assignments. He offers no other learning resources whatsoever. Thankfully I've found this.

    • @GloriaCopeland563537
      @GloriaCopeland563537 8 лет назад

      Same here

    • @bhatz829
      @bhatz829 7 лет назад +2

      My professor doesn't even speak to me. Been asking about what I should do. I get this video. This isn't even on the chapter I am learning.

    • @noniboi1673
      @noniboi1673 5 лет назад

      My lecturer just gave us a pdf, which were slides from THIS series. huehuehe

  • @kanchapagimhara584
    @kanchapagimhara584 5 лет назад

    Great,perfect explanation.One of the best video tutorial in the youtube I have seen,I improved my Englilsh also as an extra benefit.

  • @nandhi19
    @nandhi19 8 лет назад +1

    Valuable learnings keep life FRESH😊 Thank you for your valuable lessons🙏

  • @geetatiku
    @geetatiku 10 лет назад

    Very useful.. Explaining it in a very simple way.. Thank You Dr. Soper.

  • @VinaySesham
    @VinaySesham 7 лет назад +1

    Excellent. Explanation is so simple and effective.

  • @delroyfrancis4491
    @delroyfrancis4491 10 лет назад +2

    Thanks for all you do;

  • @bedbathorybeyond
    @bedbathorybeyond 9 лет назад

    I am very stoked on these videos.

  • @neetuarya2252
    @neetuarya2252 8 месяцев назад

    Thanks a lot Dr. For this really informative lecture. Have a good day

  • @karnabudhathoki5311
    @karnabudhathoki5311 4 года назад

    I have no formal training on IT.yet these lectures give me an insight into the IT world...Thanks...from Nepal.I am learning a lot...

  • @sohaibkhan8835
    @sohaibkhan8835 6 лет назад

    Thank you so much Dr. Soper!

  • @gramirom
    @gramirom 2 года назад

    Amazing series Daniel! Thank you very much

  • @vadanmehta784
    @vadanmehta784 9 лет назад +2

    Dr Soper.. thank you very much for knowledge.. u made things so simple ..wow :)

  • @srv14evr
    @srv14evr 8 лет назад +1

    You are an awesome teacher!

  • @bettyseyfu8140
    @bettyseyfu8140 5 лет назад

    Thank you so much Dr.Daniel Soper, this is the best use full and understanding lecture I never had i'm thank full! if you have more continuing database lesson 9 Ext

  • @jim-ngormohkamara4805
    @jim-ngormohkamara4805 6 лет назад

    Dr. Soper you are a life saver

  • @ajharrisTX
    @ajharrisTX 8 лет назад

    Great presentation; well-spoken and thoroughly informative. Will definitely utilize your videos to supplement my AIS course!

  • @M00nShad00w
    @M00nShad00w 8 лет назад +9

    Thanks god for a video in RUclips I can understand

  • @ubongessien4934
    @ubongessien4934 10 лет назад

    Thank you for this presentation, this was very helpful.

  • @anvikshadixit4674
    @anvikshadixit4674 7 лет назад

    Very informative lecture . i was able to understand the data modelling in much better way. Thank you sooo much for making such a great video with great explanation. :)

  • @emperoy8
    @emperoy8 8 лет назад

    Great man done great Job. Thanks Dr. Soper

  • @fmartinez004
    @fmartinez004 5 лет назад

    I took introduction to Oracle SQL and this is bringing it all together for me.

  • @2002egncn
    @2002egncn 2 года назад

    Awesome series. Thanks so much!

  • @Cswaleomatic
    @Cswaleomatic 4 года назад

    Thanks a Million Professor!!!! God bless you.

  • @harryk1317
    @harryk1317 10 лет назад

    Thanks for the excellent presentation!

  • @kevinpaul3285
    @kevinpaul3285 10 лет назад +1

    Great work on the video series. Very informative.

  • @theamazingspiderplan
    @theamazingspiderplan 10 лет назад

    Thank you Dr. Soper!

  • @chaitanyavs
    @chaitanyavs 5 лет назад +3

    Thank you for this amazing lecture series! One feedback- I'd love to see more examples of how to read the diagrams depicting entity relationships- You explained the concept well but some more examples would help the viewers

  • @popularcomments3272
    @popularcomments3272 8 лет назад

    thank you dr for this amazing content

  • @csanadkozma7538
    @csanadkozma7538 8 лет назад

    Awesome vid! Now I understand the giant 20-30 entity diagrams in my work.now All I have to do is memorise them!

  • @zegeyewoldemariam9518
    @zegeyewoldemariam9518 9 лет назад +2

    that's really amazing God bless you

  • @weiniu5400
    @weiniu5400 9 лет назад

    Very helpful! Thanks a lot for sharing!

  • @BrokkoliSchleuder
    @BrokkoliSchleuder 10 лет назад

    wow, in this way (and length) every youtube video lesson should be. Nice!

  • @manhungchan5447
    @manhungchan5447 4 года назад

    Well done, Dr. Daniel Soper.

  • @deepakpathak9368
    @deepakpathak9368 4 года назад

    Great Videos and Very informative for building good concepts. Thanks.

  • @xolelamqikela4534
    @xolelamqikela4534 7 лет назад

    Writing business systems and analysis test in 12hours, thanks to Doc im gonna nail it

  • @medbee6067
    @medbee6067 7 лет назад

    very well explained Data Modelling and Entity Relationship Model. Thank you

  • @autumnking100
    @autumnking100 10 лет назад

    Thank you. Very well explained.

  • @zzhomeboy1
    @zzhomeboy1 10 лет назад

    Thank you for the lesson!

  • @_devParty
    @_devParty 4 года назад +10

    Thank you Sir. This is still relevant and informative in 2019

    • @nareshpuppala1544
      @nareshpuppala1544 4 года назад

      3w553ree555sr43w553ree554445sr554 5r5545 and 5 I 4354noon err e4t4t3 tt4rr44 koi544 55555inches3zwdxx'r5was342455ss55sssssssssxcxv554ewd5xx'r 35 the 5same of 2444 re 445w55 i re6,655s6tr56t6 rut 66 rut 66666666666s66s6 ttrr tree error r76 Stewart 3ewe7sfor or rate w5r÷6d5a5sa5eew ee6 55w5wr55e6 w5w5wr55e6 a week 5w

  • @parthpatel4221
    @parthpatel4221 3 года назад

    very very useful, and easy to understand and in easy language. thanks

  • @samanthapikus3178
    @samanthapikus3178 7 лет назад

    Thank you so so so much!!! My textbook is written poorly. Also, I now even understand objects and classes better. Thanks!!!

  • @ardaguney3678
    @ardaguney3678 8 лет назад

    Thank you for the video.

  • @rotopercutorash
    @rotopercutorash 7 лет назад

    very nice video! thank you for taking the time to share your knowledge. However, I had to speed up to 1.5 as i found it to slow but that is probably because i had too much coffee. Works like a charm

  • @fred.chapman
    @fred.chapman 5 лет назад +10

    *DR. SOPER* , I am learning a great deal from your lectures! I believe I found a small mistake at 52:52 and 55:03. In the recursive (unary) relationship between employees and managers, an employee need not have a manager (e.g., the CEO has no manager), but each manager must supervise at least one employee _and may supervise many employees._ So, the crow's foot symbol next to the employeeId attribute should have a cardinality of *one-to-many* , not one-and-only-one. Is that correct? Thank you!

    • @GlebLobanov
      @GlebLobanov 4 года назад +1

      I have the same question.

    • @thomasjust2663
      @thomasjust2663 2 года назад

      Who asked you id_ot

    • @fred.chapman
      @fred.chapman 2 года назад +2

      @@thomasjust2663, if another person's intelligence, knowledge, and ability make you feel so threatened, inadequate, and inferior that you become rude and insulting and lash out for no reason, then you have a real problem. You need to get help with that. I want you to talk with someone you trust, like a close friend, counselor, or therapist, to figure out why you are so desperately unhappy. You'll never find happiness by trying to tear other people down. You need to believe in yourself, invest in yourself, and build yourself up. I did it, and you can do it too. Will you try, Thomas?

    • @junaidmughal3806
      @junaidmughal3806 2 года назад +1

      I think you are right

    • @radocisar3420
      @radocisar3420 2 года назад

      p
      9

  • @fathik1972
    @fathik1972 10 лет назад

    Great presentation.
    Thank you

  • @silmankhan5832
    @silmankhan5832 9 лет назад

    thank you very much !! very clear tutorial

  • @BraulioCespedesAcosta
    @BraulioCespedesAcosta 9 лет назад +1

    Thanks, Professor.

  • @0xatul
    @0xatul Год назад

    Great Lecture

  • @dudet15951
    @dudet15951 7 лет назад

    Great videos!

  • @ayca7401
    @ayca7401 4 года назад

    great explanation!

  • @athanvi111
    @athanvi111 10 лет назад

    i learned alot! Thanks :)

  • @abv250
    @abv250 5 лет назад

    Thanks very much for your lecture. I was able to connect a lot of dots. Would you post the slides - the examples help when trying to model parallet db schemas in my own work. Thanks again.

  • @priyankakushwaha1647
    @priyankakushwaha1647 8 лет назад

    Thank you Professor

  • @NwankamaNwankama
    @NwankamaNwankama 10 лет назад

    Excellent presentation

  • @Regalert
    @Regalert 6 лет назад

    The guy is great!

  • @vayunandu
    @vayunandu 7 лет назад

    Perfect!

  • @Karmidzhanov92
    @Karmidzhanov92 5 лет назад +1

    For the last example, the diagram reads that an employ can have ZERO OR ONE manager (with which I agree) but a manager can have EXACTLY ONE employee (showed with the two hash marks) which the following illustration clearly proves wrong (as a manager had three employees under him) Did I miss something?

    • @Karmidzhanov92
      @Karmidzhanov92 5 лет назад

      Well asking the question I think I answered myself - managerId can be NULL, but a managerId HAS TO be one and only one employeeId

  • @srest0173
    @srest0173 9 лет назад

    For the model you showed with undergraduates and graduates, how would you prevent losing the data about a student who goes from undergrad to graduate considering each one has their own specific attributes?

  • @zzhao463
    @zzhao463 8 лет назад

    Question: If the PK of the strong entity is not a FK in the weak entity, and all other restrictions remains the same, would it be a non-id-dependent relationship?

  • @uksanjay
    @uksanjay 9 лет назад

    great presentation it was helpful

  • @sschiavo8190
    @sschiavo8190 5 лет назад

    Thank you!

  • @tamimhekmatpey2729
    @tamimhekmatpey2729 9 лет назад +1

    Very helpful teaching presentation, above all I admire your good intention for sharing it with the public. Is there any other subjects or topics on your agenda? - Thank you.

  • @KarthikRampur-ql2td
    @KarthikRampur-ql2td 6 лет назад

    great video.

  • @jazzyf9633
    @jazzyf9633 3 года назад

    superb!

  • @Steve-zz5ds
    @Steve-zz5ds Год назад +1

    This series was highly recommended to supplement my DBMS course....but that microphone static in this video is incredibly distracting.

  • @Cashman9111
    @Cashman9111 6 лет назад

    why do you have to acknowledge recursive relationship ? empId implies managerId so why does it have to be marked ?