Question : query

I have a mailling list database that has field named called
"PROD_INT". In this field customer input the multiple catagory "A" through "L" (i.e: james:AJLK, JOHN:BCDEGHJ) to the field. My question is how can I create a query that can select a person has catagory "h" or "j" or "k" from the databse.

Answer : query

Try this:

SELECT * from MailList
where [PROD_INT] LIKE "*H*" OR
[PROD_INT] LIKE "*J*" OR
[PROD_INT] LIKE "*K*"

Chris


Random Solutions  
 
programming4us programming4us