How to fix ERROR 1210: Incorrect arguments to function in MySQL | DevErrors