# \#query

**URL:** https://forum.kintone.dev/tag/query/72.md

[Latest](https://forum.kintone.dev/latest.md) · [Categories](https://forum.kintone.dev/categories.md) · [Tags](https://forum.kintone.dev/tags.md)

---

## [Kintone query - group by, distinct](https://forum.kintone.dev/t/kintone-query-group-by-distinct/1266)

<div class="topic-metadata">

**Author:** [@myroad2pro](https://forum.kintone.dev/u/myroad2pro)\
**Replies:** 1\
**Last updated:** [December 10, 2024, 2:58pm UTC](https://forum.kintone.dev/t/kintone-query-group-by-distinct/1266 "2024-12-10T14:58:08Z")

</div>

Question / Problem I want write a query to get distinct values of a field, but reading the document, it seems I can not do that. Any suggestions would be helpful please.

---

## [Sometimes the query returns the wrong result](https://forum.kintone.dev/t/sometimes-the-query-returns-the-wrong-result/649)

<div class="topic-metadata">

**Author:** [@user1](https://forum.kintone.dev/u/user1)\
**Replies:** 3\
**Last updated:** [October 27, 2022, 6:57am UTC](https://forum.kintone.dev/t/sometimes-the-query-returns-the-wrong-result/649 "2022-10-27T06:57:34Z")

</div>

Problem When running the following queries multiple times in a row within Kintone to get records, the result at times differ. 種別 in ("新規") and HC名 = "QG" and 作業中 \>= LAST\_MONTH() and 作業完了 = "" and キャンセル有無 = "0" and 作業中 \<…
