Q.1) You are required to create a conceptual data model of the data requirements for a company that specializes in IT training. The company has 30 instructors and can handle up to 100 trainees per training session. The company offers five advanced technology courses, each of which is taught by a teaching team of two or more instructors. Each instructor is assigned to a maximum of two teaching teams, or: may be assigned to do research. Each trainee undertakes one advanced technology course per training session. a) Identify the main entity types for the company. b) Identify the main relationship types and specify the multiplicity for each relationship. State any assumptions you make about the data.c) using your answers on a) and b), draw a single E/R diagram to represent the data requirements for the company. Q2) Refer to the attached DB state: 1- Discuss in detail the integrity constraints in relational databases. 2. State whether the following attempts to update the attached DB state will be accepted or rejected. If accepted show its effect on the DB state. If rejected state all the rejection reasons: 1) Add a new baby born for John Smith. Her name is Elizabeth. 2) Modify project number one to be called ProductK 3) Delete the Houston location of the research department Q3) Represent the following queries in relational algebra and in SQL then extract the result of applying them to the attached DB state: 1) List the employees' husbands (just first names) 2) How many employees work in the department managed by Mr. Wong? 3) Who is Alice's father? (Just the last names). 4) Who works at sugarland? (Just the last names). Qne posso ble databasen state for the COMPNKY Hobonat database scherna. eMPLortir: DEPARTMENT DEPT LOCATIONS \begin{tabular}{|l|c|c|c|} \hline \multicolumn{1}{|c|}{ Dranwe } & Pnumbor. & Mar_asn & Mgi_-jart_date \\ \hline Research & 5 & 333445555 & 10880522 \\ \hline Administration & 4 & 987654321 & 10950101 \\ \hline Hoadquarters & 1 & 880065555 & 10810619 \\ \hline \end{tabular} \begin{tabular}{|c|l|} \hline Dnumber & Diocation \\ \hline 1 & Howaton \\ \hline 4 & Stalloed \\ \hline 5 & Belaire \\ \hline 5 & Sugarland \\ \hline 5 & Houstion \\ \hline \end{tabular} WORKS_ON \begin{tabular}{|c|c|c|} \hline Eien & Pro & Hourn \\ \hline 123456780 & 1 & 32.5 \\ \hline 123456789 & 2 & 7.5 \\ \hline 666864444 & 3 & 40.0 \\ \hline 453459453 & 1 & 20.0 \\ \hline 453453.453 & 2 & 20.0 \\ \hline 333445555 & 2 & 10.0 \\ \hline 333445555 & 3 & 10.0 \\ \hline 333445555 & 10 & 10.0 \\ \hline 333445555 & 20 & 10.0 \\ \hline 999887777 & 30 & 30.0 \\ \hline 999887777 & 10 & 10.0 \\ \hline 987987987 & 10 & 35.0 \\ \hline 987987987 & 30 & 5.0 \\ \hline 987654321 & 30 & 20.0 \\ \hline 987654321 & 20 & 15.0 \\ \hline 888665555 & 20 & NULL \\ \hline \end{tabular} PROJECT \begin{tabular}{|l|c|l|c|} \hline \multicolumn{1}{|c|}{ Prame } & Prumber & Plocation & Dnum \\ \hline ProductX & 1 & Bellare & 5 \\ \hline ProductY & 2 & Sugariand & 5 \\ \hline ProduciZ & 3 & Houston & 5 \\ \hline Computerization & 10 & Stallord & 4 \\ \hline Reorgunieation & 20 & Houston & 1 \\ \hline Newbenefts & 30 & Stallord & 4 \\ \hline \end{tabular} DEPENDENT \begin{tabular}{|l|l|c|c|l|} \hline Eaan & Dependent name & Sex & Bdaio & Relationship \\ \hline 333445555 & Alice & F & 1986.0405 & Daughsor \\ \hline 333445555 & Theodore & M & 1983.10.25 & Son \\ \hline 333445555 & Joy & F & 19580503 & Spouse \\ \hline 987654321 & Abner & M & 1942.0228 & Spouse \\ \hline 123456789 & Michsol & M & 19880104 & Son \\ \hline 123456789 & Alice & F & 19881230 & Davghter \\ \hline 123456789 & Elizabeth & F & 196705.05 & Spouse \\ \hline \end{tabular} Good Luck Prof. Dr. Kamal ElDahshan