Solved

Database Schema

Posted on 2009-07-01
4
241 Views
Last Modified: 2012-05-07
I am developing a database to manage faculty and staff.  However, I am having some trouble.  Below is a sample schema that I am working on.  Any feedback would be greatly appreciated.  My concern is that I have an employee table and I have a faculty table, should the two tables be merged even if everyone that is a staff member is not a faculty member.  

Thank you.
schema.jpg
0
Comment
Question by:shanemay
  • 2
4 Comments
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 24757119
The faculty table seems redundant: wouldn't that "role" table indicate faculty vs other staff types?
0
 

Author Comment

by:shanemay
ID: 24757139
Right it would indicate the role, however, if they are also faculty member then additional information needs to be gathered (office hours, title, etc...). Information that other staff members will not have or need.
0
 
LVL 26

Accepted Solution

by:
Chris Luttrell earned 500 total points
ID: 24757640
The only issue I see with your schema diagram is that it appears that you have a one to many relation between Employee and Faculty_Info, unless that is some kind of slowly changing dimension ,which would require a date component in the key, it should be a 1 to 0 relation where the EmployeeId is both the primary key in Faculty_Info and the foreign key to point back to Employee.  I have used this model in the database to mimic inheritance in objects where you want to represent that a Faculty_Info object "Is A" Employee object.
HTH
0
 

Author Closing Comment

by:shanemay
ID: 31598905
Thank you for the feedback.  
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now