?
Solved

Database Schema

Posted on 2009-07-01
4
Medium Priority
?
252 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 93

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 27

Accepted Solution

by:
Chris Luttrell earned 2000 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
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…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

765 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