我有这个sql命令:
Select OrderId FROM [dbo].[Order] where WarehouseOrderId = '#KR133725'
Select OrderId FROM [dbo].[Order] where WarehouseOrderId = '#KR136721'
然后得到这样的结果:
OrderId
229291490377
OrderId
229584591308
如何使结果如下:
OrderId
229291490377
229584591308
答案 0 :(得分:0)
Select OrderId FROM [dbo].[Order] where WarehouseOrderId in ( '#KR133725', '#KR136721')