Database Lesson #5 of 8 - Database Design

  Рет қаралды 223,518

Dr. Daniel Soper

Dr. Daniel Soper

Күн бұрын

Dr. Soper gives a lecture on database design. Topics include transforming ER data models into physical database designs, denormalization, implementing one-to-one, one-to-many, and many-to-many binary and recursive relationships, and writing SQL statements for creating joins for both binary and recursive relationships.

Пікірлер: 75
@2002egncn
@2002egncn 2 жыл бұрын
The best series of database fundamentals I have found. It is 2022 and still hold high!
@mekabay
@mekabay 6 жыл бұрын
Notes by M. E. Kabay 00:00 Objectives 01:39 From Relations to Entities to Tables 03:26 Transitioning from a Data Model to a Database 06:32 Normalization Review: Modification Anomalies 11:06 Normalization Review: Solving Modification Anomalies 12:19 Normalization Review: Definitions 14:09 Normalization Review: Normal Forms 15:29 Normalization Review: Normalized Relations 16:29 Normalization Example 18:23 Normalized Set of Tables 19:26 Denormalization 20:25 Denormalized Set of Tables 22:53 Denormalization Benefits & Costs 25:43 Representing Relationships: 1:1 Relationships 30:15 Representing Relationships: SQL for 1:1 Relationships 31:02 Representing Relationships: 1:N Relationships 32:41 Representing Relationships: SQL for 1:N Relationships 33:08 Representing Relationships: N:M Relationships 35:50 Representing Relationships: SQL for N:M Relationships 36:45 Representing Relationships: Association Relationships 37:46 Surrogate Keys and Associative Entities 41:34 Representing Relationships: Recursive Relationships 44:05 Representing Relationships: 1:1 Recursive Relationship Examples 46:14 Representing Relationships: 1:N Recursive Relationship Examples 47:55 Representing Relationships: N:M Recursive Relationship Example
@mgray999
@mgray999 4 жыл бұрын
This needs more up votes
@chrisbck2490
@chrisbck2490 4 жыл бұрын
Thanks for taking the time to index this.
@mario17-t34
@mario17-t34 9 жыл бұрын
Absolutely the best contents, presentation, speed, manners, slides etc... Perfectionne !!!! Thanks so much Dr for you generosity
@obliviondew9268
@obliviondew9268 6 жыл бұрын
This is the simplest database lecture i've ever had many many thanks Dr.Daniel Soper !
@biokode
@biokode 9 жыл бұрын
Best explanations of database concepts I've seen so far. Great stuff!
@tomasloritegarcia5143
@tomasloritegarcia5143 10 жыл бұрын
Thanks a lot Dr. Soper. I am an Engineer Computer and your video tutorial helps me maintain and refresh some already rusted concepts. My sincere gratitude and admiration for your work.
@KathrynBrock1
@KathrynBrock1 8 жыл бұрын
Thank you!!!! I'm in an online systems class, and this was the help I needed to bridge the gap between in-person and online learning. Very grateful for your doing these lectures.
@Smr0891
@Smr0891 2 жыл бұрын
Just an FYI, if you listen with the playback speed on 1.5, it is actually a lot easier to listen to if you have a hard time keeping attention to slow speakers like I do lol. Great info though! Thanks
@nitingadgil1186
@nitingadgil1186 8 жыл бұрын
Best tutorial ever on Database basics.
@zainnm86
@zainnm86 5 жыл бұрын
Fantastically clear and simple explanation of a complex subject. I was struggling with this at work and then I came across ur lectures; they have really helped me out
@aaronnarva1586
@aaronnarva1586 2 жыл бұрын
This series is wonderful. Very clear and very strategically ordered.
@sokheachap7887
@sokheachap7887 2 жыл бұрын
by far one of the best videos to help with understanding relational databases....I'm so glad I found your videos!
@sansybah236
@sansybah236 9 жыл бұрын
This is one of best explanation of database concepts. Thx
@marrr7611
@marrr7611 9 жыл бұрын
Great videos! Like your tone of voice and flow...
@mahendra8472
@mahendra8472 10 жыл бұрын
Many many thanks.., I did my engineering, but nobody explained the concepts like you... you are just great :)
@kingsleyakhimien5132
@kingsleyakhimien5132 10 жыл бұрын
Thanks Dr. Soper...you excellently explained each concepts with practical examples. Great video!
@jimc1499
@jimc1499 7 ай бұрын
Thank you for these videos Dr. Soper
@NekkruEvul
@NekkruEvul 3 жыл бұрын
These videos were very helpful when studying for my Database exam. Excellent stuff. Thank you sir!
@somachicasincity4232
@somachicasincity4232 10 жыл бұрын
Thank you for posting this. Definitely clarified for me the entity relation model and implementation processes.
@radhwanalbedany8595
@radhwanalbedany8595 6 жыл бұрын
2018 and im following your videos as a best practicing i found
@ihos4m
@ihos4m 5 жыл бұрын
This is an amazing lesson, specially the examples are very helpful. Thank you.
@MrRapperb
@MrRapperb 4 жыл бұрын
thank for these videos, they are really useful in learning, and I love the fact that you are a Big Bang Theory fan too :)
@jimb6554
@jimb6554 2 жыл бұрын
I just realized that as well so I searched the comment section for anybody referencing that BBT reference.
@giacomocorica7172
@giacomocorica7172 9 жыл бұрын
Thanks a lot Dr. Soper.
@ahmedalmakhamreh1244
@ahmedalmakhamreh1244 6 жыл бұрын
Great series, Thank you so much.
@pinkpearl1967
@pinkpearl1967 10 жыл бұрын
This is SO helpful. Thank you!
@iloveyourmum00
@iloveyourmum00 10 жыл бұрын
This is so clear! Thank you su much!
@salomon0991
@salomon0991 10 жыл бұрын
You are brilliant ,,,that all I can see to you . you have helped very much . thanks..thanks
@satalize3866
@satalize3866 8 жыл бұрын
Thank you in advance. I download this and your other lectures on database
@BhupinderSingh
@BhupinderSingh 9 жыл бұрын
Thanks a lot for this awesome video.
@rakeshsangal202
@rakeshsangal202 9 жыл бұрын
I wish you were professor of my MIS class.
@Regalert
@Regalert 6 жыл бұрын
This guy is perfect (with all due respect)
@hossamdaw1976
@hossamdaw1976 10 жыл бұрын
Thank you, explained very well..
@hebaalayass2454
@hebaalayass2454 7 жыл бұрын
Great explanation !!! thank u
@jeremylupo203
@jeremylupo203 6 жыл бұрын
Hi Dr. Soper, great videos! I wanted to make a quick suggestion on your 1:N Recursive Relationship example. The way you explain it almost makes it sound the same as the 1:1 relationship in terms of implementation. However, it's important to note here that the direction of the relationship is important in 1:N recursive relationships. You use "referredBy" (essentially the parent) which of course is appropriate. But you couldn't use "referred" (essentially the children). I'd think it's important for students to understand that the column in a 1:N relationship should reflect the parentid.
@biggpappa2966
@biggpappa2966 3 жыл бұрын
Great great video thanks 😊 simplifies things in a good way. Know even me I can understand think I couldn't u destiny before 👍
@nandhi19
@nandhi19 8 жыл бұрын
Thank you!
@pwrtricks
@pwrtricks 3 жыл бұрын
Very Good!!!i In 2020 adding a lot of knowledge!
@jimb6554
@jimb6554 2 жыл бұрын
At 30:05 I was confused as to why he keep saying "we put the foreign key on the optional side of the relationship" but then he puts the foreign key into the Patient Table which is the mandatory side of the relationship! The way I resolve that contradiction is by saying that what he meant by "we put the foreign key on the optional side of the relationship" means that we create a foreign key that "refers" to the optional table but then we "place it" into the mandatory table.
@ExploreNollywood
@ExploreNollywood 7 жыл бұрын
Thanks, i learnt a lot
@cursedtrousers8735
@cursedtrousers8735 4 жыл бұрын
I want to have a one and only one relationship with you Dr. Soper!
@radocisar3420
@radocisar3420 2 жыл бұрын
😊
@mahmoudabdelbary6859
@mahmoudabdelbary6859 8 жыл бұрын
many thanks
@TonyTigerTonyTiger
@TonyTigerTonyTiger 7 жыл бұрын
37:53 I don't think it is as big of problem as indicated, to make a surrogate key the primary key of an association entity. The problem mentioned arises only if the two foreign keys are only foreign keys, with no uniqueness enforced. But, at least in T-SQL, you could place a unique constraint on them, making the combination of their values a candidate key.
@ramilberces2743
@ramilberces2743 8 жыл бұрын
Thank you Sir
@Karmidzhanov92
@Karmidzhanov92 5 жыл бұрын
How do we actually create this ‘look up tables’ in N:M relationships. I’m interested in the actual implementation, how do you join those two columns in a separate relation. Thanks and great content!!!
@nguyentrungkien7116
@nguyentrungkien7116 3 жыл бұрын
When translating hierarchical relationship, if we create a new relation for each of entity type what kind of constraints can be satisfied?
@maddyflys327
@maddyflys327 7 жыл бұрын
gracies:-)
@gtang31
@gtang31 5 жыл бұрын
why do we need to use cross joins when working with the recursive tables?
@shahdel-badrawy
@shahdel-badrawy Жыл бұрын
great
@harisubramanian6756
@harisubramanian6756 6 жыл бұрын
Nice
@Ikhideifidon
@Ikhideifidon Жыл бұрын
In the Rating Associative entity, what if we want a customer to only have 5times rating privileges?
@nickwoodward819
@nickwoodward819 4 жыл бұрын
How do you read the relationship from the STUDENT_CLASS intersetion table to the STUDENT or CLASS table? I can do it the other way around: A student can appear zero or many times in the student class table, but I can't reverse the logic Thanks!
@soundbeans
@soundbeans 5 жыл бұрын
@ 34:49 isn't there now repetition in the intersection table? or is this unavoidable?
@MrAzeemulhaq
@MrAzeemulhaq 4 жыл бұрын
Hello Doctor, I didn't get very last example. Do you mean we have create a new table TREATMENT-INTERSECTION? But this is recursive and only one table or entity is required for it? Please clarify. Thanks.
@BlackOpsQuickscopePS
@BlackOpsQuickscopePS 8 жыл бұрын
Increase the speed to 1.25 ... You can thank me later.
@uraaxeecaqligaaga4890
@uraaxeecaqligaaga4890 5 жыл бұрын
Sir If I ask u a question do you mean person one the person sponsoring and person 2 the person sponsored by? Thank u
@saurabh7337
@saurabh7337 7 жыл бұрын
Great Video. I have a doubt, at 12:15 minutes(Data Modelling & ER) , should we not also add customerid(in vehicle table) in the new normalized layout
@TonyTigerTonyTiger
@TonyTigerTonyTiger 7 жыл бұрын
If the CarId is for a single physical car, then I think your idea of having CustomerId in the Car table is a good idea ... under the assumption that a car can be sold to only a single Customer (what if a car is sold to a husband and wife, both of which are previous Customers????). But I don't think that is what the data means here. I think the CarId is not for a single physical car, but for a type of car. That is, I believe there could be 10 cars that are 2010 Nissan Centras, all 10 of which would have CarId 103. And if that is the case, it would not work to have a single CustomerId in the Car table.
@nizindia
@nizindia 6 жыл бұрын
Dr. Daniel, appreciate your efforts, really good but I have a question here: at 32.16, how come the player table can have zero cardinality as a team cannot have zero players so there should not be a circle on the player table in the relationship but a line showing atleast 1 player on the team...Pls confirm.
@nickwoodward819
@nickwoodward819 4 жыл бұрын
I mean you could equally argue '1' isn't a team. You could however have created a team (logos, admin, support staff) but you haven't recruited players yet. It's unlikely but possible I'd guess
@davidhodson6506
@davidhodson6506 3 жыл бұрын
is it possible to get the slides for your course i am really struggling with my database managment class i am on my last attempt for my exams
@pramujisinggihriyanto6901
@pramujisinggihriyanto6901 8 жыл бұрын
Pls allow me to download your best explanation on database.
@uraaxeecaqligaaga4890
@uraaxeecaqligaaga4890 5 жыл бұрын
What does the star represent for in SQL part? Thank you sir
@julfamily9088
@julfamily9088 5 жыл бұрын
It represents 'all' for instance when you say SELECT all or everything form a specific table
@pardeep657
@pardeep657 6 жыл бұрын
the way patient and bed example is explained bit confusing..
@SpongeBlaster
@SpongeBlaster 4 жыл бұрын
This guy must love The Big Bang Theory
@mazesings
@mazesings 7 жыл бұрын
It's season 10 and Sheldon Cooper still can't drive. Bazinga!
@Mintos93
@Mintos93 9 жыл бұрын
Sheldon need to get to the dentist...
@Motassem.K
@Motassem.K 7 жыл бұрын
but he doesn't drive
Database Lesson #6 of 8 - Database Administration
1:37:03
Dr. Daniel Soper
Рет қаралды 155 М.
Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF
28:34
Decomplexify
Рет қаралды 1,8 МЛН
100❤️
00:19
MY💝No War🤝
Рет қаралды 21 МЛН
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 23 МЛН
Database Lesson #4 of 8 - Data Modeling and the ER Model
58:16
Dr. Daniel Soper
Рет қаралды 368 М.
The Birth of SQL & the Relational Database
20:08
Asianometry
Рет қаралды 194 М.
6 SQL Joins you MUST know! (Animated + Practice)
9:47
Anton Putra
Рет қаралды 119 М.
Design Good Schemas - Get a Better Database - Nuri Halperin - NDC Oslo 2023
1:02:19
7 Database Design Mistakes to Avoid (With Solutions)
11:29
Database Star
Рет қаралды 67 М.
Database Lesson #1 of 8 - Introduction to Databases
38:43
Dr. Daniel Soper
Рет қаралды 1,2 МЛН
Database Schema
6:20
Eddie Woo
Рет қаралды 607 М.
Normalization - 1NF, 2NF, 3NF and 4NF
19:02
channel5567
Рет қаралды 2,2 МЛН
100❤️
00:19
MY💝No War🤝
Рет қаралды 21 МЛН