Elective Database Management System

Database Management SystemPU Spring 2023

a) Write SQL statements for the following queries using the given Employees relation: 1 i) Create a database named Company and Employees relation. ii) Create a view that shows the E id, Department…

15
  • a) Write SQL statements for the following queries using the given Employees relation: 1
  • i) Create a database named Company and Employees relation.
  • ii) Create a view that shows the E_id, Department and Hire_Date of all employees.
  • iii) Modify the table such that the Department of Biren is HR now.
  • iv) Delete the record of employees whose Lname is “Pandey”.
  • b) What is referential integrity? Explain about a trigger with an example.
A worked answer is on its wayMeanwhile, read the Database Management System notes for this topic.

Discussion

Loading…

More Database Management System questions

All Database Management System old questions