I have a table CANDIDATE in my db which is running under MySQL 5.5 and I am trying to get rows from table where RAM is contains in firstname, so I can run below two queries,
Better Use of LIKE Query instead of REGEXP if you are not sure about value.
Also LIKE is much faster than REGEXP.