Query problem

Isn’t this basically the same problem that we already solved below?