Good Design of Database
Decomposition Table을 쪼개 duplicated data를 없애자! 기준은? Good Decomposition inst_dept table dept_name → building, budget을 결정한다. (Functional Dependency) dept_name은 candidate key가 아니야! (unique하지 않아 ...
Decomposition Table을 쪼개 duplicated data를 없애자! 기준은? Good Decomposition inst_dept table dept_name → building, budget을 결정한다. (Functional Dependency) dept_name은 candidate key가 아니야! (unique하지 않아 ...
ER Diagram Entity An object that exists and is distinguishable from other objects. (can be mapped with single tuple) Entity Set Set of entities of the same type that share the same properties. (c...
Integrity Constraints Integrity constraints guard against accidental damage to the database, by ensuring the changes to the database do not result in data inconsistency Constraints on a Single Rel...
View Definition – with: query가 끝나면 사라짐 view: 한번 만들면 계속 쓸수 있다. + 권한 이슈 (we can use view as a table) V1 <-- V3 <--- V2 v1 directly depend v3 v1 depends on v3 and v2 if v1 depends on it...
아리까리요 SQL은 중복된 data가 result에 포함된다. (Relation algebra와 다른점), 제거할꺼면 distinct 쓰자 중복도 모두 보여주는 select all이 default From ‘,’ 있으면 cartesian product String Patterns are case sensitiv...
Introduction to SQL SQL allows duplicates in relations where Relation Alg don’t Why SQL The SQL Data-Definition Language(DDL) allows the specification of information about relations, inclu...
Relation Algebra Employees EmpID Name Age DeptID 1 Alice 30 D1 2 Bob 25 D2 ...
Structure of Relational Databases Relation Schema and Instance Schema: R = (A1, A2, …, An) A1, A2, …, An are attributes Order of tuples is irrelevant Domain For each attribute of a relat...
Why use Database System What is DBMS? Database(collection of data) Management system A collection of interrelated data and a set of programs to access those data Drawback of file systems ...
개요 처음 백엔드 리드로써 프로젝트에 참여하게 되었다. 첫 리드로써 아주 poorly done 했다 생각하는데, 이번 기회를 통해 느낀 점들을 기록해보려 한다. 프로젝트 기간: 2024-12-18 ~ 2025-02-25 참여 경로: 동아리 프로젝트 내 역할: 인프라 관리 및 간단한 API 개발 팀 관리 ...