DML = table ke andar “rows/data” ko change karna.
Schema (structure) nahi badalta—sirf data badalta.
DML commands:
INSERT (new rows)UPDATE (existing rows modify)DELETE (rows remove)REPLACEMust-know: DML usually transactional hota hai (COMMIT/ROLLBACK se control).
INSERT INTO table_name(col1, col2, col3)
VALUES (v1, v2, v3);
INSERT INTO table_name(col1, col2, col3)
VALUES (v1, v2, v3),
(v4, v5, v6);
Real world: bulk inserts me yeh efficient hota hai.
INSERT INTO student
VALUES (1,'Harsh',10);
Risk: table structure change hua to insert break ya wrong mapping.