Professional Documents
Culture Documents
Muhammad Fahad CMS: 356324: Submitted To: Waqas Ahmed
Muhammad Fahad CMS: 356324: Submitted To: Waqas Ahmed
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.