csc4402_home4_ans_06

csc4402_home4_ans_06 - Answer Key to CSC4402 Homework #4...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Answer Key to CSC4402 Homework #4 Due Wednesday October 11, 2006 The following is the relational scheme for a database about a companyand its employees, projects, training courses offered, employee’sparticipation in the projects, and course enrollments (the primary key fields are underlined ): CM (Company) (DIVISION DEPT BUDGET) EM (Employee, his home city ,and the department to which he belongs) ( SS #NAME CITY PHONE# DEPT SALARY) PR (Project, project director ,the location of the project, and the department conducting the project) ( P #DIRECTOR_SS# CITY DEPT) EP (Employees in Project) ( P # SS #) CR (Course offered) ( C #CNAME TEACHER_SS#) ER (Enrollment) ( C # SS #GRADE) The data type for BUDGET ,GRADE and SALARYisINTEGER, all other fields have data type CHAR- ACTER. Each department has one or more employees and conducts zero or more projects. An employee can takezero or more courses and work in zero or more projects (including the projects conducted by other
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

csc4402_home4_ans_06 - Answer Key to CSC4402 Homework #4...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online