What is DML ? Example of DML

DML: 

A DML (data-manipulation language) is a language that enables users to access or manipulate data as organized by the appropriate data model.

Example of DML

SELECT: Retrieve data from the database.(SELECT * FROM students)
INSERT: INSERT data into a table (INSERT INTO students(id,name) VALUES(1,'RAM'))
UPDATE: Update existing data within a table (UPDATE students SET name='Hari' WHERE id =1)
DELETE: DELETE records from a database table (DELETE FROM students WHERE id =1)



Reactions

Post a Comment

0 Comments