📅  最后修改于: 2022-03-11 15:05:15.332000             🧑  作者: Mango
SELECT * FROM emp
WHERE name NOT LIKE 'a%' -- not starting with a
AND name NOT LIKE '%a' -- not ending with a
AND name NOT LIKE '%a%' -- not containing a
AND upper(name) NOT LIKE '%A%' -- not containing a or A