MySQL Issus: copy from tables
Hello!
A moderator in my forum has deleted like 40,000 users from the DB.
Now i have a backup but in difference of times between the backup and the deletion, lot a new members registered.
I only want to copy the users from one old user table in the old DB to the new user table in the new DB, but if the userid already exists, dont copy the row and continue to the next row.
What is the SQL command for that?
Thanks in advance.
|