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

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

What is meant by software change? Once software is ready to  use, new requirement appear and existing requirements change as the business running that software changes parts of

Define the term - case, What is CASE? CASE tool stands for Computer Aid...

What is CASE? CASE tool stands for Computer Aided Software Engineering. Computer Aided Software Engineering tools helps software engineering manages and practitioners in every

What problems arise if two modules have high coupling, What problems arise ...

What problems arise if two modules have high coupling? Coupling means the interconnection of dissimilar modules with each other or we can say, it tells about the interrelations

Explain re-engineering, RE-ENGINEERING:- It is re-organizing and changing ...

RE-ENGINEERING:- It is re-organizing and changing existing system to make them more maintainable. It includes:-  Source code translation. Program structure development

Management issues in software development, Q. Management Issues in software...

Q. Management Issues in software development? Management Issues:-Project managers typically write the risk management plan and most people don't wish to air their weaknesses in

Discuss in detail the design concepts, Discuss in detail the design concept...

Discuss in detail the design concepts. Abstraction Functional abstraction Data abstraction Control abstraction Information hiding Each unit in the s

What is requirements engineering, What is Requirements Engineering Req...

What is Requirements Engineering Requirements engineering is systematic use of proven techniques, principles and language tools for cost effective analysis, on-going evaluatio

List the important properties of a modular system, List the important prope...

List the important properties of a modular system.    Desirable properties are:- Every module is a well defined subsystem useful to others Every module has a well defined single

Transaction mapping, how transaction mapping is done.??clear me with a brie...

how transaction mapping is done.??clear me with a brief example

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