Query Editor

Copilot Queries with Athena

Athena can help with generating and editing SQL queries in copilot mode. Use the Chat button (next to Run) to start a conversation with Athena.

Partially select SQL code

When you select part of the SQL code in the editor pane and send a message in chat, Athena can see your selection and infer that your message is related to that specific part of the code.

Use this feature to have Athena address specific parts of a SQL query.

Running Copilot Tasks in Query Editor

Head to Run Tasks in Query Editor to learn about preconfigured copilot workflows in Query Editor.