# Example

Below is an SQL statement:

```sql
SELECT * FROM customers WHERE changed_date BETWEEN ? AND ?
```

This SQL statement requests two calendar dates, to create a range, that are read from the **Insert data from step** option. The target date range can be provided using the [Get System Info](/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/get-system-info.md) step. For example, if you want to read all customers that have had their data changed yesterday, you can get a target range for yesterday and read the customer data.


---

# 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.pentaho.com/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/table-input/example.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.
