HQL语句 distinct 的用法_百度知道
问题描述: select distinct hsID from bs_stockin_real 转换成HQL,该怎么写?[专业]答案:String sql = "SELECT distinct r.site FROM Report r where r.site.channel.id=8 and r.keyword.group.profile.id="+profileId ; Query...更多关于HQL中disti
HQL中distinct的用法 - ITeye问答
HQL中distinct的用法 我用"from AObject a left join fetch a.sets b where b.removed=false"能查出我想要的值,其中有一些重复我想通过 "select distinct * ...