Ak Dbms Lab File Cse352
Ak Dbms Lab File Cse352
**
Example:
SQL Query to Create the Table:
2) ALTER:
a) ALTER TABLE ….ADD….: This is used to add some extra fields into
existing relation.
Example:
b) ALTER TABLE...MODIFY...: This is used to change the width as well
as data type of fields of existing relations.
Example:
Example:
OUTPUT:
** Replace the English names in the SQL queries and tables with Indian names. **
• Insert table
• Update table
• Delete Table
Objective:
To understand the different issues involved in the design and implementation of a database system
and use data manipulation language to query, update, and manage a database.
Theory:
DATA MANIPULATION LANGUAGE (DML): The Data Manipulation Language (DML) is used to
retrieve, insert and modify database information. These commands will be used by all database users
during the routine operation of the database.
1. INSERT
2. UPDATE
3. DELETE
• By using truncate command data will be removed permanently & will not get back where as
by using delete command data will be removed temporally & get back by using roll back
command.
• By using delete command data will be removed based on the condition whereas by using
truncate command there is no condition.
• Truncate is a DDL command & delete is a DML command.
PROCEDURE:
** Replace the English names in the SQL queries and tables with Indian names. **
PROCEDURE:
LET THE TABLE BE: -
** Replace the English names in the SQL queries and tables with Indian names. **