# SQL

Every table action is generated as SQL so data teams can easily import, inspect, and export SQL queries. Even better, nearly every SQL action is converted into a table action for faster collaboration between data and business teams.&#x20;

To inspect and edit a table via SQL, select the `sql` icon in the navigation bar.

To run the query, select `run`.

To save the query, select `save.`&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://canvasapp.gitbook.io/docs/building-canvases/writing-sql.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
