243006306 commented on issue #10196: URL: https://github.com/apache/shardingsphere/issues/10196#issuecomment-828107404
SQL is like this `SELECT x.column_1,x.column_2 FROM( SELECT a.column_1,o.column_2 FROM A a INNER JOIN b b ON b.id = a.order_id AND b.mof_id = 'xxxxxx' WHERE a.xxx='xxx' and b.xxx='xxx' UNION SELECT a.column_,o.column_1 FROM A a INNER JOIN b b ON b.id = a.order_id AND b.mof_id = 'xxxxxx' WHERE a.xxx='xxx' and b.xxx='xxx') x order by column_1,column_2 ` -- 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: us...@infra.apache.org