sandynz commented on issue #24655:
URL: 
https://github.com/apache/shardingsphere/issues/24655#issuecomment-1473000104

   Set `sql-federation-type: ADVANCED` in `server.yaml` to support it.
   
   ```
   mysql> select * from (select order_id,user_id from t_order order by order_id 
desc limit 1) t;
   +----------+---------+
   | order_id | user_id |
   +----------+---------+
   |    10000 |       1 |
   +----------+---------+
   1 row in set (0.38 sec)
   
   mysql> select order_id,user_id from t_order order by order_id desc limit 1;
   +----------+---------+
   | order_id | user_id |
   +----------+---------+
   |    10000 |       1 |
   +----------+---------+
   1 row in set (0.04 sec)
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to