Jeremy, > I see how your idea could work--the only thing I would change would > be region needs to be scanid on the first line; however, > I'm using PostgreSQL v7.03, so I can not do subqueries within FROM > clause. > > Other than creating a temporary table, is there a way to > restructure this solution to get around this limitation?
No, you need to upgrade. What's the obstacle to using 7.1.3, anyway? -Josh ______AGLIO DATABASE SOLUTIONS___________________________ Josh Berkus Complete information technology [EMAIL PROTECTED] and data management solutions (415) 565-7293 for law firms, small businesses fax 621-2533 and non-profit organizations. San Francisco
---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly