Index Classification (Contd.)
Composite Search Keys: Search on a combination of fields.
- Equality query: Every field value is equal to a constant value. E.g. wrt <sal,age> index:
- Range query: Some field value is not a constant. E.g.:
- age =20; or age=20 and sal > 10
Examples of composite key
indexes using lexicographic order.