根据系统时间查询

        select
        ( select count(*) from sq_ge_personinfo  ) as personifoCount,
        ( select count(*) from sq_ge_building  ) as buildingCount,
        ( select count(*) from sq_ge_rpr  ) as rprCount,
        ( select count(*) from SQ_ZMMB) as zmmbCount,
        ( select count(*) from SYS_USER) as userCount,
        ( select count(*) from SQ_INFORMATION where  to_char(CREATE_TIME,'yyyyMM') in to_char(sysDate,'yyyyMM')) as informationCount,
        ( select count(*) from SQ_DAILYFOLLOWUP) as daiLyFollowUpCount,
        ( select count(*) from SQ_GE_HOUSEINFO ) as HOUSEINFOCOUNT
        from dual

猜你喜欢

转载自blog.csdn.net/qq_24651739/article/details/71419909