大家好,我有以下与以下问题相关的问题
From tables emp and dept find number of employees working in every departments by their jobs.
Showing number not more than 5.
我写了下面的东西
select count(*)
from emp e,dept d
where e.department_id=d.department_id and count(*)<5
group by e.department_id,e.job;
但它向我显示了以下错误
Error at Command Line:3 Column:23
Error report:
SQL Error: ORA-00933: SQL command not properly ended
00933. 00000 - "SQL command not properly ended"
*Cause:
*Action:
什么问题?请帮帮我