How to delete all banned accounts [MySQL]
#1

Hi guys,

I want to delete all banned accounts.I have two tables
1) users -For all users
2) banusers -For all ban users.

So,i want select all banned users( From table 'BanUsers' and delete then delete their account from table 'Users' )



For delete:
Код:
DELETE FROM `users` WHERE 'Name' = '?'
For Select all ban users
Код:
SELECT Name FROM `banusers`
I don't know to finish..
Reply


Messages In This Thread
How to delete all banned accounts [MySQL] - by GospodinX - 09.07.2018, 18:40
Re: How to delete all banned accounts [MySQL] - by Calisthenics - 09.07.2018, 18:44
Re: How to delete all banned accounts [MySQL] - by GospodinX - 09.07.2018, 18:46
Re: How to delete all banned accounts [MySQL] - by Calisthenics - 09.07.2018, 18:54

Forum Jump:


Users browsing this thread: 1 Guest(s)