Consider a table that describes the customers: Customers(custid, name, gender, rating) The rating value is an integer in the range 1 to 5 and only two values (male and female) are recorded for gender. Consider the query “how many male customers have a rating of 5”? The best indexing mechanism appropriate for the query is
Consider a table that describes the customers: Customers(custid, name, gender, rating) The rating value is an integer in the range 1 to 5 and only two values (male and female) are recorded for gender. Consider the query “how many male customers have a rating of 5”? The best indexing mechanism appropriate for the query is Correct Answer Bit-mapped index
Bitmap indexes have traditionally been considered to work well for low-cardinality columns, which have a less number of distinct values. Hence in the given case bitmap index should be used.
মোঃ আরিফুল ইসলাম
Feb 20, 2025