public static String[] getColumnName(String sql) {
		if (BasUtil.isNullOrEmpty(sql)) {
			return null;
		}

		sql = sql.trim();
		int last = sql.indexOf("from");
		sql = sql.substring(4, last).trim();
		String[] cols = sql.split(",");
		String[] rsSql = new String[cols.length];
		int i = 0;
		for (String col : cols) {
			col = col.trim();
			if (col.indexOf(".") != -1) {
				rsSql[i] = col.split(" ")[1];
			} else {
				rsSql[i] = col;
			}
			i++;
		}
		return rsSql;
	}