Solved

Database Schema

Posted on 2009-07-01
4
251 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 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 27

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

728 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