public static function copyFrom(Query $otherQuery)
    {
        $self            = new static($otherQuery->table);
        $self->alias     = $otherQuery->alias;
        $self->joins     = $otherQuery->joins;
        $self->where     = $otherQuery->where;
        $self->orderings = $otherQuery->orderings;
        $self->offset    = $otherQuery->offset;
        $self->limit     = $otherQuery->limit;

        return $self;
    }