# \#xbase

**URL:** https://community.cdata.com/tag/xbase/248.md

[Latest](https://community.cdata.com/latest.md) · [Categories](https://community.cdata.com/categories.md) · [Tags](https://community.cdata.com/tags.md)

---

## [SQL Error \[HY000\]: ORDER BY is mandated in the OVER clause for the function row\_number.](https://community.cdata.com/t/sql-error-hy000-order-by-is-mandated-in-the-over-clause-for-the-function-row-number/379)

<div class="topic-metadata">

**Author:** [@jmarkmurphy](https://community.cdata.com/u/jmarkmurphy)\
**Replies:** 3\
**Last updated:** [October 17, 2023, 3:23pm UTC](https://community.cdata.com/t/sql-error-hy000-order-by-is-mandated-in-the-over-clause-for-the-function-row-number/379 "2023-10-17T15:23:12Z")

</div>

I am using the 2023 xBase driver in dBeaver, and receiving this error: SQL Error \[HY000\]: ORDER BY is mandated in the OVER clause for the function row\_number. The Query is: select distinct 'BNK' swityp, c…
