In the attribute table I have a column with many cities and want to select rows that only contain these city names, like "Paris"
and "London"
.
I tried: "cityname" ILIKE 'Paris' OR 'London'
but it doesn't seem to work.
I have seen a reply using "arrays"
to a similar question but I am not sure how it works and I would prefer to use ilike if possible.
Selecting more features with the "ilike" and "in" operator using QGIS
"cityname" in ('Paris', 'London')
?"cityname" ILIKE 'Paris' OR "cityname" ILIKE 'London'
?"cityname" LIKE 'Paris' OR "cityname" LIKE 'London'
?