![]() |
Exclude Group in Query
When running a query to pull a list of users, how do I exclude all users in certain usergroups from being added to this list?
|
[sql]SELECT (columns) FROM user WHERE usergroupid NOT IN(1,2,3);[/sql]
Where 1,2,3 are the usergroups you want to exclude. |
All times are GMT. The time now is 08:39 AM. |
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:
|