How to use SQL Query Helper in the reports?

You can now use SQL Query Helper to optimize your SQL queries in the reports. Let's see how: