Tejas Gaikwad

Joins Vs Subqueries in MySQL

SQL JOINs are often a good solution over the subqueries, but not every time. There might be chances join statement will not work faster where the subquery will and vice-versa. New learners get easily confused between the JOIN statement and the subqueries and which one to use. In this tutorial, we will see the differences …

Joins Vs Subqueries in MySQL Read More »

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 »