I am trying to delete several rows of several tables at the same time using this statement in mysql
DELETE fhi, ave, car, pen FROM fhi INNER JOIN ave INNER JOIN car INNER JOIN pen
WHERE fhi.id = 1
AND fhi.id2 = 4
AND ave.id = 1
AND ave.id2 = 4
AND car.id = 1
AND car.id2 = 4
AND pen.id= 4;
When inserting this statement, it does not give me an error but it does not delete anything, this leaves: 0 rows affected. (The query took 0.0000 seconds.). I am using phpMyAdmin 4.7.4