Hi, I want to have links called A B C D ....Z, and whenever the user click in one of them, all the rows that has employee last name start with this alphapet or greater get selected.
Majid, you could be asking several questions. I'll just try to answer one. In SQL, you can typically find all items beginning with a particular alphabetic character in one of two ways:
1) SELECT * FROM table WHERE field LIKE "A*"
2) SELECT * FROM table WHERE (field >= "A") AND (field < "B")
If your 'field' can begin with both upper and lower case alphabetic letters ('a' and 'A'), then you'll need to add additional WHERE clauses to snag those as well.
Hope that gets you started,