Possible Duplicate:
MySQL LIKE IN()?
I have 2 tables
atm_name_initials (initial)
KS
FW
GE
SD
atm_tasks_dit (task_name,task_given_to)
task1 KS
task2 GE
task3 GE/SD
Now i want to SELECT all distinct names from atm_name_initials WHERE they are founded IN LIKE atm_tasks_dit.task_given_to 
This is what i have so far:
SELECT initial FROM atm_name_initials
WHERE initial 
IN
(
    SELECT DISTINCT task_given_to FROM atm_tasks_dit
    WHERE on_big_project_id = 29
)
What this piece of code does it searches if EXACLY the atm_name_initials.initial value is founded in atm_tasks_dit.task_given_to
i would like something like
SELECT initial FROM atm_name_initials
WHERE initial 
"IS LIKE" IN
'%
(
    SELECT DISTINCT task_given_to FROM atm_tasks_dit
    WHERE on_big_project_id = 29
)
%'
or something...
Any help would be appreciated, thank you!
 
     
     
     
    