Hi, I have a table with name & id field, now I want to select distinct name and it's id. Please give the query for this.