You are on page 1of 3

Syed Muhammad Ali Shah lab task 08 ID=2758-2017

Create a table called Employee with attributes EMPLOYEE_NAME, EMPLOYEE_NO ,


DEPT_NAME, DEPT_NO & DATE_OF_JOIN.

Create view named EMPVIEW and add following fields EMPLOYEE_NAME,


EMPLOYEE_NO, DEPT_NAME, DEPT_NO.

Insert Query:
Syed Muhammad Ali Shah lab task 08 ID=2758-2017

Query: Delete the record of Employee SRI from EMPVIEW

Query: Change the name of the employee Ravi to Kavi.


Syed Muhammad Ali Shah lab task 08 ID=2758-2017

Query: Create a view named EMPL_VIEW1 with fields EMPLOYEE_NO, DEPT_NAME


from EMPVIEW.

Query: Drop view named EMPVIEW.

You might also like