How to create an index with SQL statement