Database Design: StackOverflow (Q&A Site)

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 25

  • @DatabaseStar
    @DatabaseStar  Місяць тому

    Want to improve your database design skills? Get my Database Design project Guides here (diagrams, explanations, and SQL scripts): www.databasestar.com/dbdesign/?

  • @blets3329
    @blets3329 Рік тому +10

    You've by far the best database design content on UA-cam

  • @NotAllHeroesWearCapes-101
    @NotAllHeroesWearCapes-101 Рік тому +3

    this is super cool. Thanks I do recommend to add those missing features. Those adds complexities and are great for understanding deeper concepts.

    • @DatabaseStar
      @DatabaseStar  Рік тому +2

      Thanks! Sure I’ll look at expanding this to add those concepts

  • @chinmoykr
    @chinmoykr Рік тому +2

    In this diagram you can mark every posts as accepted answer, including a question because question is also a post. So it is better to create separate tables for question and answer. Also in stack overflow you can add tags to a question but not to an answer.

    • @DatabaseStar
      @DatabaseStar  Рік тому +2

      That's a good point about having separate tables to solve that problem!

  • @vishalpoddar
    @vishalpoddar 4 місяці тому +1

    should not the post and the accepted-answer-id have 1 - 1 relationship? 8:33

    • @DatabaseStar
      @DatabaseStar  4 місяці тому

      Yes, that would probably work better, as a post can only have one accepted answer.

    • @vishalpoddar
      @vishalpoddar 4 місяці тому

      @@DatabaseStar Thanks.

  • @PitZza143
    @PitZza143 Рік тому

    I like the way you construct the relationship.

  • @falseloop
    @falseloop Рік тому +3

    Please Make A tutorial on social media website, I know you have a video on this but please make a detailed social media database design like reddit , Thank You

  • @shivanikowkuri7850
    @shivanikowkuri7850 Рік тому +1

    Can you explain how to create a database of credit card management system,i got this project but got stucked in the middle... your videos helped me a lot in understanding database

    • @DatabaseStar
      @DatabaseStar  Рік тому +1

      You can check out my other video on creating a database design from requirements or an idea. That should help get you started.

    • @nanohetube
      @nanohetube Рік тому

      cool

  • @ShreeharshaV
    @ShreeharshaV 2 місяці тому

    Thanks for the great video. I have a question wrt one of the requirement - "Users can add comments to questions and answers". Can we not design it this way : Comment Table : id (PK), commentText, createdDate, createdByUserId (FK) and then PostComment table : id, postId (FK), commentId (FK) and AnswerComment table : id, answerId (FK), commentID(FK). Let me know your thoughts on this if this is a wrong design. Thanks

    • @ShreeharshaV
      @ShreeharshaV 2 місяці тому

      Tried to have many to many relationship between comment and post, and then comment and answer.

    • @DatabaseStar
      @DatabaseStar  2 місяці тому

      Thanks! Yes that design could work, however in the design in the video, a Post can be either a Question or an Answer, so having a separate AnswerComment table may not be ideal (you would have to somehow ensure it only links to posts that are answers).

  • @codingSeller
    @codingSeller Рік тому

    thanks, fantastic contents🥰

  • @khumbomunsaka
    @khumbomunsaka Рік тому +1

    Have you thought about creating a discord server?

    • @DatabaseStar
      @DatabaseStar  Рік тому +1

      Yeah, I actually plan on creating a community for my Academy members a little later this year.

    • @kx01
      @kx01 Рік тому

      @@DatabaseStar Can we have more DB design videos? :') Like Design a car rental system, movie ticket booking, hotel room booking etc. I am glad after searching through internet for db design I stumbled upon your channel and I must say it is good. I looked into youtube most of the contents are related to OOD, LLD, HLD or some of the videos talking about db design when discussing HLD but not into depth or no dedicated videos on DB design.
      You are a gem sir