// statement用来执行SQL语句Statement statement = conn.createStatement();String sql = "select ** from ** where **";ResultSet rs = statement.executeQuery(sql);//假设数据库表只有两个属性值,一个属性值为String类型,另一个为Int类型