sql 单表/多表查询去除重复记录单表distinct多表group by
select h from Hytxbz as h,Tgbzk as t where h.hytxbzid=t.hytxbzid and t.bztgid=:bztgid