Product Database design of e-commerce website

Source: Internet
Author: User

1. Recently self-taught Java, want to use Java+mysql to do a small e-commerce Project example, first design a product-related data sheet, such as

2. The usual design will put the product attributes into the product table, such as color, size, size and so on. But I took the attributes out of two separate tables, a table with the name of the property, and a list of property values.

3. Originally considered to brand the table, but then think about the brand can be placed in the attribute table, the product as a property into the P_property table, and then the value of the brand corresponding to the attribute value table.

4. I do not know if there is any shortage of such design, and then this point, hoping to have the power of the great God to come to the direction of the business.

Product Database design of e-commerce website

Related Article

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.