//生成时间段内连续日期 select * from ( select date('2008-01-01') + (row_NUMBER() over () -1) days AS datennn from sysibm.syscoldist ) where datennn < date ('2013-01-01') //生成时间段内所有节点的笛卡尔积 select a.COMP_NAME, a.COMP_ID,b.datennn from MANAGE8_BASE_NODE_INFO a,(s…