> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/delete-step-pdi/the-key-s-to-look-up-the-value-s-table-delete-step-pdi.md).

# The key(s) to look up the value(s) table

The columns in the following table define the key(s) used to map the row(s) to delete.

| Column             | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Table field**    | Specify the field name from the populated list of **Target table** columns for which you want to compare.                                                                                                                                                                                                                                                                                                                                                                                            |
| **Comparator**     | <p>Specify the comparator you want to use. Note that case-sensitive comparisons are possible, depending on your connected database and <strong>Target table</strong>.You can select one of the following comparators:</p><ul><li><code>=</code></li><li><code><></code></li><li><code><</code></li><li><code><=</code></li><li><code>></code></li><li><code>>=</code></li><li><code>LIKE</code></li><li><code>BETWEEN</code></li><li><code>IS NULL</code></li><li><code>IS NOT NULL</code></li></ul> |
| **Stream field 1** | Specify the name of the field from the incoming stream that contains the row you want to use for comparison against the **Table field** value.                                                                                                                                                                                                                                                                                                                                                       |
| **Stream field 2** | Specify the name of the field from the incoming stream that contains the row you want to use for the `BETWEEN` comparison against the **Stream field 1**.                                                                                                                                                                                                                                                                                                                                            |
| **Get fields**     | Select this button to populate **Stream field 1** and **Stream field 2** from previous steps in your transformation.                                                                                                                                                                                                                                                                                                                                                                                 |

For example, if the look up value of \`QUANTITYORDERED\` is less than or equal to the \`min\_quantityordered\`, and \`PRODUCTLINE\` values map equally, then that \`QUANTITYORDERED\` row is deleted from the \`STG\_SALES\_DATA\` table.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pentaho.com/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/delete-step-pdi/the-key-s-to-look-up-the-value-s-table-delete-step-pdi.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
