查询关键词为:sys,但是不包含:sys_depart的:
SELECT * FROM tableName WHERE name LIKE '%sys%'EXCEPT SELECT * FROM tableName WHERE name LIKE '%sys_depart%'