Skip to content
Advertisement

Combine 2 similar update queries into one query

Is there a way by which I can combine the above two queries (updating the same table) into one single query?

Advertisement

Answer

You may use a case expression to achieve this eg.

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