在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');