whatsapp

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

Database | Database management systems homework help

1. Consider the table: STUDENT (StudentNumber, StudentName, Dorm, RoomType, DormCost, Sibling, Nickname)

Assume that students pay different dorm costs, depending on the type of room they have, but that all members of a club pay the same cost.

Assume that students can have multiple nicknames.

Transform this table into two or more tables such that each table is in BCNF and in 4NF.

State the primary keys, candidate keys, foreign keys, and referential integrity constraints.

 

2. 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

 

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