Select distinct question ... complicated - Mailing list pgsql-hackers

From The Pennant Shop
Subject Select distinct question ... complicated
Date
Msg-id 20030806190547.91946.qmail@web11501.mail.yahoo.com
Whole thread Raw
Responses Re: Select distinct question ... complicated
Re: Select distinct question ... complicated
Re: Select distinct question ... complicated
List pgsql-hackers
Hi ,

I have a table:
item location
aaa   10
aaa   20
bbb   10
bbb   10
ccc   10
ccc   20

I need to select distinct items where locations are
the same. So result set should look like:
item loation
bbb 10
Already spent 7 hours on this one.

Thanks a lot / Alex



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Passing server_encoding to the client is not future-proof
Next
From: Bruno Wolff III
Date:
Subject: Re: Select distinct question ... complicated