if (first.length == 1) { return sb.toString(); } else if (first.length == 2) {
for (int i = 1; i < first.length; i++) {
	public String onPrepareStatement(String sql) {		// start		StringBuilder sb = new StringBuilder();		String[] first  = sql.split("\\sfrom\\s");		sb.append(first[0]);		if (first.length == 1)		{			return sb.toString();		}		else if (first.length == 2)		{			// from			sb.append("\n from ");									String[] second = first[1].split("\\swhere\\s");			sb.append(second[0]);			if (second.length == 1)			{				return sb.toString();			}			else if (second.length == 2)			{				// where				sb.append("\n where ");				sb.append(second[1]);				return sb.toString();			}		}				throw new InternalException("Assumptions about the number of " +					"\"froms\" and \"wheres\" in sql query failed. ");	}