How to find last 2 months record using SQL Query

We will share with you in this article how to find last 2 months record using SQL Query

SELECT *, DATEDIFF(NOW(),`created_at`)as Datediff from `transactions` as t having Datediff <= 60

You can run and check it.

I hope it will help you.

 

Tags: