Back to Browse

#cursor #plsql #checkconstraint #insertinto #livecode DBMS | PL / SQL Example 5 | Cursor Management

145 views
Jun 14, 2020
47:34

The Problem Statement is given below for your reference : Create the following tables with proper integrity constraints: Employee (id, name, sal, dname) Department (dname, loc) Every employee id must begin with ‘EMP’, the minimum salary of an employee should be 12000 and all departments are located in one of the following locations: Kolkata, Bangalore and Chennai. Write a PL/SQL code using cursor to increase the salary of all the employees from Kolkata by 10% and decrease the salary of all the employees from Bangalore by 5%. Ensure that the updating is properly done.

Download

0 formats

No download links available.

#cursor #plsql #checkconstraint #insertinto #livecode DBMS | PL / SQL Example 5 | Cursor Management | NatokHD