This is a multipart Indes question:
- Is there a way one can create index on index?
- Why would one wish to to so?
- And if so, are ther any examples?
This is a multipart Indes question:
NO, Indexes are meant for COLUMNS IN TABLES
Indexes are used to find rows with specific column values quickly. Without an index, MySQL must begin with the first row and then read through the entire table to find the relevant rows. The larger the table, the more this costs. If the table has an index for the columns in question, MySQL can quickly determine the position to seek to in the middle of the data file without having to look at all the data. If a table has 1,000 rows, this is at least 100 times faster than reading sequentially.
You can see from syntax diagram for create index in the oracle documentation that it does not apply to indexes.
Nor can I think of a reason you would want to.