E-commerce website product database design, e-commerce product database

Source: Internet
Author: User

E-commerce website product database design, e-commerce product database

1. I recently learned how to use java + mysql to create a small e-commerce project instance. First, I want to design a data table related to the product, as shown in figure

 

2. In general design, the product attributes will be placed in the product table, such as color, specification, and size. However, I have two separate tables for the attribute, one for the attribute name and the other for the attribute.

3. I was thinking about the brand table, but later I thought about how to place the brand in the Attribute Table, store the product as an attribute in the P_Property table, and then store the value corresponding to the brand to the attribute value table.

4. I don't know if there is any lack of such design. I hope that there will be great e-commerce experts who will guide you.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.