- On the Statistics dialog box, click on RESULTS.
-
Click on SQL (note that the RESULTS tab will be grayed-out/disabled until after the analysis is completed).
Statistics > Results > SQL
On this screen, the generated SQL is returned as text which can be copied by using the Select All and Copy buttons.