问答详情
源自:2-6 JDBC实战---搭建模型层 Ⅳ

我这个SQL语句哪里错了我的表的名字叫yingxiong

        sb.append(" selelct*from yingxiong");
        sb.append("where name=?");

提问者:初级阶段 2018-03-06 15:48

个回答

  • 慕勒1092131
    2018-03-14 23:47:57
    已采纳

    注意空格

  • Lonelysoul丶枫寒
    2018-03-07 09:42:20

    sb.append(" selelct*from yingxiong where name=?");

    你改成这样试一下呢?看看会不会好