An index is a physical structure containing pointers to the data. Indices are created in an existing table to locate rowsmore quickly and efficiently. It is possible to create an index on one or more columns of a table, and each index is given a name.
A clustered index is a special type of index that reorders the way records in the table are physically stored. Thereforetable can have only one clustered index. The leaf nodes of a clustered index contain the data pages.
A non clustered index is a special type of index in which the logical order of the index does not match the physical stored order of the rows on disk. The leaf node of a non clustered index does not consist of the data pages. Instead, the leaf nodes contain index rows.
//Clustered INDEX
CREATE CLUSTERED INDEX index_name ON table_name(column_name);
//Non Clustered INDEX
CREATE NONCLUSTERED INDEX index_name ON table_name(column_name);
//DROP INDEX Syntax
DROP INDEX table_name.index_name