sb.append(" selelct*from yingxiong"); sb.append("where name=?");
注意空格
sb.append(" selelct*from yingxiong where name=?");
你改成这样试一下呢?看看会不会好