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


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.

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