# NQLリミット

`limit`句は、返される行の最大数を制限します。

### 構文 <a href="#nqllimit-syntax" id="nqllimit-syntax"></a>

{% code overflow="wrap" lineNumbers="true" %}

```
...
| limit <行数>
```

{% endcode %}

### 例 <a href="#nqllimit-example" id="nqllimit-example"></a>

最大で15人のユーザーを選択します。

{% code overflow="wrap" lineNumbers="true" %}

```
過去7日間のユーザー
| limit 15
```

{% endcode %}


---

# 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.nexthink.com/platform/ja/understanding-key-data-platform-concepts/nexthink-query-language-nql/nql-keywords/nql-limit.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.
