Any query that will run successully in SQL Explorer or similar tool, using the same credentials you have provided in the Gen SQL adapter instance configuration, should work just fine.
Check the logs under the Support tab to see if there are error messages related to running the query