[Zope] Using result from a sql query in another query