This blog is for php so I will talk about these.
- MySQL
- MySQLi
- PDO
- INSERT
- SELECT
- UPDATE
- DELETE
INSERT Query:-
Insert query is used to insert record in database. syntax of insert query is
SELECT Query:-
Select query is used to fetch data from database. syntax of select query is
UPDATE Query:-
Update query is used to update or modify saved records from database. syntax of update query is
DELETE Query:-
Delete query is used to remove the records from database. Syntax of delete query is
MySQL Code:
- INSERT INTO TABLE_NAME(column) VALUES(values that we are going to store)
- or
- INSERT INTO TABLE_NAME VALUES(values that we are going to store);
SELECT Query:-
Select query is used to fetch data from database. syntax of select query is
MySQL Code:
- SELECT * FROM TABLE_NAME
- or
- SELECT column_name FROM TABLE_NAME
Update query is used to update or modify saved records from database. syntax of update query is
MySQL Code:
- UPDATE TABLE_NAME SET column_name = "value"
Delete query is used to remove the records from database. Syntax of delete query is
MySQL Code:
- DELETE FROM TABLE_NAME
What is MySQL ?
MySQL is a freely available open source Relational Database Management System (RDBMS) that uses Structured Query Language (SQL). SQL is the most popular language for adding, accessing and maaging content in a database. It is most noted for its quick processing, proven reliability, ease and flexibility of use.
MySQL is a freely available open source Relational Database Management System (RDBMS) that uses Structured Query Language (SQL). SQL is the most popular language for adding, accessing and maaging content in a database. It is most noted for its quick processing, proven reliability, ease and flexibility of use.