Question: A . Create department table: CREATE TABLE departments ( department _ id number ( 1 0 ) not null, department _ name varchar 2 (

A. Create department table:
CREATE TABLE departments ( department_id number(10) not null, department_name varchar2(50) not null)
1- Alter the department table by changing the department_id to dept_id.
2- Alter the department table by changing the name of the table to depts.
B. Create employees table:
CREATE TABLE employees ( employee_number number(10) not null, employee_name varchar2(50) not null, department_id number(10);
1- Alter employee table by adding two columns salary of type int, address of type varchar(50);
C. CREATE staff_members TABLE:
CREATE TABLE staff_members ( employee_number number(10) not null, employee_name varchar2(50) not null, department_id number(10))
1- Alter table by changing the employee_name column to varchar2(75).
D. Create table customers:
CREATE TABLE customers ( customer_id number(10) not null, customer_name varchar2(50), address varchar2(50), city varchar2(50), state varchar2(25), zip_code varchar2(10))
Drop zip_code
 A. Create department table: CREATE TABLE departments ( department_id number(10) not

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!