분류 전체보기 465

[데이터베이스] ER-관계 사상(ER to Relational Mapping)

앞의 글을 읽으시면 이해에 도움이 됩니다. 2023.10.21 - [Computer Science/데이터 베이스] - [데이터베이스] ER 모델(Entity Type, Entity Sets, Attributes and Keys) [데이터베이스] ER 모델(Entity Type, Entity Sets, Attributes and Keys) 앞의 글을 읽으시면 이해에 도움이 됩니다. 2023.10.20 - [Computer Science/데이터 베이스] - [데이터베이스] 스키마(Schema), 인스턴스(Instance), 상태(State) [데이터베이스] 스키마(Schema), 인스턴스(Instance), hi-guten-tag.tistory.com 2023.10.25 - [Computer Science/..

[데이터베이스] 전이 제약 조건(Transition Constraint)

앞의 글을 읽으시면 이해에 도움이 됩니다. 2023.10.26 - [Computer Science/데이터 베이스] - [데이터베이스] 관계 모델의 제약 조건 - 2(Relational Model Constraints) [데이터베이스] 관계 모델의 제약 조건 - 2(Relational Model Constraints) 앞의 글을 읽으시면 이해에 도움이 됩니다. 2023.10.26 - [Computer Science/데이터 베이스] - [데이터베이스] 관계 모델의 제약 조건 - 1(Relational Model Constraints) [데이터베이스] 관계 모델의 제약 조건 - 1(Re hi-guten-tag.tistory.com 1. 관계 모델의 연산 관계 모델의 연산에는 Retrieval과 Update으로..

[데이터베이스] 관계 모델의 제약 조건 - 2(Relational Model Constraints)

앞의 글을 읽으시면 이해에 도움이 됩니다. 2023.10.26 - [Computer Science/데이터 베이스] - [데이터베이스] 관계 모델의 제약 조건 - 1(Relational Model Constraints) [데이터베이스] 관계 모델의 제약 조건 - 1(Relational Model Constraints) 앞의 글을 읽으시면 이해에 도움이 됩니다. 2023.10.26 - [Computer Science/데이터 베이스] - [데이터베이스] 릴레이션의 특성(Characteristics of Relation) [데이터베이스] 릴레이션의 특성(Characteristics of Relation hi-guten-tag.tistory.com 0. 들어가기에 앞서 이번 글에서는 릴레이션 내에서의 제약 조건인..

[데이터베이스] 관계 모델의 제약 조건 - 1(Relational Model Constraints)

앞의 글을 읽으시면 이해에 도움이 됩니다. 2023.10.26 - [Computer Science/데이터 베이스] - [데이터베이스] 릴레이션의 특성(Characteristics of Relation) [데이터베이스] 릴레이션의 특성(Characteristics of Relation) 앞의 글을 읽으시면 이해에 도움이 됩니다. 2023.10.25 - [Computer Science/데이터 베이스] - [데이터베이스] 관계 모델(Relation Model) [데이터베이스] 관계 모델(Relation Model) 앞의 글을 읽으시면 이해에 도 hi-guten-tag.tistory.com 1. 제악 조건의 종류 데이터베이스 상태에서는 실제 값들에 대한 많은 제약 조건(Constraint)이 존재합니다. 제약 ..

[데이터베이스] 릴레이션의 특성(Characteristics of Relation)

앞의 글을 읽으시면 이해에 도움이 됩니다. 2023.10.25 - [Computer Science/데이터 베이스] - [데이터베이스] 관계 모델(Relation Model) [데이터베이스] 관계 모델(Relation Model) 앞의 글을 읽으시면 이해에 도움이 됩니다. 2023.10.25 - [Computer Science/데이터 베이스] - [데이터베이스] 약한 엔티티 타입(Weak Entity Type) [데이터베이스] 약한 엔티티 타입(Weak Entity Type) 앞의 글을 읽 hi-guten-tag.tistory.com 1. 릴레이션의 특성(Characteristics of Relation) 릴레이션에도 특성이 있습니다. 튜플들의 순서, 애트리뷰트의 순서, 튜플의 값 등이 있습니다. 이번 글..

[데이터베이스] 관계 모델(Relation Model)

앞의 글을 읽으시면 이해에 도움이 됩니다. 2023.10.25 - [Computer Science/데이터 베이스] - [데이터베이스] 약한 엔티티 타입(Weak Entity Type) [데이터베이스] 약한 엔티티 타입(Weak Entity Type) 앞의 글을 읽으시면 이해에 도움이 됩니다. 2023.10.21 - [Computer Science/데이터 베이스] - [데이터베이스] ER 모델(Entity Type, Entity Sets, Attributes and Keys) [데이터베이스] ER 모델(Entity Type, Entity Sets, Attribute hi-guten-tag.tistory.com 1. 관계형 모델(Relational Model) 관계형 모델은 데이터베이스를 릴레이션들의 모임으..

[데이터베이스] 약한 엔티티 타입(Weak Entity Type)

앞의 글을 읽으시면 이해에 도움이 됩니다. 2023.10.21 - [Computer Science/데이터 베이스] - [데이터베이스] ER 모델(Entity Type, Entity Sets, Attributes and Keys) [데이터베이스] ER 모델(Entity Type, Entity Sets, Attributes and Keys) 앞의 글을 읽으시면 이해에 도움이 됩니다. 2023.10.20 - [Computer Science/데이터 베이스] - [데이터베이스] 스키마(Schema), 인스턴스(Instance), 상태(State) [데이터베이스] 스키마(Schema), 인스턴스(Instance), hi-guten-tag.tistory.com 1. 약한 엔티티 타입(Weak Entity Type) ..

[데이터베이스] 관계의 제약 조건, 관계 타입의 애트리뷰트

앞의 글을 읽으시면 이해에 도움이 됩니다. 2023.10.21 - [Computer Science/데이터 베이스] - [데이터베이스] ER 모델(관계, Relationship) [데이터베이스] ER 모델(관계, Relationship) 앞의 글을 읽으시면 이해에 도움이 됩니다. 2023.10.21 - [Computer Science/데이터 베이스] - [데이터베이스] ER 모델(Entity Type, Entity Sets, Attributes and Keys) [데이터베이스] ER 모델(Entity Type, Entity Sets, Attribute hi-guten-tag.tistory.com 1. 관계의 제약 조건 예를 들어 모든 직원은 정확히 한 부서에서 근무해야 한다. 혹은 몇몇 직원은 그들의 부서..

[프로그래머스 - Oracle] 131118 - 서울에 위치한 식당 목록 출력하기

0. 문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/131118 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 1. 풀이 방법 위에는 where과 and를 사용하였고, 아래는 join과 having을 사용했다. 2. 코드 SELECT i.rest_id, i.rest_name, i.food_type, i.favorites, i.address, round(avg(r.review_score), 2) as score from rest_info i, rest_review r where i.rest..

[데이터베이스 - Oracle] 164673 - 조건에 부합하는 중고거래 댓글 조회하기

0. 문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/164673 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 1. 풀이 방법 중복되는 애트리뷰트가 많아서, 별칭을 주고 해결했다. 2. 코드 SELECT b.title, b.board_id, r.reply_id, r.writer_id, r.contents, to_char(r.created_date, 'yyyy-mm-dd') created_date from used_goods_board b, used_goods_reply r where b...