0% found this document useful (0 votes)
16 views3 pages

Worksheet 1.4 DBMS

The document describes a worksheet for a database management systems practical. It involves creating an employee table, performing DDL commands like alter and truncate on the table, and adding a column. The student is asked to write a summary of the results and learning outcomes from the practical. An evaluation grid is also included.

Uploaded by

Anointed EL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views3 pages

Worksheet 1.4 DBMS

The document describes a worksheet for a database management systems practical. It involves creating an employee table, performing DDL commands like alter and truncate on the table, and adding a column. The student is asked to write a summary of the results and learning outcomes from the practical. An evaluation grid is also included.

Uploaded by

Anointed EL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

WORKSHEET 1.

Student Name: Emmanuel Kow Donkor UID: 21BSC1005

Branch: Bsc Section/Group B

Semester: 3rd Date of Performance: 17/09/22

Subject Name DBMS Subject Code: 21SCP-215

1. Aim/Overview of the practical:


Consider an employee table, with columns employee ID, employee name, phone number,
salary.

a. Perform truncate, drop and alter commands on employee table

b. Using alter command add one column called address in the employee table and rename
phone number to mobile number.

2. Result/Output/Writing Summary:

CREATE TABLE EMPLOYEE (ID VARCHAR(10) , NAME VARCHAR(50) , PHONE varchar(10) , SALARY VARCHAR(10) );

INSERT INTO employee VALUES (105 , 'AMIT' , 8754213690 , 10000 ),


(102 , 'VISHAL' , 8456973215 , 15000 ) , (108 , 'SANTOSH', 8457963210 ,20000 ),
(101 , 'VISHU' , 8467512390 , 20000 ) , (109 , 'RAGHAV' , 8497652310 ,25000 );

alter table employee add column ADDRESS varchar(100);


alter table employee change column phone MOBILE varchar(10);
Learning outcomes (What I have learnt):

1) Creating Tables MySQL


2) Selection in MySQL

Evaluation Grid:

Sr. No. Parameters Marks Obtained Maximum Marks


1. Demonstration/Performance/Pre 5
Lab Quiz
2. Worksheet 10
3. Post Lab Quiz 5

You might also like