Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

MUHAMMAD FAHAD

CMS: 356324
Submitted to: Waqas Ahmed
21-10-2020

DATABASE SYSTEMS

LAB-2
TASKS
Create a table called EMPLOYEE table with the
following structure and allow NULL for all columns
except EMPNO, ENAME, DOJ and JOB.
TASK CONST.
• Add two columns Commission and HireDate to
the EMPLOYEE table. Commission is a decimal
type and can be NULL.
• Modify the column width of the JOB field of
EMPLOYEE table with VARCHAR(50).
• Write a query to drop a column DOJ to the
EMPLOYEE table.

You might also like