How to design database for a project

Sdílet
Vložit
  • čas přidán 18. 11. 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/...

Komentáře • 76

  • @sase1017
    @sase1017 Před 3 lety +19

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

  • @lingxu9697
    @lingxu9697 Před 2 lety

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

  • @abhishekvishwakarma9045
    @abhishekvishwakarma9045 Před 2 lety +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🔥

  • @fishlabsonline
    @fishlabsonline Před 3 lety +4

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

    • @BBarters
      @BBarters  Před 3 lety

      Glad you found it useful.

  • @rakeshnarang8545
    @rakeshnarang8545 Před 2 lety +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

  • @OmPrakash-ot3nr
    @OmPrakash-ot3nr Před rokem +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.

  • @danielmadison4451
    @danielmadison4451 Před 3 lety +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 Před 2 lety +1

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

    • @saunved
      @saunved Před 2 lety +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.

  • @hrushikeshkhonde8597
    @hrushikeshkhonde8597 Před rokem +1

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

  • @briancalma5674
    @briancalma5674 Před 3 lety +4

    Dude you nailed it!

  • @Ahmad-ww4ue
    @Ahmad-ww4ue Před rokem

    This is pure gold! Chapeau 🎩

  • @TechMedia-it
    @TechMedia-it Před 5 lety +6

    Thanks so much for this beautifully explained Video!

  • @sharaths3464
    @sharaths3464 Před 5 lety

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

  • @sushantkumar8903
    @sushantkumar8903 Před 3 lety +2

    Crisp clear and very helpful... thanks

  • @namratanagvekar6857
    @namratanagvekar6857 Před 3 lety

    Smooth explanation

  • @skullcode8856
    @skullcode8856 Před 2 lety

    Great explanation

  • @backendninja8333
    @backendninja8333 Před 4 lety +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?

  • @vrushangdesai2813
    @vrushangdesai2813 Před 4 lety +3

    Thank you so much bro , love this video :)

    • @BBarters
      @BBarters  Před 4 lety +1

      Glad you found it useful

  • @ramesh5643
    @ramesh5643 Před 3 lety

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

  • @sandeepraul7261
    @sandeepraul7261 Před 4 lety +3

    Got to learn some new things.. thanks!

  • @sumanmodak1846
    @sumanmodak1846 Před 2 lety

    excellent explaination

  • @ayushmankumar7
    @ayushmankumar7 Před 3 lety +1

    This video is helpful. Well Explained!

  • @tanvirhasanmonir1627
    @tanvirhasanmonir1627 Před 3 lety

    Great video. Thank you so much.

  • @engsiyad
    @engsiyad Před 5 lety

    I love it. Waiting for the next lesson

    • @BBarters
      @BBarters  Před 5 lety

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

    • @gkarki3
      @gkarki3 Před 5 lety

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

  • @Woeden
    @Woeden Před 6 měsíci

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

  • @ng4logic
    @ng4logic Před 3 lety +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.

  • @papachoudhary5482
    @papachoudhary5482 Před 4 lety

    Thanks! Sir

  • @meetcharola3624
    @meetcharola3624 Před rokem

    Thanks Alot.

  • @zaccomusic
    @zaccomusic Před 3 lety +1

    good video
    hope you keep update :)

  • @SPR1326
    @SPR1326 Před 3 lety

    This is very useful! Where is the following video?

  • @codewithrafay5027
    @codewithrafay5027 Před 4 lety +1

    Well explained.. 👍

  • @Sh1r449
    @Sh1r449 Před 5 lety

    Thank you

  • @manjunatht7087
    @manjunatht7087 Před 9 měsíci

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

  • @manavdeepsinghgrable
    @manavdeepsinghgrable Před 3 lety +3

    Can I get link to more videos like this.

  • @ZakirHussain-ig4yv
    @ZakirHussain-ig4yv Před 2 lety +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.

  • @ramchinthakayala2092
    @ramchinthakayala2092 Před 3 lety +1

    Really useful video

    • @BBarters
      @BBarters  Před 3 lety

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

  • @kellylewis5907
    @kellylewis5907 Před 3 lety +1

    good video!

  • @wadeshobbies
    @wadeshobbies Před rokem

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

  • @saurebhkadaam20
    @saurebhkadaam20 Před 3 lety +1

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

  • @DesignStrong
    @DesignStrong Před 3 lety

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

  • @solehahrafi8514
    @solehahrafi8514 Před 3 lety +2

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

  • @carrot5040
    @carrot5040 Před 3 lety

    Thanks

  • @skullcode8856
    @skullcode8856 Před 2 lety

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

  • @SirMika9
    @SirMika9 Před rokem +1

    Hi, where is the next video you talk about ?

  • @kasdal
    @kasdal Před 3 lety +1

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

    • @BBarters
      @BBarters  Před 3 lety

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

    • @kasdal
      @kasdal Před 3 lety

      @@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 Před 3 lety

      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?

  • @mugaigabenjaminj1736
    @mugaigabenjaminj1736 Před 2 lety

    how do i access the next vedeos
    have tried to understand

  • @sudiptamukherjee8216
    @sudiptamukherjee8216 Před 2 lety

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

  • @AR-ok2qt
    @AR-ok2qt Před 2 lety

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

  • @godgst210
    @godgst210 Před 3 lety

    Write the steps to design a database ? Please replay

  • @viks599
    @viks599 Před 3 lety

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

  • @SudhirKumar-rl4wt
    @SudhirKumar-rl4wt Před 2 lety

    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.

  • @realme-pl3po
    @realme-pl3po Před 3 lety

    is the second video uploaded yet??

    • @BBarters
      @BBarters  Před 3 lety

      Sadly no. Will work on that.

  • @Amrrkevin
    @Amrrkevin Před 2 lety

    7:00