sql where in字符串问题

在pycharm中执行

select * from value in(1,2);

会提醒:

No statement found under the caret. 
Execute all statements in the file or just the ones after the cursor?

表示in后面的条件被当做语句,执行出错

解决:

select * from find_in_set(value, '1,2');

  

posted @ 2019-01-11 10:49  静静地挖坑  阅读(2934)  评论(0编辑  收藏  举报