> For the complete documentation index, see [llms.txt](https://docs.p4.software/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.p4.software/p4warehouse-english/setup/query-builder.md).

# Query Builder

P4 Warehouse Query Builder

Query the database to see data or create reports by typing in TSQL and clicking execute.

![P4 Warehouse Query Builder](https://2764542787-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MdqvtgkbuySRnxUkZY_%2F-MivK1-r-uw2_4JXEUiV%2F-MivNdAPtsR-izvY7h1C%2Fsystem%20querry.jpg?alt=media\&token=d8ca0e25-3ac3-42ec-b980-731d46201637)

Results from the query can be exported to excel format.

{% hint style="info" %}
In this screen P4 Warehouse will only accept "select" commands, you cannot update or delete data from this screen.
{% endhint %}
