Below is the scenario.
We have a field named "Description", the requirement is:
Can anyone please tell me how can this be accomplished.
Any guidance will be highly appreciated.
Thanks and Regards, Aarti
select description from tablename where
description like '%word1%' and
description like '%word2%' and
description like '%word3%' and
description like '%word4%' and
description like '%word5%'
It would be useful to know what happens to "words" if they are less than 5. Are they null? Are they ''? Example with null:
....(description like '%word2%' or word2 is null) and...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.