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 departmentid number not null, departmentname varchar not null
Alter the department table by changing the departmentid to deptid
Alter the department table by changing the name of the table to depts.
B Create employees table:
CREATE TABLE employees employeenumber number not null, employeename varchar not null, departmentid number;
Alter employee table by adding two columns salary of type int, address of type varchar;
C CREATE staffmembers TABLE:
CREATE TABLE staffmembers employeenumber number not null, employeename varchar not null, departmentid number
Alter table by changing the employeename column to varchar
D Create table customers:
CREATE TABLE customers customerid number not null, customername varchar address varchar city varchar state varchar zipcode varchar
Drop zipcode
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
