I have a table like the following table.
entityId | mId | supertTypes | SubTypes
------------------------------------------------------------
12 | /m.098yu | /m.0yhtg, /m.089hj0__ | Null
13 | /m.kju_c_| /m.0ypwec, /m.0bnm0__, /m.0hgt | /m.098yu
My query is:
select mId from table where superTypes= /m.0yhtg;
The answer should be /m.098yu
I wrote the following queres based on page1 and page2but I could not get correct result.
select mId from table where supertypes RLIKE "[[:<:]]/m.0yhtg[[:>:]]";
Select mId from table where supertypes LIKE '/m.0yhtg';
How can I solve this problem?