What is the best way to optimize schema for capturing attendance data

前端 未结 4 651
借酒劲吻你
借酒劲吻你 2021-01-14 13:59

We have a sports training camp which is regularly attended by various teams in the city. We have a session per day spanning 2 hrs(9-11 AM) and the time slots could vary for

4条回答
  •  情话喂你
    2021-01-14 14:12

    AttMst
      id | date
    
    AttDet
      attdetid | id | userid
    

    In this way you need to store day in AttMst and the present users on that day will be stored in AttDet.

提交回复
热议问题