[Solved] Getting all entries in a particular number of months [closed]

[ad_1]

A MySQL query command with this WHERE clause will find the records you want.

WHERE lastdatechangeoil <= NOW() - INTERVAL 3 MONTH

as long as that information is stored in a DATETIME or TIMESTAMP column.

[ad_2]

solved Getting all entries in a particular number of months [closed]