Tests for create_index sql
Implement create_index for sql