# SQL execution

Execute SQL and inspect, cancel, or download execution results. Retain the execution identifier from the submit response to query its status or result.

## Choose a task

| Task | Description |
| --- | --- |
| [Execute SQL](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/data-processing/sql-execution/execute-sql.html.md) | Execute a SQL and return the query ID of this execution. |
| [Check SQL completion](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/data-processing/sql-execution/get-execution-status.html.md) | Read the status and result ID of the SQL executed by the current identity (`statement_id`). |
| [Cancel execution](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/data-processing/sql-execution/cancel-execution.html.md) | Stops SQL queries that are still running for the current identity. |
| [Read successful query rows](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/data-processing/sql-execution/get-execution-result.html.md) | View the data returned by your successful SQL execution. |
| [Save query results as CSV](https://omnifabric.cloudsigma.com/docs/reference/api/ai-studio/data-processing/sql-execution/download-execution-result.html.md) | Download a CSV file of SQL query results that were successfully executed by the current identity. |
