게시판 즐겨찾기
편집
드래그 앤 드롭으로
즐겨찾기 아이콘 위치 수정이 가능합니다.
외국에서 DB공부중인데 ㅠㅠ 모든분에게 가르침구합니다 ㅠ
게시물ID : jisik_175021짧은주소 복사하기
작성자 : 마약수사견
추천 : 0
조회수 : 332회
댓글수 : 0개
등록시간 : 2014/04/24 14:16:31

1.      The following relation schema R, functional dependency set F and decomposition set ρ are given.

R(S,A,I,P), F={S→A,SI→P}, ρ={R1(SA),  R2(SIP)},

Please check if ρ keeps Lossless-join property

 Sol)

R1(SA)  R2(SIP)   R1(SA) - R2(SIP)   (o)

[R1(SA)  R2(SIP)= S

R1(SA) - R2(SIP) = A,

as F(S A,SI→P) ]

SA

Thus

R1(SA)  R2(SIP) →R1

 

That is Lossless-join

 

2.      Given the following relation schema R, where U={ABCD, E, G},  

F={AB→C, C→A, BC→D, ACD→B, D→EG, BE→C, CG→BD, CE→AG}, Please calculate the Canonical Cover of F.

 

3.      Please tell the level of the highest normal form, then decompose it to BCNF if it is not in BCNF.

(1)   R={SNO,SNAME,PNO,QTY} 
F={SNO→SNAME
SNAME→SNO(SNO,PNO)→QTY, (SNAME,PNO)→QTY}

 

 

(2)   SP={ SNO,SNAME,CITY,STATUS },

   F={ SNO→SNAME,SNO→CITY, CITY→STATUS }

 

4.                     R(A,B,C,D)F={A→B,C→D}, R2NF

    ρ={R1(AB)R2(CD)} , is ρ with Dependency Preservation and Lossless-join properties?

 

5.      Given R(A,B,C,D)F={DB,CA,AC},please give the candidate keys, and determine whether R is in 2NFif not, decompose R into 2NF.

CK: (A,D),(C,D) 






제가 데이터베이스를 막시작하는 학인데 외국어로 배우니 힘든면도 있고

이해하더라도 약간 안개식으로 감이 잡혀서 ㅠㅠ

답과 설명좀 해주실분 부탁드리겠습니다 ㅠㅠ

일단 이렇게 풀긴했는데 혹시그것마져도 틀린것이 있으면

어느부분이 틀렸는지 말씀해주시면 감사하겠습니다

전체 추천리스트 보기
새로운 댓글이 없습니다.
새로운 댓글 확인하기
글쓰기
◀뒤로가기
PC버전
맨위로▲
공지 운영 자료창고 청소년보호