Thanks Andy
I have around 4 million records in a table with around 25 rows
and yes I have multiple last names for an ID .
I think you recommended that
"If an ID had more than one last_name (It is no longer unique) and a last_name could have more than one ID, you would still need only 2 indexes and one would still be on ID only, but the second one would be on Last_name,ID."
In this I am thinking the sequence for second index matters and you mentioned it has to be last_name and then ID .
Is that right ?
Secondly , i also wanted to educate myself by knowing
What would be the over head of having a third index on only ID ?
Also does the create index sequence matters
Which means
1 Create index on ID , LAST NAME
2 Create index on last name
3 create index on id
will this be different than
1 create index on id
2 Create index on last name
3 Create index on ID , LAST NAME