Connect on Whatsapp : +1 206 673 2541, Get Homework Help 24x7, 100% Confidential. Connect Now

Database | Database management systems homework help

  1. Consider the following database.

EMPLOYEE(Name, SSN, Salary, DNO, SupervisorSSN, JobCode)

DEPARTMENT(DNO, TotalSalary, ManagerSSN)

STARTING_PAY(JobCode, StartPay)

Note that Dept_No in EMPLOYEE table is foreign key.

Based on Active Database Concepts, answer the following questions:

Write the active rules (triggers) for following two events

  1. Limit all salary increases to 50%.
  2. All new hires for a given job code get the same starting salary, which is available in the STARTING_PAY table.

2) Explain Hybrid fragmentation


  1. For each of the following relation schemas and sets of FD’s:
  2. a) R(A, B, C, D) with FD’s A B -> C, C -> D, and D-> A.
  3. b) R (A ,B ,C ,D ) with FD’s B -> C and B-> D

Do the following:

  1. i) Indicate all the BCNF violations. Do not forget to consider FD’s that are not in the given set, but follow from them. However, it is not necessary to give violations that have more than one attribute on the right side.
  2. ii) Decompose the relations, as necessary, into collections of relations that are in BCNF.




Get FREE Essay Price Quote
Pages (550 words)
Approximate price: -