■ FULL 힌트 : 테이블 FULL SCAN 사용하기

------------------------------------------------------------------------------------------------------------------------

SELECT /*+ FULL(ORDERS) */

    ORDER_ID

   ,ORDER_DATE

   ,ORDER_AMOUNT

FROM  ORDERS

WHERE ORDER_DATE BETWEEN TO_CHAR('2020-01-01', 'YYYY-MM-DD') AND TO_CHAR('2020-01-31', 'YYYY-MM-DD')

ORDER BY ORDER_ID;   

------------------------------------------------------------------------------------------------------------------------

※ /*+ FULL(테이블명) */

Posted by 사용자 icodebroker
TAG

댓글을 달아 주세요