Indexes – Types of indexes and their use for query optimization.

    Question 1Index - Purpose

    What is the primary purpose of using an index in a database?

    Question 2Index - Clustered vs Non-clustered

    How does a clustered index differ from a non-clustered index?

    Question 3Primary Key and Index

    By default, what type of index is created on a Primary Key?

    Question 4Creating a Unique Index

    You need to ensure that the combination of product_id and supplier_id in a product_suppliers table is always unique, while also improving query performance on these columns. Which statement achieves both goals?

    Question 5Composite Index

    What does a composite index refer to?

    Question 6Full-Text Index

    Which index type is best for searching large text fields?

    Question 7Bitmap Index

    In which scenario is a bitmap index most effective?

    Question 8Index Overhead

    What is a disadvantage of too many indexes?

    Question 9Covering Index

    What is a covering index?

    Question 10Index and Query Optimization

    Which type of queries benefit most from indexes?