By preparing the correct query it's better