【发布时间】:2019-03-04 11:13:45
【问题描述】:
我这里有以下代码:
SELECT productcode, Brand, product, size
from outerbarcodes i
where productcode = '' or productcode is null or
brand = '' or brand is null or
product = '' or product is null or
size = '' or size is null;
我想添加一个条件,不包括以'PK' 开头的值在列产品代码中。如何修改代码?
提前致谢
【问题讨论】:
-
@vc74 MySQL 不能那样工作。
-
我将其引用到 MySQL Workbench