Thanks for the reply, I don't think I explained it well.
I have a table with, for example, 5 peoples names in it. I also have another table with orders these people have placed in, lets say, 3 months. What I want to to is run the one query 5 times, i.e. for each person in the table to show...