Converting ER Diagrams to Schemas | SQL | Tutorial 23

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ม.ค. 2025

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

  • @abhichakladar5279
    @abhichakladar5279 5 ปีที่แล้ว +109

    Wow an entire week of lecture summarized in just 5 minutes of a video on 2.5x speed. Thanks a lot, great work!

    • @zalkarn
      @zalkarn 5 ปีที่แล้ว +12

      Right? This video made so much more sense to me than any college professor I've come across.

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

      how on earth did you get 2.5x on youtube?

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

      @@ahmadby100 Video speed controller chrome extension

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

      My Workflow is as follows.
      See what professor is supposed to teach
      TH-cam it
      Learn in 1/10th the time.

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

    (0:39) STEP 1 : Mapping of Regular Entity Types
    (1:41) STEP 2 : Mapping of Weak Entity Types
    (2:49) STEP 3 : Mapping of Binary 1:1 Relationship Types
    (4:22) STEP 4 : Mapping of Binary 1:N Relationship Types
    (6:25) STEP 5 : Mapping of Binary M:N Relationship Types
    (8:43) Define the relationships
    (9:36) Create an actual database

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

    This video is 10x better than my university professors lecture :D

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

      change your university and see dumbest one

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

      Biggest facts i've ever seen written

  • @蹦太君-o4d
    @蹦太君-o4d 3 ปีที่แล้ว +3

    I am Taiwanese, your course is very good, thanks for teaching!

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

    Best explanation of these concepts I've ever heard and I've been trying to get it for a while. Thanks. Teaching is clearly your calling.

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

    Thank you, I attended all the course it was really helpful. World needs people like you thanks for your time and your great way of teaching.

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

    Amazing work guys!
    The way you made the whole loop, starting with the table schema in the low level and finishing the same schema in the hight level. Splendid!
    Thank you! I enjoyed the journey!

  • @HiruniAbeysekara-fl1ij
    @HiruniAbeysekara-fl1ij 4 หลายเดือนก่อน

    Actually, your lessons are of utmost important. Your teaching method is excellent as well. I notably say your explanations are so clear and easy to understand. Fantastically, you are offering a sound knowledge on IT to the whole world. Thank you so much from the bottom of my heart for your noble helping hand.💖💖💖

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

    Thanks for summarising 2 lectures of 1 hour each in 10 mins, and way easier to grasp!!!

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

    6:30 This is wrong. We have two if you look closely, there is also an M:N relationship between Branch and Branch Supplier

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

    You just cleared all the mess I had in my head.. Thanks for sharing these videos for free..

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

    Thanks for all that. I made a lot of notes and screen prints and now I'm going to create my own database. I expect to re-watch some sections a few times but the series has given me a good insight into SQL. Thanks!

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

    I am currently taking an intro to data analytics class for my masters and your tutorials have helped me so much! You are an amazing teacher for newbies like me.

  • @ahmedelsaadany8831
    @ahmedelsaadany8831 6 ปีที่แล้ว +45

    Hi Mike, really you are an excellent teacher, and perfect coder, your way is direct and extremely simple. if you please can you make a new series focused on practical and real projects. Many thanks . Ahmed

    • @ferenc3460
      @ferenc3460 6 ปีที่แล้ว

      Yeah, that would be really good. Some real world project. Anyway I love your videos Mike. Thanks for sharing them for free!

    • @shubhampatil3904
      @shubhampatil3904 6 ปีที่แล้ว

      Thanks buddy

    • @omnidye
      @omnidye 5 ปีที่แล้ว

      no one is a "perfect coder."

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

      +1

    • @shashishekhar----
      @shashishekhar---- 3 ปีที่แล้ว

      @@omnidye get going before you have to hear something.

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

    one of the best explanations i've ever seen

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

    Thanks for making SQL learning easy for us Mike

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

    Thank you. After reading about entities and relations for two hours, this summed it all up perfectly!

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

    I have finished today this tutorial, thank u a lot for all this detailed explanation!!!

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

    This course got me introduced to SQL and I am starting a Project right away!

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

    Dude. This video and the tutorial before it helped me so much with my database class. Thank you!!!!

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

    U saved us bro. we had system diagram projects and this 100% made everything clearer

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

    Thank you very much for this videos! I have taken the codeacademy and the Alison courses before yours. I can say your videos were a way better, more simple and direct than theirs.

  • @FATTMONSTER
    @FATTMONSTER 6 ปีที่แล้ว +29

    Love the Office Database 😂😂

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

      lol, same here! p.s. turns out Mike attended Scranton University!

  • @prathisahrudh
    @prathisahrudh 6 ปีที่แล้ว +11

    6:30 there are actually two m:n relations

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

      prathi sahrudh the other one is a weak entity we mapped it already

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

    Fabulous!
    God bless you!

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

    Yay I finally completed the course!

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

    You are so clear in your explanation!

  • @aanyc.6198
    @aanyc.6198 ปีที่แล้ว

    i have finished my homework because of this video after trying to find many videos Thank you so much. Better than my professor at uni who just read slides

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

    thank you so much bro i was scratching my head before on this topic now it's clear thanks again

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

    Really help me to complete my assignment. Great explanation

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

      Same to you got it.

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

    thanks man you have no idea how this helped me

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

    the bestt! i love your tutorials they are the best :))) thankss

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

    each video in this serie but esspecially the last three videos are the best i ve ever seen regarding ER Modeling in TH-cam. can you recommend a intermediary - advanced book or resource for ER Modeling & DB Design? Thx indeed..

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

    Thanks Mike for this professional Tutorial. Keep up the good work.

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

    Hi Mike, thank you to take your time to do this course that is amazing.

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

    thanks bro ur playing a great role to the entire world i real benefit from ur pieces

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

    Let me say Thank You for making life life getting easier !

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

    Thank you so much for making all videos!
    You are legend.

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

    this is good stuff! thank you Mike. I destroyed my head learning this via book

  • @noname-oi1ei
    @noname-oi1ei 4 ปีที่แล้ว +1

    Excellent. Clearly understand what are you say. Please add ISA hyrachy mapping

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

    As a beginner, I can imagine that I can even set everything on one table... if you don't worry about how messy it is, the reason it separtes to different small talbles, coz it would be easier to read

  • @Edward-zr4bg
    @Edward-zr4bg 5 ปีที่แล้ว +2

    Hey Mike your tutorials have been very helpful to me especially this one. If you have time can you make a video about converting more complex er diagrams to schema. Like with n-nary relationships and multivalue attributes and such that would be so great because your reasoning is very good and you explain very well.

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

    What about in the case that I have multiple partial keys in my weak entity?
    For example, my ER Diagram has the weak entity "Section", it has 3 partial keys, "Semester" "Year" and "Section #".
    The owner of this weak entity has the primary key as "Course #"
    The relationship between them is "HAS" and it's a many-to-many relationship.
    What would I put as my keys for this "HAS" table?
    Would it be Course# and all the other partial keys from "Section"? Or just Course# and Section#?
    Sorry if this is confusing but I'm super lost here. Thank you in advance!

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

    can you tell me what happen to age from Employee table and # of employees from Branch table. Those are derived attribute right?

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

    Yaw Mike am fan of you, watching from Maryland

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

    Great video! 👍🏼👍🏼👍🏼

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

    Can you explain how to test database for my assignment I need that

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

    can you explain about the BCNF(Boyce-codd Nornal Form)?

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

    Nice Sir Thanks Sir.

  • @PaxiKaksi
    @PaxiKaksi 5 ปีที่แล้ว +12

    How much i hate this subject :D Anyways thanks for the video. It was much easier than reading 120 slides

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

    Hi Mike can you explain derived attribute in this example

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

    Wow Mike, I just wanted to say that you rock. Your teaching techniques are so easy to follow. Keep it up ma peep.

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

    Good work. Very helpful

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

    What do you use to build database and table

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

    wow bro excellent channel great work

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

    it would actually probably make more sense, if the background picture wouldnt be moved around so often, and instead putting a fixed view on it, as its hard to follow.

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

    Hi, if you have a 1:N relation should an attribute on that relation eg. price be included in the relation schema? And where if it should?

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

    What is if we have a terner relationship & not Binary? How to represent that?

  • @Siddharth-uo6zw
    @Siddharth-uo6zw 3 ปีที่แล้ว +2

    Thank u so much!
    can you make more advanced paid courses in SQL, Back end Developer with economical for students.
    you teach so well.

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

    great explanation thanks
    Ziraff academy

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

    Hi Mike, I watched your 4 hour long vides over the weekend - they are so helpful and easily to follow. Thank you very much. As an frequent Excel user, do you have a video on, or know where I can find good information on, the Excel-like calculations? For example, what should if I want to add a column to an existing table, and populate the column use the product of Existing_Column_1 and Existing_Column_2. Thank you in advance.

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

    what about the start_date?

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

    Awesome.
    Thanks a lot
    It really helped me

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

    Amazing tutorial

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

    Thank you very much for explaining clearly

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

    Hi, Do you have how this created in MS SQL?

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

    Hey Mike, thanks a lot for this. I also learned C from your channel. I wanted to know that what do I do now after finishing this course?

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

    superb!! thanks

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

    Thanks for helping me pass my database course

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

    employ( empy id, last-name, first -name ,brith day , salary, sex,age, branch id) look
    branch id b/c money employee works for one branch .therefor there is FR key

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

    Thank you soo much !! Super helpful

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

    In 3 videos i learned more than an entire semester….

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

    this was a huge help tbh. Normalization video next please

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

    Good video but it'd be nice if you explained WHY we should always put the one table's PK as a FK in the many table

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

    Thanks man You made my Database class simple

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

    Great help ✌️

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

    Thanks for the video, I just use it to take my examination it is really really helpful.

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

    Ma.ye Ha., [4/5/2022 3:45 PM]
    A company has organized its activities in projects. Each project has a name and is run at a specific location. Unfortunately, there are several projects with the same name-it may even be the case that two projects with the same name are run at the same location.
    Each project has a telephone, which is shared if there is more than one project at the same location. Each project has a boss, who is one of the employees of the company. Each company employee has a person number, address and telephone number. Many of the employees have several telephone numbers (office telephone, cellular 1, cellular 2₁. ). The employees work in the projects, most of them in more than one project. 1 each such "project employment" starts at a specific date and ends at another date (the end date of current project employments is unknown).
    Task: 1 Convert ER schema to Relational schema
    Time allowed: 2 hr.
    Instruction: Under this task the candidate is expected to perform
    activities
    (Cotion Design E-R diagram and identify the cardinality and constraints of database
    • Identify Functional Dependency.
    . Convert the ER schema to relational schema
    2 & Assessment Assurance
    please view and work by a few days i want the answer of this questions

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

    You're a great teacher, I really want to spend more of my time by watch and code along with your videos. Anyway, if you open a request, create Tableau tutorial would be amazing, I think. Okay that's all, keep it up the great work guys!

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

    Hi Mike, Thanks for the great video which clearly explains the relationships and the keys. I would like to know more about the foreign keys in case of ternary relationships ? Do you have any write-up or video on this ?

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

    Awesoem Playlist
    Great ending aswell ... is like back to the begining :)

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

    does anyone know how he drew the relational model? I mean the software used ???

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

    Question: Why didn't you make "Supplies" another table as it has a m:n relationship between Branch and Branch Supplier? Because you said if it's m:n relationship we gotta make a new table. Or is it because of it's weak entity type? I would appreciate any clarification.
    BTW amazing explanation. Awesome work!

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

    You're so cool Mike!

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

    what to do 1 to 1 relationship when there is total and partial participation on both sides? please reply. Thank you.

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

      add pk of one table as fk on the other. doesn't matter what table.

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

    This is gold

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

    thanks for the free mysql course mate

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

    it's really a great explaination

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

    Thank mike you've been very helpful

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

    This was great lesson. Thanks a lot.

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

    Hey mike you are awesome,just you didn't mention multivalued attribute.

  • @Ex-fk4nr
    @Ex-fk4nr 6 ปีที่แล้ว +1

    What if we have a relation 1:N with r
    Total participation on the 1 side

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

    Hey Mike, awesome work! I really do appreciate your effort. How did you create those diagrams and tables? I mean how did you visualized it, is there any function at PopSQL to transform data into tables and diagrams? Thank you in advance for your help!

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

      When is the deadline for you bro?

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

      @@richmond5607 haha bro I am an absolute data analyst beginner, please enlighten me

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

      @@wunugat9198 th-cam.com/video/-CuY5ADwn24/w-d-xo.html watch this, I found it helpful. There are many videos just surf :)

  • @trungpham7588
    @trungpham7588 5 ปีที่แล้ว

    excellent teacher !!!

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

    What about the attributes on the relationship types? Won't they be added to any tables?

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

    Hey mate plz help me create a conceptual schema from a given tables for the database management 😢

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

    you are amazing

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

    Is an er database a conceptual model?

  • @Ivan-np3ls
    @Ivan-np3ls 4 ปีที่แล้ว +1

    really helpful thank you

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

    Thank you! Very helpful!