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

Explain software reliability, Software Engineering 1. Discuss the Limit...

Software Engineering 1. Discuss the Limitation of linear sequential model in software engineering. 2. Explain Software reliability? Why reliability is more important than ef

What are the advantages of horizontal partitioning, What are the advantages...

What are the advantages of horizontal partitioning? i. Software is must be easy to check. ii. Software is handy to maintain. iii. Create fewer side effects. iv. Softwa

How does a countermeasure affect a project plan, Question: a) Failures ...

Question: a) Failures in software development would include excessive cost and/or schedule delays to never fielding a system. Briefly explain the risks associated with develop

What is variable trace, 1. "Variable trace" is a (computer) record of the n...

1. "Variable trace" is a (computer) record of the names and the values of variables accessed and/or changed during the implementation of a computer program. 2. "Value trace" is

What is cocomo model, What is COCOMO model? COnstructive COst MOdel is ...

What is COCOMO model? COnstructive COst MOdel is a cost model, which provides the estimate of number of man-months it will take to make the software product.

Advantages of incremental model, Advantages of incremental Model:- ...

Advantages of incremental Model:- As product is to be delivered in parts, total cost of the project is dispersed. Limited number of persons can be put on to the projec

What is standard enforces, Q. What is Standard enforces? Standard enfo...

Q. What is Standard enforces? Standard enforces This tool is like a code inspector; expect that the rules are generally simpler. The main distribution is that a full-blown

Determine in verify about capability maturity models, Determine in verify a...

Determine in verify about CAPABILITY MATURITY MODELS In this model anapproach for improving Software process is devised. It isn't concerned which life cycle modeis followed for

Explain product metrics, What is Product metrics? A quality metric shou...

What is Product metrics? A quality metric should be a predictor of product quality. Classes of product metric Dynamic metrics which are collected by measurements made

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