FETCH FIRST WITH TIES
SQL-standard WITH TIES option for FETCH FIRST returning peers of the last row.
Threads
- BUG #19751: MIN aggregate + FETCH FIRST 1 ROW WITH TIES causes false 21000 error when index scan is forced
- BUG #19694: MIN()/MAX() fails with "more than one row returned by a subquery" under FETCH FIRST ... WITH TIES
- BUG #18929: After the view is created, executed query against the view definition, reported syntax error.
- useless LIMIT_OPTION_DEFAULT
- pgsql: Support FETCH FIRST WITH TIES
- FETCH FIRST clause WITH TIES option
- A rather hackish POC for alternative implementation of WITH TIES