i run a update join sql in mysql, below is my sql
UPDATE a JOIN b ON a.id = b.pid SET a.t = b.name WHERE a.id > 0 AND b.id > 0