41 41 votes Let $R (A, B, C, D, E, P, G)$ be a relational schema in which the following functional dependencies are known to hold: $AB \to CD, DE \to P, C \to E, P \to C$ and $B \to G.$ The relational schema $R$ is in $\text{BCNF}$ in $\text{3NF}$, but not in $\text{BCNF}$ in $\text{2NF}$, but not in $\text{3NF}$ not in $\text{2NF}$ Databases gateit-2008 databases database-normalization normal + – Ishrat Jahan 15.3k views answer comment Share Follow Print See all 5 Comments 5 5 Comments reply Show 2 previous comments Deepak Poonia commented Jan 11, 2025 reply Follow flag Detailed Video Explanation: https://www.youtube.com/watch?v=HdaHz0iY2ws&t=9293sDBMS Complete Summary & GATE PYQs Playlist: https://youtube.com/playlist?list=PLIPZ2_p3RNHh3otU-TnAK-GkqrvvOO33C&feature=shared 0 0 replyShare swaggerrr commented Apr 15, 2025 reply Follow flag sol 1 1 replyShare js__ commented Sep 17, 2025 reply Follow flag it is in 1NF 2 2 replyShare Please log in or register to add a comment.
Best answer 62 62 votes Answer: $D$ Here $AB$ is the candidate key and $B \rightarrow G$ is a partial dependency. So, $R$ is not in $\text{2NF}$. Rajarshi Sarkar answered May 23, 2015 • edited Jun 21, 2021 by Lakshman Bhaiya Rajarshi Sarkar comment Share Follow See all 7 Comments 7 7 Comments reply Show 4 previous comments halfcodeblood commented Aug 9, 2024 reply Follow flag @Anila krishna AB is the candidate key. 0 0 replyShare cartikofficial commented Dec 23, 2024 reply Follow flag Answer is right but B --> G is not partial dependency AB --> G is partial dependency 3 3 replyShare Kushagr_Sharma commented Sep 14 reply Follow flag For a relation to be in 2NF, the non-prime attributes should be fully dependent on the super key. If it is dependent on a subset of the super key, then it violates the condition and hence is not in 2NF. (Definition of partial dependency), (Definition of 2NF)Here, AB is the candidate key as shown by 5a1n1amarjeet. From F.D. $B \rightarrow G$, we can see that a non-prime attribute (G) is partially dependent on a subset of the super key (B). This violates the property of 2NF, hence given relation R is not in 2NF. 0 0 replyShare Please log in or register to add a comment.
15 15 votes not in 2NF because here candidate key is AB and in FD's proper subset of C.K. determine the non prime attribute i.e. B→G neha pawar answered Nov 2, 2014 neha pawar comment Share Follow See 1 comment 1 1 comment reply Rajarshi Sarkar commented Apr 15, 2015 reply Follow flag Yes, you are right. Answer is D. 1 1 replyShare Please log in or register to add a comment.
1 1 vote AB is key and G is non prime attribute which is partially dependent on B. (Ans-D) Shailendra_ answered Oct 23, 2019 Shailendra_ comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes (AB) forms the candidate key, so the functional dependency B→G violates 2NF. Setika Mehra answered Nov 12, 2020 Setika Mehra comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes AB={A,B,C,D,E,P,G} Hence AB is candidate key whereas, $B \rightarrow G$ is having relation of Super Key deriving Non-prime. Which means it doesn't satisfy condition of 2NF. Chetan222 answered Nov 22, 2022 Chetan222 comment Share Follow See 1 comment 1 1 comment reply umanandh77 commented Sep 10 reply Follow flag explanation is wrong , Here AB is candidate key , but the B -> G is not having the relation of super key deriving non-prime . instead , this a full FD , which a violation condition of 2NF where it is subset of candidate key deriving the non prime attribute . 0 0 replyShare Please log in or register to add a comment.
0 0 votes BEST ANSWERR(A, B, C, D, E, P,G)AB------>CDDE------>PC------>EP------>CB------>GFIND CANDIDATE KEY :- Trick --> Write all attributes which are not present on RHS of above FD.AB not present on RHS of a relation so it must be partof CK.Check Closre of AB---> ABCDEPG Since all attributes comin g so it is minimal CK so CK= ABNON PRIME / NON KEY ATTRIBUTE = CDEPGProper subset of CK= A, BVOILATION CONDITION OF 2NFProper Subset of CK----> Non Key attribute B------>G (it is voilation of 2NF)So not in 2NF If Relation is not in 2NF then it cannot be in 3NF and BCNF. akshay_123 answered Jun 26, 2025 akshay_123 comment Share Follow See 1 comment 1 1 comment reply Abhinav_Raj 2 commented Aug 13, 2025 reply Follow flag 😀 2 2 replyShare Please log in or register to add a comment.