> For the complete documentation index, see [llms.txt](https://docs.p4warehouse.com/v2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.p4warehouse.com/v2/reporting/scheduled-reports/query-tab.md).

# Query Tab

In the query tab, users can enter required query if the following field.

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

To test your query and see the result, click execute button. If the query works correctly, results wil be displayed as shown below.

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

#### Recurrence

In the recurrence sections, users can setup schedule and frequency for the current report. Use drop down menu to choose frequency. Available options are: Monthly, Weekly, Daily, Hourly.

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

After setting report frequency, add days and time for report execution. Click 'Add Day' button and select a day and time.

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

Users can select multiple time slots per day.

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

{% hint style="info" %}
Notice: Do not select the same day (Monday, Tuesday, Wednesday, etc.) twice. This action will cause an error and will prevent schedule report from execution. &#x20;
{% endhint %}

To remove day and time selection, click 'Delete' button next to the chosen position as shown below.

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

Click 'Update' button to save changes.&#x20;

<figure><img src="/files/4vAiCT1Xme2IKP8xt8Ql" alt=""><figcaption></figcaption></figure>

To see the report's schedule, click 'Execution plan' button in the top right corner of the page.

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

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.p4warehouse.com/v2/reporting/scheduled-reports/query-tab.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
