Click 
                     			 Advanced Query to open the 
                     			 Report data query field. Insert previously written code or write new code directly in the field. 
                     		   
                  		   The 
                  			 Insert placeholder list assists you in editing the SQL queries with predefined function placeholders. For details, see 
                  			 SQL Functions for Custom Reports. 
                  			 
                  Note: If you manually edit SQL code for the query, click 
                     				Check SQL to confirm your work.