}
// remove join (if not necessary)
if (inner.hasConstraintOn(table)==false)
inner.removeJoinsOn(table);
// add SQL for inner statement
inner.addSQL(buf, CTX_DEFAULT);
// find the source table
DBColumnExpr left = updateJoin.getLeft();
DBColumnExpr right = updateJoin.getRight();
DBRowSet source = right.getUpdateColumn().getRowSet();
if (source==table)