# Data Preview

The Data Preview feature generates a query that returns the first 10 records of a table or column. This gives users a quick glimpse of what data is present before writing a query.

To generate a Data Preview, follow the steps below:

{% hint style="info" %}
Ensure that an active cluster is selected before generating a Data Preview
{% endhint %}

{% hint style="warning" %}
Do not write your final query in the tab opened using Data Preview as it will not auto-save, and there is a risk of losing work.
{% endhint %}

1. In the Schema Explorer, hover over any table or column name.
2. Click the kebab (3 dots) icon that appears.
3. Click **Data Preview**
4. A new tab will open, displaying the first 10 rows of the selected table or column.


---

# 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.e6data.com/product-documentation/query-editor/data-preview.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.
