Update [E1$]
set [LR/Virtual/MW]='LR' ,
[Vir No#]=null
where [Conc] , [Vir No#]
in (
SELECT [Conc] , [Vir No#]
FROM [E1$]
where [Vir No#] is not null
group by Conc , [Vir No#]
having Count(LR)<28
)
相关问题
- SQL join to get the cartesian product of 2 columns
- sql execution latency when assign to a variable
- Difference between Types.INTEGER and Types.NULL in
- php PDO::FETCH_ASSOC doesnt detect select after ba
- Bulk update SQL Server C#
try this:
Try using parenthesis around
([conc], [Vir No#])
in thewhere
clause.