Question
Which type of database key is a candidate key that has
not been chosen as the primary key?Solution
An Alternate Key is any candidate key that is not selected as the primary key of the table. Candidate keys are attributes (or combinations of attributes) that uniquely identify a row in a table. Among these, one is chosen as the primary key, while others are considered alternate keys. For example, in a table of students, both StudentID and Email might uniquely identify records. If StudentID is the primary key, Email becomes an alternate key. Alternate keys are useful for additional indexing or as foreign keys in related tables. Why Other Options Are Incorrect :
- Foreign Key : A foreign key establishes a relationship between two tables, linking a column to the primary key in another table.
- Composite Key : A composite key is made of two or more columns together acting as a primary key.
- Surrogate Key : This is a system-generated unique identifier for a row, not derived from application data.
- Super Key : A super key is a broader set of attributes that can uniquely identify a row, which may contain unnecessary attributes.
The diagonal of a square is β32 cm. What is the area of the square?
The length of a plot is three times its breadth. A playground measuring 150 square metres occupies half of the total area of the plot. What is the lengt...
If the length of a rectangle is increased by 25% and its breadth is decreased by 8%, then the area of the rectangle will be increased or decreased by ho...
A rectangular parking space is marked out by painting three of its sides. If the length of the unpainted side is 9 ft, and the sum of the lengths of the...
The sum of the areas of a rectangle and a square is 432 cmΒ². The breadth of the rectangle is 6 cm more than each side of the square. If the length of t...
A hollow spherical metallic ball has an external diameter 6cm and is 1/2cm thick. The volume of the ball (in cm cube) is.
A rectangular park is 50 m long and 30 m wide. A path of uniform width 2 m is built inside the park along all four sides. Find the area of the path.
The radius of the base of a cone is 6 cm, and its slant height is 10 cm. What is the surface area of the cone?
If the area of a square is 400 cmΒ² and the breadth of a rectangle is 20% more and the length is 50% more than the side of the square, then find the rat...
In a triangle ABC, D, E and F are the mid-points of the sides BD, CA and AB, respectively. BE and DF intersect at X. DE and CF intersect at Y. Find XY = ?