What is DML?
"Sql command set".
1-> "DML(Data Manipulation language)".
DML includes select ,insert , update , delete .
Let's study all there functionality one by one.
Database names:Stud
Table Name:student
i> Select;
we use select to fetch data from table or we can say to get record from table
use stud
select * from student.
here we can apply condition also like using where clause.
select * from student where id=234
ii>Insert :
to insert new record in respected table we use insert.
insert into student values ("enter records you want to insert").
iii>Update
to done modification in existing record.
update table table_name set column_name name where clause.
iv>Delete:
to delete unwanted records from table.
delete from table_name where column_name =parameter;
"Sql command set".
1-> "DML(Data Manipulation language)".
DML includes select ,insert , update , delete .
Let's study all there functionality one by one.
Database names:Stud
Table Name:student
i> Select;
we use select to fetch data from table or we can say to get record from table
use stud
select * from student.
here we can apply condition also like using where clause.
select * from student where id=234
ii>Insert :
to insert new record in respected table we use insert.
insert into student values ("enter records you want to insert").
iii>Update
to done modification in existing record.
update table table_name set column_name name where clause.
iv>Delete:
to delete unwanted records from table.
delete from table_name where column_name =parameter;
0 comments: