내가 뭘 잘못하고 있니?hiredate 주문 오름차순
SQL> select ename, job, oder by (ascending order)hiredate from emp where hiredate between '20-FEB-81' AND '01-MAY-81';
select ename, job, oder by (ascending order)hiredate from emp where hiredate between '20-FEB-81' AND '01-MAY-81'
*
ERROR at line 1:
ORA-00923: FROM keyword not found where expected
SQL>
표
SQL> select ename, job, hiredate from emp where hiredate between '20-FEB-81' AND '01 MAY-81';
ENAME JOB HIREDATE
---------- --------- ---------
BLAKE MANAGER 01-MAY-81
JONES MANAGER 02-APR-81
ALLEN SALESMAN 20-FEB-81
WARD SALESMAN 22-FEB-81
SQL>
같은 당신의 마지막 질문 http://stackoverflow.com/questions/7373117/asending-order-for-hiredate를 참조 싶어하고 SQL 구문을 읽고 명령의 순서를 적어 두십시오. – Mark
간단한 구문 오류 인 질문이 너무 많습니다. 오라클 설명서는 포괄적이고 온라인이며 무료입니다. 더 이상의 질문을 게시하기 전에 그것을 읽으십시오. 여기에서 찾으십시오. http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/toc.htm – APC