public function aliasedColumn($query, $columnName, $tableName = null) { return $this->alias($this->quoteColumn($columnName, $tableName), $this->quoteIdentifier(($tableName ? $tableName . '_' : '') . $columnName)); }