Problems in the where condition of the read data

Angelical 31 Dec, 2022
Hello everyone.

I'm trying to create a condition inside a where of the read data, I'm trying this:
SUBSTRING_INDEX(name, '.' , -1) = 4

But it shows me the following error:
42000, 1582, Incorrect parameter count in the call to native function 'SUBSTRING_INDEX'


Can you help me to solve this error?
regards
You need to login to be able to post a reply.