Home >Backend Development >PHP Tutorial >Which paradigm does this database design violate?

Which paradigm does this database design violate?

WBOY
WBOYOriginal
2016-10-23 23:59:57909browse

For example, for a shopping cart data table, someone designed it like this, cert(id, uid, item1, item2, item3...), but the correct approach should be to divide it into two tables, cert(cert_id, item), cert( uid,cert_id).

So what paradigm does the incorrect table violate? Why?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn