Experiment No 4 Database Management System Lab 2024-25
Faculty: Sana Shaikh Class: SE Comp
Experiment No: 4
Name:Prashant Rajendra Dhond Roll No. : 23
Batch: B Performance Date : 16/3/25
Topic: Create a database using Data Definition Language (DDL)
commands for the assigned system.
Prerequisite: Knowledge of SQL syntax.
Mapping CSL402.3
With COs:
Objective: Execute all Data Definition Language commands and Database
Creation and its management for the assigned application.
Outcome: Student should be able to:
-Explain the use of DDL commands.
-Create new database tables by applying these commands.
- Manage the structure of the database.
Instructions: 1. This experiment is a compulsory experiment. All the students are
required to perform this experiment individually.
2. Implement DDL commands for the assigned system.
Deliverables: For Submissions:
1. List down all DDL commands and write syntax of each DDL
command.
2.
CREATE :
CREATE TABLE table_name (
column1 datatype [constraints],
column2 datatype [constraints],
...
);
ALTER
Experiment No 4 Database Management System Lab 2024-25
Faculty: Sana Shaikh Class: SE Comp
Add a column:
ALTER TABLE table_name ADD column_name datatype;
Modify a column:
ALTER TABLE table_name MODIFY column_name new_datatype;
Drop a column:
ALTER TABLE table_name DROP COLUMN column_name;
DROP
Drop a table:
DROP TABLE table_name;
Drop a database:
DROP DATABASE database_name;
TRUNCATE
TRUNCATE TABLE table_name;
RENAME
RENAME TABLE old_table_name TO new_table_name;
3. Implemented all DDL queries with their output.
Experiment No 4 Database Management System Lab 2024-25
Faculty: Sana Shaikh Class: SE Comp
4.
Experiment No 4 Database Management System Lab 2024-25
Faculty: Sana Shaikh Class: SE Comp
5.
Conclusion: Students will be able to create database structures using DDL
commands.
Experiment No 4 Database Management System Lab 2024-25
Faculty: Sana Shaikh Class: SE Comp
References: Put the reference of resources used to perform this experiment.
(Referred textbooks/websites etc.)
Don Bosco Institute of Technology
Department of Computer Engineering
Assessment Rubric for Experiment No. 4
Title of Experiment : Create a database using DDL commands Performance Date :
Year and Semester : 2nd Year and IVth Semester Submission Date :
Sr. 2 Marks 3 Marks 4 Marks
Criteria 1 Marks 5 Marks
No.
Executed Executed
Executed Executed Executed
31-50% 90-100%
10-30% 51-70% 71-89%
queries queries
queries queries queries
1 Execution based on based on
based on based on based on
DDL DDL
DDL DDL DDL
command commands
commands. commands. commands.
s. .
40-59%
20-39% of of 60-79% of 80-100% of
solutions solutions solutions the solution
2 Documentation are are are is
documente document documente documente
d properly. ed d properly. d properly.
properly.
Questions
Students
Questions are
have
Students are answered
problems
3 Viva hardly answered completely
while
answered. fairly well. and
answering.
correctly.
Submitted
Submitted
before the
Submission on after the
4 given
Time given
deadline
deadline