Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/58.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mysql 如何在一个语句中显示所有内容_Mysql - Fatal编程技术网

Mysql 如何在一个语句中显示所有内容

Mysql 如何在一个语句中显示所有内容,mysql,Mysql,显示所有具有以下属性的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' 选择BinLocation,reordlevel 来自[

显示所有具有以下属性的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' 
选择BinLocation,reordlevel
来自[仓库][库存项目控股]
其中BinLocation(如“%J%”或BinLocation(如“%K%”)或BinLocation(如“%L%”

和ReorderLevelYoun应将or条件括在()

选择BinLocation,reordlevel
来自[仓库][库存项目控股]
其中(类似于“%J%”的BinLocation或类似于“%K%”的BinLocation或类似于“%L%”的BinLocation)

和ReorderLevelYoun应将or条件括在()

选择BinLocation,reordlevel
来自[仓库][库存项目控股]
其中(类似于“%J%”的BinLocation或类似于“%K%”的BinLocation或类似于“%L%”的BinLocation)
和重新排序级别
select BinLocation, ReorderLevel 
from [Warehouse].[StockItemHoldings] 
where (BinLocation like '%J%' or BinLocation like '%K%' or BinLocation like '%L%' ) 
and ReorderLevel <= '5'