We have to write SQL Query to perform any kind of operation on database.
Insert Statement
Select Statement
Update Statement
Delete Statement
INSERT INTO table_name (column1,column2,column3,...)
VALUES (value1,value2,value3,...);
SELECT column_name,column_name
FROM table_name;
and
SELECT * FROM table_name;
UPDATE table_name
SET column1=value1,column2=value2,...
WHERE some_column=some_value;
DELETE FROM table_name;
or
DELETE * FROM table_name;