How to design database for a project

  Рет қаралды 96,558

BBarters

BBarters

Күн бұрын

Пікірлер: 76
@abhishekvishwakarma9045
@abhishekvishwakarma9045 3 жыл бұрын
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🔥
@BBarters
@BBarters 3 жыл бұрын
Glad to be of help !
@OkayBrotherSister
@OkayBrotherSister 2 жыл бұрын
Same in my case
@fishlabsonline
@fishlabsonline 3 жыл бұрын
Dude... I'm mind blown by what you illustrated. Just wow
@BBarters
@BBarters 3 жыл бұрын
Glad you found it useful.
@hrushikeshkhonde8597
@hrushikeshkhonde8597 2 жыл бұрын
Thank you sir ! I was afraiding to step forward to create db but... Now I am starting.... 😌
@danielmadison4451
@danielmadison4451 3 жыл бұрын
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 3 жыл бұрын
ur questions is related to front end and this is all back end stuff....
@saunved
@saunved 3 жыл бұрын
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.
@lingxu9697
@lingxu9697 2 жыл бұрын
This video is the best dw video for de interview that I saw on youtube so far, thanks
@sase1017
@sase1017 3 жыл бұрын
"The sooner you start coding, the later you finish" haha
@OmPrakash-ot3nr
@OmPrakash-ot3nr 2 жыл бұрын
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 2 жыл бұрын
Glad it was helpful!
@rakeshnarang8545
@rakeshnarang8545 2 жыл бұрын
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
@SirMika9
@SirMika9 Жыл бұрын
Hi, where is the next video you talk about ?
@TechMedia-it
@TechMedia-it 5 жыл бұрын
Thanks so much for this beautifully explained Video!
@NishantSharma-sz5xh
@NishantSharma-sz5xh 3 жыл бұрын
take care of your baby
@sushantkumar8903
@sushantkumar8903 4 жыл бұрын
Crisp clear and very helpful... thanks
@BBarters
@BBarters 4 жыл бұрын
Glad it was helpful!
@briancalma5674
@briancalma5674 3 жыл бұрын
Dude you nailed it!
@Ahmad-ww4ue
@Ahmad-ww4ue 2 жыл бұрын
This is pure gold! Chapeau 🎩
@backendninja8333
@backendninja8333 4 жыл бұрын
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?
@sandeepraul7261
@sandeepraul7261 4 жыл бұрын
Got to learn some new things.. thanks!
@BBarters
@BBarters 4 жыл бұрын
Happy to help!
@manavdeepsinghgrable
@manavdeepsinghgrable 4 жыл бұрын
Can I get link to more videos like this.
@vrushangdesai2813
@vrushangdesai2813 4 жыл бұрын
Thank you so much bro , love this video :)
@BBarters
@BBarters 4 жыл бұрын
Glad you found it useful
@ayushmankumar7
@ayushmankumar7 3 жыл бұрын
This video is helpful. Well Explained!
@BBarters
@BBarters 3 жыл бұрын
Glad it was helpful!
@sumanmodak1846
@sumanmodak1846 3 жыл бұрын
excellent explaination
@namratanagvekar6857
@namratanagvekar6857 3 жыл бұрын
Smooth explanation
@skullcode8856
@skullcode8856 3 жыл бұрын
Great explanation
@saurebhkadaam20
@saurebhkadaam20 3 жыл бұрын
where is 2nd part of the video? counldnt find it!
@Noritoshi-r8m
@Noritoshi-r8m 11 ай бұрын
Fenomenal lecture, ty very much! What's the link to the next video to this one? I cant find it in your channel
@engsiyad
@engsiyad 6 жыл бұрын
I love it. Waiting for the next lesson
@BBarters
@BBarters 6 жыл бұрын
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.
@ng4logic
@ng4logic 3 жыл бұрын
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.
@meetcharola3624
@meetcharola3624 Жыл бұрын
Thanks Alot.
@ramchinthakayala2092
@ramchinthakayala2092 4 жыл бұрын
Really useful video
@BBarters
@BBarters 4 жыл бұрын
Thanks a lot, I am happy that it was useful for you.
@zaccomusic
@zaccomusic 4 жыл бұрын
good video hope you keep update :)
@BBarters
@BBarters 4 жыл бұрын
Thank you, I will
@tanvirhasanmonir1627
@tanvirhasanmonir1627 3 жыл бұрын
Great video. Thank you so much.
@BBarters
@BBarters 3 жыл бұрын
Glad it was helpful!
@solehahrafi8514
@solehahrafi8514 4 жыл бұрын
THANK YOU! Where can i find the next video for ERD?
@BBarters
@BBarters 4 жыл бұрын
Will upload that one soon.
@skullcode8856
@skullcode8856 3 жыл бұрын
@@BBarters Is it uploaded now?
@SPR1326
@SPR1326 3 жыл бұрын
This is very useful! Where is the following video?
@poojanagaramunnolli
@poojanagaramunnolli Жыл бұрын
Thank you, its informative and helpful. Can you please tell me the schema of this database design is in which data model created?
@codewithabdulrafay
@codewithabdulrafay 4 жыл бұрын
Well explained.. 👍
@BBarters
@BBarters 4 жыл бұрын
Glad you liked it
@ZakirHussain-ig4yv
@ZakirHussain-ig4yv 2 жыл бұрын
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.
@sharaths3464
@sharaths3464 5 жыл бұрын
Very good explanation ,Bro. Waiting for your next video on ER Diagram?
@kellylewis5907
@kellylewis5907 4 жыл бұрын
good video!
@BBarters
@BBarters 4 жыл бұрын
Glad you liked it!
@ramesh5643
@ramesh5643 3 жыл бұрын
Very well explained. Can you pleàse also how to model the data into dimensions and facts please?
@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?
@mugaigabenjaminj1736
@mugaigabenjaminj1736 3 жыл бұрын
how do i access the next vedeos have tried to understand
@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
@papachoudhary5482
@papachoudhary5482 5 жыл бұрын
Thanks! Sir
@sudiptamukherjee8216
@sudiptamukherjee8216 2 жыл бұрын
please can any one clarify how to list out all entities???
@kasdal
@kasdal 4 жыл бұрын
Is there a second part to this video? I could not find it. @BBarters. Thank you. Great video btw.
@BBarters
@BBarters 4 жыл бұрын
So far only one, I plan to make a couple more soon. Thank you for your kind words.
@kasdal
@kasdal 4 жыл бұрын
@@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 4 жыл бұрын
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?
@carrot5040
@carrot5040 3 жыл бұрын
Thanks
@DesignStrong
@DesignStrong 3 жыл бұрын
Good video. Hope I will also get similar traction on my videos
@Sh1r449
@Sh1r449 6 жыл бұрын
Thank you
@realme-pl3po
@realme-pl3po 3 жыл бұрын
is the second video uploaded yet??
@BBarters
@BBarters 3 жыл бұрын
Sadly no. Will work on that.
@AR-ok2qt
@AR-ok2qt 3 жыл бұрын
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 !
@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 3 жыл бұрын
7:00
How to Design a Database
10:57
Database Star
Рет қаралды 70 М.
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 174 МЛН
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 5 МЛН
7 Database Design Mistakes to Avoid (With Solutions)
11:29
Database Star
Рет қаралды 87 М.
From idea to Database design
38:56
Hitesh Choudhary
Рет қаралды 22 М.
Database Design for School Students for an Entire School
18:34
Database Star
Рет қаралды 28 М.
SQL Database Design Tutorial for Beginners | Data Analyst Portfolio Project (1/3)
15:58
Adam Finer - Learn BI Online
Рет қаралды 124 М.
How to do database normalization
21:42
BBarters
Рет қаралды 306 М.
Design Good Schemas - Get a Better Database - Nuri Halperin - NDC Oslo 2023
1:02:19
Database Design for Real Estate Company
16:02
Database Star
Рет қаралды 7 М.