To view the SQL statement pertaining to a query, select Show SQL. A window with the corresponding SQL statement appears.