protected function extractColumnAlias($column)
    {
        $alias = $column;

        if (strpos($column, ' as ') !== false) {
            list($column, $alias) = explode(' as ', $column);
        }

        return [$column, $alias];
    }
protected function extractColumnAlias($column)
    {
        $alias = $column;

        if (strpos($column, ' as ') !== false) {
            list($column, $alias) = explode(' as ', $column);
        }

        return [$column, $alias];
    }
protected function extractColumnAlias ( $ column ) { $ alias = $ column ; if ( strpos ( $ column , ' as ' ) !== false ) { list ( $ column , $ alias ) = explode ( ' as ' , $ column ) ; } return [ $ column , $ alias ] ; }
Extract real name and alias from the sql select clause.

@param  string $column
@return array
Extract real name and alias from the sql select clause .