# Query Builder

'Query Builder' provides users with an option to query data or create reports through the P4W web interface.&#x20;

To use this function, navigate to Setup > System > Query Builder.

Enter the query using TSQL programming language and click 'Execute'.

<figure><img src="/files/TrQTQobsv9yCnBFGqC8h" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Notice: 'Query builder' section only accepts "select" commands, user (administrators and regular operators) cannot update or delete data from this window.
{% endhint %}

If the query is correct, result will be displayed as shown below.&#x20;

<figure><img src="/files/77Pef2zn6lGRUprH7T2g" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Notice: for more information about custom reports contact your P4W official reseller.
{% endhint %}


---

# 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.p4warehouse.com/v2/system/query-builder.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.
