Description
Imagine you are the database administrator for a large healthcare corporation, and you’ve been tasked with designing and implementing a new Clinic Management System database. This system addresses real-world needs such as organizing patient records, scheduling appointments, tracking treatments, and handling prescriptions efficiently.
- You must use MySQL for database creation and manipulation.
- All your answers should be according to the above scenario.
- Support your answer with a detailed explanation and screenshots.
- You should use the same project document to prepare your answer. A word file and a pdf file should be provided.
Each group can have a minimum of 2 and a maximum of students
Project
Deadline: Wednesday 3/12/2025 @ 23:59
[Total Marks for this Assignment is 14]
Student Details:
CRN:
Name: ###
Name: ###
Name: ###
Name: ###
ID: ###
ID: ###
ID: ###
ID: ###
Instructions:
• You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on
Blackboard via the allocated folder. These files must not be in compressed format.
• It is your responsibility to check and make sure that you have uploaded both the correct files.
• Zero mark will be given if you try to bypass the SafeAssign (e.g. misspell words, remove spaces between
words, hide characters, use different character sets, convert text into image or languages other than English
or any kind of manipulation).
• Email submission will not be accepted.
• You are advised to make your work clear and well-presented. This includes filling your information on the cover
page.
• You must use this template, failing which will result in zero mark.
• You MUST show all your work, and text must not be converted into an image, unless specified otherwise by
the question.
• Late submission will result in ZERO mark.
• The work should be your own, copying from students or other resources will result in ZERO mark.
• Use Times New Roman font for all your answers.
Restricted – مقيد
Instructions
Pg. 01
Learning
Outcome(3):
Develop a
standard
database using
DBMS.
.
Instructions
Imagine you are the database administrator for a large healthcare corporation, and
you’ve been tasked with designing and implementing a new Clinic Management
System database. This system addresses real-world needs such as organizing patient
records, scheduling appointments, tracking treatments, and handling prescriptions
efficiently.
•
•
•
•
You must use MySQL for database creation and manipulation.
All your answers should be according to the above scenario.
Support your answer with a detailed explanation and screenshots.
You should use the same project document to prepare your answer. A word file
and a pdf file should be provided.
• Each group can have a minimum of 2 and a maximum of 4 students
Restricted – مقيد
Pg. 02
Learning
Outcome(4):
Analyze
algorithms for
query processing.
Project Description
Project Description
14 Marks
• Part 1: Database Description and Design
1- Write a brief introduction to a Clinic Management System database,
including its purpose and at least five key entities. (1 Mark)
2- Create an Entity-Relationship Diagram (ERD). Ensure that cardinalities,
relationships, and primary keys are clearly represented. State any
assumptions that may affect the ER diagram. (2 Marks)
3- Convert the ER diagram to a class diagram. (1 Mark)
• Part 2: Create and Populate Relations
1- Map the ER diagram to a relational model and create the relations in
MySQL(1 Mark)
2- Enter at least 15 tuples for each relation. (1 Mark)
Your solution should include screenshots of your relations with data and the
query codes. Otherwise, marks will be deducted
• Part 3: Indexes, Queries, and Fragmentation Type
.
1- Write any retrieval query that includes a selection condition. Illustrate how
MySQL internally performed this query (e.g., such as parsing and
optimization) (1 Mark)
2- Create an index for the same column used in the previous selection condition.
(1 Mark)
3- Choose a table from your database and apply vertical fragmentation to it.
Present the table both before and after the fragmentation process. (1 Mark)
4- Write a query to retrieve data that includes only one join condition and one
selection condition. Then, display the results of the query. (1 Mark)
5- Show the query statistics and execution plan for the above query. (1 Mark)
• Part 4: Roles, Privileges and Triggers
Restricted – مقيد
Pg. 03
Project Description
1- Create 4 roles and assign the following privileges to the roles: (1 Mark)
– Give all privileges to the first role.
– Give “insert” and “update” privileges to the second role, which can
further assign the same privileges to others.
– Give only select privileges to the third role, which can further assign the
same privileges to others.
– Give “update” privileges to the fourth role.
2- Create four accounts and assign the above roles to the created accounts (each
account with a different role). (1 Mark)
3- Create an SQL trigger that verifies a specific condition in a table. (1 Mark)
Restricted – مقيد
Purchase answer to see full
attachment