Professional Documents
Culture Documents
Lab 4
Lab 4
Lab Task 4
Topic: Entity Relationship Model
CLO 1 : Design schemas using data models like ERD, Relational Model etc in RDBMS and modify the design using concepts
and techniques of normalization
PO3 [WA 3] Design / Development of Solutions – Design solutions for complex engineering problems and design systems,
components or processes that meet specified needs with appropriate consideration for public health and safety, cultural,
societal, and environmental considerations [WK 6]
Instructions
• Print the lab assignment and do all the questions given below, on a paper.
• Scan and email the handwritten solutions with cover page to aparna.miu@gmail.com before 10 pm
on 19-05-2021. [Only scanned copies will be accepted]
• Name your file as DBMS_LAB 4_branch name_your name _your student_id.
Student Details
Student Id: 1106182001
Student Name: Pavethren Thangavelu
Student Signature:
Submitted Date: 20/05/2021
Entities , attributes and Entities and attributes Entities, attributes, relations Design of the database
relations correctly defined but correctly defined but and cardinality are correctly using the ERM. Showing
error cardinality error in relations and defined and shown all the entities, attributes,
cardinality relation and cardinality
Not neat at all Average Very Neat Neatness, completeness,
and readability of the
database design
1
School of Science and Engineering
Department of Com puter Engineering and Computer Science
Total :
Lecturer :
Date :
Q.1 Create an ERD based on the Crow’s Foot model, using the following requirements:
1. An INVOICE is written by a SALESREP. Each sales representative can write many invoices, but each
invoice is written by a single sales representative.
2. The INVOICE is written for a single CUSTOMER. However, each customer can have many invoices.
3. An INVOICE can include many detail lines (LINE), each of which describes one product bought by the
customer.
4. The product information is stored in a PRODUCT entity.
5. The product’s vendor information is found in a VENDOR entity.
Q.2 Using the Crow’s Foot methodology, create an ERD that can be implemented for a medical clinic, using
the following business rules:
Q.4
2
School of Science and Engineering
Department of Com puter Engineering and Computer Science
Give business rules and draw an ERD for creating a database for the scenario given above.
3
School of Science and Engineering
Department of Com puter Engineering and Computer Science
4
School of Science and Engineering
Department of Com puter Engineering and Computer Science
5
School of Science and Engineering
Department of Com puter Engineering and Computer Science
6
School of Science and Engineering
Department of Com puter Engineering and Computer Science