@traq Hmm... I was hoping not to use multiple queries. If statements usually are a sign of messy/spaghetti code. Although I'm definitely sure you're better at SQL than I am, so I ask you: will using two separate queries be more efficient than using the last query? In other words, does the last query add a significant amount of wait to the execution time if all wild cards are on and we're just trying to get every single user?
Thanks for your help.
(I gaev u sum thx)