On Thu, 2006-09-28 at 15:18 -0700, Ben wrote:

>       distinct public.album.id

> group by public.album.id

You can remove the distinct clause for starters...

-- 
  Simon Riggs             
  EnterpriseDB   http://www.enterprisedb.com


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to