Professional Documents
Culture Documents
Dbms 3064600 Lab2 2021 2
Dbms 3064600 Lab2 2021 2
Dbms 3064600 Lab2 2021 2
Department
Manager_ID Number(10)
Department_Budget Number(14,2)
Employee
Column Name Type Key
Employee_Id Number(10) Primary key
First_Name Varchar2 (20) Not null
Last_Name Varchar2 (20) Not Null
Email Varchar2 (40)
Phone_Number Varchar2 (20)
Hire_Date Date
Salary Number(14,2)
Department_Code Number (2) Foreign key that
references
1
department_Code of the
Departments table
Gender Char(1)
2. Write an SQL statement to insert the following data into the Department table
3. Write an SQL statement to insert the following data into the Employee table
4. Write an SQL statement to delete from employee table the row which has employee_id = 700
5. Write an SQL statement to add a column named Address to the employee table which has a
type varchar2 and size 30.
6. Write an SQL statement to remove the column Phone_Number from the employee table.