Invalid SQL: select count(*) as count from sp_linkex_fl a, sp_linkstat_fl b where a.lx_userid=b.lx_userid AND b.lx_status='1'