MySQL date question.

notfred

Lifer
Feb 12, 2001
38,241
4
0
I have a table that has a date field in it. What I want to do is delete stuff that's out of date, which should be a simple:

delete from table where enddate [before] YYYY-MM-DD

What operator do I use where [before] is?