我有时间表数据当然像下面,我怎么可以检测到有任何数据冲突/上发生冲突的数据吗? 在MySQL语法
+-----------+--------+--------+---------+-----------+----------+---------+--------+-------+
| IDCourse | Day | Class | Room | IDTeacher | Capacity | Residue | Begin | End |
+-----------+--------+--------+---------+-----------+----------+---------+--------+-------+
| MI09BB11 | Monday | A | A.1.4 | RA | 40 | 1 | 08:00 | 10:00 |
| MI09BB12 | Monday | A | A.1.4 | RA | 40 | 1 | 08:30 | 10:30 | <-- clash
| MI09BB51 | Monday | A | A.1.4 | RA | 40 | 1 | 11:00 | 13:00 |
-
-
-
+-----------+--------+--------+---------+-----------+----------+---------+--------+-------+
对不起我的英文不好。 谢谢