hql语句select有关问题

hql语句select问题select max(fsid) from com.zycloud.model.TbFunctionSongroup by tbFunctionFather 这

hql语句select问题
select max(fsid) from com.zycloud.model.TbFunctionSon group by tbFunctionFather 这样写为什么不对啊 请大侠帮帮啊

[解决办法]
select max(fsid) from TbFunctionSon tb group by tb.tbFunctionFather
[解决办法]
我认为应该这样写 select max(fsid) from TbFunctionSon tb group by tb.tbFunctionFather