I am having a situation in my MySQL database table of row repeating
So I got this
DELETE from table1
USING table1, table1 as vtable
WHERE (NOT table1.ID=vtable.ID)
AND (table1.field_name=vtable.field_name)
Where table1 is the table and vtable is a virtual table
How should I write that in Zend Framework