|
If there is a school with several classes, the number of students in each class is different from the student name
How to do database table design
How about the following design?
1, classTable table
ID studentID ClassName
Class 1, 1, 3, 5
Class 2, 2, 4, 6, 7
.........
2, studentTable table
ID studentName
Few photos
2 Guo Jing
3 Wei packet
4 Aaron Kwok
.........
Is there a better design? Solve online! |
|