You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/08/27 12:35:35 UTC

[GitHub] [shardingsphere] kimmking commented on issue #7052: sql cannot be sharded using Group BY

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


   hi, @seowen808 you can rewrite your sql to:
   > select count(1) FROM t_order WHERE order_id IN (1, 2, 3) GROUP BY order_id ORDER BY order_id


----------------------------------------------------------------
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:
users@infra.apache.org