How to convert an ER diagram to the Relational Data Model

แชร์
ฝัง

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

  • @Necromanteion
    @Necromanteion 10 หลายเดือนก่อน +5

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

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

    2hr of lecture in 11min 🔥♥️

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

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

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

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

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

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

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

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

    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 😄

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

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

    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

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

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

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

      Thanks!

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

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

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

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

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

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

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

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

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

  • @BasketBall7147
    @BasketBall7147 5 ชั่วโมงที่ผ่านมา

    Great video! But just a quick question. shouldnt't startDate be an attribute of Employee and not Department, as it is related to an employee... or does it mean the startDate of the department

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

    THIS was quite helpful. Thank you!

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

  • @honey-py9pj
    @honey-py9pj 3 ปีที่แล้ว +11

    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

  • @JohnWick-tv6wr
    @JohnWick-tv6wr ปีที่แล้ว

    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.

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

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

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

    Finally non indian youtuber 😁

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

      does not matter

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

      @@ziyadAlshareef04matter

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

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

      indians are awesome

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

      Raci$t

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

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

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

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

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

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

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

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

      yup same here

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

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

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

    Thankyou for the lecture sir it cleared my doubt

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

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

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

    Thank you for this video! Extremely helpful.

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

    Du bist toll!

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

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

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

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

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

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

    Great video cleared all doubts and very good explanation

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

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

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

    Love uuuuuu 💋💋💋💋 a savior fr

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

    Thank you very much. It helps with my assignment.

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

    Very helpful, cleared a lot of doubts : )

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

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

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

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

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

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

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

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

    what to do when the relationship is 1:1?

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

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

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

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

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

    Extremely useful, thank you for sharing sir.

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

    Thanks for the video, but the conversion guide is inaccessible

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

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

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

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

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

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

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

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

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

    Very helpful. Thanks alot

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

    Sir, department table should have projectID as foreign key

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

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

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

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

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

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

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

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

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

    What happens to the derived attribute? :)

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

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

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

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

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

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

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

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

    so touching for an excellent video

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

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

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

    Thank you, Easy to understand

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

    is that relational model or crow foot model?

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

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

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

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

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

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

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

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

    Thank you sir for very clearly explaination

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

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

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

    Thank you so much bro, video is super helpful

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

    why to put startdate inside department

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

  • @the-master-of-jizz
    @the-master-of-jizz 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?

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

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

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

    sir the link to conversion guide is not working

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

    Thank you, sir ...all concepts are clear

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

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

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

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

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

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

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

    thank you sooo much for this explanation

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

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

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

    Hi, the converting document link is not working :(

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

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

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

    what about manages relation?

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

    this tutorial is awesome ✌✌✌

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

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

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

    Can I still get the document form the conversion guide?

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

    Nice Content, Keep it up.

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

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

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

    Conversion Guide PDF - NOT FOUND

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

    thanks
    please can you answer me 😔
    can we move ProductId to department table ? we can have relationship right??

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

      If you refer to ProjectID then no, since Department-Project has a 1:N relationsship and therefore we must put a Foreign Key from the 1-side (departmentID) to the N-side (Project table). Hope it makes sense.

    • @aibknada1300
      @aibknada1300 4 ปีที่แล้ว

      @@srenspangsbergjrgensen2419 thnx

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

    And what about 1 to 1 relation?

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

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