Possible Duplicate:
Is there a combination of “LIKE” and “IN” in SQL?
can we use like and in condition in same query like this
select inticap(last_name),length(last_name) from employees
where last_name in(like '%J%',like '%A%',like '%M%');
OR
select inticap(last_name),length(last_name) from employees
where last_name like in( '%J%', '%A%',l'%M%');
i know it wont work . here i want to display initial letter of last name capital and the length of last name and i want to display name with alphabets 'A' ,'J'and 'M'. please help me