MySQL supports using single quotes, double quotes and backticks. Here is when to use single quotes, double quotes and backticks in MySQL.
Difference between Inner join and Outer join in SQL
Inner join and outer join are useful to join database tables in SQL. Here is the difference between inner join and outer join in SQL.
How To Do a Full Outer Join in MySQL
How To Get row_number in MySQL
How to Get Data For Every Hour in MySQL
Sometimes you may need to get data for every hour, or retrieve hourly data in MySQL. Here is how to get data for every hour in MySQL.
How To Get Last 1 Hour Data in MySQL
It is useful to fetch last 1 hour rows or retrieve last 1 hour records. Here is how to get last 1 hour data in MySQL.
How to Show Rows Not Present in Another Table in MySQL
Sometimes you may need to find rows not present in another table or select rows not present in another table. Here is how to show rows not present in another table in MySQL.
How to Get Current Week Data in MySQL
It is useful to get current week records or fetch this week records in MySQL. Here is how to get current week data in MySQL.
Select Top 10 Records for Each Category in MySQL
Sometimes you may need to select top n records for each category. Here is how to select top 10 records for each category in MySQL.
Common Table Expression in MySQL
Common Table Expressions allow you to easily write complex SQL queries in MySQL. Here is how to create common table expressions in MySQL.