How to convert an ER diagram to the Relational Data Model

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ธ.ค. 2024

ความคิดเห็น • 268

  • @Necromanteion
    @Necromanteion 9 หลายเดือนก่อน +4

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

  • @lalithasadanandan2502
    @lalithasadanandan2502 4 ปีที่แล้ว +36

    2hr of lecture in 11min 🔥♥️

  • @vivekchopra8274
    @vivekchopra8274 ปีที่แล้ว +15

    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 ปีที่แล้ว

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

  • @aditya_dede1717
    @aditya_dede1717 หลายเดือนก่อน

    Great Man. Such TH-camrs are really needed now a days 🤝🏻🥺❤️

  • @robruizr
    @robruizr 4 ปีที่แล้ว +38

    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  4 ปีที่แล้ว +20

      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 ปีที่แล้ว +2

      Thanks!

  • @apurbaafiat6012
    @apurbaafiat6012 9 หลายเดือนก่อน

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

  • @ahaleem98
    @ahaleem98 4 ปีที่แล้ว +11

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

  • @HyperDev00
    @HyperDev00 3 ปีที่แล้ว +2

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

  • @saumya9226
    @saumya9226 4 ปีที่แล้ว +35

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

  • @shijajagwa5210
    @shijajagwa5210 2 ปีที่แล้ว

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

  • @deadvision22
    @deadvision22 หลายเดือนก่อน +1

    thx brother for this best exp. ı know all northern people if they want is the best programmer in the world

  • @paraschavan485
    @paraschavan485 4 ปีที่แล้ว +2

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

  • @vaiebhavpatil2340
    @vaiebhavpatil2340 3 ปีที่แล้ว +7

    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

  • @andrewkontoh6060
    @andrewkontoh6060 2 ปีที่แล้ว +5

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

  • @Henryfox112
    @Henryfox112 4 ปีที่แล้ว +4

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

  • @Fikayoz
    @Fikayoz 5 ปีที่แล้ว +20

    THIS was quite helpful. Thank you!

  • @barnabasmeszaros8244
    @barnabasmeszaros8244 3 ปีที่แล้ว +38

    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 4 หลายเดือนก่อน

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

  • @robertsedgewick1266
    @robertsedgewick1266 4 ปีที่แล้ว +6

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

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

  • @auditor9927
    @auditor9927 หลายเดือนก่อน

    there is a small remark: relation manages has an attribute so it should be converted into a table having 2 tables PK in addition to attribute start date

  • @obinnankwocha3276
    @obinnankwocha3276 4 ปีที่แล้ว +7

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

    • @srenspangsbergjrgensen2419
      @srenspangsbergjrgensen2419  4 ปีที่แล้ว +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.

  • @sakshamjain3998
    @sakshamjain3998 6 หลายเดือนก่อน +1

    Thankyou for the lecture sir it cleared my doubt

  • @ramashivareddy6871
    @ramashivareddy6871 2 ปีที่แล้ว

    Great video cleared all doubts and very good explanation

  • @un1kum42
    @un1kum42 7 หลายเดือนก่อน +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.

  • @snehashrinivas2173
    @snehashrinivas2173 10 หลายเดือนก่อน

    Thank you for this video! Extremely helpful.

  • @afshanparkar2678
    @afshanparkar2678 3 ปีที่แล้ว +2

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

  • @anuragnagpal
    @anuragnagpal 3 ปีที่แล้ว +51

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

  • @zo2600
    @zo2600 4 ปีที่แล้ว +1

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

  • @JohnWick-tv6wr
    @JohnWick-tv6wr 11 หลายเดือนก่อน

    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.

  • @FabrikaKarpos-lf2cu
    @FabrikaKarpos-lf2cu 2 หลายเดือนก่อน

    are there any examples with more complex models? with double line relations?

  • @dswalkij3201
    @dswalkij3201 11 หลายเดือนก่อน

    Thank you very much. It helps with my assignment.

  • @provishu
    @provishu 3 ปีที่แล้ว

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

  • @Sebastian-zs8cp
    @Sebastian-zs8cp 3 หลายเดือนก่อน

    What im not anderstand the Location in Two Babbel. Why do you dont use the racktingle and reagionships?

  • @mando2908
    @mando2908 2 ปีที่แล้ว +75

    Finally non indian youtuber 😁

    • @ziyadAlshareef04
      @ziyadAlshareef04 8 หลายเดือนก่อน

      does not matter

    • @easmund6680
      @easmund6680 6 หลายเดือนก่อน

      @@ziyadAlshareef04matter

    • @proxy5061
      @proxy5061 4 หลายเดือนก่อน

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

    • @asem8103
      @asem8103 2 หลายเดือนก่อน +1

      indians are awesome

    • @M_3553
      @M_3553 หลายเดือนก่อน

      Raci$t

  • @speconcloud9
    @speconcloud9 ปีที่แล้ว +1

    what to do when the relationship is 1:1?

  • @namvu607
    @namvu607 ปีที่แล้ว

    Extremely useful, thank you for sharing sir.

  • @dugtrioramen
    @dugtrioramen 3 ปีที่แล้ว +1

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

  • @presentlee9403
    @presentlee9403 4 ปีที่แล้ว +1

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

  • @itsanurag1111
    @itsanurag1111 7 หลายเดือนก่อน

    why to put startdate inside department

  • @marcusgarner1146
    @marcusgarner1146 4 หลายเดือนก่อน

    What happens to the derived attribute? :)

  • @sphiwemposula5787
    @sphiwemposula5787 4 ปีที่แล้ว +2

    Very helpful. Thanks alot

  • @deeptha20
    @deeptha20 ปีที่แล้ว

    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.

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

  • @architshinde3977
    @architshinde3977 4 ปีที่แล้ว +1

    Very helpful, cleared a lot of doubts : )

  • @edgarivandelacruz4827
    @edgarivandelacruz4827 3 ปีที่แล้ว

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

  • @Issam_seb
    @Issam_seb ปีที่แล้ว

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

  • @chaosolid
    @chaosolid 4 ปีที่แล้ว +4

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

  • @n.m.rifkhan5421
    @n.m.rifkhan5421 ปีที่แล้ว

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

  • @bradfromboston
    @bradfromboston 2 ปีที่แล้ว

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

  • @iamhaizam
    @iamhaizam 4 ปีที่แล้ว +3

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

  • @hamiltonrose9500
    @hamiltonrose9500 11 หลายเดือนก่อน

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

  • @johnkasonga6634
    @johnkasonga6634 2 ปีที่แล้ว +1

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

  • @sumantech10
    @sumantech10 3 ปีที่แล้ว

    Thank you, sir ...all concepts are clear

  • @saada4668
    @saada4668 4 ปีที่แล้ว +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 4 ปีที่แล้ว

      IRL one person can manage multiple departments.

  • @sakshi_malla
    @sakshi_malla 2 ปีที่แล้ว

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

  • @butterdawg1918
    @butterdawg1918 2 ปีที่แล้ว +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?

  • @MAXHTEC94XQCL
    @MAXHTEC94XQCL 2 ปีที่แล้ว

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

  • @mohsenmohamed593
    @mohsenmohamed593 2 ปีที่แล้ว

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

  • @truegamingbyjadon3662
    @truegamingbyjadon3662 9 หลายเดือนก่อน

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

  • @painyahiko8450
    @painyahiko8450 3 ปีที่แล้ว

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

  • @janhavishrivastava9979
    @janhavishrivastava9979 4 ปีที่แล้ว +1

    Thank you sir for very clearly explaination

  • @yasurfer
    @yasurfer 3 ปีที่แล้ว +1

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

  • @thuatnguyen4942
    @thuatnguyen4942 3 ปีที่แล้ว

    so touching for an excellent video

  • @sureshmakwana8709
    @sureshmakwana8709 3 ปีที่แล้ว +2

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

    • @chandanhegde631
      @chandanhegde631 3 ปีที่แล้ว

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

  • @bhusandatta1968
    @bhusandatta1968 4 ปีที่แล้ว +2

    Thank you, Easy to understand

  • @stayfocused296
    @stayfocused296 ปีที่แล้ว

    Do I need the Attribut „Name“ in the Location Table?

  • @virusthekid
    @virusthekid ปีที่แล้ว

    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

  • @Wisdomofzakirnaik
    @Wisdomofzakirnaik 4 ปีที่แล้ว +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

  • @twenty1pilots_st
    @twenty1pilots_st 2 ปีที่แล้ว

    Thank you so much bro, video is super helpful

  • @misshello55
    @misshello55 หลายเดือนก่อน +1

    Love uuuuuu 💋💋💋💋 a savior fr

  • @sinastb
    @sinastb ปีที่แล้ว +1

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

    • @VsEdits59
      @VsEdits59 ปีที่แล้ว

      yup same here

  • @_PremKharat
    @_PremKharat 2 ปีที่แล้ว

    sir the link to conversion guide is not working

  • @pranjalnagar4772
    @pranjalnagar4772 ปีที่แล้ว

    the link isn't working I have an exam soon can you please update the link asap? Thankyou!

  • @abhishekdhyade7500
    @abhishekdhyade7500 3 ปีที่แล้ว

    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?

  • @1336921
    @1336921 3 ปีที่แล้ว

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

  • @KrishnaSeshu
    @KrishnaSeshu 2 หลายเดือนก่อน +1

    Conversion Guide PDF - NOT FOUND

  • @FabrikaKarpos-lf2cu
    @FabrikaKarpos-lf2cu 2 หลายเดือนก่อน

    does it matter which way the arrows point when connecting the tables at the end?

  • @WRlGHTlNG
    @WRlGHTlNG 3 ปีที่แล้ว

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

  • @urmom2583
    @urmom2583 9 หลายเดือนก่อน

    Hi, the converting document link is not working :(

  • @yashikaarora1460
    @yashikaarora1460 2 ปีที่แล้ว

    thank you sooo much for this explanation

  • @kashif3173
    @kashif3173 3 ปีที่แล้ว

    Sir, department table should have projectID as foreign key

  • @bassamtk714
    @bassamtk714 4 ปีที่แล้ว +1

    this tutorial is awesome ✌✌✌

  • @prinzessinprinzessin3913
    @prinzessinprinzessin3913 3 ปีที่แล้ว

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

  • @EREN_YEAGER007
    @EREN_YEAGER007 11 หลายเดือนก่อน

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

  • @stefanobilleter2556
    @stefanobilleter2556 2 ปีที่แล้ว

    hallo! thanks for the video! do you still have the guide? the link is not working anymore! thanks a lot!!

  • @canoori
    @canoori ปีที่แล้ว

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

  • @henrydo9731
    @henrydo9731 2 ปีที่แล้ว

    how about the attribute "NumberOfEmployees"?

  • @antoine1407
    @antoine1407 ปีที่แล้ว

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

  • @carlocabantog2653
    @carlocabantog2653 2 ปีที่แล้ว

    Can I still get the document form the conversion guide?

  • @indian_otaku2388
    @indian_otaku2388 2 ปีที่แล้ว +1

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

  • @cc22079
    @cc22079 3 ปีที่แล้ว

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

  • @SIDDHARTHSINGH-sm2pr
    @SIDDHARTHSINGH-sm2pr ปีที่แล้ว

    what about manages relation?

  • @fevancampenhout7576
    @fevancampenhout7576 2 ปีที่แล้ว

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

  • @kopanogould4070
    @kopanogould4070 4 ปีที่แล้ว +1

    perfect and well explained thank you

  • @mohamedahmed6851
    @mohamedahmed6851 ปีที่แล้ว

    idk if you will reply or no but what is this app name??

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

  • @manasdas9461
    @manasdas9461 2 ปีที่แล้ว

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

  • @honglinhvuong3736
    @honglinhvuong3736 ปีที่แล้ว

    Thanks for the video, but the conversion guide is inaccessible

  • @parthik6223
    @parthik6223 ปีที่แล้ว

    is that relational model or crow foot model?

  • @marco_robert
    @marco_robert 10 หลายเดือนก่อน

    And what about 1 to 1 relation?