Hi, There are three fields in a table which makes the primary key. I want to select two of the distinct field from database. say loanid,seq,date are the fields which make the primary key. Now I want to select distinct loanid and seq from the table. how can I make it. because EQL does not allow us to select two fields. Hope you got my question.