MySQL

MySQL Examples and Tutorials

Alternative to date_trunc in MySQL

MySQL provides us with a wide range of functions to deal with dates, maths calculations, string manipulation etc. However, MySQL lacks some functions that are available in other DBMSs. The date_trunc function is one of the missing features of MySQL which is available in PostgreSQL DBMS. In this tutorial, we will see what are some …

Alternative to date_trunc in MySQL Read More »

MySQL IS NOT EQUAL TO Operator

In this tutorial, we will learn about the “not equal” operator in MySQL which is used to find the records which are not equal to a given expression. So, let’s get started! Introduction to MySQL Not Equal To Operator The “Not equal to” operator is exactly opposite to the equal to operator. When you want …

MySQL IS NOT EQUAL TO Operator Read More »

MySQL REGEXP_LIKE() Function

In this tutorial, we will learn about the REGEXP_LIKE() function which is used to match the given value with the specified regular expression. So, let’s get started! What is a Regular Expression? In your application, you will often need to find the result that matches a specific pattern. The LIKE operator is a good option …

MySQL REGEXP_LIKE() Function Read More »