[저장]oracle cheat sheet
실습용 데이터 획득 https://m.blog.naver.com/PostView.nhn?blogId=chin1001&logNo=60177951428&proxyReferer=https:%2F%2Fwww.google.com%2F cheatsheet 시작 SELECT ename, sal, (sal*12)+nvl(COMM,0) AS annsal, comm FROM emp ORDER BY annsal DESC, sal desc; SELECT ename, sal, (sal*12)+nvl2(COMM,0,9) AS annsal, comm FROM emp ORDER BY annsal DESC, sal desc; SELECT * FROM emp WHERE JOB != 'MANAGER' SELECT empno, ename,..
2020. 5. 26.