Write sql code to make the changes, Software Engineering

Assignment Help:

Assuming that all the tables have been created as given in the relational schema, write SQL code to make the following changes in the structure of the tables:

(i) Make the employee_id the Primary Key of the EMPLOYEES table

(ii) Make the department_id and the manager_id the foreign key of the Employee table assuming that the department_id has been declared as the primary key of the DEPARTMENTS.

(iii) Add a check constraint in the Job_History table so that the end_date will always be greater than the start_date.

(iv) Add a unique constraint in the Employee table so that each employee will have a unique email address.


Related Discussions:- Write sql code to make the changes

Artificial intelligence, what are the characteristics of artificial intelli...

what are the characteristics of artificial intelligence

Introduction to software testing, Derive input space partitioning tests for...

Derive input space partitioning tests for the BoundedQueue class with the following signature:

Features of cds - isis software, Features of Cds - isis software: Main...

Features of Cds - isis software: Main Features The main features of CDS/ISIS software may briefly be summarised as follows:   the handling of variable length records, fi

Why is quality assurance difficult in software engineering, Question: (...

Question: (a) Why is quality assurance especially difficult in software engineering ? (b) Inspiring yourself from the McCall's taxonomy of quality attributes, explain five

Registers, which are the invisible registers?

which are the invisible registers?

Explain the quality assurance manager and project manager, How do you diffe...

How do you differentiate the roles of Quality Assurance Manager and Project Manager? Quality Assurance Manager (QA Manager) produces the process to be followed at every phase

What is error-based testing, Testing where information about programming st...

Testing where information about programming style, error-prone language constructs, and other programming knowledge is functional to select test data capable of detecting faults, e

Explain the process of software change, What is meant by software change? ...

What is meant by software change? Software change is termed as the change in nature of software as the requirements of software changes.

What is failure, The inability of a system or system component to perform a...

The inability of a system or system component to perform a needed function within specified limits.

Write Your Message!

Captcha
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