3

Click here to load reader

Database Design Final Project

Embed Size (px)

Citation preview

Page 1: Database Design Final Project

Project: Database tracking the training of several people in a team and track important information related to them.    Business rules:  

1. Every soldier will have at least their first and last names input as well as their DOD number and Rank 

2. Schools and SSD courses must be completed in the order set by Army Standard 3. Only Admins can update or add to the full system. 

 I've created a system as a way to maintain up to date information on all aspects of a soldier's training readiness as is needed by their first line leader. The system will track the following Items:  

1. Noncommissioned Officer Education System status. 2. All soldiers Allergies and heat/cold injuries 3. PT test and marksmanship records 4. Annual certifications as required by leadership 5. Soldiers Civilian Education. 

 Entities to be kept in the Database include:  

1. Soldier 2. Schools 3. Annual Certificates 4. Civilian Certificates 5. Attributes Affecting Training 

 5 Commonly used keys in the DB will include  License and license types  Profiles, profile descriptions, heat/cold injuries, and Allergies  DOD Number, and NCOES (Non Commisioned Officer Education System) records  DOD Number, and Army Cert information  ERD   Example data dictionaries: Soldier Table 

Page 2: Database Design Final Project

   

Key  Type  Size  Primary Key  Null 

DOD Number  Integer  12  Yes  No 

LName  Varchar2  20  No  No 

FName  Varchar2  15  No  No 

MI  Varchar2  3  No  Yes 

Rank  Varchar2  3  No  Yes 

Grade  Varchar2  3  No  No 

  Readiness Table   

Key  Type  Size  Primary Key  Null 

DOD Number  Integer  12  Yes  No 

Heat_Cold_Injury  Varchar2  10  No  Yes 

Allergies  Varchar2  20  No  Yes 

Profile  Boolean  1  No  Yes 

Profile_Type  Varchar2  1024  No  Yes 

License  BLOB  4096  No  Yes 

Vehicles_Licensed  Varchar2  1024  No  Yes 

Civilian_License  BLOB  4096  No  Yes 

  The database will be used for admin types of work, an example of SQL statements made to the database would include,  find a persons Rank, Last name, and what NCOES/SSD courses they have finished, from the SOLDIER table and the NCOES/SSD tables.  

Page 3: Database Design Final Project

FInd the first and last name of all personnel who have been a heat/cold casualty, or who have allergies, and list them, this information is pulled from the SOLDIER table the and READINESS table.  Get a list of all Personell who have obtained a CCNA or a Network + certification, from the SOLDIER and Certificates table.