Answer the question
In order to leave comments, you need to log in
How to display all records that are older than 6 months mysql?
Hello!
Is it possible to do this at all?
It works somehow strange, in the month field I have an enum there and all records have 6.
For some reason, it takes not 6 months, but 3, how is this possible?
I put the number 6 instead of the field and it works fine.
mysql 8
`unixtime` < NOW() - INTERVAL `month` MONTH
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question