DML
DATA MANIPULATION LANGUAGE
WHAT IS DML
A data manipulation language (DML) is a family of computer
languages including commands permitting users to manipulate data
in a database. This manipulation involves
Select To Retrieve Data.
Inserting Data Into Database Tables.
Deleting Data From Existing Tables.
Updating Existing Data.
SELECT
To Retrieve Data. Which Is Basically In Backend And Also In
Database.
1) SELECT * FROM TAB;
2) SELECT * FROM EMP
WHERE ENAME = ‘KING’;
WHAT IS INSERT
Insert command Basically manipulates data in a
way/sense of adding/inserting rows into a table.
According To Rules Applied On Table Like Data Types
And Constraints.
Where we use Insert Command
We Use Insert Command In SQL To Insert Rows.
After We Created Table.
When You Needed More Data To Be Saved In
Backend.
Syntax And Query
Syntax :
Insert Into
Query :
INSERT INTO UCC
VALUES(1, ’NAME’ );
WHAT IS UPDATE
Update command Basically manipulates data in a
way/sense of modifying or updating rows from existing
tables.
Where we use UPDATE Command
We Use Update Command In SQL To Update Rows and
data.
When there will be existing rows.
Syntax And Query
Syntax :
update ucc
Query :
update UCC
set Name=‘Ali’
where Name=‘Akram’;
WHAT IS Delete
Delete command Basically manipulates data in a
way/sense of deleting rows from existing tables that
contain rows or records.
Where we use UPDATE Command
We Use delete Command In SQL To delete Rows or
records.
When there will be existing rows or records.
Syntax And Query
Syntax :
delete from
Query :
delete from UCC
where Name=‘Akram’;

DML DATA MAINUPULATION LANGUAGE

  • 1.
  • 2.
    WHAT IS DML Adata manipulation language (DML) is a family of computer languages including commands permitting users to manipulate data in a database. This manipulation involves Select To Retrieve Data. Inserting Data Into Database Tables. Deleting Data From Existing Tables. Updating Existing Data.
  • 3.
    SELECT To Retrieve Data.Which Is Basically In Backend And Also In Database. 1) SELECT * FROM TAB; 2) SELECT * FROM EMP WHERE ENAME = ‘KING’;
  • 4.
    WHAT IS INSERT Insertcommand Basically manipulates data in a way/sense of adding/inserting rows into a table. According To Rules Applied On Table Like Data Types And Constraints.
  • 5.
    Where we useInsert Command We Use Insert Command In SQL To Insert Rows. After We Created Table. When You Needed More Data To Be Saved In Backend.
  • 6.
    Syntax And Query Syntax: Insert Into Query : INSERT INTO UCC VALUES(1, ’NAME’ );
  • 7.
    WHAT IS UPDATE Updatecommand Basically manipulates data in a way/sense of modifying or updating rows from existing tables.
  • 8.
    Where we useUPDATE Command We Use Update Command In SQL To Update Rows and data. When there will be existing rows.
  • 9.
    Syntax And Query Syntax: update ucc Query : update UCC set Name=‘Ali’ where Name=‘Akram’;
  • 10.
    WHAT IS Delete Deletecommand Basically manipulates data in a way/sense of deleting rows from existing tables that contain rows or records.
  • 11.
    Where we useUPDATE Command We Use delete Command In SQL To delete Rows or records. When there will be existing rows or records.
  • 12.
    Syntax And Query Syntax: delete from Query : delete from UCC where Name=‘Akram’;