显示所有具有以下位置的J,K和L库存箱位置 重新排序水平为5或更低。
select BinLocation, ReorderLevel
from [Warehouse].[StockItemHoldings]
where BinLocation like '%J%' or BinLocation like '%K%' or BinLocation like '%L%'
and ReorderLevel <= '5'
当前显示整理水平高于5的结果。
答案 0 :(得分:0)
您应在()之间加上或条件
select BinLocation, ReorderLevel
from [Warehouse].[StockItemHoldings]
where (BinLocation like '%J%' or BinLocation like '%K%' or BinLocation like '%L%' )
and ReorderLevel <= '5'