eladmin
eladmin copied to clipboard
support FIND_IN_SET cond
if we have a table
with column tags
, the column value of tags
is comma split string, like:"a,b,c"
we want to quey it by 'querytag' (ex 'a'), using follow sql:
SELECT * FROM table WHERE FIND_IN_SET('a', table.tags);