public static ResultSet query2(Statement stat, String table, String... field) throws SQLException{
		ResultSet rs = null;
		StringBuffer sb = new StringBuffer();
		sb.append("select ");
		boolean bool = false;
		if(field == null || field.length == 0 || field[0].equals("")){
			sb.append(" * ");
			bool =true;
		}
		if(!bool){
			for(int i = 0; i < field.length; i++){
				if(i == field.length -1){
					sb.append(field[i]);
					break;
				}
				sb.append(field[i]).append(",");
			}
		}
		sb.append(" from ")
		.append(table);
		
		System.out.println("--------->>>Person.java sb sql>>>>>"+sb);
		rs = stat.executeQuery(sb.toString());
		return rs;
	}