Math, asked by gurjaniabhishek9403, 1 year ago

any relation which is in 3nf but not in bcnf?

Answers

Answered by SassyBae
9
First you need to learn superkeys, candidate keys, and primary attributes.

However, this rule of thumb helps:

A 3NF table that does not have multiple overlapping candidate keys is guaranteed to be in BCNF.

In other words, if the candidate keys in a 3NF relation are

all atomic, ornon-atomic but non-overlapping,

it is guaranteed that the relation is in BCNF.

The simplest relation which violates BCNF but meets 3NF has the following functional dependencies:

A,B -> C C -> B

In this case, candidate keys are (A,B)and (A,C). 
It meets 3NF because

the right-hand-side of all functional dependencies is a primary attribute.

It violates BCNF because

C -> B, but the left-hand-side is not a superkey.

HOPE IT HELPS PLEASE MARK AS THE BRAINLIEST ;)

SamRaiden: abb aap achhi hai to mai bhi thoda bahut thik hi hu
SamRaiden: :)
SamRaiden: achha aap kahan phunchi
SamRaiden: in physics and chemistry
SassyBae: phy m m friction waalw chap p
SassyBae: aur
SassyBae: chem m toh yrr bht peeche atomic structure p
SamRaiden: oh
SamRaiden: sahi hai ye aap apne se bata rahe ho ki coaching me jo chal raha hai vo ??
SassyBae: apne se
Similar questions