Füge .* zu p in deiner ersten Zeile hinzu.
Versuchen Sie:
DELETE p.* FROM oc_product p
INNER JOIN oc_product_to_category pc ON p.product_id =
pc.product_id
WHERE pc.category_id = 343
Füge .* zu p in deiner ersten Zeile hinzu.
Versuchen Sie:
DELETE p.* FROM oc_product p
INNER JOIN oc_product_to_category pc ON p.product_id =
pc.product_id
WHERE pc.category_id = 343