A view is a logical representation of one or more tables. In essence, a view is a stored query.
A view derives its data from the tables on which it is based, called base tables. Base tables can be tables or other views. All operations performed on a view actually affect the base tables. You can use views in most places where tables are used.
Views enable you to tailor the presentation of data to different types of users. Views are often used to:
뷰는 한개이상의 테이블로부터 논리적으로 만든 테이블이다. 이는 저장된 쿼리를 의미한다.
뷰는 Base Table로부터 만들어진다. Base table은 테이블이 될수도 있고 다른 뷰가 될수도 있다.
뷰에 대해서 작업하는 것은 실제로 base table에 영향을 끼친다.
뷰를 쓰는 목적은 다음과 같다.
- 미리 정해놓은 컬럼과 행을 사용하도록 만들어 테이블 정보를 보호하기 위해
- 복잡한 데이터 조합을 감추기 위해
- base table로부터 데이터를 보여줄때 다른 관점으로 보여줄 수 있음(e.g. base table의 컬럼이름을 변경하여 표시)
- base table의 정의를 변경할때 독립적으로 어플리케이션을 다룰수 있음
| [오라클 DB 스터디] Oracle Exception(예외처리)을 배웁니다 (0) | 2025.04.30 |
|---|---|
| [오라클 DB 스터디] Sequence / Synonym (0) | 2025.04.23 |
| [오라클 DB 스터디] 제약조건 (0) | 2025.04.21 |
| [오라클 DB 스터디] 커서(Cursor) - 2 (0) | 2025.03.30 |
| [오라클 DB 스터디] 커서(Cursor) - 1 (0) | 2025.03.23 |
댓글 영역