To run a custom SQL script via Query Data:


1. Go to Dashboards -> Query Data

2. Select <<Custom Script>> as query type in the drop-down box (it is selected by default)

3. Paste your custom script in the custom script field

4. Click Generate Report or Download (CSV file)