Save a query with a name - Amazon Athena
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Save a query with a name

To save a query and give it a name
  1. In the Athena console query editor, enter or run a query.

  2. Above the query editor window, on the tab for the query, choose the three vertical dots, and then choose Save as.

  3. In the Save query dialog box, enter a name for the query and an optional description. You can use the expandable Preview SQL query window to verify the contents of the query before you save it.

  4. Choose Save query.

    In the query editor, the tab for the query shows the name that you specified.