Add an INNER JOIN string to the query.

@param      $table
@param      $constraint
@param null $tableAlias

@return $this
331635
public function innerJoin($table, $constraint, $tableAlias = null)
    {
        return $this->addJoinSource('INNER', $table, $constraint, $tableAlias);
    }
455323
public function join($table, Closure $closure)
    {
        $this->sql->addJoinClause('INNER', $table, $closure);
        return $this;
    }
820987
public function addInnerJoinUsing($table, $where)
    {
        //argument test
        Argument::i()
            //Argument 1 must be a string
            ->test(1, 'string')
            //Argument 2 must be a string
            ->test(2, 'string');
        
        $where = func_get_args();
        $table = array_shift($where);
        
        $this->join[] = array(self::INNER, $table, $where, true);
        
        return $this;
    }
1272677
public function from(string $tableName, string $tableAlias = '') : self
    {
        $this->setTable($tableName, $tableAlias);

        return $this;
    }
1029302
public function innerJoinUsing($table, $where)
    {
        $where = func_get_args();
        $table = array_shift($where);

        $this->join[] = [self::INNER, $table, $where, true];

        return $this;
    }
1069281
public final function join($tableName, $targetTableName = null, $alias = null)
    {
        return new QueryHelper\QueryJoin($this, $tableName, 'JOIN', $targetTableName, $alias);
    }
578214
public function rightOuterJoin($table, $constraint, $tableAlias = null)
    {
        return $this->addJoinSource('RIGHT OUTER', $table, $constraint, $tableAlias);
    }
180347
public function rawJoin($query, $constraint, $tableAlias)
    {
        $this->hasJoin = true;

        // Add table alias if present
        if (!is_null($tableAlias)) {
            $tableAlias = $this->quoteIdentifier($tableAlias);
            $query .= " {$tableAlias}";
        }

        // Build the constraint
        if (is_array($constraint)) {
            list($firstColumn, $operator, $secondColumn) = $constraint;
            $firstColumn = $this->quoteIdentifier($firstColumn);
            $secondColumn = $this->quoteIdentifier($secondColumn);
            $constraint = "{$firstColumn} {$operator} {$secondColumn}";
        }

        $this->joinSources[] = "{$query} ON {$constraint}";

        return $this;
    }
425715
public function innerJoin(string $table, $firstTableField, string $operator = null, string $secondTableField = null): Select
    {
        $this->joins[] = [
          'type' => 'INNER JOIN',
          'table' => $table,
          'first' => $firstTableField,
          'operator' => $operator,
          'second' => $secondTableField
        ];
        return $this;
    }
753819
public function from($table, ...$tables)
    {
        array_unshift($tables, $table);

        foreach ($tables as $table) {
            list($tableAlias, $tableName) = $this->dialect()->parseTable($table);

            if ($tableName instanceof SelectQuery) {
                if (!$tableAlias) {
                    throw new SqlException('FROM derived table should have an alias name.');
                }

                $tableKey = $tableAlias;
            } else {
                $tableKey = $tableAlias ?: $tableName;

                $tableName = $this->dialect()->quoteTable($tableName);
            }

            if ($tableAlias) {
                $tableAlias = $this->dialect()->quoteName($tableAlias);
            }

            $this->addFrom($tableKey, $tableName, $tableAlias);
        }

        return $this;
    }
134105
public function join($table, callable $callabe = null)
    {
        $table = $this->getPrefix().$table;

        if (is_null($this->join)) {
            $this->join = 'inner join `'.$table.'`';
        } else {
            $this->join .= ', `'.$table.'`';
        }

        if (is_callable($callabe)) {
            $callabe($this);
        }

        return $this;
    }
1191299
public function From(string $table, string $alias = ''): QueryBuilder
    {
        $this->table = $table;
        
        if (! empty($alias)) {
            $this->alias = $alias;
        }
        
        return $this;
    }
55476
public function innerJoin($table, $condition = null, $alias = null)
    {
        return $this->join($table, $condition, $alias, 'INNER');
    }
392753
public function innerJoin($table, $criteria = null, $alias = null)
    {
        return $this->join($table, $criteria, self::INNER_JOIN, $alias);
    }
606038
public function table($tableName, $alias = null)
	{
		$table = $this->factory->references('Table', $tableName, $alias);
		$this->select->table($table);

		return $this;
	}
943834
public function from($table, /*# string */ $alias = '')
    {
        $tbl = $this->fixTable($table, $alias);
        $this->tables = array_merge($this->tables, $tbl);
        return $this;
    }
991248
public function tableHasConstraint($table, $constraint)
    {
        return isset($this->cache['constraints'][$table]) &&
               array_key_exists($constraint, $this->cache['constraints'][$table]);
    }