![]() |
Need a MySQL Query
I need a MySQL query to search for any members who are in my "Paid" usergroup (Usergroup ID 9) but have no active paid subscriptions (subscription id 1, 9 or 10, either status=0 or NULL)
I am currently using this query but need to run 3 versions of it to catch all the 3 different paid subscriptons. Code:
SELECT user.username Any help that can be provided would be greatly appreciated! |
I don't have a real database to test this on, and I'm also not an sql expert, but maybe something like:
Code:
SELECT username FROM |
Ok, that appears to have worked! I'll keep an eye on it and update if it didn't work but so far, so good!
Many, many thanks!!! |
All times are GMT. The time now is 10:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|