Details
-
Task
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
Description
The 2008 SQL standard introduced the following syntax:
OFFSET start { ROW | ROWS }
|
FETCH { FIRST | NEXT } [ count ] { ROW | ROWS } { ONLY | WITH TIES }
|
See https://www.postgresql.org/docs/13/sql-select.html#SQL-LIMIT for a description.
This would also allow does not include the non-standard LIMIT WITH TIES.
Attachments
Issue Links
- causes
-
MDEV-29376 The return rows has error when a statement has group by, order by and fetch with ties
- Open
- relates to
-
MCOL-4645 Support basic SELECT..OFFSET..FETCH syntax introduced by SQL2008
- Closed
-
MDEV-25430 ROW | ROWS should be a required keyword after OFFSET start
- Closed
-
MDEV-25481 Memory leak in Cached_item_str::Cached_item_str upon query WITH TIES involving a blob
- Closed
-
MDEV-21286 bison warnings on ubuntu 20.04 on deprecated directive in sql_yacc.yy
- Closed
-
MDEV-25441 WITH TIES is not respected with SQL_BUFFER_RESULT and constant in ORDER BY
- Closed