请问大家一个函数问题  我sql语句是这样写的
  where m.id > all(select dicName from Dictionary where dicType='999' and dicCode = '999')
 
  如果.我要写hql语句可以吗.?
 
 hql 怎么写啊 或者说有什么类似的方法货函数..