Professional Documents
Culture Documents
Create a Table Emp12 with empno as primary key and salary with the check
constraint salary should always greater than 200
2.List the Employee Name and Hire date with the next monday & after the sixth
month date . date format appears as "twenty-second june 1981"
3. Disable the above check constraint and enable it(Write the Statements)
4. Update the Job,manager and Salary of Employee 114 to match the job of
employee 205 , manager of 188 and the salary of Employee 108
5. create a user named 'Test11' and give the particular privilage to populate
the SCOTT's emp table.
6. List the dept id, deptname, average salary , total salary departmentwise
and average salary should be greater than 900
7.Display the details of the employees who are managed by the same manager as
the employees with the the first name of "John" and work in the same
department as the employees with the first name of "John"
8.Find all the employees who earn more than average salary in their
department(Use Correlated Subquery)
9.Create a sequence for Purchase Table for puchase order number starting with
1000 and with max value 10000. Also display the current value and next value.