Relational Database Concepts

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

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

  • @Tubeytime
    @Tubeytime 2 дня назад +1

    Best explanation I've come across, thank you 13 years in the future.

  • @enyajungle
    @enyajungle 3 года назад +81

    9 years later and you're still helping people learn. Thank you.

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

    Best, simplest, easiest to understand relational database and relationships in a nutshell.
    No other videos come close to this one.
    Please don't ever take this video down.

  • @mightyparry
    @mightyparry 11 лет назад +130

    Well suited for beginners! I am personally starting from ground 0 and this is THE one made any sense to me at all.

    • @PrescottComputerGuy
      @PrescottComputerGuy  11 лет назад +12

      Thank you. Appreciate the comment.

    • @Krumpuppy
      @Krumpuppy 9 лет назад +4

      Parry Sun Agreed. Now to figure out how to identify a "non-primary" key......

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

      yes I completely agree with you, but I wished that he continued to explain the concept from A-Z.

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

    absolutely brilliant. the only video i have ever watched that has made this topic make sense

  • @colonThree-q6y
    @colonThree-q6y Год назад +1

    only a minute in and this has explained relational databases 10x better than my teacher

  • @karennorman78
    @karennorman78 5 лет назад

    I keep wondering why people are asking about composite keys and primary keys. This is a GREAT beginning overview of relational databases and how they work. Unique identifiers pretty much covers those questions.

  • @Mike.
    @Mike. 2 года назад +4

    Thank you for this video. As someone who learns well visually, I think this visualizes the concept clearly for beginners.

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

    I have never seen even a professor explained like thise easy human understandable ;anguage. I study in griffith University. But I could not find the way to easyness. But you are exceptional.

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

      jadav shanker thank you!

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

      @@PrescottComputerGuy u r not dead yet ,😂

  • @fireye3
    @fireye3 2 года назад +7

    damn that was really good, even by 2022 standards. I'm completely new to this field of programming so this was super helpful, thanks a lot!

  • @pentexhq1
    @pentexhq1 11 лет назад +1

    Thank you so much for this video. I have been trying to understand how relational databases work and out of all the places I checked this is the only one that started at the beginning and didn't assume I was a computer expert. Thank you so much.

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

    Man you absolutely killed this brake down explanation. God bless. Great job.

  • @ilive4god2007
    @ilive4god2007 7 лет назад +26

    One of the BEST videos that I have seen about RDBs Fundamentals!
    And it's really great for visual learners as me )
    P.S. I am from UKRAINE.

  • @f16madlion
    @f16madlion 12 лет назад +3

    Very well described many thanks, we are currently migrating lotus notes to a relational database and your video sums up incredibly well why we should be doing it.

  • @californiamonster8877
    @californiamonster8877 9 лет назад +89

    brock mcnuggets

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

      Lmfao, the beast in the box , Brock Mcnuggets (Brock Lesnar music hits).

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

      Agreed

  • @ramirez368
    @ramirez368 7 лет назад

    Wow!!! you explain 4 classes of database in 5 minutes....Thanks

  • @relationaldatabase1271
    @relationaldatabase1271 8 лет назад +2

    Wow. 5 years ago this went online. It really inspired me.

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

    Oh man, you really cleared that up for me, thank you so much. I couldn't wrap my head around the terminology, but you made the concept clear for me. Thank you!

  • @PrescottComputerGuy
    @PrescottComputerGuy  11 лет назад +3

    Correct. You will also sometimes see the notation of having a "regular" line for the "one" side and a line with two lines coming out of it - looking like a "peace" sign without the circle. That is the "many" side.
    There are other possibilities. RUclips does not allow for links in comments , so I added a link to an image I quickly tossed together which shows more of "Crow's Feet Notation".
    If you look up "Relational Database Crow's Foot Notation" you will likely find more.

  • @DanielFassa
    @DanielFassa 8 лет назад +9

    Thank you SO GOD DAMN MUCH friend. I was starting to play with PowerPivot and Table Relationships in Excel and was struggling to get a hold of this concept as I was trying to connect 2 table directly without considering that the new relationship itself would be the hosted by a whole new table! Many many thanks!!

    • @PrescottComputerGuy
      @PrescottComputerGuy  8 лет назад +1

      You are welcome. Glad you found it useful!

    • @StuartKaufman
      @StuartKaufman 8 лет назад

      Please edit your comment to remove the blasphemy of the holy spirit

    • @lytwaytLaz
      @lytwaytLaz 8 лет назад +3

      Please edit your comment to remove the stupidity.

    • @StuartKaufman
      @StuartKaufman 8 лет назад

      lytwaytLaz You're not too bright to not defend God

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

    Yo, this was awesome. I'm studying Django with my dad and in the course we're studying there are Relational database concepts, I didn't know them that well, thank you for the help

  • @lightnorthwind
    @lightnorthwind 11 лет назад +2

    Thank you very much! Excellent presentation, clear and easy to understand. I've been struggling to understand this concept for ages, but you've put it very nicely in a nutshell.

  • @Eleyond
    @Eleyond 12 лет назад +1

    I wondered about enrollment ID too. Correct me if I'm wrong but I think it's not even needed. Since you could combine classID and studID to be a unique Identifier. So a primary key consisting of 2 foreign keys.

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

    This i call good tutorial. Love you sir

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

    This is still helpful in 2020,
    Thank you computer guy

  • @PrescottComputerGuy
    @PrescottComputerGuy  11 лет назад +1

    You have the Customer ID once in the Customer table but can have it many times in the Orders table (though it really can be zero, one, or many times). This is a one-to-many relationship.

  • @silenceineverywhere
    @silenceineverywhere 10 лет назад +3

    Great video; really helps me better understand the basics - though I probably should've paid attention during class instead of tuning out, despite how difficult my professor makes it.

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

    Another excellent presentation!
    4,700 'likes' is a great accolade! Congratulations, PCG :-)

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

      Thanks.

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

      @@PrescottComputerGuy
      is this the same way we can connect many to many tables by use that junction table?

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

      @@norpriest521
      Yes -- the "middle" table creates a many-to-many connection between the other two tables.

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

    This one was really made for the beginners

  • @aaronglennon5404
    @aaronglennon5404 7 лет назад

    Finally! a good quality simple vid! Keep em coming! Thanks

  • @desigamer1618
    @desigamer1618 5 лет назад

    After watching this nice video I am grateful to know I already make relational databases on excel.

  • @izaak791
    @izaak791 12 лет назад

    almost 30.000 views...no dislike...that sums it up! thanx man ,great tut

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

    This can actually be the best explaining video I've ever seen about Relational Databases. Thanks for Sharing! 🫶

  • @stef1121
    @stef1121 7 лет назад +4

    Steve Jobs will be teaching a student who uses a Windows computer... Crazy shit huh?!
    Thanks a million for this truly helpful video! Very explanatory. Just what I needed for my MS Access classes. :)

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

    I love that all the students in the uni are studs.

  • @darkman237
    @darkman237 6 лет назад +1

    So when you pull a list out of enrollments, it should display the student and their classes(and grades)?

  • @Colstonewall
    @Colstonewall 13 лет назад

    Very nice intro to database concepts. Exactly what I needed! Thanks

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

    Excellent, so concise and so understandable!

  • @rakzsenju9976
    @rakzsenju9976 7 месяцев назад

    Prescott Computer Guy is officially my tutor🙏

  • @TheTatmandu
    @TheTatmandu 9 лет назад +10

    Student to Class is a one-to-many relationship. The Enrollment object creates a many-to-many relationship between students and classes.

    • @starfire_xi
      @starfire_xi 6 лет назад

      if we keep picking one unique thing and relating it to other tables, wont we have an infinite amount of tables? < does that make sense?

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

    Direct to the point, good work

  • @helmyano
    @helmyano 11 лет назад

    I wish I had watched this tutorial earlier, it took me too much to grasp these concepts at my own.

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

    Very clear explanation and presentation. Thanks.

  • @mmmsharma
    @mmmsharma 6 лет назад +2

    Clearest explanation I've seen. Well done!

  • @buttermilk_pie
    @buttermilk_pie 6 лет назад

    Thanks! Excellent description of one-to-many relationships.

  • @moaazbhnas886
    @moaazbhnas886 8 лет назад +1

    I didn't understand the final part of the video .. did you mean that every record(enrollment) in the enrollments table has its own id ?

  • @r_b5951
    @r_b5951 12 лет назад +1

    Nicely done. Do you have any more tutorials on relational databases, or MS Access? thank.

  • @pidansolo
    @pidansolo 5 лет назад

    I feel like it would be more helpful to single out some basic concepts before diving into the example, but overall the video is very well-made and clear. Love it

  • @myam754
    @myam754 5 лет назад +6

    Still informative in 2019

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

    This video make me understand what relational database is. Thanks

  • @tsvetanayvanova3145
    @tsvetanayvanova3145 7 лет назад

    Excellent , brief and crystal clear.

  • @TheAmazingB
    @TheAmazingB 12 лет назад +3

    Wow, that was great! May I ask what program you were using to create your presentation?

  • @m.o.7661
    @m.o.7661 7 лет назад +1

    Hello Computer Guy, I am doing a relational database but I run into a doubt. if I relate CustomerTbl to OrderTbl, and OrderTbl is related to ProductTbl, will the CustomerTbl be automatically related to ProductTbl? Or I will have to manually relate the tables Customer to Product tables? please help me with that

    • @PrescottComputerGuy
      @PrescottComputerGuy  7 лет назад

      If I understand what you are saying, they will have a similar relation to what my "Students" and "Classes" have in the example I give.

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

    This was amazing and helpful. Thank you!

  • @Watermeba
    @Watermeba 5 лет назад

    So what is the alternative to this strategy where you have a 3rd database acting as a middleman that represents the relationships between the first two database? Or is this pretty much the best way to do this. Also, what was the "grade" used for?

    • @DaNyAaLcEc
      @DaNyAaLcEc 5 лет назад

      As I understood it, the 'grade' in the enrolments table represents the main INFORMATION that table gives you and the primary reason that table exists. You could use that table to see who are the high performing students in the school or who requires more attention. It is not fixed to any particular student or class but is focused purely on grades. An alternative to this database would be a hierarchical database or a network database. You could have the year level as the root node. Then you could divide that root node into subject nodes eg. math, english, etc. In this way you would have a single ROOT record that is continuously divided into PARENT and CHILD nodes forming hierarchical patterns and relationships. Each child inheriting certain traits from the parent records above it. The Database in this video shows an example of a different type of database that does NOT depend on hierarchy BUT on relationships instead.

  • @MsGunseli
    @MsGunseli 8 лет назад

    Excellent Relational Database Concepts video. Do you have more videos in same the concept such as Database Tables, Primary Keys, Foreign Keys, and Relationships,Database Design etc. ?

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

    Great video, very enlightening and to the point, 10/10

  • @situn2904
    @situn2904 12 лет назад +1

    Thank you for awesome explanation. Could you please advise me where to look into for learning normalisation in Database. Thanks!

  • @Branables
    @Branables 12 лет назад

    Love the video. It was a great and quick review on what I learned about databases.

  • @stefanhyltoft
    @stefanhyltoft 9 лет назад +5

    You could also make a primary key set out of studentID and classID I guess, instead of making enrollmentID.

    • @PrescottComputerGuy
      @PrescottComputerGuy  9 лет назад

      stefanhyltoft I cannot imagine why, but if the same student was enrolled in the same class twice that would lead to problems. Is that even a possibility? I do not think so… and if that is the case your solution would also work. :)

    • @stefanhyltoft
      @stefanhyltoft 9 лет назад

      Prescott Computer Guy
      I guess if they had to take the same course twice cause they didn't pass it could make problems

    • @PrescottComputerGuy
      @PrescottComputerGuy  9 лет назад

      stefanhyltoft Even then it would be a different class ID - the ID is tied to the specific class, not just the class section. Often schools will have things like PSY10120150001 for the first PSY101 class of 2015.

    • @jeffreyschneider2480
      @jeffreyschneider2480 9 лет назад

      stefanhyltoft This would break if you wanted to keep track of the semester/year that the course was taken.

    • @tylerpugh8912
      @tylerpugh8912 9 лет назад +3

      +Prescott Computer Guy I agree with +stefanhyltoft that you could make what is called a concatenated primary key by combining the studentID and classID for the bridge table, but it really comes down to personal preference. The benefit of having a concatenated primary key is that, as you mentioned, it will cause an error if a student enrolls in the same class twice. That is something that we never want to have happen so we enforce that rule with the concatenated primary key. It is better to have an error that you need to code for, and keeping faulty data out, then having the ability to somehow enroll a student in the same class twice.

  • @PrescottComputerGuy
    @PrescottComputerGuy  12 лет назад

    You are sincerely welcome. Glad it helped.

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

    Excellent explanation. Thank you!

  • @johnyjayceon9919
    @johnyjayceon9919 12 лет назад

    That was very useful for my assignment, Thanks a lot mate...

  • @iosson
    @iosson 11 лет назад +1

    Thank you - clear, concise and simple!

  • @phumlanimnguni9008
    @phumlanimnguni9008 6 лет назад

    Thank u man you are the best .a am stress free now I'm going to the exam with confidence😀👏

  • @muhammadmubashir7490
    @muhammadmubashir7490 6 лет назад

    nice and precise video, no extra information and helped me a lot . . . keep it up

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

    This is such an amazing video!!

  • @seennnun2895
    @seennnun2895 6 лет назад

    so the enrollment is the form shown before?? i mean the relations between students and classes??

  • @DeepikaSharma-se8yq
    @DeepikaSharma-se8yq 4 года назад +1

    Wow lovely great tutorial cleared all my doubts thankyou🥰

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

    I'm so dumb. Would you have to do a vlookup in the fat table to drawn in the student and class id and do the headings need to be the same?

  • @omgacat520
    @omgacat520 5 лет назад +2

    This helped a lot. Thank you!

  • @righteousgroove
    @righteousgroove 10 лет назад

    VERY clear, concise and helpful. Thank you!

  • @5DnDn
    @5DnDn 11 лет назад +4

    thank you that was simple and in to the point no time wasted :D

  • @kerimtim
    @kerimtim 9 лет назад

    ok if this is the case then tell me please how do these concepts work in PHP? if we are retrieving classes that a particular student has in PHP look do we have to run another loop inside the loop?

  • @IrinaAV
    @IrinaAV 12 лет назад

    I have a question about the enrollment ID. Is that a unique combination if StudentID/ClassID/Grade to avoid repeats? or is it more like calling each row of the middle database Enrollment1001, Enrollment1002, Enrollment1003, etc.to be able to call each row as needed?

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

      I don't see why you'd need to avoid grade repeats, so probably for tracking every instance of a student being enrolled.
      The real question is how it's ordered. By student wouldn't make much sense, but if you did it by class then you could assign every class a range of enrollment ids to prevent overcrowding.

  • @M2dScientist
    @M2dScientist 11 лет назад

    What program have you used to make this video ? Not to record the video but to make the tables and animations.
    Good video, very useful!

    • @PrescottComputerGuy
      @PrescottComputerGuy  6 лет назад

      Keynote on a Mac. Low end software and it works great for things like this.
      Did edit some of the timing and the like in post production with ScreenFlow.

  • @sabahkhan7915
    @sabahkhan7915 7 лет назад

    I have just one question. Are relationships made between entities or attributes?

  • @PrescottComputerGuy
    @PrescottComputerGuy  12 лет назад +8

    Thank you - appreciate it.

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

    Watching this in 2022. Still relevant.

  • @TomFelixJensen
    @TomFelixJensen 7 лет назад

    a really good lesson. Thank you so very much. Which program have you used for making the video??

    • @PrescottComputerGuy
      @PrescottComputerGuy  7 лет назад +1

      I use Apple's Keynote (similar to PowerPoint but, I think, MUCH better for this type of work) and record, edit with a screencasting program called ScreenFlow (which does a lot more than just screen recording). Keynote is free with Macs, ScreenFlow I think is about $100.

  • @sayedkazimi6008
    @sayedkazimi6008 5 лет назад

    Can you show us how a one to one, one to many and many to many relationship in a real and concrete table looks? Thank you very much!

  • @christophermamian7168
    @christophermamian7168 10 лет назад

    Great, concise informational video. Thanks!

  • @loriculberson7886
    @loriculberson7886 9 лет назад +1

    Perfectly explained. Thank you.

  • @nardu
    @nardu 6 лет назад

    Very nice basics.
    Could have done well with some annotations with common terminology as you highlight the fields. thank you for crow's feet

  • @davewatt28
    @davewatt28 10 лет назад +1

    Nicely done. Very helpful. thanks!

  • @mohitsrivastava3304
    @mohitsrivastava3304 8 лет назад

    We are adding this "enrollment id" to introduce a primary key in the table, right? Can't we use both a composite primary key?

    • @jaavsan
      @jaavsan 8 лет назад +2

      You can, but in most scenarios is not practical, even if enrollment id is not required its always usefull to ad an id column for many... many reason, you will understand that later.

    • @mohitsrivastava3304
      @mohitsrivastava3304 8 лет назад

      okay, thanks

  • @EtSturtNummer
    @EtSturtNummer 8 лет назад

    Great video and excellently explained.

  • @ladbroke8374
    @ladbroke8374 11 лет назад

    That's what I was looking for! Any chance you could make a similarly lovely Object Oriented Database video?

  • @dylaninthemovies
    @dylaninthemovies 7 лет назад

    Uuugg, why aren't there more videos that explain databases this well? Thanks for making this video!

  • @primoralphquezada7317
    @primoralphquezada7317 6 лет назад +1

    Dude I love yah! This finally makes sense!
    I'm working on my AWS cert the very easy one, Cloud Practitioner.
    Do you have any vids on that or how can I get in touch for some private teaching. I'm a poor student but with your way of teaching, its win win!
    Thanks you for the vid and thank you for sharing your knowledge.
    Please advise...

    • @PrescottComputerGuy
      @PrescottComputerGuy  6 лет назад

      Do not have any videos specific to Cloud Practitioner and have not used it. Might be able to play with it, though, and see if I can make some videos. Anything in specific you need?

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

    Great job 👍🏼

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

    Thank you, this was not diffult to understand than my teacher in college

  • @dvin5
    @dvin5 9 лет назад +1

    Thank you for that great explanation!

  • @shanu41
    @shanu41 8 лет назад

    Very clear! This helped a lot

  • @schardijnvideos
    @schardijnvideos 11 лет назад

    Perfect! Just what I needed to understand it!

  • @MSH3423
    @MSH3423 6 лет назад

    You are basically searching for relevant information and reporting it. Data 1, data 2 + query = result. If you can do van diagram you can do relationship database.

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

    Good tutorial,,,

  • @OfficialQuerppMusic
    @OfficialQuerppMusic 8 месяцев назад +1

    that was awesome

  • @PrescottComputerGuy
    @PrescottComputerGuy  12 лет назад

    Sure. Keynote (part of iWork on OS X) and ScreenFlow.

  • @cg8939
    @cg8939 9 лет назад +3

    George J. Bladdermyer is the smartest among them and Ralph squid is the richest among them