最贊回答 / 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