-- USER 생성은 생략했습니다. SCOTT와 HR 유저 두명으로 스크립트 생성했습니다. -- SCOTT USER 로 로그인 SELECT * FROM JOBS ORA-00942: table or view does not exist 00942. 00000 - "table or view does not exist" *Cause: *Action: 5행, 15열에서 오류 발생 -- HR USER 로 로그인 GRANT INSERT , UPDATE , DELETE ON HR.JOBS TO SCOTT; Grant을(를) 성공했습니다. -- SCOTT USER 로 로그인 SELECT * FROM HR.JOBS WHERE ROWNUM <= 5 JOB_ID JOB_TITLE MIN_SALARY MAX_SALARY ---------- ----------------------------------- ---------- ---------- AD_PRES President 20080 40000 AD_VP Administration Vice President 15000 30000 AD_ASST Administration Assistant 3000 6000 FI_MGR Finance Manager 8200 16000 FI_ACCOUNT Accountant 4200 9000 CREATE SYNONYM SCOTT.JOBS FOR HR.JOBS Synonym SCOTT.JOBS이(가) 생성되었습니다. SELECT * FROM JOBS WHERE ROWNUM <= 5 JOB_ID JOB_TITLE MIN_SALARY MAX_SALARY ---------- ----------------------------------- ---------- ---------- AD_PRES President 20080 40000 AD_VP Administration Vice President 15000 30000 AD_ASST Administration Assistant 3000 6000 FI_MGR Finance Manager 8200 16000 FI_ACCOUNT Accountant 4200 9000