UPDATE tabla1 t1. SET t1.valor = (SELECT t2.CODE FROM tabla2 t2 WHERE t1.valor = t2.DESC and t1.fecha=t2.fecha). WHERE t1.filtro='correcto'.
確定! 回上一頁