我遇到了一些HQL查詢問題。我會使用像這樣的別名子查詢HQL子查詢別名
select distinct a.some1, count(a.some2),
(Select count(z.any), z.any.any_id as v from Z z where
z.level=4) as "zoo", azc.a.any_id
from A a
where a.z.level=4
zoo.v=a.z.m
但別名返回給我一個錯誤。哪裏有問題?