howto - mysql delete from table as t
You try something like
DELETE FROM `my_table` AS `t` WHERE ...and you get back an error. The problem is, that you are using an alias for your table and mysql can not figure out where to delete from. The solution/fix is simple
DELETE `t` FROM `my_table` AS `t` WHERE ....
I found the answere here
Comments
Display comments as Linear | Threaded