Id name
1 xyz
2 pqr
5 mnp
3 iuy
4 lkj
in a sql table like this how to get the coloumn index of a perticular name....
like out put will be for "mnp" index is 3....(not according to id)
what will be the sql query
or if it is a datatable then what will be the code to find the column index...