Get the unaliased column name. For special situations, like order by, since you can't order by aliases.
@return string
341262
public function getAsManualSqlColumn()
    {
        if ($this->strTableName) {
            return $this->strTableName . '.' . $this->strName;
        } else {
            if (($this->objParentNode) && ($this->objParentNode->strTableName)) {
                return $this->objParentNode->strTableName . '.' . $this->strName;
            } else {
                return $this->strName;
            }
        }
    }
190509
private function getColumnsString()
    {
        if (count($this->columns) === 1 && $this->columns[0] === '*') {
            return '*';
        }
        $columns = array_map(function ($column) {
            return (strpos($column, '.') === false)? $this->table . '.' . $column : $column;
        }, $this->columns);
        return implode(', ', $columns);
    }
1373380
public function getTableName()
    {
        if (!$this->through) {
            $parts = [
                TableNameResolver::getTableName($this->getTable()),
                TableNameResolver::getTableName($this->getRelatedTable()),
            ];
            sort($parts);

            return '{{%'.implode('_', $parts).'}}';
        }

        return call_user_func([$this->through, 'tableName']);
    }
576977
private function getNumberOfColumns()
    {
        if (null !== $this->numberOfColumns) {
            return $this->numberOfColumns;
        }

        $columns = [\count($this->headers)];
        foreach ($this->rows as $row) {
            $columns[] = \count($row);
        }

        return $this->numberOfColumns = \max($columns);
    }
1001113
public function getColumnNames()
    {
        $columns = array();
        foreach ($this->columns as $refColumn) {
            $columns[] = $refColumn->getColumnName();
        }

        return $columns;
    }
888692
public function getTableName()
    {
        if ($this->tableName) {
            return $this->tableName;
        }

        return $this->namingStrategy->classToTableName($this->name);
    }
569364
public function get_sql() : string {
		if ( empty( $this->columns_to_select ) ) {
			// this should be the default behavior
			$this->columns_to_select = [ '*' ];
		}

		$from = ' FROM ' . implode( ', ', $this->from ) . ' ';

		if ( ! empty( $this->joins ) ) {
			$from .= $this->joins;
		}

		$from  .= 'WHERE ' . $this->where_clause;
		$select = 'SELECT ' . implode( ', ', $this->columns_to_select ) . $from;

		if ( ! empty( $this->group_by ) ) {
			$select .= 'GROUP BY ' . implode( ', ', $this->group_by ) . ' ';
		}

		if ( $this->order_by !== '' ) {
			$select .= 'ORDER BY ' . $this->order_by . ' ';
		}

		$select .= 'LIMIT ' . $this->limit;

		if ( $this->offset !== '' ) {
			$select .= ' OFFSET ' . $this->offset;
		}

		return $select;
	}
654188
public function getTableName()
    {
        if (is_null($this->_tableName)) {
            $parts = explode('\\', $this->getClassName());
            $name = end($parts);
            $this->_tableName = Text::plural(strtolower($name));
        }
        return $this->_tableName;
    }
841432
public function getTableName()
    {
        if ($this->_tableName === null) {
            $this->_tableName = $this->model->tableName();
        }
        
        return $this->_tableName;
    }
1137453
public function getTableName() {
        if(empty($this->trueTableName)) {
            $tableName  = !empty($this->tablePrefix) ? $this->tablePrefix : '';
            if(!empty($this->tableName)) {
                $tableName .= $this->tableName;
            }else{
                $tableName .= parse_name($this->name);
            }
            $this->trueTableName    =   strtolower($tableName);
        }
        return (!empty($this->dbName)?$this->dbName.'.':'').$this->trueTableName;
    }
1338679
protected function getUsedColumns()
    {
        if (strlen($this->maxColumn) == 2) {
            $usedColumns = range('A', 'Z');
            $max = $this->maxColumn[0];
            $upperRange = range('A', $max);
            foreach ($upperRange as $x) {
                $end = $max == $x ? $this->maxColumn[1] : 'Z';

                foreach (range('A', $end) as $y) {
                    $usedColumns[] = sprintf('%s%s', $x, $y);
                };
            }
        } else {
            $usedColumns = range('A', $this->maxColumn);
        }

        return $usedColumns;
    }
985704
protected function parseCols()
    {
        if (!isset($this->parts['cols']) || !is_array($this->parts['cols']) || count($this->parts['cols']) < 1) {
            return '*';
        } else {
            $selectParts = [];

            foreach ($this->parts['cols'] as $itemSelect) {
                if (is_array($itemSelect)) {
                    $field = isset($itemSelect[0]) ? $itemSelect[0] : false;
                    $alias = isset($itemSelect[1]) ? $itemSelect[1] : false;
                    $protected = isset($itemSelect[2]) ? $itemSelect[2] : true;

                    $selectParts[] = ($protected ? $this->protect($field) : $field).(!empty($alias) ? ' AS '.$this->protect($alias) : '');
                } else {
                    $selectParts[] = $itemSelect;
                }
            }

            return implode(', ', $selectParts);
        }
    }
1259111
public function getColumnAttr()
    {
        $attr = [];

        foreach ($this->column as $item) {
            if (is_array($item))
                $attr = array_merge($attr, $item);
            else
                $attr[] = $item;
        }

        return array_unique(array_values($attr));
    }
1327776
final public function getTableName() {
        if ($this->_tableName !== null) return $this->_tableName;

        $exp = explode('\\', get_called_class());
        return \Util::camelTo_($exp[count($exp) - 1]);
    }
1350043
protected function getSortableColumns()
    {
        if ($this->sortableColumns !== null) {
            return $this->sortableColumns;
        }

        $columns = $this->getColumns();
        $sortable = array_filter($columns, function ($column) {
            return $column->sortable;
        });

        return $this->sortableColumns = $sortable;
    }
498552
protected function _droppedColumnsStatement()
    {
        $columns = $this->_sql->getDroppedColumns();
        if (empty($columns)) {
            return null;
        }

        return implode(', ', array_keys($columns));
    }
746265
public function columns()
    {
        if (!isset($this->_columns)) {
            $this->_columns = array();

            foreach ($this->_connection->execute("SHOW COLUMNS FROM ".$this->_name->quoted()) as $c) {
                $column = $c['Field'];
                unset($c['Field']);
                $this->_columns[$column] = $c;
            }
        }

        return $this->_columns;
    }