The SQL Tab on the Report Editor Window is primarily used in debugging problems with editing complex reports.
This information is only really of use to experienced programmers, for more assistance in creating custom reports, or to employ a consultant to develop/edit your reports, please contact Imagine IT.