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 2019/09/02 12:33:43 UTC

[GitHub] [incubator-shardingsphere] wowojyc opened a new issue #2961: Delete with alias error

wowojyc opened a new issue #2961: Delete with alias error
URL: https://github.com/apache/incubator-shardingsphere/issues/2961
 
 
   Sharding-jdbc
   version:4.0.0-RC1
   my logical sql 
   delete Goods from goods AS Goods WHERE Goods.goods_id   <=   ?
   
   However sharding-jdbc replace alias and the table name totally, just like this
   delete goods_1 from goods_1 AS Goods WHERE Goods.goods_id   <=   ?
   this will execute error in mysql 5.6
   
   One solution is to change to another alias different table name, but this may difficult for me. What else should I do?
   

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


With regards,
Apache Git Services