An index may be created on
Correct answer: D. All of these
- A. Secondary key
- B. Foreign key
- C. Primary key
- D. All of these
Explanation
An index can be created on any of the following:• Primary key: A primary key uniquely identifies a row in a table. Creating an index on the primary key allows for fast retrieval of specific rows.• Secondary key: A secondary key is a column, or set of columns, that uniquely identifies rows within a table, but is not the primary key. Indexes on secondary keys can also speed up retrieval of data based on those columns.• Foreign key: A foreign key is a column, or set of columns, in one table that references the primary key of another table. Creating an index on a foreign key can improve the performance of joins between tables.In essence, creating an index on any column or set of columns that you frequently query by can improve the performance of your database queries
Report an error
The more specific you are, the faster it gets fixed. A source beats an opinion.
Prefer email? [email protected]
About Databases
Databases cover tables, records, fields, keys and relationships, together with database management systems and relational database design. The subject includes primary and foreign keys, normalization, SQL commands such as SELECT, INSERT, UPDATE and DELETE, queries, forms and reports, while distinguishing a database from a spreadsheet used for simple tabular data.
Practise Databases
210 free Databases MCQs from Computer Science and IT, each with the correct answer and an explanation. Unlimited attempts, no account needed.
Discussion
Stuck on an option, or know a faster way to get there? Ask or explain it here.
No comments yet. Be the first to explain this one.
Exams that ask Computer Science and IT questions like this
Computer Science and IT is on 85 papers prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for every one of them.
More Databases questions
A factor to consider when choosing a file organization is
Which database object is used to retrieve & present data in a formatted way?
A person who is responsible for database smooth operation and working?
A primary key that consists of more than one attribute is called
Which key does hold uniqueness property?
The person who is responsible for the design, implementation, operation, management and maintenance of database is called