create view lb_union_lessee_f_transfer as SELECT LBU.CONTRACT_ID AS CONTRACT_ID, CI.CUSTOMERNAME AS CUSTOMERNAME
FROM (APZL.LB_UNION_LESSEE LBU
LEFT JOIN APZL.CUSTOMER_INFO CI ON ((LBU.CUSTOMER_ID = CI.CUSTOMERID)))
WHERE ((ifnull(LBU.CONTRACT_ID, 'e') <> 'e') AND (LBU.CONTRACT_ID <> '') AND (LBU.IS_MAIN = 'Y'));

-- comment on column lb_union_lessee_f_transfer.contract_id not supported: 合同编号

-- comment on column lb_union_lessee_f_transfer.customername not supported: 客户名称

