PHP product SKU table design

Source: Internet
Author: User
There are four pieces of clothing, such as trousers, coats, underwear, and so, and each item has a different color. for example, the trousers are black, blue, and white. {code ...} then the size of each item is divided into men and women. XXLXXL female is s (a code smaller than X). XXL also requires the database of different properties of each item... there are four clothes, such as trousers, coats, underwear, and so.

Then each item has a different color.
For example, the trousers are black, blue, and white.

White, brown, red, underwear, black, white, pink, so, navy blue

Then each item is divided into male and female
Size: Male X XL XXL

Female: s (one code smaller than X) X XL

The inventory of different properties of each item is also required.
How to design such a table? could you please give me some advice on designing a database?

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.