Jump to content

Mass send clients to client group named COVID


zitu4life

Recommended Posts

Hello there

I have over 60 clients that I want to move them to a client group named COVID. I know I could spent 30-45 min doing it One by One editing each client profile (actually, not me...a company staff).

Is there I way to do it using phpMyAdmin on less time. How?

Edited by zitu4life
Link to comment
Share on other sites

maybe this query if all 60 clients are in the same group currently.

UPDATE tblclients SET groupid='new-group-ID' WHERE groupid='current-group-ID';

Replace the parts in green.

Edited by baymax
Link to comment
Share on other sites

2 hours ago, zitu4life said:

So I want to move all clients with e-mail ending @hotmail.com to new group.

then you take @baymax's query and change the where statement...

UPDATE tblclients SET groupid='new-group-ID' WHERE email LIKE '%@hotmail.com';
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated