eCommerce Product Database Design: Step-By-Step

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ต.ค. 2024

ความคิดเห็น • 112

  • @ymadhurireddy
    @ymadhurireddy 8 หลายเดือนก่อน +9

    This is one of the videos to Design a Database. Appreciate your time to make this video.

    • @DatabaseStar
      @DatabaseStar  8 หลายเดือนก่อน

      Glad it was helpful!

  • @hoangthypham6976
    @hoangthypham6976 9 วันที่ผ่านมา +1

    Thanks for your video I have a RDBMS final test at this week and tbh, i was so confused abt everything i've learned in my class. You help me a lots.

    • @DatabaseStar
      @DatabaseStar  9 วันที่ผ่านมา

      You're welcome, glad it helped!

  • @Kaffeejunk1e
    @Kaffeejunk1e 6 หลายเดือนก่อน +2

    wow. i just started learning sql. i watched some videos for mysql, mariadb, postgresql etc. with the basics how to create and fill tables with content. but in none of the videos there was any similar way of working with workbench like you did. this was VERY helpful for me and should be a key video for everyone learning sql and db design.

  • @hammam92
    @hammam92 7 หลายเดือนก่อน +1

    Thank you so much. I am building the erd diagram for my own business and this helped me a lot. I appreciate your videos bro

    • @DatabaseStar
      @DatabaseStar  7 หลายเดือนก่อน

      Glad it was helpful!

  • @varunkapadiya6863
    @varunkapadiya6863 8 หลายเดือนก่อน +4

    this is the best video I have seen before. thanks a lot !!!!

    • @DatabaseStar
      @DatabaseStar  8 หลายเดือนก่อน +1

      Wow thanks! I’m glad you like it.

  • @Kevin-kh7xv
    @Kevin-kh7xv 3 หลายเดือนก่อน +2

    Thank you so much for the attention to detail in making these practical videos. They were really great resources for me to learn/review key concepts during my job search, which I was fortunate enough to land!
    Is there a way for your viewers to support your work monetarily so you can continue to make these videos?

    • @DatabaseStar
      @DatabaseStar  3 หลายเดือนก่อน +1

      Thanks Kevin, glad you like it! Glad to hear they have helped you get a job!
      Yes, I do offer paid courses on SQL and database design, which are available here: www.databasestar.com/course-list/

  • @mrbartuss1
    @mrbartuss1 8 หลายเดือนก่อน +1

    Great to see how it actually works in a real world

    • @DatabaseStar
      @DatabaseStar  8 หลายเดือนก่อน +1

      Glad you found this format useful!

  • @JimRohn-u8c
    @JimRohn-u8c 8 หลายเดือนก่อน +2

    This amazing! Please keep making more!

    • @DatabaseStar
      @DatabaseStar  8 หลายเดือนก่อน

      Thanks, I will make more like this!

  • @johnnychin9598
    @johnnychin9598 27 วันที่ผ่านมา

    Oh my God , this tutorial is GODLIKE. Your the best sir. Thank thank a milliooooonn thank you very muchhhhhhh.

    • @DatabaseStar
      @DatabaseStar  25 วันที่ผ่านมา

      Wow thanks a lot, I’m glad you liked the tutorial!

  • @SergiiBoiko
    @SergiiBoiko 2 หลายเดือนก่อน +1

    This is the best video I have seen before!

    • @DatabaseStar
      @DatabaseStar  2 หลายเดือนก่อน

      Thanks! I’m glad you liked it.

  • @IamDoQtorNo
    @IamDoQtorNo 7 หลายเดือนก่อน

    Thanks alot for this. I am working on mine and this is just what I needed to get it going in the right direction. A couple of questions: what are your thoughts about using visio as a diagram design layout mechanism.? question number 2: I am considering setting up a test web server on a separate metal box different from my sql box. Is there a way to have my webserver to connect to the sql server for the data storage etc or should i put them on one machine?

    • @DatabaseStar
      @DatabaseStar  7 หลายเดือนก่อน

      Thanks, I'm glad you like it!
      1 - Visio is a good tool for database design. It's been around a while too. I often don't use it as the places I work don't have a license for it (and I don't use it at home), but I have used it in hte past.
      2 - I think this would be possible, but the details are outside of my area of expertise. I assume you would have to allow connections on certain ports.

  • @fresonn
    @fresonn 7 หลายเดือนก่อน

    Thanks for the video, very informative!
    In the context of this diagram:
    - how can I differentiate which product colors are available and which are sold out and display this
    - the same with dimensions. What sizes are currently available and which ones are not?

    • @DatabaseStar
      @DatabaseStar  7 หลายเดือนก่อน

      You can relate the product_variation table (which has the qty_in_stock column) to the product_item and then the colour_table (which has the references of colours) to see which items are in stock.

    • @fresonn
      @fresonn 7 หลายเดือนก่อน

      @@DatabaseStar won't the new relation be redundant?
      SELECT
      s.size_name,
      pv.amount > 0 as in_stock
      FROM product_variation pv
      INNER JOIN product_item pi ON pi.product_item_id = pv.product_item_id
      INNER JOIN size_option s ON pv.size_id = s.size_id
      WHERE pv.product_item_id = 1;
      I only have this idea for now

  • @Shkkmj6868
    @Shkkmj6868 หลายเดือนก่อน

    Thank you so much. You explained it very nicely.

    • @DatabaseStar
      @DatabaseStar  หลายเดือนก่อน

      Glad it helped.

  • @VenewebTV
    @VenewebTV 7 หลายเดือนก่อน +1

    Excelent video, regards from Caracas, Venezuela

    • @DatabaseStar
      @DatabaseStar  7 หลายเดือนก่อน

      Thanks a lot!

  • @joel-rg8xm
    @joel-rg8xm 8 หลายเดือนก่อน +1

    Thank you, very useful to me.

    • @DatabaseStar
      @DatabaseStar  8 หลายเดือนก่อน

      Glad it was helpful!

  • @Lykkos-321
    @Lykkos-321 8 หลายเดือนก่อน +2

    this is top content!! thanks a lot!!

    • @DatabaseStar
      @DatabaseStar  8 หลายเดือนก่อน

      Glad you like it!

  • @dota2-plays-shorts
    @dota2-plays-shorts 2 หลายเดือนก่อน +1

    nice in depth explination. thanks for your efford :)

    • @DatabaseStar
      @DatabaseStar  2 หลายเดือนก่อน +1

      Glad it was helpful!

  • @triplestrafe
    @triplestrafe 8 หลายเดือนก่อน

    appreciate this comprehensive video!

    • @DatabaseStar
      @DatabaseStar  8 หลายเดือนก่อน

      Glad it was helpful!

  • @jsnow07grad
    @jsnow07grad 7 หลายเดือนก่อน

    This is so helpful! Thank you!

    • @DatabaseStar
      @DatabaseStar  7 หลายเดือนก่อน

      Glad it was helpful!

  • @vishalpoddar
    @vishalpoddar 2 หลายเดือนก่อน +1

    How do we handle multiple kinds of product variation.17:29 Example: In the above example the product_variation table captures the variation in size , but what if we also had to capture the variation in colour as well i.e. suppose product_code should have remained same for all the size and colour combination. Should we have then moved the colour_id too to the product variation table? Then I think we would have qty for the combination of size and colour.. Also in that case I think the product variation table would not have been necessary. Thanks

    • @DatabaseStar
      @DatabaseStar  หลายเดือนก่อน

      Good question, yes if that was the scenario then I believe the product variation would not be needed, and capturing the qty for the combination of size and colour could work.

  • @X4Xubi
    @X4Xubi 3 หลายเดือนก่อน

    Brother the script U provided in Ur GitHub repository has possible errors, I ran it in MySQL workbench but it failed saying "Error Code: 1824. Failed to open the referenced table 'attribute_type' ". Can U plx fix this ASAP as I have to practice queries on some meaningful data. Plx provide the correct script to create this database or guide me if I made a mistake.

    • @DatabaseStar
      @DatabaseStar  3 หลายเดือนก่อน

      Hi Xubi, as mentioned over email, the script has not been updated. The issue was caused by the tables not being created in the correct order.

  • @aminem2080
    @aminem2080 4 หลายเดือนก่อน

    very understandable 💯
    but i think using that EAV approach it will not fit when your products are linked variations like "BLACK color SM size SILK fabric..." like that first approach would work, could it cause u can retrieve one buy one no way to linked them to be select as one choice while being a combination of different features

    • @DatabaseStar
      @DatabaseStar  4 หลายเดือนก่อน +1

      I think I understand your concern, but I think the query would be OK. You can get all of the product variations in one query and their variations, and display them on the page as needed.

  • @7Janiel
    @7Janiel 2 หลายเดือนก่อน

    Hello, i am trying to create an online shop that might sell not only clothes but other products as well like laptops. How would i create the database so it can accommodate clothes and laptops for example which can have different attributes (size for clothes and processor_type for laptops). Thanks

    • @DatabaseStar
      @DatabaseStar  2 หลายเดือนก่อน

      You can use the database design in this video, I think, and the product categories would be where you would have clothes and laptops.

  • @YT-cd2vi
    @YT-cd2vi 6 หลายเดือนก่อน

    Thanks, I am building the Product Data Model in Data Vault 2.0, and struggling to get the concept to be implemented in DV format. Any pointers help will be really helpful.

    • @DatabaseStar
      @DatabaseStar  6 หลายเดือนก่อน

      No problem! I don't actually have any experience with Data Vault so I can't be of much help, but I hope the concepts of normalisation would still apply.

    • @YT-cd2vi
      @YT-cd2vi 6 หลายเดือนก่อน

      @@DatabaseStar No worries, thanks for the response. Will keep trying.

  • @codingcambodia
    @codingcambodia 3 หลายเดือนก่อน

    Thanks for the great video. Hopefully , you will create a eCommerce database design that has multi vendors like amazon or alibaba

    • @DatabaseStar
      @DatabaseStar  2 หลายเดือนก่อน

      You're welcome! Good idea

  • @mannycalavera121
    @mannycalavera121 8 หลายเดือนก่อน

    So much high quality information

    • @DatabaseStar
      @DatabaseStar  8 หลายเดือนก่อน

      Thanks! Glad you liked it.

  • @juamurasaki7311
    @juamurasaki7311 5 หลายเดือนก่อน

    excuse me, i am newbie, i want to ask the code from the video is can use on dbvear or MySQL workbench? i still difficult to used them. i am happy if you englightmen

    • @DatabaseStar
      @DatabaseStar  5 หลายเดือนก่อน

      You can use it in any editor in SQL. You may need to make some minor adjustments for each database, such as data types, but it should work.

  • @pedrogermano15
    @pedrogermano15 6 หลายเดือนก่อน

    Congrats, great video! I would love if you teach us how to design a digital wallet database!

    • @DatabaseStar
      @DatabaseStar  6 หลายเดือนก่อน +1

      Thanks! Sure, what do you mean by a digital wallet database?

    • @pedrogermano15
      @pedrogermano15 6 หลายเดือนก่อน

      @@DatabaseStar like PayPal or Wise! Demonstrating how can you design a database that requires transactions using money on balance, credit card and stuff like that

  • @DucHuu03
    @DucHuu03 7 หลายเดือนก่อน +1

    This is so amazing

    • @DatabaseStar
      @DatabaseStar  7 หลายเดือนก่อน

      Thanks! I’m glad you like it.

  • @Kashmiriboy.
    @Kashmiriboy. 4 หลายเดือนก่อน

    Sir it is possible to include product category as an attribute of product ?

    • @DatabaseStar
      @DatabaseStar  4 หลายเดือนก่อน

      Yes, you can join to the category table for this.

  • @AmarjargalB
    @AmarjargalB 3 หลายเดือนก่อน

    I want you say Thank you. 🙏🙏🙏

    • @DatabaseStar
      @DatabaseStar  3 หลายเดือนก่อน

      You're welcome!

  • @huynguyenluonggia6393
    @huynguyenluonggia6393 5 หลายเดือนก่อน

    how i insert image for productItem, example, has 5 size and 5 color -> has 25 product item???

    • @DatabaseStar
      @DatabaseStar  5 หลายเดือนก่อน

      You can insert separate rows for each option.

  • @emesaiYT
    @emesaiYT 4 หลายเดือนก่อน

    how if some product dont have size ?
    is the size_id on product will be null ?

    • @DatabaseStar
      @DatabaseStar  4 หลายเดือนก่อน +1

      It could be null, or you could have a Size value of "not applicable" and relate that.

    • @emesaiYT
      @emesaiYT 4 หลายเดือนก่อน

      @@DatabaseStar okay thanks

  • @wassimyazbekk
    @wassimyazbekk 8 หลายเดือนก่อน +1

    Thank you so much

    • @DatabaseStar
      @DatabaseStar  8 หลายเดือนก่อน +1

      You're most welcome

  • @houseofmalik9944
    @houseofmalik9944 8 หลายเดือนก่อน +2

    Thanks for this great content! I was getting really confused with so many product attributes but you make it seem easy. I'll practice a little to fully understand and hopefully convert the database design to hibernate

    • @DatabaseStar
      @DatabaseStar  8 หลายเดือนก่อน

      Thanks, I'm glad it helped!

  • @ДенисТерентєв
    @ДенисТерентєв 5 หลายเดือนก่อน

    Where can I find the SQL code for this database?

    • @DatabaseStar
      @DatabaseStar  5 หลายเดือนก่อน

      You can find it in the link in the description, which is here: www.databasestar.com/dbdesign/

  • @AmirMufid
    @AmirMufid 5 หลายเดือนก่อน

    what name software for create database design like this video?

    • @DatabaseStar
      @DatabaseStar  5 หลายเดือนก่อน

      It’s called LucidChart.

  • @abo8esabo8es52
    @abo8esabo8es52 8 หลายเดือนก่อน

    Can you please make a practical video like this for w3school

    • @DatabaseStar
      @DatabaseStar  8 หลายเดือนก่อน

      Sure, what do you mean "for w3school"? Like, view their website and create a database design for it? If so, w3school seems to be a simple blog, is that what you're looking for?

    • @abo8esabo8es52
      @abo8esabo8es52 8 หลายเดือนก่อน

      @@DatabaseStar yes and we add more feature

  • @tanvu3956
    @tanvu3956 6 หลายเดือนก่อน

    Thanks a lot! Can I have diagram and script. Thanks

    • @DatabaseStar
      @DatabaseStar  6 หลายเดือนก่อน

      Sure! You can get them at the link here, which is also in the description: www.databasestar.com/dbdesign/

  • @djtoon8412
    @djtoon8412 6 หลายเดือนก่อน

    can we use jsonb fields as alternative EAV

    • @DatabaseStar
      @DatabaseStar  6 หลายเดือนก่อน

      Yes you can, it has a similar kind of flexibility.

    • @matsberg1568
      @matsberg1568 5 หลายเดือนก่อน

      I am currently implementing a jsonb field for a project im working on. Remember, querying such a field comes with its own downsides

  • @purushottamkute7485
    @purushottamkute7485 8 หลายเดือนก่อน

    Can you make a similar video for a movie ticket booking application

    • @DatabaseStar
      @DatabaseStar  8 หลายเดือนก่อน

      Good idea, I can do that

    • @purushottamkute7485
      @purushottamkute7485 8 หลายเดือนก่อน

      @@DatabaseStar thank you, looking forward to it

  • @PhyoKo-kd4ks
    @PhyoKo-kd4ks 5 หลายเดือนก่อน

    What use application for database design

    • @DatabaseStar
      @DatabaseStar  5 หลายเดือนก่อน

      It’s called Lucidchart

  • @bilkisuismail6096
    @bilkisuismail6096 8 หลายเดือนก่อน

    Thank you

    • @DatabaseStar
      @DatabaseStar  8 หลายเดือนก่อน

      You’re welcome!

  • @gc5035
    @gc5035 8 หลายเดือนก่อน

    Please design how to design permission based system there are mutiple actors .each actor has some permission

    • @DatabaseStar
      @DatabaseStar  8 หลายเดือนก่อน

      Good idea, I can do that.

  • @VeeWebCode
    @VeeWebCode 8 หลายเดือนก่อน

    I love you. you are the best.

    • @DatabaseStar
      @DatabaseStar  8 หลายเดือนก่อน

      Hahah thanks!

  • @mac.ignacio
    @mac.ignacio 8 หลายเดือนก่อน

    Confirmation link not working.

    • @DatabaseStar
      @DatabaseStar  8 หลายเดือนก่อน

      Which confirmation like is this? Is it the one in the email that I send to you?

  • @Spkntei
    @Spkntei 8 หลายเดือนก่อน

    thanks bro

  • @psmontte
    @psmontte 6 หลายเดือนก่อน

    Where is the direct link to Schema?

    • @DatabaseStar
      @DatabaseStar  6 หลายเดือนก่อน

      What do you mean?

  • @Sedhu_17
    @Sedhu_17 7 หลายเดือนก่อน

    why we remove gender table

    • @DatabaseStar
      @DatabaseStar  7 หลายเดือนก่อน +1

      It's because we can represent the gender as a category in the category table.

  • @basketballskills-ur7lc
    @basketballskills-ur7lc 5 หลายเดือนก่อน +1

    Lets connect

  • @JosephineFahy
    @JosephineFahy 8 หลายเดือนก่อน

    You sound like a Kiwi! 😄

    • @DatabaseStar
      @DatabaseStar  8 หลายเดือนก่อน

      Haha yeah the New Zealand and Australian accents are similar!