mysql update where

UPDATE car_approval a
JOIN car_distribute b ON a.id = b.APPROVAL_FOR_CAR_ID
SET a.APPROVAL_STATUS = 'approvalStatus-car-complete'
WHERE
b.ACK_STATUS = 'CarTaskStatus-EndCarTask'
and a.APPROVAL_STATUS <> 'approvalStatus-car-complete';
上一篇:ubuntu配置NFS


下一篇:android自动化必备之SDK