seowen808 commented on issue #7052:
URL: https://github.com/apache/shardingsphere/issues/7052#issuecomment-680374239


   > ```sql
   > SELECT * FROM t_order_0 WHERE order_id IN (1, 2, 3) GROUP BY order_id 
ORDER BY order_id
   > ```
   
   @strongduanmu 
   
   You can try again with subqueries like this:
   
   select count(1) from (SELECT * FROM t_order WHERE order_id IN (1, 2, 3) 
GROUP BY order_id ORDER BY order_id) total


----------------------------------------------------------------
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.

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


Reply via email to