protected function beforeParse()
    {
        // has alias
        if( isset($this->query['table'])) {
            $tables_str = implode(',', $this->query['table']);
            if (preg_match('/((?:as|\,|join)\w+)/i', $tables_str) > 0) {
                $this->query->hasAlias(true);
            }
        }
    }