Lets say in the employee table, I have created an index(idx_name) on the emp_name column of the table.
emp_name
Do I need to explicitly specify the index name in
By using the column that the index is applied to within your conditions, it will be included automatically. You do not have to use it, but it will speed up queries when it is used.
SELECT * FROM TABLE WHERE attribute = 'value'
Will use the appropriate index.