The customer wants to access the SQL query used for an existing report or filter to use as an example to create his own.
ITMS 8.6.x, 8.7.x
There are a couple of ways that you can see the SQL query used:
Most reports or filters are straight forward with their queries. Others may use functions or stored procedures to grab the data needed for the report.