[eluser]aquary[/eluser]
Please try to remap your thought again. If you have 7 query which are doing different task, so be it, create 7 methods for each of them. As long as you don't have something like function A do "a" purpose, then function B do "a" purpose with a little twist inside, it's ok.
If you keep asking like this without any futther try coding & experimenting by yourself, you cannot improve. It's better to catch the concept and notice what is good & not good by your own hands. We could give you a good practice, but cannot help with "I want to do this, I haven't try it yet. please help"