[MDEV-13055] from select statement not normal result Created: 2017-06-12  Updated: 2017-06-12  Resolved: 2017-06-12

Status: Closed
Project: MariaDB Server
Component/s: Data Manipulation - Subquery
Affects Version/s: 5.5.52-galera
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: michael chan Assignee: Sergei Golubchik
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

CentOS7


Issue Links:
Duplicate
is duplicated by MDEV-3926 Wrong result with GROUP BY ... WITH R... Closed

 Description   

SELECT * FROM (SELECT * FROM table WHERE ORDER BY id DESC) AS table_name

ORDER BY not work

but add LIMIT key word is normal



 Comments   
Comment by Sergei Golubchik [ 2017-06-12 ]

This is not bug, see https://mariadb.com/kb/en/mariadb/why-is-order-by-in-a-from-subquery-ignored/

Generated at Thu Feb 08 08:02:32 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.