I have a table like:
id name children 1 Roberto Michael,Dia 2 Maria John,Alex 3 Mary Alexandre,Dia
You should split the data into two tables.
the first would look like this
ID Name 1 Roberto 2 Maria 3 Mary
And the second like this
ParentId child 1 Michael 1 Dia 2 John 2 Alex
and so on.
then you could do the query you want without having to worry about like and your data is much more useable
like