How to get last record in MySQL using PHP

Hi friends, in this tutorial we will learn how to get last record in MySQL using PHP. This is very useful and almost required in any kind of web application while creating a dynamic website or any customized software. Actually, there are two ways by which we can get the last inserted record from the … Read more

Inner Join in MySQL with conditions by example

Before getting started with the inner join in MySQL with conditions examples, let’s know about the inner join keyword and its syntax. What is inner join in SQL/MySQL? Inner join is used when we want to collect the data or rows between two tables or from multiple tables in the database. When the inner join … Read more

GROUP_CONCAT() example in MySQL with Join

In MySQL, sometimes we need to fetch the particular column value from multiple rows using the same id i.e. the foreign key that belongs to the primary key of the other table. As such, with the help of the GROUP_CONCAT() example in MySQL, we can do this. This function is used very rare but it … Read more