-
Please explain me the difference between the super key and unique key..!0
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a
member of our community. Consider creating an
account or login.
Replies
-
Member • Sep 2, 2011
UNIQUE KEY DEFINES ALL THE ROWS IN TABLE UNIQUELY .AND BASICALLY OCCURS ONLY SINGLE UNIQUE KEY IN ONE TABLE WHILE SUPER KEY UNIQUELY IDENTIFY A TUPLE AND NOT ALL THE ROWS i.e NO TWO TU PLES HAVE SAME ATTRIBUTES IN SUPER KEYAre you sure? This action cannot be undone. -
Member • Sep 3, 2011
I am confused....!!! What is the difference between tuples and rows.Are you sure? This action cannot be undone. -
Member • Sep 3, 2011
Tuple is nothing but another name of rows in databaseTheVI am confused....!!! What is the difference between tuples and rows.
Unique key is just a single attribute (Column) where as super key is a set of attributes
However both have same function ie to identify rows of a table uniquelyAre you sure? This action cannot be undone. -
Member • Sep 4, 2011
Thankyou Goyal....!
But In wikipedia the defination of unique is a one column or a set of columns which Identify the tuples or row uniquely.
First line, second sentence,,..<a href="https://en.wikipedia.org/wiki/Unique_key" target="_blank" rel="nofollow noopener noreferrer">Unique Key</a>Are you sure? This action cannot be undone. -
Member • Sep 4, 2011
unique key may or may not contain set of column , while super key is basically a set of attributesTheVThankyou Goyal....!
But In wikipedia the defination of unique is a one column or a set of columns which Identify the tuples or row uniquely.
First line, second sentence,,..<a href="https://en.wikipedia.org/wiki/Unique_key" target="_blank" rel="nofollow noopener noreferrer">Unique Key</a>Are you sure? This action cannot be undone.