version 11
CREATE [UNIQUE] INDEX sql_name ON sql_name (column_reference, ... , column_reference)
Description
The CREATE INDEX command is used to create an index (sql_name) on one or more columns of an existing table (sql_name) designated by one or more column_reference type arguments. Indexes are transparent to users and serve to speed up queries.
You can also pass the optional UNIQUE keyword to create an index that does not allow duplicate values.
Example
Here is a simple example for creating an index:
CREATE INDEX ID_INDEX ON ACTOR_FANS (ID)
See Also