myTable has columns Id, Name, Type, MediaName, Folder
blacklistTable has columns Id, Media
DELETE FROM myTable
WHERE Name = "Missing" AND Type = "Movie"
Basically, I want to delete all items matching the WHERE
statement from myTable, and for each item deleted, I want to add a column to blacklist table that has the deleted items Id
and MediaName
. Is there some neat way to do this?