Database Queries

There are four basic types of queries that are used in the MySQL database. These are named as 

1. Select Query

2. Insert Query

3. Update Query

4. Delete Query

We will be discussing each of these queries one by one in reference to our database 'online_store' and its tables 'users' or 'products'. We will be writing the code for each of these queries in order to interact with the tables that we have defined in our database.

We will also provide the snippet of PHP code for how these queries are written. 

Get hands-on with 1200+ tech skills courses.