public function build(AbstractQuery $query, Schema &$schema) {
		$from = '';
		
		//obtain table/alias from query
		$table = $query->getTable();
		$alias = $query->getAlias();
		
		if (isset($alias))
			$from .= '@@' . $table . ' ' . $alias . ' ';
		else
			$from .= '@@' . $table . ' ';
		
		//add joins
		$joins = $query->getJoins();
		foreach ($joins as $join)
			$from .= $this->translateJoin($join, $schema);
		
		return $from;
	}