Skip to content
Advertisement

One Table Update

I want to update Price where PriceGroup = ‘PG1’ and Price is null, with the Price from the same ID but the PriceGroup is PG2. I have tried a few solution here but couldn’t find any with Where statement.

PriceTable:

Result will be:

Advertisement

Answer

Something like this?

Tried with this data

and this is the output

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement