How to fix ERROR 1411: Incorrect value for function in MySQL | DevErrors