Query Question - Mailing list pgsql-admin

From M. Imran
Subject Query Question
Date
Msg-id 01c201c5cd84$4a2568f0$b901a8c0@sdp.org
Whole thread Raw
Responses Re: Query Question
List pgsql-admin
Dear all,
    I want to select distinct CODE and thier respective sex, sex can be  male/female, can I get my result strictly distinct in code. Currently it duplicate code value for each male and female. I am using this query
 
select distinct(code), id  from table
 
Regards,
imran

pgsql-admin by date:

Previous
From: Hannes Dorbath
Date:
Subject: Re: character problem
Next
From: Hannes Dorbath
Date:
Subject: Re: character problem