Execute queries one by one