SyntaxFix
Write A Post
Hire A Developer
Questions
Try it ..
UPDATE PRODUCTION a SET (name, count) = ( SELECT name, count FROM STAGING b WHERE a.ID = b.ID) WHERE EXISTS (SELECT 1 FROM STAGING b WHERE a.ID=b.ID );