K
K
Kamil2020-02-23 17:16:06
SQL
Kamil, 2020-02-23 17:16:06

How to make a mass request for changes in the user base?

Hello.
Please tell me, on the XenForo forum, you need to change the group for the address list.
Admin means does not work, there is a search for certain criteria, maybe it can be done through sql?

There is a list in which, through the email address string
There is a mysql database with a user table in which there are these email addresses

There are several groups, you need to massively set the required group ID for this email list
The user structure is like this
VrwoopXH7z4qer.png
How to make a query correctly?
Select user from email set user_group_id group

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Tsvetkov, 2020-02-23
@tsklab

Make LOAD DATAaddresses and then UPDATEwith IN.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question