I have a table called events with 5 fields. Among those fields I have the eventDate field (date type field) in which I keep the date when the event will take place.
I made a dropdown with options to select from the events table.
1. All events (contains just the events from today and from the future, excluding those from the past)
2. Events this week
3. Events next week
4. Events next month
Can smbd help me with the SELECT statements for this, in MYSQL?
1 Answer