java.sql.SQLException: Operand should contain 1 column(s) Query

problem:

Insert picture description here

solve:

Check whether the SQL statement in the error message contains detailed errors
. The white point is that carelessly written wrong SQL statements result in syntax errors. These errors are small errors that are not easy to find. For example: the query statement query content was not used If you write brackets, you write more brackets. Or one more bracket, one more "less one" and so on!

Published 155 original articles · praised 337 · 90,000 views +

Guess you like

Origin blog.csdn.net/weixin_44170221/article/details/105501910