ER

    [CS][데이터베이스 시스템 3판] Chapter03. The relational Model

    Relational Database : Definitions a set of relations Relation : 2 part로 구성 Schema : relation 이름, 각 열의 name과 type 지정 Instance : table의 상태, 행&열, DB의 한 순간의 상태 relation을 행 or 튜플의 집합으로 생각할 수 있다 Ex Oracle에는 string이라는 data type이 없다 → char이나 varchar 사용, real data type도 없어서 number 사용 Relational Query Languaes Algebra에 기반 Relational model의 강점 : Data의 단순성과 강력한 query 지원 Query는 직관적으로 작성할 수 있으며 DBMS는 효율적인 평가를..

    [CS][데이터베이스설계와질의] Chapter02. The Entity Relationaship model

    Overview of Database Design Conceptual Design ER model이 여기서 사용됨 entity 와 realtionship이 어떻게 되는지 우리가 DB에 저장해야 할 entity 와 relationship 의 정보가 어떻게 되는지 integrity constraints 혹은 business rules가 무엇인지 ER model의 DB인 schema는 그림으로 표현되어야 한다 ER diagram을 relational schema에 매핑할 수 있다 ER Model Basics Entity 객체 실세계 object attribute의 집합을 이용해 entity 서술 Entity set 비슷한 entity의 집합 Entity set의 모든 entity는 동일한 attributes ..