How to compute the frequency of predicate (e.g. Salary > $70000) in an SQL query from a DB’s pre-defined indexes?”. I’m specifically looking at how to retrieve information about indices (like number of pages at each level of index, range of attribute values etc.)