How to convert an ER diagram to the Relational Data Model

Sdílet
Vložit
  • čas přidán 5. 09. 2024

Komentáře • 254

  • @lalithasadanandan2502
    @lalithasadanandan2502 Před 4 lety +12

    2hr of lecture in 11min 🔥♥️

  • @skincarver666
    @skincarver666 Před 5 měsíci

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

  • @vivekchopra8274
    @vivekchopra8274 Před rokem +9

    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 Před 8 měsíci

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

  • @saumya9226
    @saumya9226 Před 3 lety +33

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

  • @mando2908
    @mando2908 Před rokem +48

    Finally non indian youtuber 😁

    • @ziyadAlshareef04
      @ziyadAlshareef04 Před 4 měsíci

      does not matter

    • @easmund6680
      @easmund6680 Před 2 měsíci

      @@ziyadAlshareef04matter

    • @proxy5061
      @proxy5061 Před 28 dny

      ,😅 we don't have 500+ genders in our country 😂, and just to add 😂 u r non Indian youtubers are busy in prawn 🍤 sites

  • @shijajagwa5210
    @shijajagwa5210 Před 2 lety

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

  • @anuragnagpal
    @anuragnagpal Před 3 lety +50

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

  • @Henryfox112
    @Henryfox112 Před 3 lety +4

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

  • @Fikayoz
    @Fikayoz Před 4 lety +20

    THIS was quite helpful. Thank you!

  • @robruizr
    @robruizr Před 4 lety +29

    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  Před 4 lety +17

      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 Před 2 lety +2

      Thanks!

  • @ahaleem98
    @ahaleem98 Před 4 lety +11

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

  • @vaiebhavpatil2340
    @vaiebhavpatil2340 Před 2 lety +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

  • @paraschavan485
    @paraschavan485 Před 4 lety +2

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

  • @andrewkontoh6060
    @andrewkontoh6060 Před 2 lety +5

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

  • @HyperDev00
    @HyperDev00 Před 3 lety +2

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

  • @robertsedgewick1266
    @robertsedgewick1266 Před 4 lety +6

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

  • @un1kum42
    @un1kum42 Před 3 měsíci +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.

  • @honey-py9pj
    @honey-py9pj Před 3 lety +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 Před 3 lety +9

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

  • @barnabasmeszaros8244
    @barnabasmeszaros8244 Před 2 lety +35

    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.

    • @proxy5061
      @proxy5061 Před 28 dny

      Yes, actually we shud have either one more extra table for deptis locid , dptid will be fk so it can be repeated

  • @sakshamjain3998
    @sakshamjain3998 Před 3 měsíci +1

    Thankyou for the lecture sir it cleared my doubt

  • @zo2600
    @zo2600 Před 4 lety +1

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

  • @obinnankwocha3276
    @obinnankwocha3276 Před 4 lety +7

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

    • @srenspangsbergjrgensen2419
      @srenspangsbergjrgensen2419  Před 4 lety +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.

  • @provishu
    @provishu Před 3 lety

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

  • @apurbaafiat6012
    @apurbaafiat6012 Před 5 měsíci

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

  • @yasurfer
    @yasurfer Před 3 lety +1

    Very interesting video except for the normalization 1NF, 2NF ... XNF especially for the table department.

  • @snehashrinivas2173
    @snehashrinivas2173 Před 6 měsíci

    Thank you for this video! Extremely helpful.

  • @dswalkij3201
    @dswalkij3201 Před 7 měsíci

    Thank you very much. It helps with my assignment.

  • @cc22079
    @cc22079 Před 2 lety

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

  • @saada4668
    @saada4668 Před 3 lety +1

    Very helpful. Thanks alot, but I think that the relationship of Employee manages Department is one to one relationship not one to many. THANKS

    • @whatever7338
      @whatever7338 Před 3 lety

      IRL one person can manage multiple departments.

  • @janhavishrivastava9979
    @janhavishrivastava9979 Před 3 lety +1

    Thank you sir for very clearly explaination

  • @afshanparkar2678
    @afshanparkar2678 Před 2 lety +2

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

  • @parthik6223
    @parthik6223 Před rokem +1

    is that relational model or crow foot model?

  • @presentlee9403
    @presentlee9403 Před 4 lety +1

    My English isn't good. His accent is just fine for me. Good work dude!

  • @ramashivareddy6871
    @ramashivareddy6871 Před rokem

    Great video cleared all doubts and very good explanation

  • @JohnWick-tv6wr
    @JohnWick-tv6wr Před 7 měsíci

    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.

  • @mohsenmohamed593
    @mohsenmohamed593 Před 2 lety

    Very nice very awesome pls go ahead with a new lessons 😂❤️❤️❤️

  • @namvu607
    @namvu607 Před rokem

    Extremely useful, thank you for sharing sir.

  • @iamhaizam
    @iamhaizam Před 4 lety +3

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

  • @sphiwemposula5787
    @sphiwemposula5787 Před 4 lety +2

    Very helpful. Thanks alot

  • @deeptha20
    @deeptha20 Před 8 měsíci

    why manage relation didn't create new table because it has an attribute called startdate, because you create it for workson relational with hours attribute.

  • @Politics569
    @Politics569 Před 4 lety +1

    Q1: CONVERT Following Entity Relational Diagram into Ralations and also write SQL commands for designing these relation into Oracal Database. This question solve from the given table in video

  • @indian_otaku2388
    @indian_otaku2388 Před 2 lety +1

    Unfortunately the link to conversion guide aint working for me 😥. Great video btw thanks 🔥🔥🔥

  • @bhusandatta1968
    @bhusandatta1968 Před 4 lety +2

    Thank you, Easy to understand

  • @tungochuy
    @tungochuy Před 3 lety +2

    thank u so much

  • @gracefulleey
    @gracefulleey Před 4 měsíci

    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.

  • @chaosolid
    @chaosolid Před 4 lety +4

    I think it didn't include the constraint, participation(full/partial) ...

  • @architshinde3977
    @architshinde3977 Před 4 lety +1

    Very helpful, cleared a lot of doubts : )

  • @thuatnguyen4942
    @thuatnguyen4942 Před 2 lety

    so touching for an excellent video

  • @dugtrioramen
    @dugtrioramen Před 3 lety +1

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

  • @johnkasonga6634
    @johnkasonga6634 Před rokem +1

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

  • @speconcloud9
    @speconcloud9 Před rokem +1

    what to do when the relationship is 1:1?

  • @saud892
    @saud892 Před rokem

    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

  • @butterdawg1918
    @butterdawg1918 Před 2 lety +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?

  • @kopanogould4070
    @kopanogould4070 Před 3 lety +1

    perfect and well explained thank you

  • @abhishekdhyade7500
    @abhishekdhyade7500 Před 2 lety

    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?

  • @virusthekid
    @virusthekid Před 10 měsíci

    Aren’t we supposed to take the primary key on the many side and store it in the 1 side?… I’m just asking cuz that’s what our lecturer taught us

  • @arshah246
    @arshah246 Před 4 lety +2

    THANKS FOR YOUR SHARING

  • @go_fuck_yourself
    @go_fuck_yourself Před 4 lety +2

    To the point. Great video

  • @sinastb
    @sinastb Před rokem +1

    Hi, thanks for the video. BTW, link to conversion guide is not working.

  • @yashikaarora1460
    @yashikaarora1460 Před 2 lety

    thank you sooo much for this explanation

  • @sumantech10
    @sumantech10 Před 3 lety

    Thank you, sir ...all concepts are clear

  • @Engycation
    @Engycation Před 3 lety +1

    nice video about ERD

  • @MAXHTEC94XQCL
    @MAXHTEC94XQCL Před rokem

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

  • @twenty1pilots_st
    @twenty1pilots_st Před rokem

    Thank you so much bro, video is super helpful

  • @brahimchebli7781
    @brahimchebli7781 Před 3 lety +1

    Perfect , God bless you ..

  • @truegamingbyjadon3662
    @truegamingbyjadon3662 Před 6 měsíci

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

  • @painyahiko8450
    @painyahiko8450 Před 3 lety

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

  • @AmeerKA2003
    @AmeerKA2003 Před 7 měsíci

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

  • @Issam_seb
    @Issam_seb Před rokem

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

  • @sureshmakwana8709
    @sureshmakwana8709 Před 3 lety +2

    You didn't taught how to map that "NumberOfEmployees" derived attribute to Relational data model!!

    • @chandanhegde631
      @chandanhegde631 Před 3 lety

      Derived attributes will not be added as columns to the table. That's the rule. It is 'derived' right? Derived from other attributes

  • @itsanurag1111
    @itsanurag1111 Před 3 měsíci

    why to put startdate inside department

  • @hamiltonrose9500
    @hamiltonrose9500 Před 7 měsíci

    hi, what happened to the relations 'manages' and 'works_for'?

  • @zixinyin2757
    @zixinyin2757 Před 4 lety +1

    very helpful, thank you!

  • @sakshi_malla
    @sakshi_malla Před rokem

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

  • @edgarivandelacruz4827
    @edgarivandelacruz4827 Před 3 lety

    Is it unnecessary to create the tables "WorksFor", "Manages", and "Controls"?
    Or did you just leave it undone?

  • @nedaghamari7902
    @nedaghamari7902 Před rokem

    Many thanks really helpful.

  • @fevancampenhout7576
    @fevancampenhout7576 Před rokem

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

  • @bassamtk714
    @bassamtk714 Před 3 lety +1

    this tutorial is awesome ✌✌✌

  • @honglinhvuong3736
    @honglinhvuong3736 Před 11 měsíci

    Thanks for the video, but the conversion guide is inaccessible

  • @techxpr2
    @techxpr2 Před 3 lety +1

    Super Useful

  • @WRlGHTlNG
    @WRlGHTlNG Před 3 lety

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

  • @chamilsachintha9698
    @chamilsachintha9698 Před 3 lety

    Thank you so much. very clear

  • @krishnaTiwari851
    @krishnaTiwari851 Před 2 lety

    thank you very much.... i appreciate you

  • @antoine1407
    @antoine1407 Před rokem

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

  • @henrydo9731
    @henrydo9731 Před 2 lety

    how about the attribute "NumberOfEmployees"?

  • @n.m.rifkhan5421
    @n.m.rifkhan5421 Před rokem

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

  • @mustafakorkmazlar1720
    @mustafakorkmazlar1720 Před 4 lety +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 Před 4 lety +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 Před 4 lety

      @@karlomijoc3141 I just saw your comment, thank you

  • @puppettrailers7860
    @puppettrailers7860 Před 4 lety +1

    Thank you for explaining C:

  • @kashif3173
    @kashif3173 Před 2 lety

    Sir, department table should have projectID as foreign key

  • @HX-uq2gr
    @HX-uq2gr Před rokem

    That's amazing thank you soooooo much!!!

  • @mohamedhashem1938
    @mohamedhashem1938 Před 4 lety +1

    life saver
    thanks man

  • @HungNguyen-uc7jq
    @HungNguyen-uc7jq Před 4 lety +1

    Thank you,sir

  • @marco_robert
    @marco_robert Před 6 měsíci

    And what about 1 to 1 relation?

  • @fcb4281
    @fcb4281 Před 8 měsíci

    Great video thanks 👍

  • @urmom2583
    @urmom2583 Před 5 měsíci

    Hi, the converting document link is not working :(

  • @manasdas9461
    @manasdas9461 Před 2 lety

    So how to convert relational model into the normal er diagram?

  • @prinzessinprinzessin3913

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

  • @nomadnomad7738
    @nomadnomad7738 Před 8 měsíci

    Thanx. Good job.

  • @bradfromboston
    @bradfromboston Před 2 lety

    The link no longer works. Can you please provide an updated link?? Thanks!

  • @marcusgarner1146
    @marcusgarner1146 Před 28 dny

    What happens to the derived attribute? :)