# NQL comparison operators

<table><thead><tr><th width="163">Operator</th><th width="272">Definition</th><th>Examples</th></tr></thead><tbody><tr><td><code>==</code> or <code>=</code></td><td>Equals</td><td><p><code>name == "abc"</code> </p><p><code>name = "ABC"</code></p><p><code>name == "abc*"</code></p><p><code>name == "a?c"</code></p></td></tr><tr><td><code>!=</code></td><td>Not equals</td><td><p><code>name != "abc"</code> </p><p><code>name != "ABC"</code></p><p><code>name != "abc*"</code> </p><p><code>name != "a?c"</code></p></td></tr><tr><td><code>></code></td><td>Greater than</td><td><code>size > 10</code></td></tr><tr><td><code>&#x3C;</code></td><td>Less than</td><td><code>size &#x3C; 10</code></td></tr><tr><td><code>>=</code></td><td>Greater or equal</td><td><code>size >= 10</code></td></tr><tr><td><code>&#x3C;=</code></td><td>Less or equal</td><td><code>size &#x3C;= 10</code></td></tr></tbody></table>

All expressions used in combination with these operators are case insensitive and support wildcard characters.

So for example the following query

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

```
devices during past 24h
| where name == "CORPSYS2022-*"
```

{% endcode %}

is exactly the same as

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

```
devices during past 24h
| where name == "CoRpSyS2022-*"
```

{% 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/~/changes/Sh4xqs4GDClkDKT9Hvux/user-guide/nexthink-query-language-nql/nql-operators/nql-comparison-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.
