managedQuery (in work)