DML Statements With Examples
DML Statements With Examples
• Select * from student where rank > 5 - Gets records with the condition where students' rank is greater than 5.
Insert statements…
• INSERT statement is used to insert a set of values into a database table. Insert statement it used with Values.
• The query given above will update the student Name from Imran to Abbas.
Delete statements…
• Delete statement is used to delete the existing record in the table, which is based on some condition.
• The query given above will delete records which has StudentName as Abbas.