Question : SQL complicated request

I need to create an SQL request that does the following.
If (Filters LIKE "%,2.%) than (Filters LIKE "%,2.18,%)
This means that I want to find filters that do not have 2. but if they have 2. than it must be 2.18

Answer : SQL complicated request

Sorry this is sql server :( but it might help

select *
from MyTable
where Filters like case when Filters LIKE '%2.%' than '%2.18%' else '%' end
Random Solutions  
programming4us programming4us