I am trying to configure deleting rows from a table by the value of a non-key column (values in it can be repeated, but this is acceptable).
I know that in the safe mode of MySQL Workbench, the tables in MySQL change only in the key columns, therefore, a little googling, I tried to cheat and make a subquery to the same table.
delete from tcontrol where id in ( select * from (select id from tcontrol where name like '123') t ); MySQL Workbench still swears at this and claims that it cannot do this in a safe deletion mode. Disable this mode do not want.
Is there any workaround?
DELETE FROM tcontrol WHERE name LIKE '123'? - etki