Re-consulting the database design program

Source: Internet
Author: User
Consult the database design again.
Consult the database design again.

Want to develop a clothing system yourself, encounter a problem,

is a garment may have more than one color, there are a variety of sizes (number of different), a variety of colors (the number of different), different sizes and colors are different prices, I le a go.

Want to ask the heroes, you encounter this situation, how to dial, but also to facilitate the product to buy car function??
------Solution--------------------

ID Product name Product ID model color price Inventory quantity
ID pro_name pro_id pro_type pro_color pro_price pro_num
1 children's dress summer kids_001 Red 100
2 Kids Summer kids_001 Blue 98 100
3 Children's dress summer kids_001 Purple 100

For the customer and the merchant, all the goods are independent, there is no one. There's only one exception to the bundled sale.
  • 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.