update supplierconfirmsendbillitem set scsbiexecutetag='3',scsbisenddate='2010-8-12'
inner join purchaseorderitem on supplierconfirmsendbillitem.scsbipurchaseorderitemid=purchaseorderitem.poiitemid
inner join purchaseorder on purchaseorder.poorderid=purchaseorderitem.poiorderid where poordersn='HK-PO-000033'
要更新supplierconfirmsendbillitem 表中的两个字段。这个表中有个字段跟purchaseorderitem.poiitemid是相关的,purchaseorderitem.poiitemid
跟purchaseorder.poorderid又是相关的。再根据poordersn可以得到purchaseorder.poorderid 请问如何做可以实现这样的更新操作?