sql where in字符串問題

在pycharm中執行sql

select * from value in(1,2);

會提醒:blog

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

表示in後面的條件被當作語句,執行出錯pycharm

解決:class

select * from find_in_set(value, '1,2');
相關文章
相關標籤/搜索