最赞回答 / STEVENNN
使用 where 作條件:select user_name, age from imooc_goddess where user_name='小美'
2018-03-17
最新回答 / qq_太阳是明朗的_0
在项目下面新建一个floder,命名为lib把你的jar包复制到里面,然后右键点击jar包,选择bulid path 最后选什么你自己看下吧。
2018-03-14
最赞回答 / qq_不囧_0
试着写了一下,两种都对的。String sql="" + " select * from imooc_goddess" + " where user_name like ? and mobile like ? and email like ? "; System.out.println("sql:"+sql); PreparedStatement ptmt=conn.prepareStatement(sql);
2018-02-22
已采纳回答 / weibo_医生说药不能停_0
import java.sql.PreparedStatement;import java.sql.Connection;导入错误
2018-02-18