In my college they taught us that we have weak entities my question is Should I just not use it? Also Should I use surrogate key instead of composite primary key and why?
Yes, weak entities exist but they are such a small use case. I have slides that talk about them, but I do not have lecture videos. In fact, I choose not to focus on these because the time is better spent on other topics. You choose whether to use a surrogate or a composite. The surrogate is often easier, and I tend to use a surrogate in all cases where the composite is 3+ attributes.
excuse me sir, I tried to register on your website, it asked me for a netID I tried different things could you please provide me netID or how to do it?
In my college they taught us that we have weak entities my question is Should I just not use it?
Also Should I use surrogate key instead of composite primary key and why?
Yes, weak entities exist but they are such a small use case. I have slides that talk about them, but I do not have lecture videos. In fact, I choose not to focus on these because the time is better spent on other topics. You choose whether to use a surrogate or a composite. The surrogate is often easier, and I tend to use a surrogate in all cases where the composite is 3+ attributes.
@@DustinOrmond Thank you so much, actually I use Django and I can only use surrogate key and Could you please tell me where can I find these slides?
I think you missed ‘1 section is taught by 1 professor’?
You are right, there should be a many-to-one relationship between section and professor!
excuse me sir, I tried to register on your website, it asked me for a netID I tried different things could you please provide me netID or how to do it?
Unfortunately, I only allow students access right now. In the future, I may open it up to the public.
@@DustinOrmond Oh alright and thank you so much for the courses