如查询凭证中来源sourcebillID存在两条的数据
select count(fsourcebillID),fsourcebillID from
T_GL_Voucher where fsourcebillID in (select fid from T_BC_BizAccountBill)
group by fsourcebillID having count(fsourcebillID)>1
如查询凭证中来源sourcebillID存在两条的数据
select count(fsourcebillID),fsourcebillID from
T_GL_Voucher where fsourcebillID in (select fid from T_BC_BizAccountBill)
group by fsourcebillID having count(fsourcebillID)>1