You made a mistake like .
Try this query:
select tasks.name from users left join tasks on users.specialty LIKE CONCAT('%',tasks.tags,'%') where users.username = 'JinkX'
This is not the best way, but it should work
EDIT: according to the comments, another way that should be better
Using REGEXP:
select tasks.name from users left join tasks on users.specialty REGEXP CONCAT('(^|,) ?',tasks.tags,' ?($|,)') where users.username = 'JinkX'
source share