select
*
from
(
select
rating,
avg(age) as avgage
from
sailors
group by
rating
) as temp
where
temp.avgage = (
select
min(temp.avgage)
from
temp
);
当我尝试运行上述命令时,出现以下错误
ORA-00933: SQL command not properly ended
Sailors 表看起来像这样 Sailors 表
你能告诉我为什么会收到这个错误吗?