Professional Documents
Culture Documents
Lab Journal#2
Name :
Enroll :
Class :
Create a table of bank employees which includes their first name, last name, CNIC,
Designation, contact and date of birth.
Task 01:
Write a query for the creation of table which includes all the above mentioned field.
FIRSTNAME varchar(255),
LASTNAME varchar(255),
CNIC varchar(255),
DESIGNATION varchar(255),
CONTACT varchar(255),
DATEOFBIRTH varchar(255)
);
Task 02:
Task 03:
After creation of table, modify one column of table according to your choice.
ALTER TABLE employees
Task 04:
Implement WHERE clause on the table to update or delete the data of your choice.
UPDATE employees