Правила
булевой алгебры:
A | B | C = (A | B) | C = A | (B | C)
A & B & C = (A & B) & C = A & (B & C)
(A & B) | (A & C) = A & (B | C)
(A | B) & (A | C) = A | (B & C)
!(A & B) = (!A) | (!B)
!(A | B) = (!A) & (!B)
Чтобы оставить выбранные адреса, надо сформулировать условие
NOT (street = 'Советская' AND house_number = '79')
AND NOT (street = 'Карбышева' AND house_number = '37')
AND NOT (street = 'Карбышева' AND house_number = '60')
...
приводим по шагам:
(street != 'Советская' ОR house_number != '79')
AND (street != 'Карбышева' OR house_number != '37')
AND (street != 'Карбышева' OR house_number != '60')
...
(street != 'Советская' ОR house_number != '79')
AND (street != 'Карбышева' OR (house_number != '37' AND house_number != '60'))
...