I have table as follows
Bank | MinValue | MaxValue
I have to run a query to find all banks which have min value less than 5 and max value greater than 5.
How should I perform indexing in such scenario? Thanks in advance for any advice.
my question is not really about when I should use indexing ( consider this scenario to have many retrievals than insertions). Given that, what would be the best approach to index. I am thinking of using clustered index on one column and non clustered index on other column.