The SQL is an editable property on my setup. Recommend you :
1. set up a standard query using the GUI, then
2. capture the SQL
3. edit the SQL as you see fit
By setting up the report conventionally, you will assure that you can connect to the universe.