# NQLビット演算子

ビット単位の`and`および`or`演算子を[NQLウェア](/platform/ja/understanding-key-data-platform-concepts/nexthink-query-language-nql/nql-keywords/nql-where.md)に使用して、複数のフィルターを適用したり、複雑な条件を作成したりします。

### NQL 'and'

`and`演算子を使用して、複数の条件を組み合わせ、すべての条件を同時に満たすレコードのみを取得します。

**例:**

名前が"chrome.exe"で、Windows上で実行されるバイナリーを取得します。

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

```
過去30日間のバイナリー
| where name == "chrome.exe" and platform == windows 
```

{% endcode %}

### NQL 'or'

`or`演算子を使用して、複数の条件を組み合わせ、いずれかの条件を満たすレコードを取得します。

**例:**

名前に"chrome"または"firefox"を含むバイナリーを取得します。

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

```
過去7日間のバイナリー
| where name == "*chrome*" または name == "*firefox*"
```

{% 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-operators/nql-bitwise-operators.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.
