Bug 361443 Excel ODA
data/org.eclipse.birt.report.data.oda.excel/src/org/eclipse/birt/report/data/oda/excel/impl/ExcelFileQuery.java
String[] queryFragments = parsePreparedQueryText(query);
		validateSingleTableQuery(queryFragments);
		
		this.currentTableName = getPreparedTableNames(queryFragments);
		this.preparedColumnNames = getPreparedColumnNames(queryFragments);
		this.columnLabels = getColumnLabels(queryFragments);
	}
	/**
	 * Format the given query text. Eliminates redundant spaces and convert all
	 * keywords to uppercase.
	 *
	 * @param queryText
	 * @return
	 */
	private String formatQueryText(String queryText) {
		StringBuffer result = new StringBuffer();
		String[] temp = queryText.trim().split(
				ExcelODAConstants.DELIMITER_SPACE);
		for (int i = 0; i < temp.length; i++) {
			if (temp[i].equalsIgnoreCase(ExcelODAConstants.KEYWORD_AS))
				temp[i] = temp[i].toUpperCase();
			if (temp[i].equalsIgnoreCase(ExcelODAConstants.KEYWORD_FROM))
				temp[i] = temp[i].toUpperCase();
			if (temp[i].equalsIgnoreCase(ExcelODAConstants.KEYWORD_SELECT))
				temp[i] = temp[i].toUpperCase();
			result.append(temp[i]).append(ExcelODAConstants.DELIMITER_SPACE);
		}
		return result.toString().trim();
	}
	/**