Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图找出使用数据库来表示员工轮班表的最佳方式。我有:
员工表
班次类型表(即早班、午班)
包含轮班日期、shift_type id 和员工 id 的表
问题是一个班次可以包括一个以上的员工(我不想限制每个班次的员工数量),所以我猜我的第三张桌子的结构不适合这个。
你的建议是什么?