SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
UPDATE barang SET ID FROM(SELECT tblkatalog.tblkatalog_id FROM tblkatalog WHERE tblkatalog.tblkatalog_nomor = barang.NO_CAT) WHERE barang.NO_CAT <>'';