Question

Suppose your job keeps track of each employee's degree status and university,draw an ER diagram that...

Suppose your job keeps track of each employee's degree status and university,draw an ER diagram that has the following 3 entities,Employee, Degree and University;also list at least 2 attributes in each and indicate what is the primary key within each entity.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Table: Employee

Attributes: Emp_no, Emp_name

Primary Key: Emp_no, Because, It uniquely identify each record

Emp_no

Emp_name

131

John

132

Bill

133

Don

134

Jack

Table:University

Primary Key: Uni_code

University code uniquely identify each record in this table

Uni_code

Uni_name

Uni_place

002

UNITO

Turin

004

Glasgow University

UK

005

IITB

India

Table:Degree

y reasonable solution is to create a new DEGREE entity that stores each degree in a separate

record, this producing the following tables. (There is a 1:M relationship between EMPLOYEE and

DEGREE. Note that the EMP_NUM can occur more than once in the DEGREE table. The

DEGREE table’s PK is EMP_NUM + DEGREE_CODE. This solution also makes it possible to

record the date on which the degree was earned, the institution from which it was earned, and so on.

DEGREE entity stores each degree in a separate record.

Also the University code is given. Uni_code is a foreign key in this table.

(1:M relationship between EMPLOYEE and DEGREE)

Note: Emp_no can appear one or more time in DEGREE table.

Primary Key of Degree table: Emp_no + Degree_code

Emp_no

Degree_code

Degree_date

Uni_code

131

BBA

2015-08-08

002

131

MBA

2017-01-01

002

131

PhD

2019-05-09

005

132

BS

2011-09-07

004

132

MS

2015-07-03

005

133

BS

2013-07-05

004

133

PhD

2019-03-04

005

134

BBA

2012-04-09

002

ER Diagram

Emp no Emp name one to one Employee one to many (mandatory) many qualifies Emp_no Degree date one or more (mandatory) Degree

Add a comment
Know the answer?
Add Answer to:
Suppose your job keeps track of each employee's degree status and university,draw an ER diagram that...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Draw ER diagram and identify and underline the primary key for the following exercise A university...

    Draw ER diagram and identify and underline the primary key for the following exercise A university has a large number of courses in its catalog. Attributes of courses include CRS_NO, CRS_NAME, and UNITS. Each course has other courses as prerequisites.

  • Conceptual data diagram The ABC university keeps track of each student's name, student number, social security...

    Conceptual data diagram The ABC university keeps track of each student's name, student number, social security number (I C number), current address and phone, permanent address and phone, birthdate, sex, class (alpha, Beta, Gamma ..., graduate), major department, minor department (if any), and degree program (B.A., B.S., ..., Ph.D.). Some user applications need to refer to the city, state, and zip of the student's permanent address, and to the student's last name. Both social security number and student number have...

  • Draw an ER diagram according to the following requirements.   The bank application keeps track of the...

    Draw an ER diagram according to the following requirements.   The bank application keeps track of the following information. As a customer of the bank, he/she must either own an account or borrow a loan. The banking application does not require a customer to both own account and borrow a loan. Customer information includes a SSN (unique), a name, and an address. A customer can borrow at most one loan. A loan has a loan number (unique) and an amount. A...

  • DATABASE Draw an ER diagram according to the following requirements.   The bank application keeps track of...

    DATABASE Draw an ER diagram according to the following requirements.   The bank application keeps track of the following information. As a customer of the bank, he/she must either own an account or borrow a loan. The banking application does not require a customer to both own account and borrow a loan. Customer information includes a SSN (unique), a name, and an address. A customer can borrow at most one loan. A loan has a loan number (unique) and an amount....

  • Consider the following set of requirements for a university database that is used to keep track...

    Consider the following set of requirements for a university database that is used to keep track of students' transcripts The university keeps track of each student's name, student number, social security number, address and phone, birthdate, gender, `, and degree program (bachelor, Masters, PhD.). Both social security number and student number have unique values for each student. Each department is described by a name, department code, office number, office phone. Both name and code have unique values for each department....

  • Consider the following relations for a database that keeps track of student enrollment in courses and the books adopted for each course.

    Question: Consider the following relations for a database that keeps track of student enrollment in courses and the books adopted for each course. 1- Draw an ER diagram of ONLINE COURSE REGISRATION database, that captures all the given below requirements. Specify key attribute(s) of each entity set. For each relationship set, specify structural constraints and participation constraints. a. For each USER, the portal maintains user ID, Name, E-mail. Each user has a unique ID. Name is a Composite attributes with Frame, Midname,...

  • 1. Please answer the following questions. You need to draw ER diagrams using any free tools...

    1. Please answer the following questions. You need to draw ER diagrams using any free tools discussed in the class or you may draw using pencil and paper. Please identify the entities and relationships between them. For each entity, please identify the attributes each entity has. For each attribute, please identify whether this attribute is optional or required, single valued or multi-valued, simple or composite, stored or derived. Define a key (identifier) for each entity. Note that a key can...

  • Describe briefly a database application case of your choice and represent your data in terms of...

    Describe briefly a database application case of your choice and represent your data in terms of 3 linked (via foreign key/s) tables. List their respective primary key and foreign key/s if any. Your database application case should be different from those already covered in the lectures or practicals. For the database case in the Additional Exercises of the previous practical, complete the proper construction of all the 5 tables in SQL, building all the pertinent primary and foreign keys there....

  • ER Modeling: Assignment In order to receive credit for this assignment, you must draw your ER...

    ER Modeling: Assignment In order to receive credit for this assignment, you must draw your ER model using a compute program and then turn in on the blackboard. Your ER model should include all of the necessary entity sets, relationships and keys, as well a weak entities and superclass/subclass relationships, if needed. A company decides to implement a software to monitor its employees' web surfing, and stores history of each employee's surfing in a database, as well as all of...

  • Database design Part One (Conceptual Database Design) As a database developer, you have been asked to...

    Database design Part One (Conceptual Database Design) As a database developer, you have been asked to design a new database the operation of the new project within the Liverpool John Moores University (LJMU). LJMU i planning to deliver a number of professional training courses in Al. Each course is delivered by one member of staff at LJMU's Training Centre; each staff is allocated a staff number. The policy of LJMU is to record the start working date of each staff,...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT