# Output Formats

Below are the accepted output formats, and links to some example usage.

* [HTML](https://www.usesql.com/demo?query=SELECT%20*%20FROM%20%22https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1wUc7i945x-tenP9Wb1bAihnaMB3MDkRnBKcoG9sniGE%2Fedit%23gid%3D1089437561%22%0AWHERE%20Type%20!%3D%20%27Desserts%27%0AORDER%20BY%20Type%20DESC\&format=html)
* [CSV](https://www.usesql.com/demo?query=SELECT%20*%20FROM%20%22https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1wUc7i945x-tenP9Wb1bAihnaMB3MDkRnBKcoG9sniGE%2Fedit%23gid%3D1089437561%22%0AWHERE%20Type%20!%3D%20%27Desserts%27%0AORDER%20BY%20Type%20DESC\&format=csv)
* [JSON](https://www.usesql.com/demo?query=SELECT%20*%20FROM%20%22https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1wUc7i945x-tenP9Wb1bAihnaMB3MDkRnBKcoG9sniGE%2Fedit%23gid%3D1089437561%22%0AWHERE%20Type%20!%3D%20%27Desserts%27%0AORDER%20BY%20Type%20DESC\&format=json)
* [TSV](https://www.usesql.com/demo?query=SELECT%20*%20FROM%20%22https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1wUc7i945x-tenP9Wb1bAihnaMB3MDkRnBKcoG9sniGE%2Fedit%23gid%3D1089437561%22%0AWHERE%20Type%20!%3D%20%27Desserts%27%0AORDER%20BY%20Type%20DESC\&format=tsv)
* [Image (.png)](https://www.usesql.com/demo?query=SELECT%20*%20FROM%20%22https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1wUc7i945x-tenP9Wb1bAihnaMB3MDkRnBKcoG9sniGE%2Fedit%23gid%3D1089437561%22%0AWHERE%20Type%20!%3D%20%27Desserts%27%0AORDER%20BY%20Type%20DESC\&format=image)
* [Datatable](https://www.usesql.com/demo?query=SELECT%20*%20FROM%20%22https%3A%2F%2Fraw.githubusercontent.com%2Fdylanroy%2Fceo-dataset%2Fmain%2Fdata.csv%22\&format=datatable)
* [Sparkline](https://www.usesql.com/demo?query=SELECT%20price%20FROM%20%22https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1wUc7i945x-tenP9Wb1bAihnaMB3MDkRnBKcoG9sniGE%2Fedit%23gid%3D1915418685%22%0AORDER%20BY%20%22Date%22\&format=sparkline)
* [Bar Chart](https://www.usesql.com/demo?query=SELECT%20%22Date%22%2C%20low%2C%20price%2C%20high%20FROM%20%22https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1wUc7i945x-tenP9Wb1bAihnaMB3MDkRnBKcoG9sniGE%2Fedit%23gid%3D1915418685%22%20ORDER%20BY%20%22Date%22\&format=barchart)
* [Line Chart](https://www.usesql.com/demo?query=SELECT%20%22Date%22%2C%20low%2C%20price%2C%20high%20FROM%20%22https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1wUc7i945x-tenP9Wb1bAihnaMB3MDkRnBKcoG9sniGE%2Fedit%23gid%3D1915418685%22%20ORDER%20BY%20%22Date%22\&format=linechart)
* [Pie Chart](https://www.usesql.com/demo?query=SELECT%20Type%2C%20COUNT\(1\)%20Items%20FROM%20%22https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1wUc7i945x-tenP9Wb1bAihnaMB3MDkRnBKcoG9sniGE%2Fedit%23gid%3D1431229824%22%0AGROUP%20BY%20Type\&format=piechart)
* [Doughnut Chart](https://www.usesql.com/demo?query=SELECT%20Type%2C%20COUNT\(1\)%20Items%20FROM%20%22https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1wUc7i945x-tenP9Wb1bAihnaMB3MDkRnBKcoG9sniGE%2Fedit%23gid%3D1431229824%22%0AGROUP%20BY%20Type\&format=doughnutchart)
* [RSS](https://www.usesql.com/demo?query=SELECT%20*%20FROM%20%22https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F14nfqS4gh7KudU7-kRU5thHP_54G_ghe7PgYj5W_CyPM%2Fedit%23gid%3D1803459289%22\&format=rss)
* [Sitemap](https://www.usesql.com/demo?query=SELECT%20*%20FROM%20%22https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F14nfqS4gh7KudU7-kRU5thHP_54G_ghe7PgYj5W_CyPM%2Fedit%23gid%3D1023772886%22\&format=sitemap)


---

# 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://docs.usesql.com/getting-started/output-formats.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.
