Hi all,
I am trying to create this employee roster for work but I'm having trouble on how to setup the tables. Basically this is a monthly roster.
I have a Staff table holds Staff ID and Staff Name.
I am just not sure how to create the other table that holds the date and shift. Do I need to create a table with 28 columns for each date? (But every month has different number of days)
Staff ID | Staff Name | 02/01/2010 | 02/02/2010 | 02/03/2010 | 02/28/2010
123 | Mr. A | Shift A | Shift B | Shift C | Shift D
456 | Mr. B | Shift D | Shift C | Shift B | Shift A
Thank you for the help.
I am trying to create this employee roster for work but I'm having trouble on how to setup the tables. Basically this is a monthly roster.
I have a Staff table holds Staff ID and Staff Name.
I am just not sure how to create the other table that holds the date and shift. Do I need to create a table with 28 columns for each date? (But every month has different number of days)
Staff ID | Staff Name | 02/01/2010 | 02/02/2010 | 02/03/2010 | 02/28/2010
123 | Mr. A | Shift A | Shift B | Shift C | Shift D
456 | Mr. B | Shift D | Shift C | Shift B | Shift A
Thank you for the help.