Hey all, I'm throwing ideas around for the design of this database and I just wanted to see what people thought here. I should keep track of clients (cities), their employees, and their quarterly payroll information.
I was thinking of 3 to 4 tables.
Table1
Clients
ClientID
ClientName
Table2
Employees
EmployeeID
Name
Social
Table3
QuarterlyInformation
EmployeeID
GrossPayroll
Quarter
Year
Now, my questions are these: 1) Should I have a table for each clients' employees? (IE, one for New York, one for SanFrancisco, etc...) Or just one big table of employees where you can only tell where they work based off of ClientID? The same goes for QuarterlyInformation, one big table or separate tables for each employee?
I haven't designed many databases so I'm not too experienced in designing for what could be future errors. I appreciate any input.
I was thinking of 3 to 4 tables.
Table1
Clients
ClientID
ClientName
Table2
Employees
EmployeeID
Name
Social
Table3
QuarterlyInformation
EmployeeID
GrossPayroll
Quarter
Year
Now, my questions are these: 1) Should I have a table for each clients' employees? (IE, one for New York, one for SanFrancisco, etc...) Or just one big table of employees where you can only tell where they work based off of ClientID? The same goes for QuarterlyInformation, one big table or separate tables for each employee?
I haven't designed many databases so I'm not too experienced in designing for what could be future errors. I appreciate any input.