Product Classification is different categories placed in different tables, or in a table, just mark the classification tag just fine
Source: Internet
Author: User
Product categories are different categories are placed in different tables, or in a table, just mark the classification tag just fine
Technology Daniel, Ask a thing ~
Product categories are different categories placed in different tables, or placed in a table, just mark the classification tag? ~
I do not know whether it is the conventional approach, I did a select with a selected classification, labeled 0,1,2 such classification, and then different categories into different SQL into different tables.
Later found, placed in a table can also, as long as the mark is different, the display can also be divided.
Beginner, caught dead ~ Thank you! ~
------to solve the idea----------------------
Can be placed in a table, classification if there are more than two level of words in addition to have Level1 (level) Lever2 (level two), but also note that the two-level FID (parent id) = A level of ID, and a level of fid=0
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.