I have tried the following query to create index but it throws error
ALTER TABLE users ADD INDEX birthday_index ((date_format(birth_date, "%m-%d")))
I have tried the following query to create index but it throws error
ALTER TABLE users ADD INDEX birthday_index ((date_format(birth_date, "%m-%d")))