ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 26,856
- Points
- 823
Reputation:
LQD submitted a new resource:
elect all users that are in a secondary usergroup in MySQL - Select all users that are in a secondary usergroup in MySQL
Read more about this resource...
elect all users that are in a secondary usergroup in MySQL - Select all users that are in a secondary usergroup in MySQL
XenForo stores secondary user groups in a varbinary list. You might not see this list in human-readable form depending on your version of phpMyAdmin or otherwise in the browse so it might look confusing.
If you need to grab all users that are in a secondary usergroup, here is the query to enter to get them.
Code:
Where X is the secondary group id you want.Code:SELECT * FROM xf_user WHERE find_in_set(X,secondary_group_ids)
Read more about this resource...