[Database] 4장. SQL Intermediate

Serendipity·2023년 5월 2일
0

[Database]

목록 보기
5/6

1.

SELECT name, title
FROM instructor NATURAL JOIN teaches NATURAL JOIN section NATURAL JOIN
course
WHERE semester = 'Spring' AND year = 2017;

9.

CREATE TABLE manager (
 employee_id char(20),
 manager_id char(20),
 PRIMARY KEY employee_id,
 FOREIGN KEY (manager_id) REFERENCES manager (employee_id)
 ON DELETE CASCADE
);

15. (Oracle Live SQL capture)

17. (Oracle Live SQL capture)

20. (Oracle Live SQL capture)

23. [authorization] why not user but manager role?

사용자 Satoshi가 권한을 부여할 경우, Satoshi가 떠나 DBA가 해당 사용자 Satoshi의 권한을 취소할 경우, Satoshi가 부여한 권한들이 모두 취소됩니다. 따라서 사용자 대신, 관리자 역할이 권한을 부여해야 합니다.

profile
I'm an graduate student majoring in Computer Engineering at Inha University. I'm interested in Machine learning developing frameworks, Formal verification, and Concurrency.

0개의 댓글

관련 채용 정보