huangconghe opened a new issue, #32383:
URL: https://github.com/apache/shardingsphere/issues/32383

   ## Question
   sqlparse
   mybatisplus+sqlserver route to default db
   Actual SQL: ds0 :: WITH selectTemp AS (SELECT TOP 100 PERCENT
   ROW_ NUMBER OVER (order by tmp.id) as_ row number, tmp.id from (
   select tb.id
   from a
   left join bm
   on tb.item id =
   m.item id
   WHERE tb.is deleted = 'O'
   ) tmp
   order by tmp.item id) SELECT * FROM selectTemp WHERE
   row number_ BETWEEN,1 AND 20 ORDER BY _row number...
   WITH selectTemp AS ... SELECT * FROM selectTemp WHERE Not execute the custom 
dbrules,
   before this, select count(1).. is correct


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