create view vi_loan_accrued as SELECT INFO.ID          AS ID,
       CONT.CONTRACT_NO AS CONTRACTID,
       INFO.BILL_ID     AS BILLID,
       LLI.LENDER       AS LENDER,
       DICT1.ITEMNAME   AS LOANTYPE,
       DICT2.ITEMNAME   AS CURRENCYNAME
FROM ((((APZL.LOAN_BILL_INFO INFO LEFT JOIN APZL.LOAN_CONTRACT_INFO CONT ON ((CONT.ID = INFO.CONTRACT_ID))) LEFT JOIN APZL.LOAN_LENDER LLI ON ((LLI.ID = INFO.LENDER_ID))) LEFT JOIN APZL.CODE_LIBRARY DICT1 ON (((DICT1.ITEMNO = INFO.LOAN_TYPE) AND (DICT1.CODENO = 'loan_type'))))
LEFT JOIN APZL.CODE_LIBRARY DICT2 ON (((DICT2.ITEMNO = INFO.CURRENCY) AND (DICT2.CODENO = 'Currency'))));

-- comment on column vi_loan_accrued.id not supported: 标识

-- comment on column vi_loan_accrued.contractid not supported: 借款合同号

-- comment on column vi_loan_accrued.billid not supported: 提款单号

-- comment on column vi_loan_accrued.lender not supported: 贷款人

