How to Design DB Tables for any Application? (The Basics)

Поділитися
Вставка
  • Опубліковано 30 лип 2024
  • In this video, I have covered the basics of designing Database tables for a forum application as an example. I have covered the important points that one should focus on while deciding the structure of the tables and the columns of the tables.
    This is a great video for beginners to understand how we define tables, their structure, columns, the relationship amongst tables, setup primary keys and foreign key constraints, etc. with a sample application example.
    Also, follow us on Instagram: / study.tonight
    Facebook: / studytonight
    Twitter: / studytonight
    #dbms #dbdesign

КОМЕНТАРІ • 58

  • @angelinawho5551
    @angelinawho5551 4 роки тому +11

    This playlist is perfection.. learned so much in very short time! THANK YOU!!

  • @weifeng2662
    @weifeng2662 6 днів тому

    The part about how to design db of web application is awesome! thanks for the tutorial!

  • @ctaa03
    @ctaa03 4 роки тому +10

    Thank you so much for all the videos in this playlist! Simple and clear explaination with a touch of humor :) Keep going bro!

  • @JayMutzafi
    @JayMutzafi 3 роки тому +1

    One of the better videos on DB design I've come across. Thanks!

  • @karnatakamasitha8809
    @karnatakamasitha8809 4 роки тому +1

    Such a wonderful tutorial sir !!! with a clear discription of every thing in normalization topic !! What i like the most in this tutorial is funny parts that you added which makes some relaxation to brain ... This was the type in tutorials that i always search for !! Thankyou sir !!!

  • @justaboutdata6537
    @justaboutdata6537 4 роки тому +2

    I wanted to congratulate you on a job well done. I can see that you have put lot of effort and thoughts to make it precise and simple to understand. Keep up the good work. Keeping in mind what I just said, I would like to request you to make videos about Dimensional Modeling, and Data Modeling for No-SQL Databases. Thanks.

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

    Thanks for such awesome series. Loved it!!

  • @earthfirewaterair4822
    @earthfirewaterair4822 3 роки тому +1

    I have learnt a lot from you; thank you so much, sir.

  • @ExploreWithTawfique
    @ExploreWithTawfique 4 роки тому +5

    Thank you brother for this amazing tutorial .🙂 I am now clear in basic database design, Please make more videos about database designs. Thanks 🙂

  • @shi76b
    @shi76b 3 роки тому +1

    Great explaination.
    Clearly explained with an example that is not to simple or to complex.
    Wel done sir!

  • @akhila1909
    @akhila1909 2 роки тому +1

    Great explanation!!!
    Thank you sir!
    It helped me a lot. ❤️

  • @swaroop6938
    @swaroop6938 3 роки тому +1

    You are incredible sir.Your explanation is far more better than geeksforgeeks and tutorialpoints.I read DBMS topics from google and they are simply super....
    Thank you sir.

  • @msh104utube
    @msh104utube 2 роки тому +1

    Great video. You should dive deeper into how to split up a table now. For example, humans usually think of the storage of data into one large table as best, but we know machines do not. You should show why and how data from this large table should be divided, and then the type of joins can be used extrapulate the same dataset as if we had one large table.

  • @jeromevaldez4105
    @jeromevaldez4105 3 роки тому

    This is clear tutorial it is big help for me. THANKS

  • @kurellabishamachary5526
    @kurellabishamachary5526 3 роки тому

    Thank you so much bro. It's helping me a lot to learn.. Thank you

  • @sundaramjha1776
    @sundaramjha1776 3 роки тому

    Please make a more video, i really like study tonight content on website as well as on UA-cam. So keep continue.

  • @kdiggity1
    @kdiggity1 10 місяців тому +1

    That was a great video, detailed yet concise.

  • @taslimsuman
    @taslimsuman 4 роки тому

    Yes, this is how I design my database

  • @Usurperhk
    @Usurperhk 2 роки тому

    More such videos needed. Great work, hats off.

    • @Studytonight
      @Studytonight  2 роки тому +1

      Glad you liked it!

    • @Usurperhk
      @Usurperhk 2 роки тому

      @@Studytonight could you post more such videos before 19 oct, as I have an interview on 19 oct. It will be a great help if possible.
      Thanks in advance.

  • @arsenbasarab
    @arsenbasarab 2 роки тому +1

    Nice course, thank you

    • @Studytonight
      @Studytonight  2 роки тому

      My pleasure Arsen. Thank you for commenting. Checkout my other videos too.

  • @apsa2954
    @apsa2954 3 роки тому +1

    you have explained it very well ,can you cover the topic as to how we know that the design is completely normalised ?

  • @techbuzz5277
    @techbuzz5277 3 роки тому

    Can I have multiple tables in a single db that are independent from each other?

  • @textinjordan1427
    @textinjordan1427 3 роки тому +2

    bro why stopped posting videos since last 8 months!!

  • @jigyasaarora2277
    @jigyasaarora2277 2 роки тому +1

    Sir your playlist is amazing, plz make videos on Joins in DBMS

  • @junaidsiddiqui5140
    @junaidsiddiqui5140 2 роки тому +2

    Do you have any plans of adding a few videos on advanced SQL queries? You can add diffrerent types of queries like - joins and nested queries and subqueries. No need to repeat the content of basic SQL part available on your site as videos. But, can you please expand the concepts introduced in Advanced SQL section (of your site) and some content on transactions? You make the content seem more approachable, whether in video or text. So if you could expand that section on your site or make videos for them, it will help a lot.
    Really love all the content on your website and the youtube videos. Thanks for all the help.

    • @Studytonight
      @Studytonight  2 роки тому

      Thank you Junaid for sharing your insights. I am already working on the DB transaction video and it should be Live in a day or two. Will also work on more Advanced SQL queries.

  • @sujeetagrahari2292
    @sujeetagrahari2292 4 роки тому +1

    I have seen many people store status of an entity (like order) , in your case category, in same table as constants(TinyInt). Which would you suggest? Having separate or same table?

    • @Studytonight
      @Studytonight  4 роки тому +1

      Having "Category" in a separate table and then having category_id in question to setup relation between them helps in multiple use cases like if in your application you want to have one page where you list down all the categories and user can click on any category to see questions belonging to that category.
      To list down all the categories all you have to do is fire a SELECT query on category table.
      Also, if you wish to restrict users to a certain set of categories, you have the control as you can keep the categories pre-defined in the category table and show them in a dropdown for user to select from it.
      I hope this provides enough points to support this approach.
      Well we would love to know more about the TinyInt approach, if you can explain.

    • @sujeetagrahari2292
      @sujeetagrahari2292 4 роки тому

      @@Studytonight I know for category your approach is better. I was talking about status of an entity. Take Order, It cave many status. In this case what would be good storing status as constants in same table or storing the way you did for category here?

  • @sanjaymakwana8404
    @sanjaymakwana8404 3 роки тому

    thank you studtonighty

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

    Best Tutor!!!

  • @bestsports5278
    @bestsports5278 2 роки тому

    Good Explanation and have one question...Why do we need an user_id in Answer table as we already have question_id as foreign key in Answer table.

  • @navneetkumar6131
    @navneetkumar6131 3 роки тому

    sir so much much thanks

  • @vssandilya1000
    @vssandilya1000 5 місяців тому +1

    Vary good tutorial

  • @niralipardeshi1062
    @niralipardeshi1062 2 роки тому

    hello!! can you help me how can I make Database Table of My collage Project. Topic: task Management

  • @abdogebril3525
    @abdogebril3525 3 роки тому +2

    Please continue playlist 😊
    Can you suggest book to learn more about this topic ♥️

  • @gopikrishna1551
    @gopikrishna1551 3 роки тому

    bro can u make a playlist on the sql Injection

  • @Dij280
    @Dij280 3 роки тому

    sir please make a class on concurrency .

  • @nagarajupinnu3621
    @nagarajupinnu3621 11 місяців тому +1

    what's the most used normalization form and why?

    • @Studytonight
      @Studytonight  11 місяців тому

      Most used would be the First 3 forms together. Because whenever you design a basic Database, ideally you should follow the first 3 Normal forms at least, and I think every one follows it.

  • @swaroop6938
    @swaroop6938 3 роки тому

    I can't understand why u have less subscribers..Your teachings are extraordinary.

  • @Lulu-ck3ji
    @Lulu-ck3ji 10 місяців тому +1

    Hello. I have a noob question. Is this video is still applicable for 2023? I’m just asking if its still applicable in a database admin environment. Making sure because I would like to get a Database admin job…

    • @Studytonight
      @Studytonight  10 місяців тому +1

      Yup, still very relevant and I think it will stay relevant as long as we have RDBMS, unless the whole concept of RDBMS is dropped or completely changed 😄

    • @Lulu-ck3ji
      @Lulu-ck3ji 10 місяців тому

      @@Studytonightthank you for your reply sir! already subscribed because of your great contents about db 😃

  • @AliAhmad-xk3hx
    @AliAhmad-xk3hx Рік тому +1

    Asslam o Alaikum dear sir! I want to talk to you about some details of db for application

  • @preetichib9568
    @preetichib9568 3 роки тому

    We need full playlist 😶

    • @riverlance9647
      @riverlance9647 3 роки тому

      Its almost an year i don't think he will continue

  • @wadanwatan6905
    @wadanwatan6905 3 роки тому +1

    Thank you brother for this amazing tutorial .🙂 I am now clear in basic database design, Please make more videos about database designs. Thanks