Create trigger on update of chairid

Assignment Help Computer Engineering
Reference no: EM132174901

Using SQL Developer ONLY!

Lab

Create a lab report file (MS Word compatible) and name it as "IT4153_Lab 5_ Your D2L ID".

a. Create two tables: Employee: empID (PK), empFname, empLname, deptID(FK) and Department: deptID(PK), deptName, chairID chairID is empID from Employee table

b. Insert at least 3 rows in the Department table and at least 6 rows in the Employee table.

c. Create trigger on update of chairID that enforces the following business rules

• One employee can chair no more than one department.

• Each department has exactly one chair.

Note: Check what happens with department when you delete it's chair from the table

Reference no: EM132174901

Questions Cloud

Genetic variation among offspring from a given pair : If no crossing over took place, would the genetic variation among offspring from a given pair of parents be greater for fruit flies or grasshoppers?
Design your own clock : Take the challenge: design your own clock. You are not limited in any way - the hands don't have to move clockwise, or even in a circle.
Compare the current status of ebola and leishmaniasis : Compare the current status of Ebola and Leishmaniasis, and compare them to the disease AIDS.
Research Paper - Description of the emerging issue : The paper could include: The events leading up to the issue and/or any institutional background of the issue. The description of the emerging issue
Create trigger on update of chairid : Insert at least 3 rows in the Department table and at least 6 rows in the Employee table.
Lack of can influence brain development : TOPIC: The Effects of Life Experiences on the Brain - How the experience and the lack of can influence brain development
Choose one of the seven movies listed below : Choose one of the seven movies listed below and watch it. While the cloning processes presented in each of these movies is science fiction
Describe allelic exclusion : Describe allelic exclusion. Describe isotype switching at the gene level
Explain how the process of transcription and translation : Explain how the process of transcription and translation makes proteins from DNA. Use the following terms in your explanation:

Reviews

Write a Review

Computer Engineering Questions & Answers

  Binary transmission system

In a binary transmission system, two pulses shown in the Figure 1 are applied for an orthogonal signalling scheme. Determine and draw the impulse response of their matched filters.

  Appraise the individual and organizational consequences of

compare and contrast the mis in place in two distinctly different organizations.nbspcompare each organizations usenbsp

  How many blocks pf main memory are there

What is the format of a memory address as seen by the cache, that is what are the sizes of the tag, block and offset fields.

  Show the accurate statement

Find out the error(s) in each of the following program segments. Show the corrected statement.

  What would be the representation 010 in 16-bit binary

Express 159 base10 and -98 base10 in 8-bit binary one's complement form and then add the numbers.

  Prepare a report on computer evolution and performance

Research and prepare a report on "Computer evolution and performance". Research computer evolution based on processor speed, component size, memory speed, system clock and I/O capacity.

  What are the possible security threats

What are the possible security threats that have a direct effect on a company's network performance? What is network optimization?

  Develop the applicable momentum integral equation

Consider a flat plate surrounded by a fluid at rest (at rest outside the boundary layer) and oriented vertically to a gravity field of strength g.

  Write a program that lists the usage of words

Write a program that lists the usage of words (in the form word: count) in its argument files. You should use perl's definition of a word.

  How do we assure that these items are addressed

The different categories of errors are: buffer overflows (most common); code injections; privilege errors; and cryptographic failures.

  How do i build a sample cmm model

What is the needs for relevant quality standards and quality management.

  Local v/s network printers

Write down a paper explaining the Windows Printer Model for Server 2008. Explain the local v/s network printers and how to decide which printers to deploy.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd