If more details are required, let me know and I can add them. I'd appreciate suggestions about how to make these queries go faster.
Please CC this email address on any replies.
Regards, Faheem.
Hi Faheem,
There appears to be a discrepancy between the 2 PDFs you provided. One says you're using PostgreSQL 8.3, and the other shows you using common table expressions, which are only available in 8.4+.