63 63 votes A prime attribute of a relation scheme $R$ is an attribute that appears in all candidate keys of $R$ in some candidate key of $R$ in a foreign key of $R$ only in the primary key of $R$ Databases gatecse-2014-set3 databases easy candidate-key + – go_editor 24.3k views answer comment Share Follow Print See all 10 Comments 10 10 Comments reply Show 7 previous comments Deepak Poonia commented Jan 11, 2025 reply Follow flag Detailed Video Explanation: https://www.youtube.com/watch?v=HdaHz0iY2ws&t=41s 1 1 replyShare js__ commented Sep 18, 2025 reply Follow flag when checking for 3NF then we are checking if the FD derives Prime Attrbute or not if its not the super key , then there Prime Attributes may / may not be present in any CK 1 1 replyShare Raj_Dev_Verma commented Jul 24 reply Follow flag Option B is correct let R(ABCDEFGH) and ABC is a candidate key then A,B,C is prime attritube And if ACD is candidate key then D is also a prime attribute rest who are not apper in any candidate key are called no-prime attributes. 0 0 replyShare Please log in or register to add a comment.
Best answer 55 55 votes Answer (B). The attributes of a candidate key are called the prime attributes. Suppose $ABC$ is one candidate key of a Relation $R(ABCDEFGH).$ Then the attributes $A, B$ and $C$ all are prime attributes. Similarly if $ABD$ is also another candidate key in the same relation $R,$ then $D$ is also a prime attribute. And conversely, an attribute that does not occur in ANY candidate key is called a non-prime attribute. Regina Phalange answered Mar 30, 2017 • selected Jan 4, 2020 by Arjun Regina Phalange comment Share Follow 0 reply Please log in or register to add a comment.
63 63 votes Prime attribute is a constituent of a candidate key. it need not present in all candidate keys. Hence, option B is correct. Correct me if i went wrong. Sankaranarayanan P.N answered Oct 4, 2014 • edited Jun 21, 2018 by Milicevic3306 Sankaranarayanan P.N comment Share Follow See all 10 Comments 10 10 Comments reply Show 7 previous comments Rajsukh Mohanty commented Jul 10, 2024 reply Follow flag Of course prime attributes can NEVER be null in Primary key.Prime attributes are part of Candidate keys that serve the uniqueness feature of tuples. Since any Candidate keys can become the Primary key, therefore prime attributes should not contain NULL values. 0 0 replyShare Deepak Poonia commented Jul 17, 2024 i edited by Deepak Poonia Jan 1, 2025 reply Follow flag @Rajsukh Mohanty, Your point is not correct. Whenever a relation has two or more candidate keys, one of them is arbitrarily selected (by the database designer) and called the primary key of that relation. The entity integrity constraint states that no primary key value can be NULL.Attributes of the primary key can not be Null, But attributes of other candidate keys may be null.Saying "prime attribute can not take null values" is Wrong. 1 1 replyShare Rajsukh Mohanty commented Jul 18, 2024 reply Follow flag so sir, since we know that Candidate keys can take null values, so, we can say that prime attributes can take NULL values in Candidate keys. right? 0 0 replyShare Please log in or register to add a comment.
8 8 votes Answer is B gvinay answered Oct 8, 2023 gvinay comment Share Follow See 1 comment 1 1 comment reply akshay_123 commented May 30 reply Follow flag well explained easy explanation thanks 😊 0 0 replyShare Please log in or register to add a comment.
1 1 vote Candidate Key: A minimal set of attributes that uniquely identify a tuple.Prime Attribute: Any attribute that is part of at least one candidate key.Non-prime Attribute: Not part of any candidate key.Given:Relation R(A, B, C, D, E, F)Candidate Keys = {A, B}, {C}So:Candidate Key 1: ABCandidate Key 2: CA, B, and C are primeD, E, F are non-primeA and B appear in one candidate key (AB), but not in all.C is in a different candidate key.Yet all of them (A, B, C) are still prime.Why "in all candidate keys" is Wrong?If "prime attribute = in all candidate keys", then:In this, only C would qualify (since it’s the only one in its candidate key).But that’s wrong — both A, B, and C are prime.So, prime attribute just means:Appears in at least one candidate key.Prime attribute = An attribute that is part of at least one candidate keyIt is not necessary for it to be in all candidate keys."If an attribute is in even one candidate key, then it's a prime attribute." nirmal_aravind answered May 22, 2025 nirmal_aravind comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes COMMENT BELOW IF YOU HAVE ANY DOUBT akshay_123 answered May 30 akshay_123 comment Share Follow See 1 comment 1 1 comment reply Teja_s commented Sep 2 reply Follow flag CAN YOU SHARE YOUR NOTES! 0 0 replyShare Please log in or register to add a comment.
0 0 votes Answer: BA prime attribute should be a part of any one candidate key NOT ALL the candidate keys.Example: R (A,B,C,D,E)Let, Candidate keys: AB, BCPrime attributes: A, B, CNote: A appears in AB but NOT in BC. Similarly, C appears in BC but NOT in AB. harryputtar answered Jul 3 harryputtar comment Share Follow 0 reply Please log in or register to add a comment.