Define the database concepts: primary key, candidate key and superkey. Is a superkey always a key? Explain.

What will be an ideal response?


Each relation must have a primary key, which is an attribute orset of attributes used to uniquely
identify tuples in the relation. Thus any legal instance of a relation R cannot contain distinct
tuples which agree on the value of the primary key but not on the remaining set of attributes.
Every tuple in a relation has a unique value for the primary key.
Superkey is any set of attributes which satisfies the uniqueness condition
Primary key (or candidate key) a minimal superkey; that is, no proper subset of the key is a
superkey. primary key one key must be designated as the primary key.

Computer Science & Information Technology

You might also like to view...

MC Which of the following describes Python’s introspection ability?

a) The ability to identify blocks of code without beginning and end markers. b) The ability to display information about the identifiers in a program. c) The ability to automatically determine a type for raw data. d) None of the above.

Computer Science & Information Technology

An unordered list is easily read by assistive technologies, so it meets accessibility requirements.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The company is assessing the purchase and deployment of a mobile device that has the following features: • Commercially available • Runs a popular mobile operating system • Can connect to IPv6 networks wirelessly • Includes 160 GB solid state hard drive • 73 million of the devices have been sold worldwide Before this device is rolled out, which of the following is the least important

security factor to be considered during a risk assessment? A. ability to remotely wipe the devices B. ability to encrypt the SSD C. costs associated with maintaining the device D. ability to apply security controls remotely

Computer Science & Information Technology

Which of the following choices is not one of the three teaming modes?

A. Switch independent B. Static teaming C. LACP D. Dynamic

Computer Science & Information Technology