Data - Get External Data - Edit Query

Ribbon bar. Select the Data tab. In the Manage group, click External Data and from the menu, select Edit Query...Or, select the File tab. In the left pane, click External Data and in the right pane under Query, click Edit...

Classic menus. From the Data - Get External Data submenu (or the File - Get External Data submenu), select Edit Query... edit the query in the active spreadsheet. Note that if you have multiple queries on the active spreadsheet, Statistica opens the query that is associated with the active cell. If you select a cell that is not connected to any query or if you select multiple cells that involve more than one query, the Select Database Query dialog box is displayed.

Use this dialog box to select the query that you want to edit before Statistica Query opens.