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.
Instructions
Learning Outcome(s):
CLO4: Develop a standard database using DBMS.
CLO3: Analyze algorithms for query processing.
CLO1: Recognize database file organization and indexing.
Suppose you are a database administrator in a large company, and you have been asked to create a new database. Create your database scenario and follow the following instructions.
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 3 and a maximum of 4 students.
You must use MySQL for database creation and manipulation.
Create ONE database scenario. All your answers should be according to the selected scenario.
Support your answer with a detailed explanation and screenshots.
14 Marks
Learning Outcome(s):
CLO4: Develop a standard database using DBMS.
CLO3: Analyze algorithms for query processing.
CLO1: Recognize database file organization and indexing.
Project Description
Part 1: Database Description and Design
1-Describe your database scenario (Don’t select any database which we studied during lab session or lecture) with at least 5 Entities. (1 Mark)
2-Design an Entity Relationship (ER) diagram to capture the scenario requirements. Make sure cardinalities, relationships, and primary keys are clear. State any assumptions that may affect the ER diagram. Your ER should include at least 4 entities and 1 “Many-to-many” relationship.
(2 Marks)
3-Convert the ER diagram to 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 20 tuples (records) in each relation/table. Your solution should include the screenshots of your relations with data. (1 Mark)
Part 3: Indexes and Queries
1-Write any retrieval query that includes a selection condition and show how MySQL internally performed this query. (1 Mark)
2-Create an index for the same column used in the previous selection condition. (1 Mark)
3-Repeat the same retrieval query in step (1) and show how MySQL internally performed the query this time. Discuss how the created index improves the performance of your database. (1 Mark)
4-Write any retrieval query that includes at least one join condition and one selection condition and show the result of this query. (1 Mark)
5-Show the Query Statistics and Execution Plan for the above query. (1 Mark)
Part 4: Roles and Privileges
1-Create two roles and assign the following privileges to the roles (1 Mark):
-Give all privileges to the first role.
-Give only insert privileges to the second role who can further assign the same privileges to others.
2-Create two accounts and assign the above roles to the created accounts (each account with a different role). (1 Mark)
3-Verify the privileges assigned to each account. (1 Mark)
Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount