Re: [GENERAL] Subqueries - performance and use question

2007-02-01 Thread Demel, Jeff
I just wanted to say thanks to everyone for your help. -Jeff This email is intended only for the individual or entity to which it is addressed. This email may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of

Re: [GENERAL] Subqueries - performance and use question

2007-02-01 Thread Demel, Jeff
, 2007 11:09 AM To: Demel, Jeff; pgsql-general@postgresql.org Subject: RE: [GENERAL] Subqueries - performance and use question sorry, missing GROUP BY and some column naming was messed up but hopefully you get the idea: SELECT c.id, c.firstname, c.lastname, a.latest_billdate FROM customers c

[GENERAL] Subqueries - performance and use question

2007-02-01 Thread Demel, Jeff
I need some basic advice on how to run a subquery, or if there's a better way. Let me set up a situation, and get some advice on it. This is my first post on this list, so I hope this kind of noob question is ok. Say I have a table of customers and table of accounts receivable transactions, The