0
我想指望員工SQL plus中的這個命令有什麼問題?
SQL> select count(ename) AS number of people, from emp;
select count(ename) AS number of people, from emp
*
ERROR at line 1:
ORA-00923: FROM keyword not found where expected
SQL>
數目這裏是我的表
SQL> select ename from emp;
ENAME
----------
KING
BLAKE
CLARK
JONES
MARTIN
ALLEN
TURNER
JAMES
WARD
FORD
SMITH
ENAME
----------
SCOTT
ADAMS
MILLER
14 rows selected.
SQL>
這並感謝 – user770022
或者使用雙引號:'作爲「人的數目」' –