How to convert an ER diagram to the Relational Data Model

Поделиться
HTML-код
  • Опубликовано: 8 июл 2024
  • This video explains how you can convert an Entity Relational diagram into the Relational Data Model.
    Link to conversion guide: learningeachday.dk/docs/FromE...
    PLEASE NOTE at 11:00: The conversion of the multi-valued attribute of the Department is NOT being correctly mapped in the video. departmentID should be put as a Foreign Key on the Locations table and together departmentID and locationID form the combined Primary Key as specified in the conversion guide.
  • ХоббиХобби

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

  • @andrewkontoh6060
    @andrewkontoh6060 2 года назад +5

    Great video. Concise and straight to the point. Thanks a lot.

  • @HyperDev00
    @HyperDev00 3 года назад +2

    God bless you I was searching for two days for this !! thank you very Much, Bro

  • @saumya9226
    @saumya9226 3 года назад +32

    Thank u so much!! You Cleared the concepts in a single example 😄

  • @Fikayoz
    @Fikayoz 4 года назад +20

    THIS was quite helpful. Thank you!

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

    Thank you. The ER diagram website is useful for my database homework.

  • @robertsedgewick1266
    @robertsedgewick1266 3 года назад +6

    Brilliant video. A gem of a video for this topic, possibility the best on youtube :)

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

    Super and very easy to understand ! Just like a school teacher.

  • @ahaleem98
    @ahaleem98 4 года назад +11

    Life saver!!!!
    Extremely simplified and well explained ❤❤❤❤❤

  • @vaiebhavpatil2340
    @vaiebhavpatil2340 2 года назад +6

    was very helpful, u managed to explain 1:n, m:n, derived attributes, multi valued attributes and many other things with a single example, it was great. subscribed :D

  • @snehashrinivas2173
    @snehashrinivas2173 4 месяца назад

    Thank you for this video! Extremely helpful.

  • @skincarver666
    @skincarver666 3 месяца назад

    Was able to make a relational data model without any prior experience. This model will be used for many great things.

  • @zo2600
    @zo2600 3 года назад +1

    Great explanation. Simple to understand. Thank you so much...

  • @apurbaafiat6012
    @apurbaafiat6012 3 месяца назад

    Best video ever....don't stop uploading man

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

    this is good lecture can help many people who need to understand about ERD

  • @barnabasmeszaros8244
    @barnabasmeszaros8244 2 года назад +34

    Hello, I have a question. Revising the Department - Location relationship, I think the Location should store the DepartmentID as multiple locations are available for one single department. So, if I see things correctly, a LocationID in the Department table cannot handle multiple locations.

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

    Great video cleared all doubts and very good explanation

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

    Extremely useful, thank you for sharing sir.

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

    Thank you very much bro♥️ You are a life saver!!

  • @architshinde3977
    @architshinde3977 3 года назад +1

    Very helpful, cleared a lot of doubts : )

  • @butterdawg1918
    @butterdawg1918 Год назад +1

    very helpful video! However, they taught me an attribute on a 1 to many relation isn't allowed (startDate on the relation 'manages') is this correct?

  • @janhavishrivastava9979
    @janhavishrivastava9979 3 года назад +1

    Thank you sir for very clearly explaination

  • @dswalkij3201
    @dswalkij3201 5 месяцев назад

    Thank you very much. It helps with my assignment.

  • @afshanparkar2678
    @afshanparkar2678 2 года назад +2

    Please could you share the guide that you showed in the video to translate ER diagram to the Relational Data Model.

  • @johnkasonga6634
    @johnkasonga6634 Год назад +1

    Thank you for the tutorial. But I had question about the NumberOfEmployees attribute. Did you ignore it or it doesn't belong anywhere?

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

    Great video
    I have to do this whole presentation for class and also do the data input in sql

  • @lalithasadanandan2502
    @lalithasadanandan2502 4 года назад +9

    2hr of lecture in 11min 🔥♥️

  • @vivekchopra8274
    @vivekchopra8274 Год назад +8

    Great video man...... u deserve some applause......I' m having my database exam on 11 th nd i was having confusions in retaional data model. But, I learnt from this vedio, now i fell i can do well in my exam😇

    • @nothingold5872
      @nothingold5872 6 месяцев назад

      How did it go? I got my exam coming soon too lol

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

    Thank you so much bro, video is super helpful

  • @bhusandatta1968
    @bhusandatta1968 4 года назад +2

    Thank you, Easy to understand

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

    so touching for an excellent video

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

    Thank you for the tutorial, can you provide a new link for the ER conversion guide.? Since the one in description doesn't work. Thanks

  • @anuragnagpal
    @anuragnagpal 3 года назад +50

    Hey this video is really helpful!! Can you post more on creating ER diagram from a given situation/problem statement?

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

    thank you sooo much for this explanation

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

    Really helpful video!

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

    for the multivalued location is it better to put the PK of the department on the location table as a foreign key?

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

    Thank you so much. very clear

  • @brahimchebli7781
    @brahimchebli7781 3 года назад +1

    Perfect , God bless you ..

  • @gracefulleey
    @gracefulleey 2 месяца назад

    Hi, thanks for the helpful video! I would like to have the updated link to the conversion guide. It seems like the link is invalid.

  • @paraschavan485
    @paraschavan485 4 года назад +2

    Very helpful video... Helped me a lot in my exam

  • @kopanogould4070
    @kopanogould4070 3 года назад +1

    perfect and well explained thank you

  • @HX-uq2gr
    @HX-uq2gr 10 месяцев назад

    That's amazing thank you soooooo much!!!

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

    Thank you for explaining C:

  • @robruizr
    @robruizr 3 года назад +28

    Shouldn't DepartmentID be part of the Locations table? This instead of LocationID being part of the Department table. Department-Location becomes a 1:M relationship once you convert Locations into a new table, which causes the PKey of side 1 to become a FKey in side M.

    • @srenspangsbergjrgensen2419
      @srenspangsbergjrgensen2419  3 года назад +16

      Hey and thx for watching and commenting! I have reviewed the video and the theory behind and your are correct. DepartmentID should indeed be part of the Locations table. Otherwise it will be a 1:N relationship. I will note it in the video and the comments. Thank you for noting this mate.

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

      Thanks!

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

    very helpful, thank you!

  • @sakshamjain3998
    @sakshamjain3998 Месяц назад

    Thankyou for the lecture sir it cleared my doubt

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

    Many thanks really helpful.

  • @Engycation
    @Engycation 3 года назад +1

    nice video about ERD

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

    Thank you, sir ...all concepts are clear

  • @go_fuck_yourself
    @go_fuck_yourself 4 года назад +2

    To the point. Great video

  • @honey-py9pj
    @honey-py9pj 3 года назад +9

    Why for the relation "works on" we created a seperate table, but for the others relations ("work for" .. and so on) we added attributes to the already existed entity sets instead?

    • @mealsome5286
      @mealsome5286 3 года назад +9

      this is probably very late but we did that because its a many to many relation

  • @fcb4281
    @fcb4281 6 месяцев назад

    Great video thanks 👍

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

    Thanks for the video but you made table for works on but didn't make one for manage why?

  • @dugtrioramen
    @dugtrioramen 3 года назад +1

    It still looks like DepartmentID can only have 1 LocationID. How would you have multiple locations?

  • @arshah246
    @arshah246 4 года назад +2

    THANKS FOR YOUR SHARING

  • @bassamtk714
    @bassamtk714 3 года назад +1

    this tutorial is awesome ✌✌✌

  • @sphiwemposula5787
    @sphiwemposula5787 4 года назад +2

    Very helpful. Thanks alot

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

    Someone please tell me why the startdate attribute is in the department table?

  • @maheshnahak9510
    @maheshnahak9510 3 года назад +1

    awesome, thanks!

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

    Quick question. Why is NumberOfEmployees not represented in the relational model?

  • @truegamingbyjadon3662
    @truegamingbyjadon3662 4 месяца назад

    For one to one relationship we have to create a different table?

  • @obinnankwocha3276
    @obinnankwocha3276 4 года назад +7

    Why was the derived attribute ignored?
    Also, can the StartDate attribute rather be in the Employee table?
    thanks!

    • @srenspangsbergjrgensen2419
      @srenspangsbergjrgensen2419  3 года назад +3

      Hey and thx for watching and commenting! We can calculate / query the derived attribute value based on the other attributes in the DB, therefore a derived attributed should not be created in the DB.

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

    Really helpful!

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

    Thank you very much!!

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

    The multivalued location table should have had dept I'd instead of the dept table having location id?
    Also the start date should have belonged to employee table and not the dept table.
    Can anyone help me out here?

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

    thank you very much.... i appreciate you

  • @Weranga-Rathnayaka
    @Weranga-Rathnayaka 3 года назад

    Hi can you tell me the website link that you use to draw this? or tell me a software to do this easyly

  • @techxpr2
    @techxpr2 3 года назад +1

    Super Useful

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

    amazingly good thanks

  • @DK-qw3fy
    @DK-qw3fy 3 года назад

    hi. thank for this video. do you have some tuto about mapping edr?

  • @nomadnomad7738
    @nomadnomad7738 6 месяцев назад

    Thanx. Good job.

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

    you are the best!

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

    Hey How to use rules for aggregation ,where is PK, FK? Thanks in advance

  • @speconcloud9
    @speconcloud9 Год назад +1

    what to do when the relationship is 1:1?

  • @AmeerKA2003
    @AmeerKA2003 5 месяцев назад

    Does anyone know the software he is using to create ER diagram? Plz tell me

  • @tungochuy
    @tungochuy 3 года назад +2

    thank u so much

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

    Q: Shouldn't the derived attribute be added at the Department table? If No what's the point of having it?

  • @kiranghimire6070
    @kiranghimire6070 3 года назад +1

    so satisfying🔥🔥❤️❤️

  • @JohnWick-tv6wr
    @JohnWick-tv6wr 5 месяцев назад

    Great Explanation.
    I have one think to say. I think you missed a Derived Attribute called NumbersOfEmployees. Is there any intention for that? If you really missed it, give me a idea how to do that.
    Thank you.

  • @nahiyanishtiaque1283
    @nahiyanishtiaque1283 4 месяца назад

    What do you do with the derived attribute?

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

    @Søren Spangsberg Jørgensen Can you please share the guide, that you showed in the video?

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

      Hey and thx for watching and commenting on it. You can find the guide here: learningeachday.dk/docs/FromERToRDMConversionGuide.pdf

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

    life saver
    thanks man

  • @canoori
    @canoori 11 месяцев назад

    Does anyone have the conversion guide pdf? the link no longer working.

  • @un1kum42
    @un1kum42 Месяц назад +1

    I am sorry that I have to say, that I as a German, had to laugh about your name but after that you saved my ass with that video.

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

    Nice Content, Keep it up.

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

    Thank u so so so much!!!

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

    This is great! What is 'number of employees'? and how is it factored into the relational model?

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

    THANK YOU SOO MUCH

  • @n.g.9705
    @n.g.9705 2 года назад

    Is participation somehow reflected in a relational schema? For example, if one entity can participate in 0 or more relations with another entity.

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

      Yes, the arrows should be different. It depends on the style you choose, there is Chen notation, UML notation, etc.

  • @n.m.rifkhan5421
    @n.m.rifkhan5421 10 месяцев назад

    I have a doubt , the locationId in the location table applied from where?

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

    Brilliant!! Thankss

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

    what's the difference between primary key and foregin key?

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

    Thank you so much 🙂🙃

  • @itsanurag1111
    @itsanurag1111 2 месяца назад

    why to put startdate inside department

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

    Thank you!

  • @sobkhed1716
    @sobkhed1716 5 месяцев назад

    thank you
    it was very helpful

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

    hey! thanks for this video :)) I can't get access to the link of the guide tho...

  • @tipsblender1538
    @tipsblender1538 4 года назад +2

    keep it up. nice job.

  • @mustafakorkmazlar1720
    @mustafakorkmazlar1720 4 года назад +2

    Thanks a lot. This is what I was looking for. Can anybody tell me that how I can convert a weak entity set? I mean a new table with strong entity set's foreign key or how?

    • @karlomijoc3141
      @karlomijoc3141 4 года назад +2

      you do not need to convert it, you just need to choose a weak entity set. It is called ER table 2, it is right next to PK table

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

      @@karlomijoc3141 I just saw your comment, thank you

  • @parthik6223
    @parthik6223 Год назад +1

    is that relational model or crow foot model?

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

    The linked website has already been removed. Could you please share the new link?