62,614
社区成员
发帖
与我相关
我的任务
分享
Connection con = GolbalDbInfo1.getConnection();
String sql = "select count(*) from RFM_Portal_Product where spicture is not null";
try {
Statement stmt = con.createStatement();
ResultSet rs = stmt.executeQuery(sql);
rs.next();
System.out.println(rs.getString(1));
} catch (SQLException e) {
e.printStackTrace();
}