-
Add data (INSERT):
INSERT INTO table_name (column1, column2, ...) VALUES (value1, value2, ...);
INSERT INTO employees (first_name, last_name, salary) VALUES ( 'John' , 'Doe' , five thousand );
-
Delete data:
DELETE FROM table_name WHERE condition ;
DELETE FROM employees WHERE id = one ;
-
Modify data (UPDATE):
UPDATE table_name SET column1 = value1, column2 = value2, ... WHERE condition ;
UPDATE employees SET salary = six thousand
WHERE id = one ;
-
Query data (SELECT):
SELECT column1, column2, ... FROM table_name WHERE condition ;
SELECT first_name, last_name, salary FROM employees WHERE department = 'IT' ;