Question

Using the relational Schema given below construct an ER diagram for the database worker (persNr, name,...

Using the relational Schema given below construct an ER diagram for the database

worker (persNr, name, stationNr)

station(stationNr, name)

doctor (persNr, namke, sttionNr, expertise, degree)

nurse (persNr, na,me, stationNr, skills)

patient (patientNr, name, illness, roomNr, from, to)

room (stationNr, roomNr, numbeds)

treats (patientNr, persNr)

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

Answer :

Please upvote if you find this answer helpful, Thanks in advance!

For relational database Entity Relationship diagram is nothing but representation of information with various entities and their attributes and how the connects to each other.

  1. In the following diagram, doctor has below attributes :
  • persNr
  • namke
  • sttionNr
  • expertise
  • degree

2.Patient has following attributes :

  • patientNr
  • name
  • illness
  • roomNr
  • from
  • to

3.Nurse is connected with doctor with ISA relationship.Nurse has following attributes :

  • persNr
  • name
  • stationNr
  • skills

4.Nurse governs rooms and obviously patient, rooms has following attributes :

  • stationNr
  • roomNr
  • numbeds

5.Nurse and other workers lives near station , workers has following attributes:

  • persNr
  • name
  • stationNr

6.Station has following attributes :

  • stationNr
  • name

E-R Diagram :

Add a comment
Know the answer?
Add Answer to:
Using the relational Schema given below construct an ER diagram for the database worker (persNr, name,...
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
  • covert the er diagram to a relational database schema The following ER diagram represents ships. Ships...

    covert the er diagram to a relational database schema The following ER diagram represents ships. Ships are said to be sisters it they designed from the same plans. Convert the diagram to a relational database schema.

  • Part I. Mapping an (E)ER schema to a relational database schema (46 points) NOTE o Each...

    Part I. Mapping an (E)ER schema to a relational database schema (46 points) NOTE o Each relation sachem should have a primary key (PK) when you answer. • To present the reference table of the foreign key (e.g., FK, FK1, K2), use an arrow. Do not use the relationship cardinality symbols of crow's foot notation in the relational database schema. o It is not required to specify the domain constraint (e.g., data type and length) of each attribute. 1. (12...

  • Map the ER diagram into a relational database schema. Describe each relation schema in parenthesized notation...

    Map the ER diagram into a relational database schema. Describe each relation schema in parenthesized notation (not SQL) underlining the primary key. For each relation, describe any applicable integrity constraints, e.g., foreign key, referential integrity, not null, etc.

  • Question 30. Convert the ER diagram below to a relational schema using the conversion algorithm from...

    Question 30. Convert the ER diagram below to a relational schema using the conversion algorithm from this unit. Show all of the steps in the algorithm. ER To Relational Conversion Algorithm Step 1: Each entity becomes a relation Step 2: Each many-to-many relationship becomes a relation Step 3: Each one-to-many relationship is represented by a foreign key Step 4: Write out the final relational schema Crazy Party Planning buys Nickname Address DUDE SNACK SnackName SnackDescription knows GuestName GUEST PhoneNumber invites

  • CHAPTER 1: DATABASES AND DATABASE USERS Given the simple Doctor-Treats_Patient database schema which contains three files...

    CHAPTER 1: DATABASES AND DATABASE USERS Given the simple Doctor-Treats_Patient database schema which contains three files describing information about doctors and patients they treat as follows, answer the following questions with regards to this database.                                                                                                                                                                                 (Total for que 1 is 10 marks) Doctor (DocID: string, DName: string, DAddress: string, Numpatients: integer) Treats (DocId: string, SSN: string, illness: string, day: string, cost: real) Patient (SSN: string, PatientName: string, PAddress: string, Age:integer) Note : DocID, DName, DAddress and Numpatients...

  • Question 3 refers to the relational database with a schema described below: The hospital database contains...

    Question 3 refers to the relational database with a schema described below: The hospital database contains information about the treatments of patients performed by the doctors. The database also contains information on the prescriptions ordered by the doctors. The schemas of relational tables, the meanings of attributes and specifications of primary, candidate, and foreign keys are given below. HOSPITAL HospitalCd Name Address Estate PostalCode EstablishedDate Hospital Code Name of the hospital Address of the hospital The estate where the hospital...

  • Database specialist please help asap detailed Q3. (1.5) You are given ER diagram. Transform ER diagram...

    Database specialist please help asap detailed Q3. (1.5) You are given ER diagram. Transform ER diagram in to relational schema. 고2 Wo WP ES BN. CL

  • Given the following relational database schema: Student = (SSN, Name, Major) Course = ( CourseNumber ,...

    Given the following relational database schema: Student = (SSN, Name, Major) Course = ( CourseNumber , CourseTitle, NumberOfUnits, RoomNumber, DayTime), where DayTime is of the form MW 1:0-2:00. Enrollment = (SSN , CourseNumber, Grade) Express the following queries using AQL statements with minimum number of tables and operations. List the name of every student whose name starts with the letter S and ends with the letter M, and has earned the grade B in at least one course.

  • 2. The following figure shows an ER schema for a university database. a) Map this schema...

    2. The following figure shows an ER schema for a university database. a) Map this schema into a relational schema b)Show the SQL statements needed to create the relations, using proper constraints. If your translation cannot capture any constraints in the ER diagram, explain why. COffice CName CPhone COLLEGE 0. 1 D Rank Office IName IPhone INSTRUCTOR D EAN (0.NO CStartDate (0.1) <ADMINS . CHIAR (1,1) EMPLOYS (MName FName LName (SName DOB DName Sid IO.NO Name Poate DEPT on H...

  • Hello I need to Convert the ER Diagram to a relational model. Analyze each table to...

    Hello I need to Convert the ER Diagram to a relational model. Analyze each table to make sure that they are in 3rd Normal Form. Write the level of normalization for each table and state in your report why it is an acceptable level of normalization. Physical Database Design: identify the data types of each columns (in each table). Gender Register Date Name Doctor ID Patient ID Room No Patient Salary qualification Consults Tel No DOB Staff Name Gender 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