SelectTable<?> getSelectTable(Object alias) {
		if (from.getAlias() == alias) {
			return from;
		} else {
			for (SelectTable<?> join : joins) {
				if (join.getAlias() == alias) {
					return join;
				}
			}
		}
		return null;
	}