Q&A for meta-discussion of the Stack Exchange family of Q&A websites
SELECT u.displayname, u.location FROM Users u WHERE (u.location LIKE 'Lug%' OR u.location LIKE 'Luh%' ) AND location NOT LIKE 'Lugansk,%' AND location NOT LIKE 'Luhansk,%' -- город в начале, продолжается адрес AND location NOT LIKE '%, Lugansk' AND location NOT LIKE '%, Luhansk' -- город в конце, после адреса AND location NOT LIKE 'Lugansk' AND location NOT LIKE 'Luhansk'