Syntax for second database queries

please take note of the following post: Multiple DB, Multiple Strapi Instances, Role Permissions
not sure if you might be using multiple Strapi instances, if you are, here is a problem I have encountered.