im trying to execute this query but i'm getting error #1064.
delete from tableABC WHERE ID in (select ID from `TABLEXYZ` where `qty` = 0);
But the following statement works
select * from tableABC WHERE ID in (select ID from
TABLEXYZwhereqty= 0);
delete from tableABC WHERE ID in (select ID from TABLEXYZ where qty = 0);