Home  >  Article  >  Backend Development  >  How to design the table structure of database curriculum

How to design the table structure of database curriculum

WBOY
WBOYOriginal
2016-08-08 09:06:402633browse

It’s a class from Monday to Friday, do you need two tables?

Reply content:

It’s a class from Monday to Friday, do you need two tables?

id(Monday to Friday) AM(morning) PM(afternoon)
1 Sports music
2 Sports music
3 Sports music
4 Sports music
5 Sports music
//If there are multiple classes in the morning, you can put Serialize and store multiple courses or store json

weekday start_unit end_unit course
Day of the week Start section End section Courses
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