SQL Practical File Exp1 Exp2 Custom
SQL Practical File Exp1 Exp2 Custom
To understand how to define, modify, and delete database structures using DDL commands.
Theory:
DDL includes SQL commands like CREATE, ALTER, DROP to define and manage table structures.
-- Create table
sno NUMBER(3),
sname CHAR(10),
class CHAR(5)
);
-- Alter table
-- Drop table
Output:
1 Ravi BCA
2 Amit BCA
Experiment No. 2 - DML Commands (Insert, Update, Delete)
Objective:
Theory:
-- Insert data
-- Update data
-- Delete data
Output: