I have this table with random values and I want to select only those that end with "_" or "%" in the flavor column using the option "ESCAPE".
I have tried this way but it also brings me those that have "_" in the middle of the value.
and if I try this way, I do not return any rows.
select * from bonyurt where sabor like '%\_' escape '\'
What am I doing wrong?