再注文レベルが5以下のJ、K、およびLの在庫ビンの場所をすべて表示します。
select BinLocation, ReorderLevel
from [Warehouse].[StockItemHoldings]
where BinLocation like '%J%' or BinLocation like '%K%' or BinLocation like '%L%'
and ReorderLevel <= '5'
現在、reoderレベルが5を超える結果を示しています。
または条件を()で囲む必要があります
select BinLocation, ReorderLevel
from [Warehouse].[StockItemHoldings]
where (BinLocation like '%J%' or BinLocation like '%K%' or BinLocation like '%L%' )
and ReorderLevel <= '5'
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加