UPDATE tableA a,
tableB b,
SET a.email = b.email, a.name = b.name
WHERE a.id = b.id
tableB ini boleh pakai subquery seperti ini
(SELECT b.id, b.email, b.name FROM tableXXX)
UPDATE tableA a,
tableB b,
SET a.email = b.email, a.name = b.name
WHERE a.id = b.id
tableB ini boleh pakai subquery seperti ini
(SELECT b.id, b.email, b.name FROM tableXXX)
Komentar
Posting Komentar