Friday, 2 November 2018

exact word search from mysql

SELECT 
    *
FROM
    `table`
WHERE
    Description regexp '(^|[[:space:]])pen([[:space:]]|$)';

No comments:

Post a Comment