How to design database for a project

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2018
  • In this video, we discuss the process of correctly designing the RDBMS database for a software project. Download the session ppts here: docs.google.com/presentation/...

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

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

    This video is the best dw video for de interview that I saw on youtube so far, thanks

  • @abhishekvishwakarma9045
    @abhishekvishwakarma9045 3 года назад +16

    I failed in an interview of design (my first one which is unexpected😅) because I directly jump into making tables and relationships and I am confused about what did I do wrong in that now I got it how to approach these problems. thanks a lot sir🔥

  • @OmPrakash-ot3nr
    @OmPrakash-ot3nr Год назад +1

    Thank you so much for making this video. This is by far the most useful video I have found on the internet to approach these type of problems.

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

      Glad it was helpful!

  • @sase1017
    @sase1017 3 года назад +19

    "The sooner you start coding, the later you finish" haha

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

    Dude... I'm mind blown by what you illustrated. Just wow

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

      Glad you found it useful.

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

    Thank you sir ! I was afraiding to step forward to create db but... Now I am starting.... 😌

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

    thank you brother for this video
    very helpful in understanding how to break down problem statement in functional entities and then creating tables and relations among them
    thanks a lot

  • @Ahmad-ww4ue
    @Ahmad-ww4ue Год назад

    This is pure gold! Chapeau 🎩

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

    Dude you nailed it!

  • @TechMedia-it
    @TechMedia-it 5 лет назад +6

    Thanks so much for this beautifully explained Video!

  • @danielmadison4451
    @danielmadison4451 3 года назад +5

    Thank you so much. You actually showed the concept of a foreign key. One thing I don't think you addressed and glosses over was how to handle multiple answers (Check Boxes). This is a major database question I don't know how to solve. Thanks again for an excellent video.

    • @Lucky-jm5if
      @Lucky-jm5if 2 года назад +1

      ur questions is related to front end and this is all back end stuff....

    • @saunved
      @saunved 2 года назад +2

      Yeah, I felt the same way while watching the video. However, he has handled this use case well.
      Looking at the tables, you can see a 1 to many relationship between question => answer tables. That is, one question can have multiple choices (if it is an objective question). So when fetching the question from the database, you can also fetch all the options referred to by question_id in the Answer table.

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

    Crisp clear and very helpful... thanks

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

      Glad it was helpful!

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

    Thank you so much bro , love this video :)

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

      Glad you found it useful

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

    Got to learn some new things.. thanks!

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

    Great video. Thank you so much.

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

      Glad it was helpful!

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

    This video is helpful. Well Explained!

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

      Glad it was helpful!

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

    Great explanation

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

    Smooth explanation

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

    Very good explanation ,Bro.
    Waiting for your next video on ER Diagram?

  • @backendninja8333
    @backendninja8333 4 года назад +5

    What if I want to use Agile where there is no such thing called "functional requirements". Instead it has "User Stories". Then how can I design my database from user stories?

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

    I love it. Waiting for the next lesson

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

      Thank you for your kind words. I will surely put the next one soon.

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

      @@BBarters sir can you provide me sprint security pdf file . can you also recommend good website and video for creating web app in grails.

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

    excellent explaination

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

    Thanks Alot.

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

    Very well explained. Can you pleàse also how to model the data into dimensions and facts please?

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

    Thanks! Sir

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

    Well explained.. 👍

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

      Glad you liked it

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

    Thank you

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

    good video
    hope you keep update :)

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

      Thank you, I will

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

    Really useful video

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

      Thanks a lot, I am happy that it was useful for you.

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

    good video!

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

      Glad you liked it!

  • @Noritoshi-r8m
    @Noritoshi-r8m 6 месяцев назад

    Fenomenal lecture, ty very much! What's the link to the next video to this one? I cant find it in your channel

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

    This is very useful! Where is the following video?

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

    Thanks

  • @manjunatht7087
    @manjunatht7087 9 месяцев назад

    Thank you, its informative and helpful. Can you please tell me the schema of this database design is in which data model created?

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

    I think you have bad design in tables question and survey because your design implies that each survey has its own questions because you have survey_id in question table, problem is if you have same survey, same question for every survey. I think in that case you should remove survey_id from question table and add new table something like SurveyQuestions which would be connection between question and survey (obviously) and it will have survey_id and question_id and answer_id with composite primary key, so basically classical many-to-many relationship. In that case you could have hardcoded question in db and just insert into SurveyQuestion which survey which question and which answer.

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

    Good video. Hope I will also get similar traction on my videos

  • @manavdeepsinghgrable
    @manavdeepsinghgrable 3 года назад +3

    Can I get link to more videos like this.

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

    is it reasonable to put product_id on the survey table, and then use productSurvey to capture the current survey for a product?

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

    THANK YOU! Where can i find the next video for ERD?

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

      Will upload that one soon.

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

      @@BBarters Is it uploaded now?

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

    in 17:26 the entity survey_id in question would get affected and we can no longer make a join between question and surverys

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

    where is 2nd part of the video?
    counldnt find it!

  • @ZakirHussain-ig4yv
    @ZakirHussain-ig4yv 2 года назад +1

    If one product won't have multiple surveys at the same time then you don't need product_survey table, only product table would be enough with a extra column survey_id.

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

    Is there a second part to this video? I could not find it. @BBarters. Thank you.
    Great video btw.

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

      So far only one, I plan to make a couple more soon. Thank you for your kind words.

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

      @@BBarters Thank you for responding. Quick question tho if you got the time. I have a hard time understanding the responder object. How does it relate to the other components?

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

      In case im not clear, does it stand by it's own or do we need to map it with components with whom it shares PK?

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

    please can any one clarify how to list out all entities???

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

    Hi, where is the next video you talk about ?

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

    how do i access the next vedeos
    have tried to understand

  • @AR-ok2qt
    @AR-ok2qt 2 года назад

    00:42 The Sooner you start coding, the later you finish it !

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

    Response table is wasting data storage by having response text left vacant for objective questions !

  • @realme-pl3po
    @realme-pl3po 3 года назад

    is the second video uploaded yet??

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

      Sadly no. Will work on that.

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

    Write the steps to design a database ? Please replay

  • @SudhirKumar-rl4wt
    @SudhirKumar-rl4wt 2 года назад

    I was in impression that this application also makes sure that a particular product is first purchased by an user before participating in the survey..that doesnot seem to be taken care here.

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

    7:00