Create your SQL states (queries) for the data query. Then you can access these queries in the report generator and create your reports.
You can create the SQL states yourself by hand if you are familiar with the SQL query language or use our Visual Query Builder and create the queries by drag'n'drop.