Database Lesson #2 of 8 - The Relational Model

Поделиться
HTML-код
  • Опубликовано: 29 май 2013
  • Dr. Soper gives a lecture on the relational model and its role in the database world. Topics include relations, primary keys, composite keys, foreign keys, normal forms, and the normalization process.

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

  • @AlexandriaRohn
    @AlexandriaRohn 8 лет назад +333

    00:19 Topic Objectives
    01:37 Entity: represents a single theme or concept with which we want to track its attributes. e.g. department, employee, or project.
    02:43 Relation: a relation is a type of table. Relation table characteristics: rows contain instances of a table, each column is an attribute, each column are of the same data type, each column has a unique name, cells of the table hold only a single value, no two rows can be identical, the order of the rows and column do not matter.
    08:28 DB terminology synonyms: table = relation, row = record, column = field = attribute
    09:40 A key is a column(s) of a relation whose values are used to identify a row
    11:45 Topology of DB keys
    12:09 Composite key: unique key, composed of two or more columns.
    15:12 Candidate key: unique key, has potential to become primary key.
    15:50 Primary key: unique key, main key for identifying a specific row in a table.
    17:35 Surrogate key: unique key, added to a relation to act as the primary key.
    19:20 Relationships between tables
    19:30 Foreign key: non-unique, a foreign key is a primary key from one table placed into another table so that the tables can be linked
    22:48 Referential integrity ensures foreign keys refer to actual entities in another table
    25:30 Null value
    30:32 Data normalization: process of analyzing a relation to ensure that it is well formed (i.e. not susceptible to anomalies)
    37:02 First normal form: table contains no multivalued attributes. Every attribute value is atomic. Thus, all relations are in first normal form.
    39:13 Second normal form: 1NF + every non-key attribute is fully functionally dependent on the entire primary key. i.e. we can't have partial dependencies among attributes of the table.
    43:32 Third normal form: 2NF + no transitive dependencies

    • @actionyear
      @actionyear 7 лет назад +3

      are you related to Jim Rohn?

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

      thanks

    • @jeathtunes769
      @jeathtunes769 5 лет назад +1

      thanks a lot mate

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

      That's really useful ! Where I can find the PPT form?

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

      thanks Rohn for breaking it down

  • @GGInfamous
    @GGInfamous 8 лет назад +69

    This IS the best video I've ever watched for a college class. You are explaining the whole chapter about relational models in depth without skipping over any information. I WISH you were my teacher.... Thank you for saving another student.

  • @DaveDugganITPro
    @DaveDugganITPro 9 лет назад +55

    these videos from Dr. Soper seem excellent to me. His tone and demeanor are relaxing and conducive to learning which I appreciate. No adds - he is not trying to sell something . thank you

  • @trevorkubonga1140
    @trevorkubonga1140 7 месяцев назад +3

    The best database course on RUclips. Well balanced and well explained.

  • @alanturing1
    @alanturing1 Месяц назад +1

    the enthusiastic voice also helps shred some of my depression crumbs.

  • @ducayzane
    @ducayzane 9 лет назад +41

    I've learned a lot from this lesson as well as L1 and willing to continue to learn until the end of this course. In the meantime, thanks to Dr Soper for this impressive free course of his.

  • @omnidp
    @omnidp 7 лет назад +8

    By far the GREATEST lecture on the topic. He has such a deep understanding of the learning curve.

  • @mikealpha
    @mikealpha 8 лет назад +17

    I am luck to watch your lectures as my first step into DB world. Thank You Sir.

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

    THANKS VERY MUCH!! I HAVE TAKEN 5 DATABASE LECTURES IN COLLEGE, AND I LEARNED NOTHING FROM MY PROFESSOR. YOUR LECTURE VEDIOS TAUGHT ME EVERYTHING!

  • @TheRealDougLane
    @TheRealDougLane 9 лет назад +15

    Very helpful, clear explanation of topics that confused and bored me to tears. It still bores me, but at least I now understand it. Thanks.

  • @TheFrododk
    @TheFrododk 9 лет назад +14

    This is by far, the best introduction to Relational Database, I am reading these monster books about this subject and sometimes have to read it 3 or 4 times and still not fully understand some of it. But these lessons are great and understandable, So thanks a lot for your great work with this. :-)

    • @andrewting3081
      @andrewting3081 Год назад +1

      I feel like a well done videos is a much more digestable than any book. The visuals being displayed while being talked about helps so much for me. It's so annoying having to flip back and forth from text on one page and diagrams on another, and trying to make sense of what's being said.

    • @marcilbertz5837
      @marcilbertz5837 11 месяцев назад

      @@andrewting3081 The longer a sentence the harder it is to follow in in written form, at least in the english language I find. So the moment pronounciation and flow get mixed into the equation it's so much easier to follow along

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

    This whole series is awesome. I have seen lessons 1,2 and 4 and I feel very prepared for my DBMS exam. I feel like I understood the concepts so much better than what I have in a month in class.

  • @mustafasadir3017
    @mustafasadir3017 5 лет назад +3

    I DONT THINK THERE IS A WORD IN MY THE ENGLISH VOCABULARY TO THANK YOU SIR.
    YOU ARE AN AMAZING TEACHER. :)

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

    The best Instructor and the best Basics of Database tutorial, that I’ve seen so far on the social media.
    We really appreciate it.
    Thank you Sir Dr. Soper

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

    Simply superb. Highly appreciated. Full respect. I have learned a lot. Can't thank you enough Dr. Daniel Soper! My best regards.

  • @dudet15951
    @dudet15951 7 лет назад +3

    This is a very good lecture for a beginner of database learning. Thank you Dr.Soper.

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

    Another great video. I tried so hard to understand normalization so many times with other instructors and you perfectly summed it up in a perfect way for me to get it.

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

    I read two textbooks and couldn't learn this stuff. You are helping to make online school doable and in the process saving me thousands of dollars and hours of time. I thank you.

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

    These lections are pure gold, big thumb up !

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

    These first two video parts summed up around 8 hours of lectures in school, and I learned even better from these two videos

  • @jean-philippeandre9177
    @jean-philippeandre9177 9 лет назад +7

    2nd ! 6 more to go and my head will be full of usefull information Thanks again !

  • @KB-vv8gr
    @KB-vv8gr 3 года назад +1

    These videos are how I'm passing my Data Management Foundations course at Western Governor's University

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

    The best DB lecture I have ever watched. Thank you sir.

  • @samanthapikus3178
    @samanthapikus3178 7 лет назад +15

    You should write university textbooks. The current material out there there is vague and doesn't explain the terms in real terms.... You are a brilliant lecturer Doctor D.

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

      I agree! The money he would make from selling the textbooks would be deserved.

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

    Really great videos.
    I'm a .NET developer with 4 years working experience, but still find your lectures very helpful. You helped me re-think and clarify many fundamental concepts.
    Thank you Dr.

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

    Awesome, just awesome the way you explain it, so it can be understood and you give everyday examples.I've looked at video after video and finally found yours. I was struggling now I'm starting to get. And this is just the 2nd video. THANK YOU

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

    For some reason my lecturer decided to split the normalization (1,2,3) into i think 4 different lectures and he made it look so dificult, i managed to fully understand it from you in few minutes, thank you! and keep doing this great lectures

  • @noahtaylor8673
    @noahtaylor8673 10 месяцев назад

    This is really really well taught. I am not a programmer nor do I have formal programming training, but I have a passion for it and my programs only depend on small data files like .jsons or .py files which are updated and their contents reimported to the program on its next instance. For someone without much experience, the thorough and concise way you explain things makes it very easy to follow and expand my knowledge really quickly. I cannot thank you enough for posting this lecture series.

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

    This is an incredible tutorial, thank you Dr. Soper

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

    What a GREAT resource for anyone learning Database concepts. THANK you Dr. Soper

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

    I failed DB in College many times.
    After 3 years of DB, I had learned and understood more from this than what my lecturer had taught me...
    Maybe that says more about me, but that class killed me, this makes DB interesting to me again.
    Thank You!

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

    Screw the three that disliked this video, this is great content. Thanks for posting!

  • @CH-cm1yx
    @CH-cm1yx 2 года назад

    Dr. Soper, thank you immensely for your contributions here. The textbooks I was going off of to learn this stuff are not of the best quality and you make it quite simple.

  • @JeanAlesiagain3
    @JeanAlesiagain3 9 лет назад +9

    Thank you for posting this video. I am happy that I could find one with a perfect English accent.

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

      JeanAlesiagain3 I know the pain you went through. lol

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

    this presenter is much clearer than a lot of actual uni lecturers...

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

    I've learned also a lot lot whole lot from this lesson. I am watching all of them. Dr SOPER is SUPER.

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

    I was trying to find materials on databases concepts and this is one of the best video lectures i have seen by far.Thank you sir for the wonderful lectures.

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

    Thank you Dr. Soper....this series is proving extremely helpful.

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

    These videos are very professional in every sense. Can't find better videos than these on this topic.

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

    You are truly amazing! You explanation are so clear and easy to understand. Thanks a ton.

  • @Mohammed-yg7jc
    @Mohammed-yg7jc 9 лет назад +5

    Very helpful, thank you Dr Daniel.

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

    Very well done, thank you much as I'm going to watch the whole series.

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

    OMG your lectures are best simple and detailed anyone who never had heard of data base can come and learn here , plz keep these coming , we will support you :-)

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

    This is great stuff. So easily explained it's opened my mind.

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

    Simple and easy to understand. Also very useful and essential for begginers.

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

    God damn. Two videos in and I already learned more in less than two hours than I did in two months of my college course in data management...

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

    Thank you Dr Daniel Soper.

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

    Your voice is so good! I pair your lessons with some lofi and its just so smooth. Very easy to focus on.

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

    Brilliant. Very brilliant. Thank you Dr. Snoper. I am currently using this in my class.

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

    I'm so glad to watch your tutorial, it give me a deep understanding about DB world.
    Thank you Sir.

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

    Lots of examples, thanks for this very good educational work!

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

    Amazing content!!!!!!!!!!! Coherent, clear and extremely easy to follow.

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

    Thank you, doctor Soper really this is excellent course until now I see before,appreciated

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

    Extraordinary explanation. Thanks a lot Dr. Daniel.

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

    The best teacher ever!

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

    Thank you for these videos! They make my classes so much easier to learn!

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

    Thank you for the high quality lectures.

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

    So many new things in this video but you did it well, just a little bit carefully read again and then i can get what you describe!! Nice job

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

    These videos are amazing. Thank you.

  • @SV-fh6ix
    @SV-fh6ix 8 лет назад

    Awesome! very clear information and in a simple way.

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

    Exquisite! Really thorough and helpful. Thank you!!!

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

    I find it very interesting & understanble in all your tutorial. I'd really like and happy to follow all your tutorial❤️❤️💯

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

    Very, very good explanation. Thanks a lot Dr. Daniel Soper.

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

    Thank you Dr Soper. This is really educative.

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

    OMG THANK YOU SO MUCH!!
    I wish my lecturer will be as good as you when explaining something!

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

    These lectures are really, really good. Thank you!

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

    Alot better explanation than university professor. Thanks 😊

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

    It's as clear as the first part :) Thank youuuuu

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

    Thanks for the course, and the subs!!

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

    Great videos with proper details. Thanks a lot.

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

    Thanks you Dr. Soper

  • @HA-fq5xc
    @HA-fq5xc 4 года назад

    Perfect perfect perfect
    thank you Dr from Saudi Arabia

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

    Thanks a lot, you are such a good teacher!

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

    Thanks for explaining so well.

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

    Nice video. It help me so much to understand the concept of this topic

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

    Brilliant. Very brilliant. Thank you Dr. Soper. I am currently using this in my class. Sorry that I spelled your name wrong in my first comment.

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

    Great videos, I have learned lot from this videos. If possible can you please share PPT.
    Thanks Dr. Daniel Soper.

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

    If anyone was confused by the 2nd Normal Form definition like I was, I think I got it now. In the example at 40:00, the primary key is a composite key - which means we are using not just one but two key columns to determine all of the other non key columns. The problem is, we found that there are some non-key attributes which don't need both keys to determine their uniqueness. We found that just one of the keys was sufficient for them. So, why not break down the table by removing those non-key columns which only need one of the keys and put them in a separate table where they can be ruled by that one primary key while in the original table only those non-key attributes which truly need to be defined by both key attributes should remain with the entire composite key.

  • @hsuan-linher7245
    @hsuan-linher7245 9 лет назад

    GREAT LESSON! THANK YOU

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

    THANK alot ur making things nice, natural and understandable.

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

    Formidable!... So gratefull !... Thanks a lot.. But need to watch again.. ;)

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

    Thank you Dr Soper

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

    Great Lesson. Thank you.

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

    Excellent! Love the normalisation part. Only one issue, a foreign key does not need to point to the primary key, as long as it is pointing to a *unique* column...

    • @TonyTigerTonyTiger
      @TonyTigerTonyTiger 7 лет назад +3

      Technically, that is not all of the story either. A foreign key can reference multiple columns, as long as together they are unique in the referenced table. For example, table A might have a primary key that is a composite key. A foreign key in table B that references table A would then have to reference more than 1 column in table A.

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

    I am so happy to attend your lectures

  • @insanus05
    @insanus05 5 лет назад +1

    Great content, thank you.

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

    Great lecture!

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

    it's strange, because when my lecturer was explaining the exact same thing, I was so confused on what the hell was he on about, but when you explain it, it makes sense to why there's a Database, a database management system , database application, why the relationship table is defined that way etc
    What I like to imagine with normalization is breaking and rearranging columns and tables to be the most efficient. Having multiple values in a box is very inefficient because you'll never know which item to choose. So that's N1
    For N2 the only thing I can see is that you rearranged and split tables for higher efficiency, put Products together, Put Orders together
    For N3 Instead of having Customer Id, Customer Name, Customer Address as part of Order, you put these attributes as a table itself and referenced it once in Order table

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

    you are the best...it is very useful

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

    Amazing videos!

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

    Thank you! Very helpful indeed

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

    Awesome best uptill leacture on database

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

    Very nice! Thanks.

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

    Amazing.... Thank you sir

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

    Many thanks for these videos

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

    Very good lessons, Thank you sir.

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

    You killed it..Thanks you

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

    I'm in the middle of a Database Management Foundations course. I am so thankful for finding your videos! the reading material is so dry. I'm still having a hard time with normal forms though.

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

      WGU C175? Agreed.

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

      @@_stuckinga yep. I failed the first OA by like 4 questions. Ugh

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

    it is considered to be the best approach for the beginners. i found some personal issue while hearing out this. He was quite slow in delivering most often i went for yawning and lied for long sleep.. :p anyways Dr. praised for ua t ur best delivered approach......

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

    This is extremely nice content.