getPart(Select::DISTINCT)) { $sql .= ' ' . Select::SQL_DISTINCT . ' '; } return $sql; } }