please use your own words don’t copy and paste (no plagiarism) ‏- Please use key

please use your own words don’t copy and paste (no plagiarism)
‏- Please use keyboard (don’t use handwriting)
‏- All answered must be typed using Times New Roman (size 12, double-spaced)
‏- I want answer with APA reference for per question
##The assignment should not contain sexual orientation or the like

please use your own words don’t copy and paste (no plagiarism) ‏- Please use key

please use your own words don’t copy and paste (no plagiarism)
‏- Please use keyboard (don’t use handwriting)
‏- All answered must be typed using Times New Roman (size 12, double-spaced)
‏- I want answer with APA reference for per question
##The assignment should not contain sexual orientation or the like

please use your own words don’t copy and paste (no plagiarism) ‏- Please use key

please use your own words don’t copy and paste (no plagiarism)
‏- Please use keyboard (don’t use handwriting)
‏- All answered must be typed using Times New Roman (size 12, double-spaced)
‏- I want answer with APA reference for per question
##The assignment should not contain sexual orientation or the like

The questions are written inside this the pdf. Follow them and stick to them. I

The questions are written inside this the pdf. Follow them and stick to them. I need full points on this assignment. Avoid plagiarism, and the use of Artificial Intelligence (AI) tools, or any other tool to solve this assignment. You must submit the essay in MS Word (.doc, .docx). If you have any questions, contact me. Thank you.

2 Marks Learning Outcome(3): Create Entity-Relationship model, Rel

2 Marks

Learning Outcome(3):
Create Entity-Relationship model, Relational model, and write SQL queries.

Question One
Based on your understanding of specialization and generalization constraints, use your own words to define and discuss the two primary constraints: Disjointness Constraint and Completeness Constraint.
Answer:
2 Marks

Learning Outcome(3):
Create Entity-Relationship model, Relational model, and write SQL queries.

Question Two Show the schema mapping of the following Payment EER schema diagram, using Option 8A: Multiple relations-Superclass and subclasses.
Answer:

2 Marks

Learning Outcome(3):
Create Entity-Relationship model, Relational model, and write SQL queries.

Question Three SQL constraints are used to specify rules for the data in a table. From what has been studied, what is the benefit of using constraints in DB. Also, explain three common SQL constraints.
2 Marks

Learning Outcome(3):
Create Entity-Relationship model, Relational model, and write SQL queries.

Question Four Using the relational algebra operations, write the following queries on the COMPANY relational database schema shown in the figure below.
Retrieve the address of employees in department 2 who work less than 5 hours per week on the ‘ProductX’ project.
Retrieve the names and salary of employees who work on every project.

Answer

Instructions: Zero mark will be given if you try to bypass the SafeAssign (e.g.

Instructions: 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).
You are advised to make your work clear and well-presented.
You MUST show all your work, and text must not be converted into an image, unless specified otherwise by the question.
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.
Question One:
Based on your understanding of specialization and generalization constraints, use your own words to define and discuss the two primary constraints: Disjointness Constraint and Completeness Constraint.
Question Two
Show the schema mapping of the following Payment EER schema diagram, using Option 8A: Multiple relations-Superclass and subclasses.
Question Three
SQL constraints are used to specify rules for the data in a table. From what has been studied, what is the benefit of using constraints in DB. Also, explain three common SQL constraint.
Question Four
Using therelational algebra operations, write the following queries on the COMPANY relational database schema shown in the figure below.
(a) Retrieve the address of employees in department 2 who work less than 5 hours per week on the ‘ProductX’ project. (b) Retrieve the names and salary of employees who work one very project.

Instructions Suppose you are a database administrator in a large company, and yo

Instructions
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.
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.·
Part 1: DatabaseDescription and Design1- Describe your database scenario (Don’t select anydatabase which we studied during lab session or lecture) with at least 5 Entities. (1 Mark)2- Design an Entity Relationship (ER) diagram to capture thescenario requirements. Make sure cardinalities, relationships, and primary keysare clear. State any assumptions that may affect the ER diagram. Your ER shouldinclude 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 Relations1- Map the ER diagram to a relational model and create therelations in MySQL. (1 Mark)2- Enter at least 20tuples (records) in each relation/table. Your solution should include thescreenshots of your relations with data. (1 Mark)·
Part 3: Indexes and Queries1- Write any retrieval query that includes a selectioncondition and show how MySQL internally performed this query. (1 Mark)2- Create an index for the same column used in the previous selectioncondition. (1 Mark)3- Repeat the same retrieval query in step (1) and show howMySQL internally performed the query this time. Discuss how the createdindex improves the performance of your database. (1 Mark)4- Write any retrieval query that includes at least one joincondition and one selection condition and show the result of this query. (1Mark)5- Show the Query Statistics and Execution Plan for theabove query. (1 Mark)·
Part 4: Roles and Privileges1- Create two roles and assign the following privileges tothe roles (1 Mark):- Give all privileges to the first role.- Give only insert privileges to the second role who canfurther assign the same privileges to others.2- Create two accounts and assign the above roles to thecreated accounts (each account with a different role). (1 Mark)3- Verify the privileges assigned to each account. (1 Mark)

You must submit two separate copies (one Word file and one PDF file) using the A

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.
InstructionsLearning 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)