create view lc_rent_income_transfer as SELECT APZL.LC_RENT_INCOME.PAYMENT_NUMBER       AS PAYMENT_NUMBER,
       APZL.LC_RENT_INCOME.PLAN_LIST            AS PLAN_LIST,
       APZL.LC_RENT_INCOME.PLAN_ID              AS PLAN_ID,
       sum(APZL.LC_RENT_INCOME.RENT)            AS RENT,
       sum(APZL.LC_RENT_INCOME.CORPUS)          AS CORPUS,
       sum(APZL.LC_RENT_INCOME.INTEREST)        AS INTEREST,
       sum(APZL.LC_RENT_INCOME.PENALTY)         AS PENALTY,
       sum(APZL.LC_RENT_INCOME.CORPUS_ADJUST)   AS CORPUS_ADJUST,
       sum(APZL.LC_RENT_INCOME.INTEREST_ADJUST) AS INTEREST_ADJUST,
       sum(APZL.LC_RENT_INCOME.PENALTY_ADJUST)  AS PENALTY_ADJUST
FROM APZL.LC_RENT_INCOME
WHERE (APZL.LC_RENT_INCOME.ROLL_BACK = '0')
GROUP BY APZL.LC_RENT_INCOME.PAYMENT_NUMBER, APZL.LC_RENT_INCOME.PLAN_LIST;

-- comment on column lc_rent_income_transfer.payment_number not supported: 投放编号

-- comment on column lc_rent_income_transfer.plan_list not supported: 租金计划期次

-- comment on column lc_rent_income_transfer.plan_id not supported: 计划id

