I would like to design a Attendance DB for following specs
*) There are 4 branches
*) Each branch has 60 Students
My first design
BRANCH
+ BranchID
+ BranchName
STUDENT
+ StudentID
+ StudentName
CLASSATTENDANCE
+ ClassID
+ Date
+ StudentID
+ Present
+ LeaveApplied
Here's my problems
I)
We have at least 4 Branches. There are 60 students in each branch.
So 60 * 4 = 240 records(tuples) in the CLASSATTENDANCE table per day. The records spanning even 6 months would be very large. I think the table would be too large to manage.
-----
I would like to know if there is more convenient way.
II)
CLASSATTENDANCE table solely depends on 'Date' attribute to identify the chronological order. Is there a better way, like categorizing by months.
I think creating a table for each month would solve it, like a table 'CLASSATTENDANCE+[MONTHNAME]'
------
Is that a good solution or is there any better one?