09.07.2018, 18:40
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:
For Select all ban users
I don't know to finish..
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' = '?'
Код:
SELECT Name FROM `banusers`