記錄一下 mysql 的查詢中like字段的用法

SELECT * from t_yymp_auth_role where role_name not like '%測試%'  and role_name not like '%部門%' and role_name not like '%方案%' and role_name not like '%項目%'

 

相關文章
相關標籤/搜索