script SQL di Microsoft SQL Server - Update data tabel dari tabel yang lain

UPDATE  datamhs
SET nip = t2.nip, status='A'
FROM datamhs t1
INNER JOIN waliSI t2 ON t1.npm = t2.npm
where t1.npm=t2.npm



update tabel datamhs field nip, yang mana diupdate dari tabel waliSI

demikian




Posting Lebih Baru Posting Lama

Leave a Reply