Copy the Query SQL Code From the Results Pane¶
You can copy the SQL code behind the query results from the SQL tooltip in the Results panel:
In Compose, on the Results pane for a query result, click the SQL button to display the SQL code of the query statement in a tooltip.
Select the content on the tooltip and copy it to the buffer.
Click anywhere outside of the tooltip to close it.
Paste the copied SQL to a query tab in Compose or to an editor of your choice.