日期:2014-05-18 浏览次数:20527 次
sql = "SELECT * FROM diseaseinfo where binary Name like '%感冒%' " ; ResultSet rs = stmt.executeQuery(sql) ; String tt ; while(rs.next()) { tt = rs.getString(2) ; System.out.println(tt) ; }
sql = "SELECT * FROM diseaseinfo where binary Name like '%s%' " ; ResultSet rs = stmt.executeQuery(sql) ; String tt ; while(rs.next()) { tt = rs.getString(2) ; System.out.println(tt) ; }