Query 4

I believe this to be right. Needs to be tested.